a0007fd4 <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 ) {                                              
a0007fd4:	e5902000 	ldr	r2, [r0]                                      
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a0007fd8:	e5903010 	ldr	r3, [r0, #16]                                 
  switch( node->type ) {                                              
a0007fdc:	e592204c 	ldr	r2, [r2, #76]	; 0x4c                          
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a0007fe0:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
  switch( node->type ) {                                              
a0007fe4:	e2422001 	sub	r2, r2, #1                                    
a0007fe8:	e3520006 	cmp	r2, #6                                        
a0007fec:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a0007ff0:	ea000010 	b	a0008038 <IMFS_Set_handlers+0x64>               <== NOT EXECUTED
a0007ff4:	a0008010 	.word	0xa0008010                                  <== NOT EXECUTED
a0007ff8:	a0008018 	.word	0xa0008018                                  <== NOT EXECUTED
a0007ffc:	a0008020 	.word	0xa0008020                                  <== NOT EXECUTED
a0008000:	a0008020 	.word	0xa0008020                                  <== NOT EXECUTED
a0008004:	a0008028 	.word	0xa0008028                                  <== NOT EXECUTED
a0008008:	a0008028 	.word	0xa0008028                                  <== NOT EXECUTED
a000800c:	a0008030 	.word	0xa0008030                                  <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
a0008010:	e5933008 	ldr	r3, [r3, #8]                                  
a0008014:	ea000006 	b	a0008034 <IMFS_Set_handlers+0x60>               
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
a0008018:	e59f3020 	ldr	r3, [pc, #32]	; a0008040 <IMFS_Set_handlers+0x6c>
a000801c:	ea000004 	b	a0008034 <IMFS_Set_handlers+0x60>               
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
a0008020:	e59f301c 	ldr	r3, [pc, #28]	; a0008044 <IMFS_Set_handlers+0x70>
a0008024:	ea000002 	b	a0008034 <IMFS_Set_handlers+0x60>               
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
a0008028:	e5933004 	ldr	r3, [r3, #4]                                  
a000802c:	ea000000 	b	a0008034 <IMFS_Set_handlers+0x60>               
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = &IMFS_fifo_handlers;                            
a0008030:	e59f3010 	ldr	r3, [pc, #16]	; a0008048 <IMFS_Set_handlers+0x74>
a0008034:	e5803008 	str	r3, [r0, #8]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0008038:	e3a00000 	mov	r0, #0                                        
a000803c:	e12fff1e 	bx	lr                                             
a0008040:	a0017d70 	.word	0xa0017d70                                  
a0008044:	a0017da8 	.word	0xa0017da8                                  
a0008048:	a0017d18 	.word	0xa0017d18                                  
                                                                      
a000ad48 <IMFS_create_node>:                                          
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
a000ad48:	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 )                                           
a000ad4c:	e2504000 	subs	r4, r0, #0                                   
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
a000ad50:	e1a05001 	mov	r5, r1                                        
a000ad54:	e59d6014 	ldr	r6, [sp, #20]                                 
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
a000ad58:	01a07004 	moveq	r7, r4                                      
a000ad5c:	0a000042 	beq	a000ae6c <IMFS_create_node+0x124>             
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
a000ad60:	e1a01002 	mov	r1, r2                                        
a000ad64:	e59f2108 	ldr	r2, [pc, #264]	; a000ae74 <IMFS_create_node+0x12c>
a000ad68:	e1a00005 	mov	r0, r5                                        
a000ad6c:	e5922000 	ldr	r2, [r2]                                      
a000ad70:	e592202c 	ldr	r2, [r2, #44]	; 0x2c                          
a000ad74:	e1c32002 	bic	r2, r3, r2                                    
a000ad78:	ebffffc5 	bl	a000ac94 <IMFS_allocate_node>                  
  if ( !node )                                                        
a000ad7c:	e2507000 	subs	r7, r0, #0                                   
a000ad80:	0a000039 	beq	a000ae6c <IMFS_create_node+0x124>             
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
a000ad84:	e2455001 	sub	r5, r5, #1                                    
a000ad88:	e3550006 	cmp	r5, #6                                        
a000ad8c:	979ff105 	ldrls	pc, [pc, r5, lsl #2]                        
a000ad90:	ea000025 	b	a000ae2c <IMFS_create_node+0xe4>                <== NOT EXECUTED
a000ad94:	a000adb0 	.word	0xa000adb0                                  <== NOT EXECUTED
a000ad98:	a000add4 	.word	0xa000add4                                  <== NOT EXECUTED
a000ad9c:	a000adcc 	.word	0xa000adcc                                  <== NOT EXECUTED
a000ada0:	a000adcc 	.word	0xa000adcc                                  <== NOT EXECUTED
a000ada4:	a000adfc 	.word	0xa000adfc                                  <== NOT EXECUTED
a000ada8:	a000ade4 	.word	0xa000ade4                                  <== NOT EXECUTED
a000adac:	a000ae20 	.word	0xa000ae20                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a000adb0:	e2872054 	add	r2, r7, #84	; 0x54                            
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a000adb4:	e2873050 	add	r3, r7, #80	; 0x50                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a000adb8:	e5872050 	str	r2, [r7, #80]	; 0x50                          
  the_chain->permanent_null = NULL;                                   
a000adbc:	e3a02000 	mov	r2, #0                                        
a000adc0:	e5872054 	str	r2, [r7, #84]	; 0x54                          
  the_chain->last           = _Chain_Head(the_chain);                 
a000adc4:	e5873058 	str	r3, [r7, #88]	; 0x58                          
a000adc8:	ea00001c 	b	a000ae40 <IMFS_create_node+0xf8>                
    case IMFS_HARD_LINK:                                              
      node->info.hard_link.link_node = info->hard_link.link_node;     
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
a000adcc:	e5963000 	ldr	r3, [r6]                                      
a000add0:	ea000013 	b	a000ae24 <IMFS_create_node+0xdc>                
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
a000add4:	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;                   
a000add8:	e5963000 	ldr	r3, [r6]                                      
      node->info.device.minor = info->device.minor;                   
a000addc:	e5872054 	str	r2, [r7, #84]	; 0x54                          
a000ade0:	ea00000f 	b	a000ae24 <IMFS_create_node+0xdc>                
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
a000ade4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000ade8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000adec:	e5872050 	str	r2, [r7, #80]	; 0x50                          <== NOT EXECUTED
a000adf0:	e5873054 	str	r3, [r7, #84]	; 0x54                          <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
a000adf4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000adf8:	e5873058 	str	r3, [r7, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
a000adfc:	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;                            
a000ae00:	e3a01000 	mov	r1, #0                                        
a000ae04:	e3a02000 	mov	r2, #0                                        
a000ae08:	e5871050 	str	r1, [r7, #80]	; 0x50                          
a000ae0c:	e5872054 	str	r2, [r7, #84]	; 0x54                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
a000ae10:	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;                            
a000ae14:	e5873058 	str	r3, [r7, #88]	; 0x58                          
      node->info.file.doubly_indirect = 0;                            
a000ae18:	e587305c 	str	r3, [r7, #92]	; 0x5c                          
      node->info.file.triply_indirect = 0;                            
      break;                                                          
a000ae1c:	ea000007 	b	a000ae40 <IMFS_create_node+0xf8>                
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
a000ae20:	e3a03000 	mov	r3, #0                                        
a000ae24:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      break;                                                          
a000ae28:	ea000004 	b	a000ae40 <IMFS_create_node+0xf8>                
                                                                      
    default:                                                          
      assert(0);                                                      
a000ae2c:	e59f0044 	ldr	r0, [pc, #68]	; a000ae78 <IMFS_create_node+0x130><== NOT EXECUTED
a000ae30:	e3a0105c 	mov	r1, #92	; 0x5c                                <== NOT EXECUTED
a000ae34:	e59f2040 	ldr	r2, [pc, #64]	; a000ae7c <IMFS_create_node+0x134><== NOT EXECUTED
a000ae38:	e59f3040 	ldr	r3, [pc, #64]	; a000ae80 <IMFS_create_node+0x138><== NOT EXECUTED
a000ae3c:	ebfff7ed 	bl	a0008df8 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
  fs_info      = parent_loc->mt_entry->fs_info;                       
a000ae40:	e5943010 	ldr	r3, [r4, #16]                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
a000ae44:	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 );                               
a000ae48:	e1a01007 	mov	r1, r7                                        
  fs_info      = parent_loc->mt_entry->fs_info;                       
a000ae4c:	e5932034 	ldr	r2, [r3, #52]	; 0x34                          
                                                                      
  node->Parent = parent;                                              
a000ae50:	e5870008 	str	r0, [r7, #8]                                  
a000ae54:	e2800050 	add	r0, r0, #80	; 0x50                            
  node->st_ino = ++fs_info->ino_count;                                
a000ae58:	e5923000 	ldr	r3, [r2]                                      
a000ae5c:	e2833001 	add	r3, r3, #1                                    
a000ae60:	e5823000 	str	r3, [r2]                                      
a000ae64:	e5873038 	str	r3, [r7, #56]	; 0x38                          
a000ae68:	ebffe8fe 	bl	a0005268 <_Chain_Append>                       
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
a000ae6c:	e1a00007 	mov	r0, r7                                        
a000ae70:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a000ae74:	a0017598 	.word	0xa0017598                                  
a000ae78:	a00185a6 	.word	0xa00185a6                                  
a000ae7c:	a0017eb8 	.word	0xa0017eb8                                  
a000ae80:	a00185ef 	.word	0xa00185ef                                  
                                                                      
a000323c <IMFS_dump_directory>:                                       
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
a000323c:	e3500000 	cmp	r0, #0                                        
                                                                      
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
a0003240:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0003244:	e1a05001 	mov	r5, r1                                        
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
a0003248:	059f00a8 	ldreq	r0, [pc, #168]	; a00032f8 <IMFS_dump_directory+0xbc>
a000324c:	03a01084 	moveq	r1, #132	; 0x84                             
a0003250:	059f20a4 	ldreq	r2, [pc, #164]	; a00032fc <IMFS_dump_directory+0xc0>
a0003254:	059f30a4 	ldreq	r3, [pc, #164]	; a0003300 <IMFS_dump_directory+0xc4>
a0003258:	0a000005 	beq	a0003274 <IMFS_dump_directory+0x38>           
                                                                      
  assert( level >= 0 );                                               
a000325c:	e3510000 	cmp	r1, #0                                        
a0003260:	aa000004 	bge	a0003278 <IMFS_dump_directory+0x3c>           
a0003264:	e59f008c 	ldr	r0, [pc, #140]	; a00032f8 <IMFS_dump_directory+0xbc><== NOT EXECUTED
a0003268:	e59f208c 	ldr	r2, [pc, #140]	; a00032fc <IMFS_dump_directory+0xc0><== NOT EXECUTED
a000326c:	e59f3090 	ldr	r3, [pc, #144]	; a0003304 <IMFS_dump_directory+0xc8><== NOT EXECUTED
a0003270:	e3a01086 	mov	r1, #134	; 0x86                               <== NOT EXECUTED
a0003274:	eb0001d6 	bl	a00039d4 <__assert_func>                       <== NOT EXECUTED
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
a0003278:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
a000327c:	e3530001 	cmp	r3, #1                                        
a0003280:	159f0070 	ldrne	r0, [pc, #112]	; a00032f8 <IMFS_dump_directory+0xbc>
a0003284:	13a01088 	movne	r1, #136	; 0x88                             
a0003288:	159f206c 	ldrne	r2, [pc, #108]	; a00032fc <IMFS_dump_directory+0xc0>
a000328c:	159f3074 	ldrne	r3, [pc, #116]	; a0003308 <IMFS_dump_directory+0xcc>
a0003290:	1afffff7 	bne	a0003274 <IMFS_dump_directory+0x38>           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0003294:	e280a054 	add	sl, r0, #84	; 0x54                            
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
a0003298:	e5904050 	ldr	r4, [r0, #80]	; 0x50                          
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
a000329c:	e59f8068 	ldr	r8, [pc, #104]	; a000330c <IMFS_dump_directory+0xd0>
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
a00032a0:	e2817001 	add	r7, r1, #1                                    
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
a00032a4:	ea000010 	b	a00032ec <IMFS_dump_directory+0xb0>             
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
a00032a8:	e3a06000 	mov	r6, #0                                        
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
a00032ac:	e5983000 	ldr	r3, [r8]                                      
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
a00032b0:	e2866001 	add	r6, r6, #1                                    
      fprintf(stdout, "...." );                                       
a00032b4:	e59f0054 	ldr	r0, [pc, #84]	; a0003310 <IMFS_dump_directory+0xd4>
a00032b8:	e5931008 	ldr	r1, [r3, #8]                                  
a00032bc:	eb0034c1 	bl	a00105c8 <fputs>                               
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
a00032c0:	e1560005 	cmp	r6, r5                                        
a00032c4:	dafffff8 	ble	a00032ac <IMFS_dump_directory+0x70>           
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
a00032c8:	e1a00004 	mov	r0, r4                                        
a00032cc:	ebffff7f 	bl	a00030d0 <IMFS_print_jnode>                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
a00032d0:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a00032d4:	e3530001 	cmp	r3, #1                                        
a00032d8:	1a000002 	bne	a00032e8 <IMFS_dump_directory+0xac>           
      IMFS_dump_directory( the_jnode, level + 1 );                    
a00032dc:	e1a00004 	mov	r0, r4                                        
a00032e0:	e1a01007 	mov	r1, r7                                        
a00032e4:	ebffffd4 	bl	a000323c <IMFS_dump_directory>                 
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
a00032e8:	e5944000 	ldr	r4, [r4]                                      
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
a00032ec:	e154000a 	cmp	r4, sl                                        
a00032f0:	1affffec 	bne	a00032a8 <IMFS_dump_directory+0x6c>           
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
a00032f4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a00032f8:	a002179e 	.word	0xa002179e                                  
a00032fc:	a00204fc 	.word	0xa00204fc                                  
a0003300:	a0021854 	.word	0xa0021854                                  
a0003304:	a0021862 	.word	0xa0021862                                  
a0003308:	a002186d 	.word	0xa002186d                                  
a000330c:	a001ff70 	.word	0xa001ff70                                  
a0003310:	a0021893 	.word	0xa0021893                                  
                                                                      
a00081c4 <IMFS_eval_path>:                                            
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
a00081c4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a00081c8:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a00081cc:	e1a04003 	mov	r4, r3                                        
a00081d0:	e1a0b000 	mov	fp, r0                                        
a00081d4:	e1a06001 	mov	r6, r1                                        
a00081d8:	e58d2000 	str	r2, [sp]                                      
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
a00081dc:	e5935000 	ldr	r5, [r3]                                      
a00081e0:	e3a09001 	mov	r9, #1                                        
a00081e4:	e3a07000 	mov	r7, #0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
a00081e8:	e28d8004 	add	r8, sp, #4                                    
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a00081ec:	e59fa268 	ldr	sl, [pc, #616]	; a000845c <IMFS_eval_path+0x298>
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
a00081f0:	ea00006a 	b	a00083a0 <IMFS_eval_path+0x1dc>                 
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
a00081f4:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a00081f8:	e08b0007 	add	r0, fp, r7                                    
a00081fc:	e1a01006 	mov	r1, r6                                        
a0008200:	e1a02008 	mov	r2, r8                                        
a0008204:	eb000204 	bl	a0008a1c <IMFS_get_token>                      
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0008208:	e5943000 	ldr	r3, [r4]                                      
   *  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 );  
a000820c:	e1a09000 	mov	r9, r0                                        
    pathnamelen -= len;                                               
a0008210:	e59dc03c 	ldr	ip, [sp, #60]	; 0x3c                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0008214:	e3530000 	cmp	r3, #0                                        
a0008218:	0a000058 	beq	a0008380 <IMFS_eval_path+0x1bc>               
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
a000821c:	e3500000 	cmp	r0, #0                                        
a0008220:	0a000005 	beq	a000823c <IMFS_eval_path+0x78>                
      if ( node->type == IMFS_DIRECTORY )                             
a0008224:	e595204c 	ldr	r2, [r5, #76]	; 0x4c                          
a0008228:	e3520001 	cmp	r2, #1                                        
a000822c:	1a000002 	bne	a000823c <IMFS_eval_path+0x78>                
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a0008230:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          
a0008234:	e3120040 	tst	r2, #64	; 0x40                                
a0008238:	0a000082 	beq	a0008448 <IMFS_eval_path+0x284>               
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
a000823c:	e3590003 	cmp	r9, #3                                        
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
a0008240:	e06c6006 	rsb	r6, ip, r6                                    
    i += len;                                                         
a0008244:	e087700c 	add	r7, r7, ip                                    
    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;                                      
a0008248:	e1a05003 	mov	r5, r3                                        
                                                                      
    switch( type ) {                                                  
a000824c:	0a000020 	beq	a00082d4 <IMFS_eval_path+0x110>               
a0008250:	e3590004 	cmp	r9, #4                                        
a0008254:	0a00004e 	beq	a0008394 <IMFS_eval_path+0x1d0>               
a0008258:	e3590002 	cmp	r9, #2                                        
a000825c:	1a00004f 	bne	a00083a0 <IMFS_eval_path+0x1dc>               
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a0008260:	e59a2000 	ldr	r2, [sl]                                      
a0008264:	e5922018 	ldr	r2, [r2, #24]                                 
a0008268:	e1530002 	cmp	r3, r2                                        
a000826c:	0a00004b 	beq	a00083a0 <IMFS_eval_path+0x1dc>               
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
a0008270:	e5945010 	ldr	r5, [r4, #16]                                 
                                                                      
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
a0008274:	e595201c 	ldr	r2, [r5, #28]                                 
a0008278:	e1530002 	cmp	r3, r2                                        
a000827c:	1a00000e 	bne	a00082bc <IMFS_eval_path+0xf8>                
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a0008280:	e2855008 	add	r5, r5, #8                                    
a0008284:	e28de028 	add	lr, sp, #40	; 0x28                            
a0008288:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         
a000828c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
            *pathloc = newloc;                                        
a0008290:	e28d8028 	add	r8, sp, #40	; 0x28                            
a0008294:	e8b8000f 	ldm	r8!, {r0, r1, r2, r3}                         
a0008298:	e1a08004 	mov	r8, r4                                        
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a000829c:	e5955000 	ldr	r5, [r5]                                      
            *pathloc = newloc;                                        
a00082a0:	e8a8000f 	stmia	r8!, {r0, r1, r2, r3}                       
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
a00082a4:	e06c0007 	rsb	r0, ip, r7                                    
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
a00082a8:	e5885000 	str	r5, [r8]                                      
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
a00082ac:	e08b0000 	add	r0, fp, r0                                    
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a00082b0:	e58e5000 	str	r5, [lr]                                      
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
a00082b4:	e08c1006 	add	r1, ip, r6                                    
a00082b8:	ea000051 	b	a0008404 <IMFS_eval_path+0x240>                 
                                               pathnamelen+len,       
                                               flags,pathloc);        
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
a00082bc:	e5935008 	ldr	r5, [r3, #8]                                  
a00082c0:	e3550000 	cmp	r5, #0                                        
a00082c4:	1a000030 	bne	a000838c <IMFS_eval_path+0x1c8>               
            rtems_set_errno_and_return_minus_one( ENOENT );           
a00082c8:	eb000e1c 	bl	a000bb40 <__errno>                             
a00082cc:	e5809000 	str	r9, [r0]                                      
a00082d0:	ea00005f 	b	a0008454 <IMFS_eval_path+0x290>                 
      case IMFS_NAME:                                                 
	/*                                                                   
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
a00082d4:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a00082d8:	e3530003 	cmp	r3, #3                                        
a00082dc:	1a000006 	bne	a00082fc <IMFS_eval_path+0x138>               
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
a00082e0:	e1a00004 	mov	r0, r4                                        
a00082e4:	e3a01000 	mov	r1, #0                                        
a00082e8:	ebffff5f 	bl	a000806c <IMFS_evaluate_hard_link>             
                                                                      
          node = pathloc->node_access;                                
a00082ec:	e5945000 	ldr	r5, [r4]                                      
          if ( !node )                                                
a00082f0:	e3550000 	cmp	r5, #0                                        
a00082f4:	1a000008 	bne	a000831c <IMFS_eval_path+0x158>               
a00082f8:	ea00000a 	b	a0008328 <IMFS_eval_path+0x164>                 <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
a00082fc:	e3530004 	cmp	r3, #4                                        
a0008300:	1a000005 	bne	a000831c <IMFS_eval_path+0x158>               
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a0008304:	e1a00004 	mov	r0, r4                                        
a0008308:	e3a01000 	mov	r1, #0                                        
a000830c:	ebffff70 	bl	a00080d4 <IMFS_evaluate_sym_link>              
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
a0008310:	e3700001 	cmn	r0, #1                                        
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
a0008314:	e5945000 	ldr	r5, [r4]                                      
          if ( result == -1 )                                         
a0008318:	0a000048 	beq	a0008440 <IMFS_eval_path+0x27c>               
                                                                      
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
a000831c:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a0008320:	e3530001 	cmp	r3, #1                                        
a0008324:	0a000002 	beq	a0008334 <IMFS_eval_path+0x170>               
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
a0008328:	eb000e04 	bl	a000bb40 <__errno>                             
a000832c:	e3a03014 	mov	r3, #20                                       
a0008330:	ea000046 	b	a0008450 <IMFS_eval_path+0x28c>                 
	/*                                                                   
	 *  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 ) {                   
a0008334:	e595e05c 	ldr	lr, [r5, #92]	; 0x5c                          
a0008338:	e35e0000 	cmp	lr, #0                                        
a000833c:	0a00000a 	beq	a000836c <IMFS_eval_path+0x1a8>               
          newloc   = node->info.directory.mt_fs->mt_fs_root;          
a0008340:	e28ee01c 	add	lr, lr, #28                                   
a0008344:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0008348:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000834c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
a0008350:	e28d5028 	add	r5, sp, #40	; 0x28                            
a0008354:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         
a0008358:	e1a05004 	mov	r5, r4                                        
	 *  If we are at a node that is a mount point. Set loc to the        
	 *  new fs root node and let them finish evaluating the path.        
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc   = node->info.directory.mt_fs->mt_fs_root;          
a000835c:	e59ee000 	ldr	lr, [lr]                                      
          *pathloc = newloc;                                          
a0008360:	e8a5000f 	stmia	r5!, {r0, r1, r2, r3}                       
a0008364:	e1a03005 	mov	r3, r5                                        
a0008368:	ea00001f 	b	a00083ec <IMFS_eval_path+0x228>                 
                                                                      
	/*                                                                   
	 *  Otherwise find the token name in the present location.           
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a000836c:	e1a00005 	mov	r0, r5                                        
a0008370:	e1a01008 	mov	r1, r8                                        
a0008374:	eb00017f 	bl	a0008978 <IMFS_find_match_in_dir>              
        if ( !node )                                                  
a0008378:	e2505000 	subs	r5, r0, #0                                   
a000837c:	1a000002 	bne	a000838c <IMFS_eval_path+0x1c8>               
          rtems_set_errno_and_return_minus_one( ENOENT );             
a0008380:	eb000dee 	bl	a000bb40 <__errno>                             
a0008384:	e3a03002 	mov	r3, #2                                        
a0008388:	ea000030 	b	a0008450 <IMFS_eval_path+0x28c>                 
                                                                      
	/*                                                                   
	 *  Set the node access to the point we have found.                  
	 */                                                                  
                                                                      
        pathloc->node_access = node;                                  
a000838c:	e5845000 	str	r5, [r4]                                      
a0008390:	ea000002 	b	a00083a0 <IMFS_eval_path+0x1dc>                 
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a0008394:	eb000de9 	bl	a000bb40 <__errno>                             
a0008398:	e3a0305b 	mov	r3, #91	; 0x5b                                
a000839c:	ea00002b 	b	a0008450 <IMFS_eval_path+0x28c>                 
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
a00083a0:	e3590004 	cmp	r9, #4                                        
a00083a4:	13590000 	cmpne	r9, #0                                      
a00083a8:	1affff91 	bne	a00081f4 <IMFS_eval_path+0x30>                
   *  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 ) {                               
a00083ac:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a00083b0:	e3530001 	cmp	r3, #1                                        
a00083b4:	1a000018 	bne	a000841c <IMFS_eval_path+0x258>               
    if ( node->info.directory.mt_fs != NULL ) {                       
a00083b8:	e595e05c 	ldr	lr, [r5, #92]	; 0x5c                          
a00083bc:	e35e0000 	cmp	lr, #0                                        
a00083c0:	0a000015 	beq	a000841c <IMFS_eval_path+0x258>               
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a00083c4:	e28ee01c 	add	lr, lr, #28                                   
a00083c8:	e28dc028 	add	ip, sp, #40	; 0x28                            
a00083cc:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00083d0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
      *pathloc = newloc;                                              
a00083d4:	e28d5028 	add	r5, sp, #40	; 0x28                            
a00083d8:	e1a08004 	mov	r8, r4                                        
a00083dc:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         
   *  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;              
a00083e0:	e59ee000 	ldr	lr, [lr]                                      
      *pathloc = newloc;                                              
a00083e4:	e8a8000f 	stmia	r8!, {r0, r1, r2, r3}                       
a00083e8:	e1a03008 	mov	r3, r8                                        
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a00083ec:	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;                                              
a00083f0:	e583e000 	str	lr, [r3]                                      
   *  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;              
a00083f4:	e58ce000 	str	lr, [ip]                                      
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a00083f8:	e0610007 	rsb	r0, r1, r7                                    
a00083fc:	e08b0000 	add	r0, fp, r0                                    
a0008400:	e0861001 	add	r1, r6, r1                                    
a0008404:	e59d2000 	ldr	r2, [sp]                                      
a0008408:	e1a03004 	mov	r3, r4                                        
a000840c:	e594c00c 	ldr	ip, [r4, #12]                                 
a0008410:	e1a0e00f 	mov	lr, pc                                        
a0008414:	e59cf000 	ldr	pc, [ip]                                      
a0008418:	ea000008 	b	a0008440 <IMFS_eval_path+0x27c>                 
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a000841c:	e1a00004 	mov	r0, r4                                        
a0008420:	ebfffeeb 	bl	a0007fd4 <IMFS_Set_handlers>                   
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
a0008424:	e5942000 	ldr	r2, [r4]                                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a0008428:	e59d1000 	ldr	r1, [sp]                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
a000842c:	e5922030 	ldr	r2, [r2, #48]	; 0x30                          
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a0008430:	e1a03301 	lsl	r3, r1, #6                                    
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
a0008434:	e0032002 	and	r2, r3, r2                                    
a0008438:	e1520003 	cmp	r2, r3                                        
a000843c:	1a000001 	bne	a0008448 <IMFS_eval_path+0x284>               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0008440:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0008444:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0008448:	eb000dbc 	bl	a000bb40 <__errno>                             
a000844c:	e3a0300d 	mov	r3, #13                                       
a0008450:	e5803000 	str	r3, [r0]                                      
a0008454:	e3e00000 	mvn	r0, #0                                        
a0008458:	eafffff8 	b	a0008440 <IMFS_eval_path+0x27c>                 
a000845c:	a0017598 	.word	0xa0017598                                  
                                                                      
a0008514 <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    */       
)                                                                     
{                                                                     
a0008514:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0008518:	e24dd03c 	sub	sp, sp, #60	; 0x3c                            
a000851c:	e1a04001 	mov	r4, r1                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
a0008520:	e5916000 	ldr	r6, [r1]                                      
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
a0008524:	e1a0b002 	mov	fp, r2                                        
a0008528:	e1a07000 	mov	r7, r0                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a000852c:	eb001174 	bl	a000cb04 <strlen>                              
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a0008530:	e59fa238 	ldr	sl, [pc, #568]	; a0008770 <IMFS_evaluate_for_make+0x25c>
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a0008534:	e3a05000 	mov	r5, #0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
a0008538:	e1a0900d 	mov	r9, sp                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a000853c:	e1a08000 	mov	r8, r0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
a0008540:	e1a01008 	mov	r1, r8                                        
a0008544:	e28d3038 	add	r3, sp, #56	; 0x38                            
a0008548:	e0870005 	add	r0, r7, r5                                    
a000854c:	e1a0200d 	mov	r2, sp                                        
a0008550:	eb000131 	bl	a0008a1c <IMFS_get_token>                      
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0008554:	e5943000 	ldr	r3, [r4]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a0008558:	e59dc038 	ldr	ip, [sp, #56]	; 0x38                          
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a000855c:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a0008560:	e06c8008 	rsb	r8, ip, r8                                    
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0008564:	0a000066 	beq	a0008704 <IMFS_evaluate_for_make+0x1f0>       
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
a0008568:	e3500000 	cmp	r0, #0                                        
a000856c:	0a000005 	beq	a0008588 <IMFS_evaluate_for_make+0x74>        
      if ( node->type == IMFS_DIRECTORY )                             
a0008570:	e596204c 	ldr	r2, [r6, #76]	; 0x4c                          
a0008574:	e3520001 	cmp	r2, #1                                        
a0008578:	1a000002 	bne	a0008588 <IMFS_evaluate_for_make+0x74>        
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a000857c:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          
a0008580:	e3120040 	tst	r2, #64	; 0x40                                
a0008584:	0a000074 	beq	a000875c <IMFS_evaluate_for_make+0x248>       
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
a0008588:	e085500c 	add	r5, r5, ip                                    
    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;                                      
a000858c:	e1a06003 	mov	r6, r3                                        
                                                                      
    switch( type ) {                                                  
a0008590:	e3500004 	cmp	r0, #4                                        
a0008594:	979ff100 	ldrls	pc, [pc, r0, lsl #2]                        
a0008598:	eaffffe8 	b	a0008540 <IMFS_evaluate_for_make+0x2c>          <== NOT EXECUTED
a000859c:	a00086c8 	.word	0xa00086c8                                  <== NOT EXECUTED
a00085a0:	a0008540 	.word	0xa0008540                                  <== NOT EXECUTED
a00085a4:	a00085b0 	.word	0xa00085b0                                  <== NOT EXECUTED
a00085a8:	a0008614 	.word	0xa0008614                                  <== NOT EXECUTED
a00085ac:	a00086d4 	.word	0xa00086d4                                  <== NOT EXECUTED
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a00085b0:	e59a2000 	ldr	r2, [sl]                                      
a00085b4:	e5922018 	ldr	r2, [r2, #24]                                 
a00085b8:	e1530002 	cmp	r3, r2                                        
a00085bc:	0affffdf 	beq	a0008540 <IMFS_evaluate_for_make+0x2c>        
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
a00085c0:	e5946010 	ldr	r6, [r4, #16]                                 
a00085c4:	e596201c 	ldr	r2, [r6, #28]                                 
a00085c8:	e1530002 	cmp	r3, r2                                        
a00085cc:	1a00000c 	bne	a0008604 <IMFS_evaluate_for_make+0xf0>        
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a00085d0:	e2866008 	add	r6, r6, #8                                    
a00085d4:	e28de024 	add	lr, sp, #36	; 0x24                            
a00085d8:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
a00085dc:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
            *pathloc = newloc;                                        
a00085e0:	e28d8024 	add	r8, sp, #36	; 0x24                            
a00085e4:	e8b8000f 	ldm	r8!, {r0, r1, r2, r3}                         
a00085e8:	e1a08004 	mov	r8, r4                                        
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a00085ec:	e5966000 	ldr	r6, [r6]                                      
            *pathloc = newloc;                                        
a00085f0:	e8a8000f 	stmia	r8!, {r0, r1, r2, r3}                       
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a00085f4:	e06c5005 	rsb	r5, ip, r5                                    
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
a00085f8:	e5886000 	str	r6, [r8]                                      
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a00085fc:	e58e6000 	str	r6, [lr]                                      
a0008600:	ea000023 	b	a0008694 <IMFS_evaluate_for_make+0x180>         
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
a0008604:	e5936008 	ldr	r6, [r3, #8]                                  
a0008608:	e3560000 	cmp	r6, #0                                        
a000860c:	1a00002b 	bne	a00086c0 <IMFS_evaluate_for_make+0x1ac>       
a0008610:	ea00003b 	b	a0008704 <IMFS_evaluate_for_make+0x1f0>         
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
a0008614:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a0008618:	e3530003 	cmp	r3, #3                                        
a000861c:	0a000001 	beq	a0008628 <IMFS_evaluate_for_make+0x114>       
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
a0008620:	e3530004 	cmp	r3, #4                                        
a0008624:	1a000004 	bne	a000863c <IMFS_evaluate_for_make+0x128>       
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a0008628:	e1a00004 	mov	r0, r4                                        
a000862c:	e3a01000 	mov	r1, #0                                        
a0008630:	ebffff8a 	bl	a0008460 <IMFS_evaluate_link>                  
                                                                      
          if ( result == -1 )                                         
a0008634:	e3700001 	cmn	r0, #1                                        
a0008638:	0a000045 	beq	a0008754 <IMFS_evaluate_for_make+0x240>       
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
a000863c:	e5940000 	ldr	r0, [r4]                                      
        if ( !node )                                                  
a0008640:	e3500000 	cmp	r0, #0                                        
a0008644:	0a00003b 	beq	a0008738 <IMFS_evaluate_for_make+0x224>       
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
a0008648:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
a000864c:	e3530001 	cmp	r3, #1                                        
a0008650:	1a000038 	bne	a0008738 <IMFS_evaluate_for_make+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 ) {                   
a0008654:	e590e05c 	ldr	lr, [r0, #92]	; 0x5c                          
a0008658:	e35e0000 	cmp	lr, #0                                        
a000865c:	0a000013 	beq	a00086b0 <IMFS_evaluate_for_make+0x19c>       
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a0008660:	e28ee01c 	add	lr, lr, #28                                   
a0008664:	e28dc024 	add	ip, sp, #36	; 0x24                            
a0008668:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000866c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
a0008670:	e28d6024 	add	r6, sp, #36	; 0x24                            
a0008674:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
a0008678:	e1a06004 	mov	r6, r4                                        
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a000867c:	e59ee000 	ldr	lr, [lr]                                      
          *pathloc = newloc;                                          
a0008680:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a0008684:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
	 * 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;                                          
a0008688:	e586e000 	str	lr, [r6]                                      
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a000868c:	e58ce000 	str	lr, [ip]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a0008690:	e0635005 	rsb	r5, r3, r5                                    
a0008694:	e0870005 	add	r0, r7, r5                                    
a0008698:	e1a01004 	mov	r1, r4                                        
a000869c:	e1a0200b 	mov	r2, fp                                        
a00086a0:	e594300c 	ldr	r3, [r4, #12]                                 
a00086a4:	e1a0e00f 	mov	lr, pc                                        
a00086a8:	e593f004 	ldr	pc, [r3, #4]                                  
a00086ac:	ea000028 	b	a0008754 <IMFS_evaluate_for_make+0x240>         
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a00086b0:	e1a0100d 	mov	r1, sp                                        
a00086b4:	eb0000af 	bl	a0008978 <IMFS_find_match_in_dir>              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
a00086b8:	e2506000 	subs	r6, r0, #0                                   
a00086bc:	0a000007 	beq	a00086e0 <IMFS_evaluate_for_make+0x1cc>       
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
a00086c0:	e5846000 	str	r6, [r4]                                      
a00086c4:	eaffff9d 	b	a0008540 <IMFS_evaluate_for_make+0x2c>          
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
a00086c8:	eb000d1c 	bl	a000bb40 <__errno>                             
a00086cc:	e3a03011 	mov	r3, #17                                       
a00086d0:	ea000023 	b	a0008764 <IMFS_evaluate_for_make+0x250>         
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a00086d4:	eb000d19 	bl	a000bb40 <__errno>                             
a00086d8:	e3a0305b 	mov	r3, #91	; 0x5b                                
a00086dc:	ea000020 	b	a0008764 <IMFS_evaluate_for_make+0x250>         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
a00086e0:	e59d2038 	ldr	r2, [sp, #56]	; 0x38                          
a00086e4:	e0873005 	add	r3, r7, r5                                    
a00086e8:	e0625005 	rsb	r5, r2, r5                                    
a00086ec:	e0877005 	add	r7, r7, r5                                    
a00086f0:	e58b7000 	str	r7, [fp]                                      
  /*                                                                  
   * 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++) {                                      
a00086f4:	ea000005 	b	a0008710 <IMFS_evaluate_for_make+0x1fc>         
    if ( !IMFS_is_separator( path[ i ] ) )                            
a00086f8:	e352005c 	cmp	r2, #92	; 0x5c                                
a00086fc:	1352002f 	cmpne	r2, #47	; 0x2f                              
a0008700:	0a000002 	beq	a0008710 <IMFS_evaluate_for_make+0x1fc>       
      rtems_set_errno_and_return_minus_one( ENOENT );                 
a0008704:	eb000d0d 	bl	a000bb40 <__errno>                             
a0008708:	e3a03002 	mov	r3, #2                                        
a000870c:	ea000014 	b	a0008764 <IMFS_evaluate_for_make+0x250>         
  /*                                                                  
   * 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++) {                                      
a0008710:	e5d32000 	ldrb	r2, [r3]                                     
a0008714:	e2833001 	add	r3, r3, #1                                    
a0008718:	e3520000 	cmp	r2, #0                                        
a000871c:	1afffff5 	bne	a00086f8 <IMFS_evaluate_for_make+0x1e4>       
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a0008720:	e1a00004 	mov	r0, r4                                        
a0008724:	ebfffe2a 	bl	a0007fd4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
a0008728:	e5943000 	ldr	r3, [r4]                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a000872c:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0008730:	e3520001 	cmp	r2, #1                                        
a0008734:	0a000002 	beq	a0008744 <IMFS_evaluate_for_make+0x230>       
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0008738:	eb000d00 	bl	a000bb40 <__errno>                             
a000873c:	e3a03014 	mov	r3, #20                                       
a0008740:	ea000007 	b	a0008764 <IMFS_evaluate_for_make+0x250>         
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a0008744:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a0008748:	e20330c0 	and	r3, r3, #192	; 0xc0                           
a000874c:	e35300c0 	cmp	r3, #192	; 0xc0                               
a0008750:	1a000001 	bne	a000875c <IMFS_evaluate_for_make+0x248>       
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0008754:	e28dd03c 	add	sp, sp, #60	; 0x3c                            
a0008758:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
     */                                                               
                                                                      
    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 );            
a000875c:	eb000cf7 	bl	a000bb40 <__errno>                             
a0008760:	e3a0300d 	mov	r3, #13                                       
a0008764:	e5803000 	str	r3, [r0]                                      
a0008768:	e3e00000 	mvn	r0, #0                                        
a000876c:	eafffff8 	b	a0008754 <IMFS_evaluate_for_make+0x240>         
a0008770:	a0017598 	.word	0xa0017598                                  
                                                                      
a000806c <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;       
a000806c:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0008070:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a0008074:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0008078:	e1a04000 	mov	r4, r0                                        
a000807c:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a0008080:	e3520003 	cmp	r2, #3                                        
a0008084:	0a000001 	beq	a0008090 <IMFS_evaluate_hard_link+0x24>       
    rtems_fatal_error_occurred (0xABCD0000);                          
a0008088:	e59f0040 	ldr	r0, [pc, #64]	; a00080d0 <IMFS_evaluate_hard_link+0x64><== NOT EXECUTED
a000808c:	ebfff3cb 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
a0008090:	e5933050 	ldr	r3, [r3, #80]	; 0x50                          
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a0008094:	e1a05305 	lsl	r5, r5, #6                                    
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
a0008098:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
a000809c:	ebffffcc 	bl	a0007fd4 <IMFS_Set_handlers>                   
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
a00080a0:	e5943000 	ldr	r3, [r4]                                      
a00080a4:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a00080a8:	e0053003 	and	r3, r5, r3                                    
a00080ac:	e1530005 	cmp	r3, r5                                        
a00080b0:	1a000001 	bne	a00080bc <IMFS_evaluate_hard_link+0x50>       
a00080b4:	e3a00000 	mov	r0, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a00080b8:	e8bd8030 	pop	{r4, r5, pc}                                  
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
a00080bc:	eb000e9f 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00080c0:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a00080c4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00080c8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00080cc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
a00080d0:	abcd0000 	.word	0xabcd0000                                  
                                                                      
a000804c <IMFS_evaluate_permission>:                                  
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a000804c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0008050:	e1a01301 	lsl	r1, r1, #6                                    <== NOT EXECUTED
a0008054:	e5930030 	ldr	r0, [r3, #48]	; 0x30                          <== NOT EXECUTED
a0008058:	e0010000 	and	r0, r1, r0                                    <== NOT EXECUTED
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
a000805c:	e1500001 	cmp	r0, r1                                        <== NOT EXECUTED
a0008060:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0008064:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
a0008068:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a00080d4 <IMFS_evaluate_sym_link>:                                    
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a00080d4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  IMFS_jnode_t                     *jnode  = node->node_access;       
a00080d8:	e590e000 	ldr	lr, [r0]                                      
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a00080dc:	e1a04000 	mov	r4, r0                                        
a00080e0:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
a00080e4:	e59e304c 	ldr	r3, [lr, #76]	; 0x4c                          
a00080e8:	e3530004 	cmp	r3, #4                                        
    rtems_fatal_error_occurred (0xABCD0000);                          
a00080ec:	159f00c4 	ldrne	r0, [pc, #196]	; a00081b8 <IMFS_evaluate_sym_link+0xe4>
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
a00080f0:	1a000003 	bne	a0008104 <IMFS_evaluate_sym_link+0x30>        
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
a00080f4:	e59e3008 	ldr	r3, [lr, #8]                                  
a00080f8:	e3530000 	cmp	r3, #0                                        
a00080fc:	1a000001 	bne	a0008108 <IMFS_evaluate_sym_link+0x34>        
    rtems_fatal_error_occurred( 0xBAD00000 );                         
a0008100:	e59f00b4 	ldr	r0, [pc, #180]	; a00081bc <IMFS_evaluate_sym_link+0xe8><== NOT EXECUTED
a0008104:	ebfff3ad 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
a0008108:	e5843000 	str	r3, [r4]                                      
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a000810c:	e59e3050 	ldr	r3, [lr, #80]	; 0x50                          
a0008110:	e5d33000 	ldrb	r3, [r3]                                     
a0008114:	e353002f 	cmp	r3, #47	; 0x2f                                
a0008118:	1353005c 	cmpne	r3, #92	; 0x5c                              
a000811c:	13a06000 	movne	r6, #0                                      
a0008120:	03a06001 	moveq	r6, #1                                      
a0008124:	0a000001 	beq	a0008130 <IMFS_evaluate_sym_link+0x5c>        
a0008128:	e3530000 	cmp	r3, #0                                        
a000812c:	1a000008 	bne	a0008154 <IMFS_evaluate_sym_link+0x80>        
a0008130:	e59f3088 	ldr	r3, [pc, #136]	; a00081c0 <IMFS_evaluate_sym_link+0xec>
a0008134:	e1a07004 	mov	r7, r4                                        
a0008138:	e3a06001 	mov	r6, #1                                        
a000813c:	e593c000 	ldr	ip, [r3]                                      
a0008140:	e28cc018 	add	ip, ip, #24                                   
a0008144:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0008148:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
a000814c:	e59c2000 	ldr	r2, [ip]                                      
a0008150:	e5872000 	str	r2, [r7]                                      
   * 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] ),                          
a0008154:	e59e3050 	ldr	r3, [lr, #80]	; 0x50                          
a0008158:	e0836006 	add	r6, r3, r6                                    
a000815c:	e1a00006 	mov	r0, r6                                        
a0008160:	eb001267 	bl	a000cb04 <strlen>                              
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
a0008164:	e1a02005 	mov	r2, r5                                        
    &jnode->info.sym_link.name[i],                                    
    strlen( &jnode->info.sym_link.name[i] ),                          
a0008168:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
a000816c:	e1a03004 	mov	r3, r4                                        
a0008170:	e1a00006 	mov	r0, r6                                        
a0008174:	eb000012 	bl	a00081c4 <IMFS_eval_path>                      
a0008178:	e1a06000 	mov	r6, r0                                        
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
a000817c:	e1a00004 	mov	r0, r4                                        
a0008180:	ebffff93 	bl	a0007fd4 <IMFS_Set_handlers>                   
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
a0008184:	e5943000 	ldr	r3, [r4]                                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a0008188:	e1a05305 	lsl	r5, r5, #6                                    
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
a000818c:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a0008190:	e0053003 	and	r3, r5, r3                                    
a0008194:	e1530005 	cmp	r3, r5                                        
a0008198:	1a000001 	bne	a00081a4 <IMFS_evaluate_sym_link+0xd0>        
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a000819c:	e1a00006 	mov	r0, r6                                        
a00081a0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
a00081a4:	eb000e65 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00081a8:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a00081ac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00081b0:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a00081b4:	eafffff8 	b	a000819c <IMFS_evaluate_sym_link+0xc8>          <== NOT EXECUTED
a00081b8:	abcd0000 	.word	0xabcd0000                                  
a00081bc:	bad00000 	.word	0xbad00000                                  
a00081c0:	a0017598 	.word	0xa0017598                                  
                                                                      
a00088d4 <IMFS_fifo_close>:                                           
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00088d4:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a00088d8:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a00088dc:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00088e0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a00088e4:	e2840050 	add	r0, r4, #80	; 0x50                            <== NOT EXECUTED
a00088e8:	eb0007d5 	bl	a000a844 <pipe_release>                        <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
a00088ec:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a00088f0:	1a00000c 	bne	a0008928 <IMFS_fifo_close+0x54>               <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
a00088f4:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
a00088f8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
a00088fc:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0008900:	e5853014 	str	r3, [r5, #20]                                 <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
a0008904:	eb0001f4 	bl	a00090dc <rtems_libio_is_file_open>            <== NOT EXECUTED
a0008908:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000890c:	1a00000a 	bne	a000893c <IMFS_fifo_close+0x68>               <== NOT EXECUTED
a0008910:	e1d433b4 	ldrh	r3, [r4, #52]	; 0x34                         <== NOT EXECUTED
a0008914:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008918:	1a000007 	bne	a000893c <IMFS_fifo_close+0x68>               <== NOT EXECUTED
      free(jnode);                                                    
a000891c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0008920:	ebffe3c3 	bl	a0001834 <free>                                <== NOT EXECUTED
a0008924:	ea000004 	b	a000893c <IMFS_fifo_close+0x68>                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0008928:	aa000003 	bge	a000893c <IMFS_fifo_close+0x68>               <== NOT EXECUTED
a000892c:	eb000c83 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008930:	e2666000 	rsb	r6, r6, #0                                    <== NOT EXECUTED
a0008934:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
a0008938:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
}                                                                     
a000893c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0008940:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
a00087bc <IMFS_fifo_ioctl>:                                           
  void          *buffer                                               
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a00087bc:	e59fc068 	ldr	ip, [pc, #104]	; a000882c <IMFS_fifo_ioctl+0x70><== NOT EXECUTED
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a00087c0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a00087c4:	e151000c 	cmp	r1, ip                                        <== NOT EXECUTED
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a00087c8:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a00087cc:	1a00000b 	bne	a0008800 <IMFS_fifo_ioctl+0x44>               <== NOT EXECUTED
    if (buffer == NULL)                                               
a00087d0:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00087d4:	03e0400d 	mvneq	r4, #13                                     <== NOT EXECUTED
a00087d8:	0a00000d 	beq	a0008814 <IMFS_fifo_ioctl+0x58>               <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
a00087dc:	e5924000 	ldr	r4, [r2]                                      <== NOT EXECUTED
a00087e0:	e5932014 	ldr	r2, [r3, #20]                                 <== NOT EXECUTED
a00087e4:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
a00087e8:	13822001 	orrne	r2, r2, #1                                  <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a00087ec:	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;                           
a00087f0:	15832014 	strne	r2, [r3, #20]                               <== NOT EXECUTED
a00087f4:	13a04000 	movne	r4, #0                                      <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a00087f8:	05832014 	streq	r2, [r3, #20]                               <== NOT EXECUTED
a00087fc:	ea000008 	b	a0008824 <IMFS_fifo_ioctl+0x68>                 <== NOT EXECUTED
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
a0008800:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          <== NOT EXECUTED
a0008804:	e5900050 	ldr	r0, [r0, #80]	; 0x50                          <== NOT EXECUTED
a0008808:	eb000723 	bl	a000a49c <pipe_ioctl>                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a000880c:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
a0008810:	aa000003 	bge	a0008824 <IMFS_fifo_ioctl+0x68>               <== NOT EXECUTED
a0008814:	eb000cc9 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008818:	e2644000 	rsb	r4, r4, #0                                    <== NOT EXECUTED
a000881c:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a0008820:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
}                                                                     
a0008824:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0008828:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a000882c:	8004667e 	.word	0x8004667e                                  
                                                                      
a0008774 <IMFS_fifo_lseek>:                                           
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
a0008774:	e92d4031 	push	{r0, r4, r5, lr}                             <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
a0008778:	e590c038 	ldr	ip, [r0, #56]	; 0x38                          <== NOT EXECUTED
a000877c:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
a0008780:	e59c0050 	ldr	r0, [ip, #80]	; 0x50                          <== NOT EXECUTED
a0008784:	eb000729 	bl	a000a430 <pipe_lseek>                          <== NOT EXECUTED
a0008788:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000878c:	e1a04fc3 	asr	r4, r3, #31                                   <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
a0008790:	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);       
a0008794:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
a0008798:	aa000004 	bge	a00087b0 <IMFS_fifo_lseek+0x3c>               <== NOT EXECUTED
a000879c:	eb000ce7 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00087a0:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a00087a4:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a00087a8:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a00087ac:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
}                                                                     
a00087b0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00087b4:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a00087b8:	e8bd8038 	pop	{r3, r4, r5, pc}                              <== NOT EXECUTED
                                                                      
a0008884 <IMFS_fifo_read>:                                            
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0008884:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a0008888:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000888c:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
a0008890:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0008894:	eb000780 	bl	a000a69c <pipe_read>                           <== NOT EXECUTED
  if (err > 0)                                                        
a0008898:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a000889c:	da000005 	ble	a00088b8 <IMFS_fifo_read+0x34>                <== NOT EXECUTED
    IMFS_update_atime(jnode);                                         
a00088a0:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a00088a4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00088a8:	eb0001d7 	bl	a000900c <gettimeofday>                        <== NOT EXECUTED
a00088ac:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00088b0:	e5843040 	str	r3, [r4, #64]	; 0x40                          <== NOT EXECUTED
a00088b4:	ea000004 	b	a00088cc <IMFS_fifo_read+0x48>                  <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a00088b8:	0a000003 	beq	a00088cc <IMFS_fifo_read+0x48>                <== NOT EXECUTED
a00088bc:	eb000c9f 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00088c0:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a00088c4:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a00088c8:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
}                                                                     
a00088cc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00088d0:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
                                                                      
a0008830 <IMFS_fifo_write>:                                           
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0008830:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a0008834:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0008838:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
a000883c:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0008840:	eb000730 	bl	a000a508 <pipe_write>                          <== NOT EXECUTED
  if (err > 0) {                                                      
a0008844:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a0008848:	da000006 	ble	a0008868 <IMFS_fifo_write+0x38>               <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
a000884c:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0008850:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0008854:	eb0001ec 	bl	a000900c <gettimeofday>                        <== NOT EXECUTED
a0008858:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000885c:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
a0008860:	e5843044 	str	r3, [r4, #68]	; 0x44                          <== NOT EXECUTED
a0008864:	ea000004 	b	a000887c <IMFS_fifo_write+0x4c>                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0008868:	0a000003 	beq	a000887c <IMFS_fifo_write+0x4c>               <== NOT EXECUTED
a000886c:	eb000cb3 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008870:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a0008874:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a0008878:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
}                                                                     
a000887c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0008880:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
                                                                      
a0008978 <IMFS_find_match_in_dir>:                                    
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
a0008978:	e92d4070 	push	{r4, r5, r6, lr}                             
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a000897c:	e2504000 	subs	r4, r0, #0                                   
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
a0008980:	e1a05001 	mov	r5, r1                                        
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a0008984:	1a000004 	bne	a000899c <IMFS_find_match_in_dir+0x24>        
a0008988:	e59f0078 	ldr	r0, [pc, #120]	; a0008a08 <IMFS_find_match_in_dir+0x90><== NOT EXECUTED
a000898c:	e3a0102a 	mov	r1, #42	; 0x2a                                <== NOT EXECUTED
a0008990:	e59f2074 	ldr	r2, [pc, #116]	; a0008a0c <IMFS_find_match_in_dir+0x94><== NOT EXECUTED
a0008994:	e59f3074 	ldr	r3, [pc, #116]	; a0008a10 <IMFS_find_match_in_dir+0x98><== NOT EXECUTED
a0008998:	eb000116 	bl	a0008df8 <__assert_func>                       <== NOT EXECUTED
  if ( !name )                                                        
a000899c:	e3510000 	cmp	r1, #0                                        
a00089a0:	0a000015 	beq	a00089fc <IMFS_find_match_in_dir+0x84>        
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
a00089a4:	e1a00001 	mov	r0, r1                                        
a00089a8:	e59f1064 	ldr	r1, [pc, #100]	; a0008a14 <IMFS_find_match_in_dir+0x9c>
a00089ac:	eb000f8c 	bl	a000c7e4 <strcmp>                              
a00089b0:	e3500000 	cmp	r0, #0                                        
a00089b4:	0a000011 	beq	a0008a00 <IMFS_find_match_in_dir+0x88>        
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
a00089b8:	e1a00005 	mov	r0, r5                                        
a00089bc:	e59f1054 	ldr	r1, [pc, #84]	; a0008a18 <IMFS_find_match_in_dir+0xa0>
a00089c0:	eb000f87 	bl	a000c7e4 <strcmp>                              
a00089c4:	e3500000 	cmp	r0, #0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a00089c8:	12846054 	addne	r6, r4, #84	; 0x54                          
    return directory->Parent;                                         
a00089cc:	05944008 	ldreq	r4, [r4, #8]                                
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
a00089d0:	15944050 	ldrne	r4, [r4, #80]	; 0x50                        
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
a00089d4:	0a000009 	beq	a0008a00 <IMFS_find_match_in_dir+0x88>        
a00089d8:	ea000005 	b	a00089f4 <IMFS_find_match_in_dir+0x7c>          
        !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 ) )                           
a00089dc:	e1a00005 	mov	r0, r5                                        
a00089e0:	e284100c 	add	r1, r4, #12                                   
a00089e4:	eb000f7e 	bl	a000c7e4 <strcmp>                              
a00089e8:	e3500000 	cmp	r0, #0                                        
a00089ec:	0a000003 	beq	a0008a00 <IMFS_find_match_in_dir+0x88>        
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
a00089f0:	e5944000 	ldr	r4, [r4]                                      
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
a00089f4:	e1540006 	cmp	r4, r6                                        
a00089f8:	1afffff7 	bne	a00089dc <IMFS_find_match_in_dir+0x64>        
a00089fc:	e3a04000 	mov	r4, #0                                        
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0008a00:	e1a00004 	mov	r0, r4                                        
a0008a04:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0008a08:	a00184ed 	.word	0xa00184ed                                  
a0008a0c:	a0017d50 	.word	0xa0017d50                                  
a0008a10:	a0018539 	.word	0xa0018539                                  
a0008a14:	a0017d68 	.word	0xa0017d68                                  
a0008a18:	a0017d6c 	.word	0xa0017d6c                                  
                                                                      
a000d468 <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                 
)                                                                     
{                                                                     
a000d468:	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;     
a000d46c:	e1a0c000 	mov	ip, r0                                        
a000d470:	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                 
)                                                                     
{                                                                     
a000d474:	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;                                   
a000d478:	e1a0e00d 	mov	lr, sp                                        
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
a000d47c:	e1a05000 	mov	r5, 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;                                   
a000d480:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000d484:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a000d488:	e59c3000 	ldr	r3, [ip]                                      
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
a000d48c:	e3a02000 	mov	r2, #0                                        
a000d490:	e585201c 	str	r2, [r5, #28]                                 
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a000d494:	e1a0500d 	mov	r5, sp                                        
    * 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;                                   
a000d498:	e58e3000 	str	r3, [lr]                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a000d49c:	e1a0000d 	mov	r0, sp                                        
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
a000d4a0:	e58d4000 	str	r4, [sp]                                      
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
a000d4a4:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a000d4a8:	ebfffd83 	bl	a000cabc <IMFS_Set_handlers>                   
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
a000d4ac:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000d4b0:	e2843054 	add	r3, r4, #84	; 0x54                            
a000d4b4:	e3520001 	cmp	r2, #1                                        
a000d4b8:	1a000002 	bne	a000d4c8 <IMFS_fsunmount+0x60>                
a000d4bc:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a000d4c0:	e1520003 	cmp	r2, r3                                        
a000d4c4:	1a000005 	bne	a000d4e0 <IMFS_fsunmount+0x78>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
a000d4c8:	e3a00000 	mov	r0, #0                                        
a000d4cc:	e1a0100d 	mov	r1, sp                                        
a000d4d0:	ebffd433 	bl	a00025a4 <IMFS_unlink>                         
        if (result != 0)                                              
a000d4d4:	e3500000 	cmp	r0, #0                                        
a000d4d8:	1a00000c 	bne	a000d510 <IMFS_fsunmount+0xa8>                
a000d4dc:	e1a04006 	mov	r4, r6                                        
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
a000d4e0:	e3540000 	cmp	r4, #0                                        
a000d4e4:	0a00000b 	beq	a000d518 <IMFS_fsunmount+0xb0>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
a000d4e8:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000d4ec:	e3530001 	cmp	r3, #1                                        
a000d4f0:	1affffe9 	bne	a000d49c <IMFS_fsunmount+0x34>                
a000d4f4:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000d4f8:	e2842054 	add	r2, r4, #84	; 0x54                            
a000d4fc:	e1530002 	cmp	r3, r2                                        
a000d500:	0affffe5 	beq	a000d49c <IMFS_fsunmount+0x34>                
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
a000d504:	e2534000 	subs	r4, r3, #0                                   
a000d508:	1affffe3 	bne	a000d49c <IMFS_fsunmount+0x34>                
a000d50c:	ea000001 	b	a000d518 <IMFS_fsunmount+0xb0>                  <== NOT EXECUTED
a000d510:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d514:	ea000000 	b	a000d51c <IMFS_fsunmount+0xb4>                  <== NOT EXECUTED
a000d518:	e3a00000 	mov	r0, #0                                        
                                                                      
   return 0;                                                          
}                                                                     
a000d51c:	e28dd014 	add	sp, sp, #20                                   
a000d520:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0008ae8 <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     
)                                                                     
{                                                                     
a0008ae8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0008aec:	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,       
a0008af0:	e59f10c0 	ldr	r1, [pc, #192]	; a0008bb8 <IMFS_initialize_support+0xd0>
  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     
)                                                                     
{                                                                     
a0008af4:	e1a06002 	mov	r6, r2                                        
a0008af8:	e1a05003 	mov	r5, r3                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
a0008afc:	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     
)                                                                     
{                                                                     
a0008b00:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
a0008b04:	e3a02000 	mov	r2, #0                                        
a0008b08:	e3a03010 	mov	r3, #16                                       
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
a0008b0c:	e1530001 	cmp	r3, r1                                        
a0008b10:	e2822001 	add	r2, r2, #1                                    
a0008b14:	0a000003 	beq	a0008b28 <IMFS_initialize_support+0x40>       
a0008b18:	e3520006 	cmp	r2, #6                                        
a0008b1c:	e1a03083 	lsl	r3, r3, #1                                    
a0008b20:	1afffff9 	bne	a0008b0c <IMFS_initialize_support+0x24>       
a0008b24:	e3a03080 	mov	r3, #128	; 0x80                               <== NOT EXECUTED
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
a0008b28:	e59f208c 	ldr	r2, [pc, #140]	; a0008bbc <IMFS_initialize_support+0xd4>
a0008b2c:	e5823000 	str	r3, [r2]                                      
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
a0008b30:	eb000874 	bl	a000ad08 <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;
a0008b34:	e59fe084 	ldr	lr, [pc, #132]	; a0008bc0 <IMFS_initialize_support+0xd8>
a0008b38:	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();
a0008b3c:	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;
a0008b40:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0008b44:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0008b48:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0008b4c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0008b50:	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;              
a0008b54:	e5847028 	str	r7, [r4, #40]	; 0x28                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
a0008b58:	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;    
a0008b5c:	e5845024 	str	r5, [r4, #36]	; 0x24                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
a0008b60:	e3a00001 	mov	r0, #1                                        
a0008b64:	e3a0100c 	mov	r1, #12                                       
a0008b68:	eb0000b3 	bl	a0008e3c <calloc>                              
  if ( !fs_info ) {                                                   
a0008b6c:	e3500000 	cmp	r0, #0                                        
a0008b70:	1a000006 	bne	a0008b90 <IMFS_initialize_support+0xa8>       
    free(temp_mt_entry->mt_fs_root.node_access);                      
a0008b74:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
a0008b78:	ebffe32d 	bl	a0001834 <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a0008b7c:	eb000bef 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008b80:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0008b84:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0008b88:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0008b8c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
a0008b90:	e594201c 	ldr	r2, [r4, #28]                                 
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
a0008b94:	e3a03001 	mov	r3, #1                                        
a0008b98:	e5803000 	str	r3, [r0]                                      
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
a0008b9c:	e5805008 	str	r5, [r0, #8]                                  
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
a0008ba0:	e5806004 	str	r6, [r0, #4]                                  
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
a0008ba4:	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;                                 
a0008ba8:	e5823038 	str	r3, [r2, #56]	; 0x38                          
                                                                      
  /* Initialize POSIX FIFO/pipe module */                             
  rtems_pipe_initialize();                                            
a0008bac:	eb000621 	bl	a000a438 <rtems_pipe_initialize>               
a0008bb0:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a0008bb4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a0008bb8:	a00173c4 	.word	0xa00173c4                                  
a0008bbc:	a0018978 	.word	0xa0018978                                  
a0008bc0:	a0017e88 	.word	0xa0017e88                                  
                                                                      
a00022a8 <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 */            
)                                                                     
{                                                                     
a00022a8:	e92d4070 	push	{r4, r5, r6, lr}                             
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a00022ac:	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 */            
)                                                                     
{                                                                     
a00022b0:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a00022b4:	e1a05001 	mov	r5, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a00022b8:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
a00022bc:	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 */            
)                                                                     
{                                                                     
a00022c0:	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 )               
a00022c4:	e3530007 	cmp	r3, #7                                        
a00022c8:	9a000002 	bls	a00022d8 <IMFS_link+0x30>                     
    rtems_set_errno_and_return_minus_one( EMLINK );                   
a00022cc:	eb003a14 	bl	a0010b24 <__errno>                             
a00022d0:	e3a0301f 	mov	r3, #31                                       
a00022d4:	ea000012 	b	a0002324 <IMFS_link+0x7c>                       
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
a00022d8:	e1a00002 	mov	r0, r2                                        
a00022dc:	eb003de9 	bl	a0011a88 <strlen>                              
a00022e0:	e28d4004 	add	r4, sp, #4                                    
a00022e4:	e1a01000 	mov	r1, r0                                        
a00022e8:	e1a02004 	mov	r2, r4                                        
a00022ec:	e28d3044 	add	r3, sp, #68	; 0x44                            
a00022f0:	e1a00006 	mov	r0, r6                                        
a00022f4:	eb002cb3 	bl	a000d5c8 <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(                                        
a00022f8:	e28dc028 	add	ip, sp, #40	; 0x28                            
a00022fc:	e1a00005 	mov	r0, r5                                        
a0002300:	e1a02004 	mov	r2, r4                                        
a0002304:	e3a01003 	mov	r1, #3                                        
a0002308:	e59f3054 	ldr	r3, [pc, #84]	; a0002364 <IMFS_link+0xbc>     
a000230c:	e58dc000 	str	ip, [sp]                                      
a0002310:	eb00299a 	bl	a000c980 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a0002314:	e3500000 	cmp	r0, #0                                        
a0002318:	1a000004 	bne	a0002330 <IMFS_link+0x88>                     
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a000231c:	eb003a00 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a0002320:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0002324:	e5803000 	str	r3, [r0]                                      
a0002328:	e3e00000 	mvn	r0, #0                                        
a000232c:	ea00000a 	b	a000235c <IMFS_link+0xb4>                       
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
a0002330:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
  IMFS_update_ctime( info.hard_link.link_node );                      
a0002334:	e28d003c 	add	r0, sp, #60	; 0x3c                            
a0002338:	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++;                               
a000233c:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a0002340:	e2822001 	add	r2, r2, #1                                    
a0002344:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
a0002348:	eb000243 	bl	a0002c5c <gettimeofday>                        
a000234c:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
a0002350:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0002354:	e3a00000 	mov	r0, #0                                        
a0002358:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a000235c:	e28dd048 	add	sp, sp, #72	; 0x48                            
a0002360:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0002364:	0000a1ff 	.word	0x0000a1ff                                  
                                                                      
a000f7d8 <IMFS_memfile_addblock>:                                     
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
a000f7d8:	e2503000 	subs	r3, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
a000f7dc:	e92d4030 	push	{r4, r5, lr}                                 
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
a000f7e0:	059f0064 	ldreq	r0, [pc, #100]	; a000f84c <IMFS_memfile_addblock+0x74>
a000f7e4:	059f1064 	ldreq	r1, [pc, #100]	; a000f850 <IMFS_memfile_addblock+0x78>
a000f7e8:	059f2064 	ldreq	r2, [pc, #100]	; a000f854 <IMFS_memfile_addblock+0x7c>
a000f7ec:	059f3064 	ldreq	r3, [pc, #100]	; a000f858 <IMFS_memfile_addblock+0x80>
a000f7f0:	0a000006 	beq	a000f810 <IMFS_memfile_addblock+0x38>         
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000f7f4:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a000f7f8:	e3530005 	cmp	r3, #5                                        
a000f7fc:	0a000004 	beq	a000f814 <IMFS_memfile_addblock+0x3c>         
a000f800:	e59f0044 	ldr	r0, [pc, #68]	; a000f84c <IMFS_memfile_addblock+0x74><== NOT EXECUTED
a000f804:	e59f1050 	ldr	r1, [pc, #80]	; a000f85c <IMFS_memfile_addblock+0x84><== NOT EXECUTED
a000f808:	e59f2044 	ldr	r2, [pc, #68]	; a000f854 <IMFS_memfile_addblock+0x7c><== NOT EXECUTED
a000f80c:	e59f304c 	ldr	r3, [pc, #76]	; a000f860 <IMFS_memfile_addblock+0x88><== NOT EXECUTED
a000f810:	ebfff7fb 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
a000f814:	e3a02001 	mov	r2, #1                                        
a000f818:	ebfffea6 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      
  if ( *block_entry_ptr )                                             
a000f81c:	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 );
a000f820:	e1a05000 	mov	r5, r0                                        
  if ( *block_entry_ptr )                                             
a000f824:	e3540000 	cmp	r4, #0                                        
a000f828:	0a000001 	beq	a000f834 <IMFS_memfile_addblock+0x5c>         
a000f82c:	e3a00000 	mov	r0, #0                                        
a000f830:	e8bd8030 	pop	{r4, r5, pc}                                  
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
a000f834:	ebfffe92 	bl	a000f284 <memfile_alloc_block>                 
  if ( !memory )                                                      
a000f838:	e3500000 	cmp	r0, #0                                        
    return 1;                                                         
  *block_entry_ptr = memory;                                          
a000f83c:	15850000 	strne	r0, [r5]                                    
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
a000f840:	03a00001 	moveq	r0, #1                                      
    return 1;                                                         
  *block_entry_ptr = memory;                                          
a000f844:	11a00004 	movne	r0, r4                                      
                                                                      
  return 0;                                                           
}                                                                     
a000f848:	e8bd8030 	pop	{r4, r5, pc}                                  
a000f84c:	a001dcb5 	.word	0xa001dcb5                                  
a000f850:	00000169 	.word	0x00000169                                  
a000f854:	a001d468 	.word	0xa001d468                                  
a000f858:	a001dcfb 	.word	0xa001dcfb                                  
a000f85c:	0000016d 	.word	0x0000016d                                  
a000f860:	a001dd05 	.word	0xa001dd05                                  
                                                                      
a000f864 <IMFS_memfile_extend>:                                       
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000f864:	e92d4df1 	push	{r0, r4, r5, r6, r7, r8, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000f868:	e2504000 	subs	r4, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000f86c:	e1a05001 	mov	r5, r1                                        
a000f870:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000f874:	059f0134 	ldreq	r0, [pc, #308]	; a000f9b0 <IMFS_memfile_extend+0x14c>
a000f878:	059f1134 	ldreq	r1, [pc, #308]	; a000f9b4 <IMFS_memfile_extend+0x150>
a000f87c:	059f2134 	ldreq	r2, [pc, #308]	; a000f9b8 <IMFS_memfile_extend+0x154>
a000f880:	059f3134 	ldreq	r3, [pc, #308]	; a000f9bc <IMFS_memfile_extend+0x158>
a000f884:	0a000006 	beq	a000f8a4 <IMFS_memfile_extend+0x40>           
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000f888:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000f88c:	e3530005 	cmp	r3, #5                                        
a000f890:	0a000004 	beq	a000f8a8 <IMFS_memfile_extend+0x44>           
a000f894:	e59f0114 	ldr	r0, [pc, #276]	; a000f9b0 <IMFS_memfile_extend+0x14c><== NOT EXECUTED
a000f898:	e59f1120 	ldr	r1, [pc, #288]	; a000f9c0 <IMFS_memfile_extend+0x15c><== NOT EXECUTED
a000f89c:	e59f2114 	ldr	r2, [pc, #276]	; a000f9b8 <IMFS_memfile_extend+0x154><== NOT EXECUTED
a000f8a0:	e59f311c 	ldr	r3, [pc, #284]	; a000f9c4 <IMFS_memfile_extend+0x160><== NOT EXECUTED
a000f8a4:	ebfff7d6 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a000f8a8:	e3a03000 	mov	r3, #0                                        
a000f8ac:	e1530002 	cmp	r3, r2                                        
a000f8b0:	e59f3110 	ldr	r3, [pc, #272]	; a000f9c8 <IMFS_memfile_extend+0x164>
a000f8b4:	e593b000 	ldr	fp, [r3]                                      
a000f8b8:	e1a0312b 	lsr	r3, fp, #2                                    
a000f8bc:	e2832001 	add	r2, r3, #1                                    
a000f8c0:	e0010293 	mul	r1, r3, r2                                    
a000f8c4:	e2811001 	add	r1, r1, #1                                    
a000f8c8:	e0020193 	mul	r2, r3, r1                                    
a000f8cc:	e2422001 	sub	r2, r2, #1                                    
a000f8d0:	e003029b 	mul	r3, fp, r2                                    
a000f8d4:	ca000005 	bgt	a000f8f0 <IMFS_memfile_extend+0x8c>           
a000f8d8:	1a000001 	bne	a000f8e4 <IMFS_memfile_extend+0x80>           
a000f8dc:	e1530005 	cmp	r3, r5                                        
a000f8e0:	8a000002 	bhi	a000f8f0 <IMFS_memfile_extend+0x8c>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000f8e4:	eb00048e 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000f8e8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000f8ec:	ea000025 	b	a000f988 <IMFS_memfile_extend+0x124>            <== NOT EXECUTED
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
a000f8f0:	e5948054 	ldr	r8, [r4, #84]	; 0x54                          
a000f8f4:	e5947050 	ldr	r7, [r4, #80]	; 0x50                          
a000f8f8:	e1560008 	cmp	r6, r8                                        
a000f8fc:	ca000002 	bgt	a000f90c <IMFS_memfile_extend+0xa8>           
a000f900:	1a000028 	bne	a000f9a8 <IMFS_memfile_extend+0x144>          
a000f904:	e1550007 	cmp	r5, r7                                        
a000f908:	9a000026 	bls	a000f9a8 <IMFS_memfile_extend+0x144>          
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a000f90c:	e1a0cfcb 	asr	ip, fp, #31                                   
a000f910:	e1a0300c 	mov	r3, ip                                        
a000f914:	e1a0200b 	mov	r2, fp                                        
a000f918:	e1a00005 	mov	r0, r5                                        
a000f91c:	e1a01006 	mov	r1, r6                                        
a000f920:	e58dc000 	str	ip, [sp]                                      
a000f924:	eb002cdc 	bl	a001ac9c <__divdi3>                            
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a000f928:	e59dc000 	ldr	ip, [sp]                                      
a000f92c:	e1a01008 	mov	r1, r8                                        
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a000f930:	e1a0a000 	mov	sl, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a000f934:	e1a0200b 	mov	r2, fp                                        
a000f938:	e1a00007 	mov	r0, r7                                        
a000f93c:	e1a0300c 	mov	r3, ip                                        
a000f940:	eb002cd5 	bl	a001ac9c <__divdi3>                            
a000f944:	e1a08000 	mov	r8, r0                                        
a000f948:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a000f94c:	ea000011 	b	a000f998 <IMFS_memfile_extend+0x134>            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
a000f950:	e1a00004 	mov	r0, r4                                        
a000f954:	e1a01007 	mov	r1, r7                                        
a000f958:	ebffff9e 	bl	a000f7d8 <IMFS_memfile_addblock>               
a000f95c:	e3500000 	cmp	r0, #0                                        
a000f960:	0a00000b 	beq	a000f994 <IMFS_memfile_extend+0x130>          
a000f964:	ea000003 	b	a000f978 <IMFS_memfile_extend+0x114>            <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
a000f968:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000f96c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000f970:	ebfffef4 	bl	a000f548 <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-- ) {                        
a000f974:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
a000f978:	e1570008 	cmp	r7, r8                                        <== NOT EXECUTED
a000f97c:	2afffff9 	bcs	a000f968 <IMFS_memfile_extend+0x104>          <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
a000f980:	eb000467 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000f984:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000f988:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000f98c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000f990:	ea000005 	b	a000f9ac <IMFS_memfile_extend+0x148>            <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a000f994:	e2877001 	add	r7, r7, #1                                    
a000f998:	e157000a 	cmp	r7, sl                                        
a000f99c:	9affffeb 	bls	a000f950 <IMFS_memfile_extend+0xec>           
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
a000f9a0:	e5846054 	str	r6, [r4, #84]	; 0x54                          
a000f9a4:	e5845050 	str	r5, [r4, #80]	; 0x50                          
a000f9a8:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
a000f9ac:	e8bd8df8 	pop	{r3, r4, r5, r6, r7, r8, sl, fp, pc}          
a000f9b0:	a001dcb5 	.word	0xa001dcb5                                  
a000f9b4:	00000131 	.word	0x00000131                                  
a000f9b8:	a001d480 	.word	0xa001d480                                  
a000f9bc:	a001dcfb 	.word	0xa001dcfb                                  
a000f9c0:	00000135 	.word	0x00000135                                  
a000f9c4:	a001dd05 	.word	0xa001dd05                                  
a000f9c8:	a001e058 	.word	0xa001e058                                  
                                                                      
a000f2b8 <IMFS_memfile_get_block_pointer>:                            
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000f2b8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000f2bc:	e2504000 	subs	r4, r0, #0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000f2c0:	e1a06001 	mov	r6, r1                                        
a000f2c4:	e1a08002 	mov	r8, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000f2c8:	059f01e4 	ldreq	r0, [pc, #484]	; a000f4b4 <IMFS_memfile_get_block_pointer+0x1fc>
a000f2cc:	03a01fe2 	moveq	r1, #904	; 0x388                            
a000f2d0:	059f21e0 	ldreq	r2, [pc, #480]	; a000f4b8 <IMFS_memfile_get_block_pointer+0x200>
a000f2d4:	059f31e0 	ldreq	r3, [pc, #480]	; a000f4bc <IMFS_memfile_get_block_pointer+0x204>
a000f2d8:	0a000006 	beq	a000f2f8 <IMFS_memfile_get_block_pointer+0x40>
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000f2dc:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000f2e0:	e3530005 	cmp	r3, #5                                        
a000f2e4:	0a000004 	beq	a000f2fc <IMFS_memfile_get_block_pointer+0x44>
a000f2e8:	e59f01c4 	ldr	r0, [pc, #452]	; a000f4b4 <IMFS_memfile_get_block_pointer+0x1fc><== NOT EXECUTED
a000f2ec:	e59f21c4 	ldr	r2, [pc, #452]	; a000f4b8 <IMFS_memfile_get_block_pointer+0x200><== NOT EXECUTED
a000f2f0:	e59f31c8 	ldr	r3, [pc, #456]	; a000f4c0 <IMFS_memfile_get_block_pointer+0x208><== NOT EXECUTED
a000f2f4:	e3a01fe3 	mov	r1, #908	; 0x38c                              <== NOT EXECUTED
a000f2f8:	ebfff941 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
a000f2fc:	e59f31c0 	ldr	r3, [pc, #448]	; a000f4c4 <IMFS_memfile_get_block_pointer+0x20c>
a000f300:	e5935000 	ldr	r5, [r3]                                      
a000f304:	e1a05125 	lsr	r5, r5, #2                                    
a000f308:	e2453001 	sub	r3, r5, #1                                    
a000f30c:	e1510003 	cmp	r1, r3                                        
a000f310:	8a00000e 	bhi	a000f350 <IMFS_memfile_get_block_pointer+0x98>
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
a000f314:	e3520000 	cmp	r2, #0                                        
  if ( my_block <= LAST_INDIRECT ) {                                  
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
a000f318:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
                                                                      
    if ( malloc_it ) {                                                
a000f31c:	0a000007 	beq	a000f340 <IMFS_memfile_get_block_pointer+0x88>
                                                                      
      if ( !p ) {                                                     
a000f320:	e3500000 	cmp	r0, #0                                        
a000f324:	1a000003 	bne	a000f338 <IMFS_memfile_get_block_pointer+0x80>
        p = memfile_alloc_block();                                    
a000f328:	ebffffd5 	bl	a000f284 <memfile_alloc_block>                 
        if ( !p )                                                     
a000f32c:	e3500000 	cmp	r0, #0                                        
a000f330:	0a00005d 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4>
           return 0;                                                  
        info->indirect = p;                                           
a000f334:	e5840058 	str	r0, [r4, #88]	; 0x58                          
      }                                                               
      return &info->indirect[ my_block ];                             
a000f338:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
a000f33c:	ea000001 	b	a000f348 <IMFS_memfile_get_block_pointer+0x90>  
    }                                                                 
                                                                      
    if ( !p )                                                         
a000f340:	e3500000 	cmp	r0, #0                                        
a000f344:	0a000058 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4>
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
a000f348:	e0800106 	add	r0, r0, r6, lsl #2                            
a000f34c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
a000f350:	e2852001 	add	r2, r5, #1                                    <== NOT EXECUTED
a000f354:	e0030295 	mul	r3, r5, r2                                    <== NOT EXECUTED
a000f358:	e2432001 	sub	r2, r3, #1                                    <== NOT EXECUTED
a000f35c:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a000f360:	8a00001a 	bhi	a000f3d0 <IMFS_memfile_get_block_pointer+0x118><== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
a000f364:	e0656001 	rsb	r6, r5, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f368:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000f36c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000f370:	eb002b9c 	bl	a001a1e8 <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f374:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f378:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f37c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000f380:	eb002b04 	bl	a0019f98 <__aeabi_uidiv>                       <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
a000f384:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f388:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
a000f38c:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    if ( malloc_it ) {                                                
a000f390:	0a000008 	beq	a000f3b8 <IMFS_memfile_get_block_pointer+0x100><== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
a000f394:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000f398:	1a000003 	bne	a000f3ac <IMFS_memfile_get_block_pointer+0xf4><== NOT EXECUTED
        p = memfile_alloc_block();                                    
a000f39c:	ebffffb8 	bl	a000f284 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
a000f3a0:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000f3a4:	0a000040 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
a000f3a8:	e584305c 	str	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
a000f3ac:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          <== NOT EXECUTED
a000f3b0:	e0835105 	add	r5, r3, r5, lsl #2                            <== NOT EXECUTED
a000f3b4:	ea00002d 	b	a000f470 <IMFS_memfile_get_block_pointer+0x1b8> <== NOT EXECUTED
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a000f3b8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000f3bc:	0a00003a 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
a000f3c0:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
    if ( !p )                                                         
a000f3c4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000f3c8:	1a000035 	bne	a000f4a4 <IMFS_memfile_get_block_pointer+0x1ec><== NOT EXECUTED
a000f3cc:	ea000036 	b	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4> <== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
a000f3d0:	e2831001 	add	r1, r3, #1                                    <== NOT EXECUTED
a000f3d4:	e0020195 	mul	r2, r5, r1                                    <== NOT EXECUTED
a000f3d8:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a000f3dc:	e1560002 	cmp	r6, r2                                        <== NOT EXECUTED
a000f3e0:	8a000031 	bhi	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
a000f3e4:	e0636006 	rsb	r6, r3, r6                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f3e8:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000f3ec:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000f3f0:	eb002b7c 	bl	a001a1e8 <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f3f4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f3f8:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000f3fc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000f400:	eb002ae4 	bl	a0019f98 <__aeabi_uidiv>                       <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000f404:	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;                     
a000f408:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000f40c:	eb002ae1 	bl	a0019f98 <__aeabi_uidiv>                       <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000f410:	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;                       
a000f414:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000f418:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000f41c:	eb002b71 	bl	a001a1e8 <__umodsi3>                           <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
a000f420:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000f424:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
a000f428:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
    if ( malloc_it ) {                                                
a000f42c:	0a000016 	beq	a000f48c <IMFS_memfile_get_block_pointer+0x1d4><== NOT EXECUTED
      if ( !p ) {                                                     
a000f430:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000f434:	1a000003 	bne	a000f448 <IMFS_memfile_get_block_pointer+0x190><== NOT EXECUTED
        p = memfile_alloc_block();                                    
a000f438:	ebffff91 	bl	a000f284 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
a000f43c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000f440:	0a000019 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
a000f444:	e5843060 	str	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
a000f448:	e7932107 	ldr	r2, [r3, r7, lsl #2]                          <== NOT EXECUTED
a000f44c:	e0837107 	add	r7, r3, r7, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
a000f450:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000f454:	1a000003 	bne	a000f468 <IMFS_memfile_get_block_pointer+0x1b0><== NOT EXECUTED
        p1 = memfile_alloc_block();                                   
a000f458:	ebffff89 	bl	a000f284 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p1 )                                                    
a000f45c:	e2502000 	subs	r2, r0, #0                                   <== NOT EXECUTED
a000f460:	0a000011 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
a000f464:	e5872000 	str	r2, [r7]                                      <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
a000f468:	e7920105 	ldr	r0, [r2, r5, lsl #2]                          <== NOT EXECUTED
a000f46c:	e0825105 	add	r5, r2, r5, lsl #2                            <== NOT EXECUTED
      if ( !p2 ) {                                                    
a000f470:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000f474:	1a00000a 	bne	a000f4a4 <IMFS_memfile_get_block_pointer+0x1ec><== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
a000f478:	ebffff81 	bl	a000f284 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p2 )                                                    
a000f47c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
a000f480:	15850000 	strne	r0, [r5]                                    <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
a000f484:	1a000006 	bne	a000f4a4 <IMFS_memfile_get_block_pointer+0x1ec><== NOT EXECUTED
a000f488:	ea000007 	b	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4> <== NOT EXECUTED
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a000f48c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000f490:	0a000005 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4><== 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 ];                                     
a000f494:	e7933107 	ldr	r3, [r3, r7, lsl #2]                          <== NOT EXECUTED
    if ( !p1 )                                                        
a000f498:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000f49c:	0a000002 	beq	a000f4ac <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000f4a0:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
a000f4a4:	e080010a 	add	r0, r0, sl, lsl #2                            <== NOT EXECUTED
a000f4a8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
a000f4ac:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a000f4b0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
a000f4b4:	a001dcb5 	.word	0xa001dcb5                                  
a000f4b8:	a001d3f8 	.word	0xa001d3f8                                  
a000f4bc:	a001dcfb 	.word	0xa001dcfb                                  
a000f4c0:	a001dd05 	.word	0xa001dd05                                  
a000f4c4:	a001e058 	.word	0xa001e058                                  
                                                                      
a000fde4 <IMFS_memfile_read>:                                         
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a000fde4:	e92d4ff7 	push	{r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr}
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000fde8:	e2504000 	subs	r4, r0, #0                                   
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a000fdec:	e1a06003 	mov	r6, r3                                        
a000fdf0:	e1a08001 	mov	r8, r1                                        
a000fdf4:	e1a09002 	mov	r9, r2                                        
a000fdf8:	e59d7030 	ldr	r7, [sp, #48]	; 0x30                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000fdfc:	059f024c 	ldreq	r0, [pc, #588]	; a0010050 <IMFS_memfile_read+0x26c>
a000fe00:	03a01f93 	moveq	r1, #588	; 0x24c                            
a000fe04:	059f2248 	ldreq	r2, [pc, #584]	; a0010054 <IMFS_memfile_read+0x270>
a000fe08:	059f3248 	ldreq	r3, [pc, #584]	; a0010058 <IMFS_memfile_read+0x274>
a000fe0c:	0a000007 	beq	a000fe30 <IMFS_memfile_read+0x4c>             
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
a000fe10:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000fe14:	e2432005 	sub	r2, r3, #5                                    
a000fe18:	e3520001 	cmp	r2, #1                                        
a000fe1c:	9a000004 	bls	a000fe34 <IMFS_memfile_read+0x50>             
a000fe20:	e59f0228 	ldr	r0, [pc, #552]	; a0010050 <IMFS_memfile_read+0x26c><== NOT EXECUTED
a000fe24:	e59f1230 	ldr	r1, [pc, #560]	; a001005c <IMFS_memfile_read+0x278><== NOT EXECUTED
a000fe28:	e59f2224 	ldr	r2, [pc, #548]	; a0010054 <IMFS_memfile_read+0x270><== NOT EXECUTED
a000fe2c:	e59f322c 	ldr	r3, [pc, #556]	; a0010060 <IMFS_memfile_read+0x27c><== NOT EXECUTED
a000fe30:	ebfff673 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
a000fe34:	e3560000 	cmp	r6, #0                                        
a000fe38:	059f0210 	ldreq	r0, [pc, #528]	; a0010050 <IMFS_memfile_read+0x26c>
a000fe3c:	059f1220 	ldreq	r1, [pc, #544]	; a0010064 <IMFS_memfile_read+0x280>
a000fe40:	059f220c 	ldreq	r2, [pc, #524]	; a0010054 <IMFS_memfile_read+0x270>
a000fe44:	059f321c 	ldreq	r3, [pc, #540]	; a0010068 <IMFS_memfile_read+0x284>
a000fe48:	0afffff8 	beq	a000fe30 <IMFS_memfile_read+0x4c>             
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a000fe4c:	e3570000 	cmp	r7, #0                                        
a000fe50:	1a000004 	bne	a000fe68 <IMFS_memfile_read+0x84>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000fe54:	eb000332 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000fe58:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000fe5c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000fe60:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000fe64:	ea000077 	b	a0010048 <IMFS_memfile_read+0x264>              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000fe68:	e3530006 	cmp	r3, #6                                        
a000fe6c:	1a000012 	bne	a000febc <IMFS_memfile_read+0xd8>             
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a000fe70:	e284b050 	add	fp, r4, #80	; 0x50                            <== NOT EXECUTED
a000fe74:	e89b0c00 	ldm	fp, {sl, fp}                                  <== NOT EXECUTED
a000fe78:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a000fe7c:	e1a0300b 	mov	r3, fp                                        <== NOT EXECUTED
a000fe80:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000fe84:	e0522008 	subs	r2, r2, r8                                   <== NOT EXECUTED
a000fe88:	e0c33009 	sbc	r3, r3, r9                                    <== NOT EXECUTED
a000fe8c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
a000fe90:	e5941058 	ldr	r1, [r4, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a000fe94:	ca000002 	bgt	a000fea4 <IMFS_memfile_read+0xc0>             <== NOT EXECUTED
a000fe98:	1a000002 	bne	a000fea8 <IMFS_memfile_read+0xc4>             <== NOT EXECUTED
a000fe9c:	e1570002 	cmp	r7, r2                                        <== NOT EXECUTED
a000fea0:	9a000000 	bls	a000fea8 <IMFS_memfile_read+0xc4>             <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
a000fea4:	e068700a 	rsb	r7, r8, sl                                    <== NOT EXECUTED
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
a000fea8:	e0811008 	add	r1, r1, r8                                    <== NOT EXECUTED
a000feac:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000feb0:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a000feb4:	eb000528 	bl	a001135c <memcpy>                              <== NOT EXECUTED
a000feb8:	ea00005d 	b	a0010034 <IMFS_memfile_read+0x250>              <== NOT EXECUTED
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
a000febc:	e5942054 	ldr	r2, [r4, #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;                                         
a000fec0:	e1a03001 	mov	r3, r1                                        
  if ( last_byte > the_jnode->info.file.size )                        
a000fec4:	e3a01000 	mov	r1, #0                                        
a000fec8:	e1510002 	cmp	r1, r2                                        
a000fecc:	e5945050 	ldr	r5, [r4, #80]	; 0x50                          
a000fed0:	e0872008 	add	r2, r7, r8                                    
a000fed4:	ca000004 	bgt	a000feec <IMFS_memfile_read+0x108>            
a000fed8:	1a000001 	bne	a000fee4 <IMFS_memfile_read+0x100>            
a000fedc:	e1520005 	cmp	r2, r5                                        
a000fee0:	8a000001 	bhi	a000feec <IMFS_memfile_read+0x108>            
a000fee4:	e1a05007 	mov	r5, r7                                        
a000fee8:	ea000000 	b	a000fef0 <IMFS_memfile_read+0x10c>              
    my_length = the_jnode->info.file.size - start;                    
a000feec:	e0635005 	rsb	r5, r3, r5                                    
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000fef0:	e59f3174 	ldr	r3, [pc, #372]	; a001006c <IMFS_memfile_read+0x288>
a000fef4:	e1a00008 	mov	r0, r8                                        
a000fef8:	e1a01009 	mov	r1, r9                                        
a000fefc:	e593a000 	ldr	sl, [r3]                                      
a000ff00:	e1a0b00a 	mov	fp, sl                                        
a000ff04:	e1a0cfcb 	asr	ip, fp, #31                                   
a000ff08:	e1a0300c 	mov	r3, ip                                        
a000ff0c:	e1a0200b 	mov	r2, fp                                        
a000ff10:	e58dc000 	str	ip, [sp]                                      
a000ff14:	eb002c8a 	bl	a001b144 <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000ff18:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000ff1c:	e1a07000 	mov	r7, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000ff20:	e1a01009 	mov	r1, r9                                        
a000ff24:	e1a00008 	mov	r0, r8                                        
a000ff28:	e1a0200b 	mov	r2, fp                                        
a000ff2c:	e1a0300c 	mov	r3, ip                                        
a000ff30:	eb002b59 	bl	a001ac9c <__divdi3>                            
  if ( start_offset )  {                                              
a000ff34:	e3570000 	cmp	r7, #0                                        
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000ff38:	e1a08000 	mov	r8, r0                                        
  if ( start_offset )  {                                              
a000ff3c:	0a000013 	beq	a000ff90 <IMFS_memfile_read+0x1ac>            
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000ff40:	e1a00004 	mov	r0, r4                                        
a000ff44:	e1a01008 	mov	r1, r8                                        
a000ff48:	e3a02000 	mov	r2, #0                                        
a000ff4c:	ebfffcd9 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000ff50:	e3500000 	cmp	r0, #0                                        
a000ff54:	059f00f4 	ldreq	r0, [pc, #244]	; a0010050 <IMFS_memfile_read+0x26c>
a000ff58:	059f1110 	ldreq	r1, [pc, #272]	; a0010070 <IMFS_memfile_read+0x28c>
a000ff5c:	0a00002c 	beq	a0010014 <IMFS_memfile_read+0x230>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
a000ff60:	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;            
a000ff64:	e067a00a 	rsb	sl, r7, sl                                    
a000ff68:	e155000a 	cmp	r5, sl                                        
a000ff6c:	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 );           
a000ff70:	e0811007 	add	r1, r1, r7                                    
a000ff74:	e1a00006 	mov	r0, r6                                        
a000ff78:	e1a0200a 	mov	r2, sl                                        
a000ff7c:	eb0004f6 	bl	a001135c <memcpy>                              
    dest += to_copy;                                                  
a000ff80:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
a000ff84:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
a000ff88:	e06a5005 	rsb	r5, sl, r5                                    
a000ff8c:	e1a0700a 	mov	r7, sl                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
a000ff90:	e59f30d4 	ldr	r3, [pc, #212]	; a001006c <IMFS_memfile_read+0x288>
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000ff94:	e1a09003 	mov	r9, r3                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
a000ff98:	e593a000 	ldr	sl, [r3]                                      
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000ff9c:	ea00000f 	b	a000ffe0 <IMFS_memfile_read+0x1fc>              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000ffa0:	e1a00004 	mov	r0, r4                                        
a000ffa4:	e1a01008 	mov	r1, r8                                        
a000ffa8:	e3a02000 	mov	r2, #0                                        
a000ffac:	ebfffcc1 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000ffb0:	e3500000 	cmp	r0, #0                                        
a000ffb4:	059f0094 	ldreq	r0, [pc, #148]	; a0010050 <IMFS_memfile_read+0x26c>
a000ffb8:	059f10b4 	ldreq	r1, [pc, #180]	; a0010074 <IMFS_memfile_read+0x290>
a000ffbc:	0a000014 	beq	a0010014 <IMFS_memfile_read+0x230>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a000ffc0:	e5901000 	ldr	r1, [r0]                                      
a000ffc4:	e1a0200a 	mov	r2, sl                                        
a000ffc8:	e1a00006 	mov	r0, r6                                        
a000ffcc:	eb0004e2 	bl	a001135c <memcpy>                              
    dest += to_copy;                                                  
a000ffd0:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
a000ffd4:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
a000ffd8:	e06a5005 	rsb	r5, sl, r5                                    
    copied += to_copy;                                                
a000ffdc:	e087700a 	add	r7, r7, sl                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000ffe0:	e5993000 	ldr	r3, [r9]                                      
a000ffe4:	e1550003 	cmp	r5, r3                                        
a000ffe8:	2affffec 	bcs	a000ffa0 <IMFS_memfile_read+0x1bc>            
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
a000ffec:	e3550000 	cmp	r5, #0                                        
a000fff0:	0a00000f 	beq	a0010034 <IMFS_memfile_read+0x250>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000fff4:	e1a01008 	mov	r1, r8                                        
a000fff8:	e1a00004 	mov	r0, r4                                        
a000fffc:	e3a02000 	mov	r2, #0                                        
a0010000:	ebfffcac 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a0010004:	e2503000 	subs	r3, r0, #0                                   
a0010008:	1a000004 	bne	a0010020 <IMFS_memfile_read+0x23c>            
a001000c:	e59f003c 	ldr	r0, [pc, #60]	; a0010050 <IMFS_memfile_read+0x26c><== NOT EXECUTED
a0010010:	e59f1060 	ldr	r1, [pc, #96]	; a0010078 <IMFS_memfile_read+0x294><== NOT EXECUTED
a0010014:	e59f2038 	ldr	r2, [pc, #56]	; a0010054 <IMFS_memfile_read+0x270><== NOT EXECUTED
a0010018:	e59f305c 	ldr	r3, [pc, #92]	; a001007c <IMFS_memfile_read+0x298><== NOT EXECUTED
a001001c:	eaffff83 	b	a000fe30 <IMFS_memfile_read+0x4c>               <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
a0010020:	e1a00006 	mov	r0, r6                                        
a0010024:	e5931000 	ldr	r1, [r3]                                      
a0010028:	e1a02005 	mov	r2, r5                                        
a001002c:	eb0004ca 	bl	a001135c <memcpy>                              
    copied += my_length;                                              
a0010030:	e0857007 	add	r7, r5, r7                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a0010034:	e28d0004 	add	r0, sp, #4                                    
a0010038:	e3a01000 	mov	r1, #0                                        
a001003c:	ebffcb06 	bl	a0002c5c <gettimeofday>                        
a0010040:	e59d3004 	ldr	r3, [sp, #4]                                  
a0010044:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return copied;                                                      
}                                                                     
a0010048:	e1a00007 	mov	r0, r7                                        
a001004c:	e8bd8ffe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}
a0010050:	a001dcb5 	.word	0xa001dcb5                                  
a0010054:	a001d4a8 	.word	0xa001d4a8                                  
a0010058:	a001dcfb 	.word	0xa001dcfb                                  
a001005c:	00000251 	.word	0x00000251                                  
a0010060:	a001dd6f 	.word	0xa001dd6f                                  
a0010064:	0000025a 	.word	0x0000025a                                  
a0010068:	a001ddba 	.word	0xa001ddba                                  
a001006c:	a001e058 	.word	0xa001e058                                  
a0010070:	00000296 	.word	0x00000296                                  
a0010074:	000002a7 	.word	0x000002a7                                  
a0010078:	000002b9 	.word	0x000002b9                                  
a001007c:	a001dd35 	.word	0xa001dd35                                  
                                                                      
a000f598 <IMFS_memfile_remove>:                                       
 */                                                                   
                                                                      
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
a000f598:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000f59c:	e2504000 	subs	r4, r0, #0                                   
a000f5a0:	059f0138 	ldreq	r0, [pc, #312]	; a000f6e0 <IMFS_memfile_remove+0x148>
a000f5a4:	059f1138 	ldreq	r1, [pc, #312]	; a000f6e4 <IMFS_memfile_remove+0x14c>
a000f5a8:	059f2138 	ldreq	r2, [pc, #312]	; a000f6e8 <IMFS_memfile_remove+0x150>
a000f5ac:	059f3138 	ldreq	r3, [pc, #312]	; a000f6ec <IMFS_memfile_remove+0x154>
a000f5b0:	0a000006 	beq	a000f5d0 <IMFS_memfile_remove+0x38>           
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000f5b4:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000f5b8:	e3530005 	cmp	r3, #5                                        
a000f5bc:	0a000004 	beq	a000f5d4 <IMFS_memfile_remove+0x3c>           
a000f5c0:	e59f0118 	ldr	r0, [pc, #280]	; a000f6e0 <IMFS_memfile_remove+0x148><== NOT EXECUTED
a000f5c4:	e59f1124 	ldr	r1, [pc, #292]	; a000f6f0 <IMFS_memfile_remove+0x158><== NOT EXECUTED
a000f5c8:	e59f2118 	ldr	r2, [pc, #280]	; a000f6e8 <IMFS_memfile_remove+0x150><== NOT EXECUTED
a000f5cc:	e59f3120 	ldr	r3, [pc, #288]	; a000f6f4 <IMFS_memfile_remove+0x15c><== NOT EXECUTED
a000f5d0:	ebfff88b 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
                                                                      
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
a000f5d4:	e59f211c 	ldr	r2, [pc, #284]	; a000f6f8 <IMFS_memfile_remove+0x160>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f5d8:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
                                                                      
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
a000f5dc:	e5925000 	ldr	r5, [r2]                                      
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f5e0:	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;                                 
a000f5e4:	e1a05125 	lsr	r5, r5, #2                                    
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f5e8:	0a000002 	beq	a000f5f8 <IMFS_memfile_remove+0x60>           
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
a000f5ec:	e2840058 	add	r0, r4, #88	; 0x58                            
a000f5f0:	e1a01005 	mov	r1, r5                                        
a000f5f4:	ebffffb3 	bl	a000f4c8 <memfile_free_blocks_in_table>        
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f5f8:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          
a000f5fc:	e3530000 	cmp	r3, #0                                        
a000f600:	13a06000 	movne	r6, #0                                      
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a000f604:	159f70ec 	ldrne	r7, [pc, #236]	; a000f6f8 <IMFS_memfile_remove+0x160>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f608:	1a000009 	bne	a000f634 <IMFS_memfile_remove+0x9c>           
a000f60c:	ea00000e 	b	a000f64c <IMFS_memfile_remove+0xb4>             
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
a000f610:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a000f614:	e1a00106 	lsl	r0, r6, #2                                    <== NOT EXECUTED
a000f618:	e7932106 	ldr	r2, [r3, r6, lsl #2]                          <== NOT EXECUTED
a000f61c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000f620:	0a000002 	beq	a000f630 <IMFS_memfile_remove+0x98>           <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
a000f624:	e0830000 	add	r0, r3, r0                                    <== NOT EXECUTED
a000f628:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000f62c:	ebffffa5 	bl	a000f4c8 <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++ ) {                  
a000f630:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a000f634:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a000f638:	e1560123 	cmp	r6, r3, lsr #2                                <== NOT EXECUTED
a000f63c:	3afffff3 	bcc	a000f610 <IMFS_memfile_remove+0x78>           <== 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 );  
a000f640:	e284005c 	add	r0, r4, #92	; 0x5c                            <== NOT EXECUTED
a000f644:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000f648:	ebffff9e 	bl	a000f4c8 <memfile_free_blocks_in_table>        <== NOT EXECUTED
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f64c:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          
a000f650:	e3530000 	cmp	r3, #0                                        
a000f654:	13a06000 	movne	r6, #0                                      
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a000f658:	159fa098 	ldrne	sl, [pc, #152]	; a000f6f8 <IMFS_memfile_remove+0x160>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f65c:	1a000017 	bne	a000f6c0 <IMFS_memfile_remove+0x128>          
a000f660:	ea00001c 	b	a000f6d8 <IMFS_memfile_remove+0x140>            
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
a000f664:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000f668:	e1a09106 	lsl	r9, r6, #2                                    <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
a000f66c:	e7937106 	ldr	r7, [r3, r6, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000f670:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a000f674:	0a000014 	beq	a000f6cc <IMFS_memfile_remove+0x134>          <== NOT EXECUTED
a000f678:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
a000f67c:	ea000007 	b	a000f6a0 <IMFS_memfile_remove+0x108>            <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
a000f680:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a000f684:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000f688:	0a000002 	beq	a000f698 <IMFS_memfile_remove+0x100>          <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
a000f68c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000f690:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000f694:	ebffff8b 	bl	a000f4c8 <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++ ) {                
a000f698:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
a000f69c:	e2877004 	add	r7, r7, #4                                    <== NOT EXECUTED
a000f6a0:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
a000f6a4:	e1580123 	cmp	r8, r3, lsr #2                                <== NOT EXECUTED
a000f6a8:	3afffff4 	bcc	a000f680 <IMFS_memfile_remove+0xe8>           <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
a000f6ac:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
a000f6b0:	e1a01005 	mov	r1, r5                                        <== 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++ ) {                  
a000f6b4:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
a000f6b8:	e0800009 	add	r0, r0, r9                                    <== NOT EXECUTED
a000f6bc:	ebffff81 	bl	a000f4c8 <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++ ) {                  
a000f6c0:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
a000f6c4:	e1560123 	cmp	r6, r3, lsr #2                                <== NOT EXECUTED
a000f6c8:	3affffe5 	bcc	a000f664 <IMFS_memfile_remove+0xcc>           <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
a000f6cc:	e2840060 	add	r0, r4, #96	; 0x60                            <== NOT EXECUTED
a000f6d0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000f6d4:	ebffff7b 	bl	a000f4c8 <memfile_free_blocks_in_table>        <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000f6d8:	e3a00000 	mov	r0, #0                                        
a000f6dc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
a000f6e0:	a001dcb5 	.word	0xa001dcb5                                  
a000f6e4:	000001ee 	.word	0x000001ee                                  
a000f6e8:	a001d454 	.word	0xa001d454                                  
a000f6ec:	a001dcfb 	.word	0xa001dcfb                                  
a000f6f0:	000001f2 	.word	0x000001f2                                  
a000f6f4:	a001dd05 	.word	0xa001dd05                                  
a000f6f8:	a001e058 	.word	0xa001e058                                  
                                                                      
a000f548 <IMFS_memfile_remove_block>:                                 
                                                                      
MEMFILE_STATIC int IMFS_memfile_remove_block(                         
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
a000f548:	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 );  
a000f54c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000f550:	ebffff58 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      <== NOT EXECUTED
  assert( block_ptr );                                                
a000f554:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000f558:	1a000004 	bne	a000f570 <IMFS_memfile_remove_block+0x28>     <== NOT EXECUTED
a000f55c:	e59f0024 	ldr	r0, [pc, #36]	; a000f588 <IMFS_memfile_remove_block+0x40><== NOT EXECUTED
a000f560:	e59f1024 	ldr	r1, [pc, #36]	; a000f58c <IMFS_memfile_remove_block+0x44><== NOT EXECUTED
a000f564:	e59f2024 	ldr	r2, [pc, #36]	; a000f590 <IMFS_memfile_remove_block+0x48><== NOT EXECUTED
a000f568:	e59f3024 	ldr	r3, [pc, #36]	; a000f594 <IMFS_memfile_remove_block+0x4c><== NOT EXECUTED
a000f56c:	ebfff8a4 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
    *block_ptr = 0;                                                   
a000f570:	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;                                                 
a000f574:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    *block_ptr = 0;                                                   
a000f578:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    memfile_free_block( ptr );                                        
a000f57c:	ebffff38 	bl	a000f264 <memfile_free_block>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
a000f580:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000f584:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
a000f588:	a001dcb5 	.word	0xa001dcb5                                  
a000f58c:	00000196 	.word	0x00000196                                  
a000f590:	a001d438 	.word	0xa001d438                                  
a000f594:	a001dd35 	.word	0xa001dd35                                  
                                                                      
a000fabc <IMFS_memfile_write>:                                        
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a000fabc:	e92d4ff7 	push	{r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr}
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000fac0:	e2504000 	subs	r4, r0, #0                                   
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a000fac4:	e1a08001 	mov	r8, r1                                        
a000fac8:	e1a0a002 	mov	sl, r2                                        
a000facc:	e1a06003 	mov	r6, r3                                        
a000fad0:	e59d5030 	ldr	r5, [sp, #48]	; 0x30                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000fad4:	059f0204 	ldreq	r0, [pc, #516]	; a000fce0 <IMFS_memfile_write+0x224>
a000fad8:	059f1204 	ldreq	r1, [pc, #516]	; a000fce4 <IMFS_memfile_write+0x228>
a000fadc:	059f2204 	ldreq	r2, [pc, #516]	; a000fce8 <IMFS_memfile_write+0x22c>
a000fae0:	059f3204 	ldreq	r3, [pc, #516]	; a000fcec <IMFS_memfile_write+0x230>
a000fae4:	0a000006 	beq	a000fb04 <IMFS_memfile_write+0x48>            
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000fae8:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000faec:	e3530005 	cmp	r3, #5                                        
a000faf0:	0a000004 	beq	a000fb08 <IMFS_memfile_write+0x4c>            
a000faf4:	e59f01e4 	ldr	r0, [pc, #484]	; a000fce0 <IMFS_memfile_write+0x224><== NOT EXECUTED
a000faf8:	e59f11f0 	ldr	r1, [pc, #496]	; a000fcf0 <IMFS_memfile_write+0x234><== NOT EXECUTED
a000fafc:	e59f21e4 	ldr	r2, [pc, #484]	; a000fce8 <IMFS_memfile_write+0x22c><== NOT EXECUTED
a000fb00:	e59f31ec 	ldr	r3, [pc, #492]	; a000fcf4 <IMFS_memfile_write+0x238><== NOT EXECUTED
a000fb04:	ebfff73e 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
a000fb08:	e3560000 	cmp	r6, #0                                        
a000fb0c:	059f01cc 	ldreq	r0, [pc, #460]	; a000fce0 <IMFS_memfile_write+0x224>
a000fb10:	059f11e0 	ldreq	r1, [pc, #480]	; a000fcf8 <IMFS_memfile_write+0x23c>
a000fb14:	059f21cc 	ldreq	r2, [pc, #460]	; a000fce8 <IMFS_memfile_write+0x22c>
a000fb18:	059f31dc 	ldreq	r3, [pc, #476]	; a000fcfc <IMFS_memfile_write+0x240>
a000fb1c:	0afffff8 	beq	a000fb04 <IMFS_memfile_write+0x48>            
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a000fb20:	e3550000 	cmp	r5, #0                                        
a000fb24:	1a000002 	bne	a000fb34 <IMFS_memfile_write+0x78>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000fb28:	eb0003fd 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000fb2c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000fb30:	ea00000e 	b	a000fb70 <IMFS_memfile_write+0xb4>              <== NOT EXECUTED
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
a000fb34:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a000fb38:	e0851001 	add	r1, r5, r1                                    
a000fb3c:	e3530000 	cmp	r3, #0                                        
a000fb40:	ba000003 	blt	a000fb54 <IMFS_memfile_write+0x98>            
a000fb44:	1a00000c 	bne	a000fb7c <IMFS_memfile_write+0xc0>            
a000fb48:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000fb4c:	e1530001 	cmp	r3, r1                                        
a000fb50:	2a000009 	bcs	a000fb7c <IMFS_memfile_write+0xc0>            
    status = IMFS_memfile_extend( the_jnode, last_byte );             
a000fb54:	e1a00004 	mov	r0, r4                                        
a000fb58:	e3a02000 	mov	r2, #0                                        
a000fb5c:	ebffff40 	bl	a000f864 <IMFS_memfile_extend>                 
    if ( status )                                                     
a000fb60:	e3500000 	cmp	r0, #0                                        
a000fb64:	0a000004 	beq	a000fb7c <IMFS_memfile_write+0xc0>            
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a000fb68:	eb0003ed 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000fb6c:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000fb70:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000fb74:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000fb78:	ea000056 	b	a000fcd8 <IMFS_memfile_write+0x21c>             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000fb7c:	e59f317c 	ldr	r3, [pc, #380]	; a000fd00 <IMFS_memfile_write+0x244>
a000fb80:	e1a00008 	mov	r0, r8                                        
a000fb84:	e1a0100a 	mov	r1, sl                                        
a000fb88:	e5939000 	ldr	r9, [r3]                                      
a000fb8c:	e1a0b009 	mov	fp, r9                                        
a000fb90:	e1a0cfcb 	asr	ip, fp, #31                                   
a000fb94:	e1a0300c 	mov	r3, ip                                        
a000fb98:	e1a0200b 	mov	r2, fp                                        
a000fb9c:	e58dc000 	str	ip, [sp]                                      
a000fba0:	eb002d67 	bl	a001b144 <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000fba4:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000fba8:	e1a07000 	mov	r7, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000fbac:	e1a0100a 	mov	r1, sl                                        
a000fbb0:	e1a00008 	mov	r0, r8                                        
a000fbb4:	e1a0200b 	mov	r2, fp                                        
a000fbb8:	e1a0300c 	mov	r3, ip                                        
a000fbbc:	eb002c36 	bl	a001ac9c <__divdi3>                            
  if ( start_offset )  {                                              
a000fbc0:	e3570000 	cmp	r7, #0                                        
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000fbc4:	e1a08000 	mov	r8, r0                                        
  if ( start_offset )  {                                              
a000fbc8:	0a000013 	beq	a000fc1c <IMFS_memfile_write+0x160>           
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000fbcc:	e1a01008 	mov	r1, r8                                        
a000fbd0:	e1a00004 	mov	r0, r4                                        
a000fbd4:	e3a02000 	mov	r2, #0                                        
a000fbd8:	ebfffdb6 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000fbdc:	e3500000 	cmp	r0, #0                                        
a000fbe0:	059f00f8 	ldreq	r0, [pc, #248]	; a000fce0 <IMFS_memfile_write+0x224>
a000fbe4:	03a01fc7 	moveq	r1, #796	; 0x31c                            
a000fbe8:	0a00002c 	beq	a000fca0 <IMFS_memfile_write+0x1e4>           
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a000fbec:	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;            
a000fbf0:	e067a009 	rsb	sl, r7, r9                                    
a000fbf4:	e15a0005 	cmp	sl, r5                                        
a000fbf8:	21a0a005 	movcs	sl, r5                                      
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a000fbfc:	e0800007 	add	r0, r0, r7                                    
a000fc00:	e1a01006 	mov	r1, r6                                        
a000fc04:	e1a0200a 	mov	r2, sl                                        
a000fc08:	eb0005d3 	bl	a001135c <memcpy>                              
    src += to_copy;                                                   
a000fc0c:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
a000fc10:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
a000fc14:	e06a5005 	rsb	r5, sl, r5                                    
    copied += to_copy;                                                
a000fc18:	e1a0700a 	mov	r7, sl                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
a000fc1c:	e59f30dc 	ldr	r3, [pc, #220]	; a000fd00 <IMFS_memfile_write+0x244>
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000fc20:	e1a09003 	mov	r9, r3                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
a000fc24:	e593a000 	ldr	sl, [r3]                                      
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000fc28:	ea00000f 	b	a000fc6c <IMFS_memfile_write+0x1b0>             
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000fc2c:	e1a00004 	mov	r0, r4                                        
a000fc30:	e1a01008 	mov	r1, r8                                        
a000fc34:	e3a02000 	mov	r2, #0                                        
a000fc38:	ebfffd9e 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000fc3c:	e3500000 	cmp	r0, #0                                        
a000fc40:	059f0098 	ldreq	r0, [pc, #152]	; a000fce0 <IMFS_memfile_write+0x224>
a000fc44:	03a01e33 	moveq	r1, #816	; 0x330                            
a000fc48:	0a000014 	beq	a000fca0 <IMFS_memfile_write+0x1e4>           
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
a000fc4c:	e1a01006 	mov	r1, r6                                        
a000fc50:	e5900000 	ldr	r0, [r0]                                      
a000fc54:	e1a0200a 	mov	r2, sl                                        
a000fc58:	eb0005bf 	bl	a001135c <memcpy>                              
    src += to_copy;                                                   
a000fc5c:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
a000fc60:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
a000fc64:	e06a5005 	rsb	r5, sl, r5                                    
 *                                                                    
 *  This routine writes the specified data buffer into the in memory  
 *  file pointed to by the_jnode.  The file is extended as needed.    
 */                                                                   
                                                                      
MEMFILE_STATIC ssize_t IMFS_memfile_write(                            
a000fc68:	e087700a 	add	r7, r7, sl                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000fc6c:	e5993000 	ldr	r3, [r9]                                      
a000fc70:	e1550003 	cmp	r5, r3                                        
a000fc74:	2affffec 	bcs	a000fc2c <IMFS_memfile_write+0x170>           
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
a000fc78:	e3550000 	cmp	r5, #0                                        
a000fc7c:	0a00000f 	beq	a000fcc0 <IMFS_memfile_write+0x204>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000fc80:	e1a01008 	mov	r1, r8                                        
a000fc84:	e1a00004 	mov	r0, r4                                        
a000fc88:	e3a02000 	mov	r2, #0                                        
a000fc8c:	ebfffd89 	bl	a000f2b8 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000fc90:	e3500000 	cmp	r0, #0                                        
a000fc94:	1a000004 	bne	a000fcac <IMFS_memfile_write+0x1f0>           
a000fc98:	e59f0040 	ldr	r0, [pc, #64]	; a000fce0 <IMFS_memfile_write+0x224><== NOT EXECUTED
a000fc9c:	e59f1060 	ldr	r1, [pc, #96]	; a000fd04 <IMFS_memfile_write+0x248><== NOT EXECUTED
a000fca0:	e59f2040 	ldr	r2, [pc, #64]	; a000fce8 <IMFS_memfile_write+0x22c><== NOT EXECUTED
a000fca4:	e59f305c 	ldr	r3, [pc, #92]	; a000fd08 <IMFS_memfile_write+0x24c><== NOT EXECUTED
a000fca8:	eaffff95 	b	a000fb04 <IMFS_memfile_write+0x48>              <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
a000fcac:	e5900000 	ldr	r0, [r0]                                      
a000fcb0:	e1a01006 	mov	r1, r6                                        
a000fcb4:	e1a02005 	mov	r2, r5                                        
a000fcb8:	eb0005a7 	bl	a001135c <memcpy>                              
    my_length = 0;                                                    
    copied += to_copy;                                                
a000fcbc:	e0877005 	add	r7, r7, r5                                    
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
a000fcc0:	e28d0004 	add	r0, sp, #4                                    
a000fcc4:	e3a01000 	mov	r1, #0                                        
a000fcc8:	ebffcbe3 	bl	a0002c5c <gettimeofday>                        
a000fccc:	e59d3004 	ldr	r3, [sp, #4]                                  
a000fcd0:	e5843048 	str	r3, [r4, #72]	; 0x48                          
a000fcd4:	e5843044 	str	r3, [r4, #68]	; 0x44                          
                                                                      
  return copied;                                                      
}                                                                     
a000fcd8:	e1a00007 	mov	r0, r7                                        
a000fcdc:	e8bd8ffe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}
a000fce0:	a001dcb5 	.word	0xa001dcb5                                  
a000fce4:	000002e3 	.word	0x000002e3                                  
a000fce8:	a001d494 	.word	0xa001d494                                  
a000fcec:	a001dcfb 	.word	0xa001dcfb                                  
a000fcf0:	000002e7 	.word	0x000002e7                                  
a000fcf4:	a001dd05 	.word	0xa001dd05                                  
a000fcf8:	000002ef 	.word	0x000002ef                                  
a000fcfc:	a001dd3f 	.word	0xa001dd3f                                  
a000fd00:	a001e058 	.word	0xa001e058                                  
a000fd04:	00000346 	.word	0x00000346                                  
a000fd08:	a001dd35 	.word	0xa001dd35                                  
                                                                      
a0008bc4 <IMFS_mknod>:                                                
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
a0008bc4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0008bc8:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0008bcc:	e1a04001 	mov	r4, r1                                        
a0008bd0:	e1a07000 	mov	r7, r0                                        
a0008bd4:	e1a06002 	mov	r6, r2                                        
a0008bd8:	e1a05003 	mov	r5, r3                                        
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, strlen( token ), new_name, &result );        
a0008bdc:	eb000fc8 	bl	a000cb04 <strlen>                              
a0008be0:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0008be4:	e1a01000 	mov	r1, r0                                        
a0008be8:	e28d2004 	add	r2, sp, #4                                    
a0008bec:	e1a00007 	mov	r0, r7                                        
a0008bf0:	ebffff89 	bl	a0008a1c <IMFS_get_token>                      
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
a0008bf4:	e2043a0f 	and	r3, r4, #61440	; 0xf000                       
a0008bf8:	e3530901 	cmp	r3, #16384	; 0x4000                           
a0008bfc:	0a00000e 	beq	a0008c3c <IMFS_mknod+0x78>                    
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
a0008c00:	e3530902 	cmp	r3, #32768	; 0x8000                           
a0008c04:	03a01005 	moveq	r1, #5                                      
a0008c08:	0a00000c 	beq	a0008c40 <IMFS_mknod+0x7c>                    
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
a0008c0c:	e3530a06 	cmp	r3, #24576	; 0x6000                           
a0008c10:	13530a02 	cmpne	r3, #8192	; 0x2000                          
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
a0008c14:	058d6028 	streq	r6, [sp, #40]	; 0x28                        
a0008c18:	058d502c 	streq	r5, [sp, #44]	; 0x2c                        
a0008c1c:	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) ) {                        
a0008c20:	0a000006 	beq	a0008c40 <IMFS_mknod+0x7c>                    
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
a0008c24:	e3530a01 	cmp	r3, #4096	; 0x1000                            
a0008c28:	03a01007 	moveq	r1, #7                                      
a0008c2c:	0a000003 	beq	a0008c40 <IMFS_mknod+0x7c>                    
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0008c30:	eb000bc2 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008c34:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0008c38:	ea00000b 	b	a0008c6c <IMFS_mknod+0xa8>                      <== NOT EXECUTED
a0008c3c:	e3a01001 	mov	r1, #1                                        
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
a0008c40:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0008c44:	e59d0054 	ldr	r0, [sp, #84]	; 0x54                          
a0008c48:	e1a03004 	mov	r3, r4                                        
a0008c4c:	e28d2004 	add	r2, sp, #4                                    
a0008c50:	e58dc000 	str	ip, [sp]                                      
a0008c54:	eb00083b 	bl	a000ad48 <IMFS_create_node>                    
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a0008c58:	e3500000 	cmp	r0, #0                                        
a0008c5c:	13a00000 	movne	r0, #0                                      
a0008c60:	1a000003 	bne	a0008c74 <IMFS_mknod+0xb0>                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a0008c64:	eb000bb5 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008c68:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0008c6c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0008c70:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0008c74:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0008c78:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
a0002420 <IMFS_mount>:                                                
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
a0002420:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a0002424:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0002428:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a000242c:	e3520001 	cmp	r2, #1                                        
a0002430:	0a000004 	beq	a0002448 <IMFS_mount+0x28>                    
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0002434:	eb0039ba 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a0002438:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a000243c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002440:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002444:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
a0002448:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
a000244c:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
a0002450:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
a00030d0 <IMFS_print_jnode>:                                          
 */                                                                   
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
a00030d0:	e92d4030 	push	{r4, r5, lr}                                 
  assert( the_jnode );                                                
a00030d4:	e2504000 	subs	r4, r0, #0                                   
a00030d8:	059f012c 	ldreq	r0, [pc, #300]	; a000320c <IMFS_print_jnode+0x13c>
a00030dc:	03a01038 	moveq	r1, #56	; 0x38                              
a00030e0:	059f2128 	ldreq	r2, [pc, #296]	; a0003210 <IMFS_print_jnode+0x140>
a00030e4:	059f3128 	ldreq	r3, [pc, #296]	; a0003214 <IMFS_print_jnode+0x144>
a00030e8:	0a00002e 	beq	a00031a8 <IMFS_print_jnode+0xd8>              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
a00030ec:	e59f5124 	ldr	r5, [pc, #292]	; a0003218 <IMFS_print_jnode+0x148>
a00030f0:	e284000c 	add	r0, r4, #12                                   
a00030f4:	e5953000 	ldr	r3, [r5]                                      
a00030f8:	e5931008 	ldr	r1, [r3, #8]                                  
a00030fc:	eb003531 	bl	a00105c8 <fputs>                               
  switch( the_jnode->type ) {                                         
a0003100:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
a0003104:	e2423001 	sub	r3, r2, #1                                    
a0003108:	e3530006 	cmp	r3, #6                                        
a000310c:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a0003110:	ea000033 	b	a00031e4 <IMFS_print_jnode+0x114>               <== NOT EXECUTED
a0003114:	a0003130 	.word	0xa0003130                                  <== NOT EXECUTED
a0003118:	a0003144 	.word	0xa0003144                                  <== NOT EXECUTED
a000311c:	a0003188 	.word	0xa0003188                                  <== NOT EXECUTED
a0003120:	a00031ac 	.word	0xa00031ac                                  <== NOT EXECUTED
a0003124:	a0003170 	.word	0xa0003170                                  <== NOT EXECUTED
a0003128:	a0003154 	.word	0xa0003154                                  <== NOT EXECUTED
a000312c:	a00031c8 	.word	0xa00031c8                                  <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
a0003130:	e5953000 	ldr	r3, [r5]                                      
a0003134:	e3a0002f 	mov	r0, #47	; 0x2f                                
a0003138:	e5931008 	ldr	r1, [r3, #8]                                  
a000313c:	eb0034dc 	bl	a00104b4 <fputc>                               
      break;                                                          
a0003140:	ea00002e 	b	a0003200 <IMFS_print_jnode+0x130>               
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
a0003144:	e5952000 	ldr	r2, [r5]                                      
a0003148:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a000314c:	e59f10c8 	ldr	r1, [pc, #200]	; a000321c <IMFS_print_jnode+0x14c>
a0003150:	ea000002 	b	a0003160 <IMFS_print_jnode+0x90>                
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
a0003154:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
a0003158:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a000315c:	e59f10bc 	ldr	r1, [pc, #188]	; a0003220 <IMFS_print_jnode+0x150><== NOT EXECUTED
a0003160:	e5920008 	ldr	r0, [r2, #8]                                  
a0003164:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0003168:	eb0034b5 	bl	a0010444 <fprintf>                             
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
a000316c:	ea000023 	b	a0003200 <IMFS_print_jnode+0x130>               
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
a0003170:	e5953000 	ldr	r3, [r5]                                      
a0003174:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0003178:	e59f10a4 	ldr	r1, [pc, #164]	; a0003224 <IMFS_print_jnode+0x154>
a000317c:	e5930008 	ldr	r0, [r3, #8]                                  
a0003180:	eb0034af 	bl	a0010444 <fprintf>                             
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
a0003184:	ea00001d 	b	a0003200 <IMFS_print_jnode+0x130>               
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
a0003188:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a000318c:	e59f0094 	ldr	r0, [pc, #148]	; a0003228 <IMFS_print_jnode+0x158><== NOT EXECUTED
a0003190:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
a0003194:	eb00350b 	bl	a00105c8 <fputs>                               <== NOT EXECUTED
      assert(0);                                                      
a0003198:	e59f006c 	ldr	r0, [pc, #108]	; a000320c <IMFS_print_jnode+0x13c><== NOT EXECUTED
a000319c:	e3a0105d 	mov	r1, #93	; 0x5d                                <== NOT EXECUTED
a00031a0:	e59f2068 	ldr	r2, [pc, #104]	; a0003210 <IMFS_print_jnode+0x140><== NOT EXECUTED
a00031a4:	e59f3080 	ldr	r3, [pc, #128]	; a000322c <IMFS_print_jnode+0x15c><== NOT EXECUTED
a00031a8:	eb000209 	bl	a00039d4 <__assert_func>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
a00031ac:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a00031b0:	e59f0070 	ldr	r0, [pc, #112]	; a0003228 <IMFS_print_jnode+0x158><== NOT EXECUTED
a00031b4:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
a00031b8:	eb003502 	bl	a00105c8 <fputs>                               <== NOT EXECUTED
      assert(0);                                                      
a00031bc:	e59f0048 	ldr	r0, [pc, #72]	; a000320c <IMFS_print_jnode+0x13c><== NOT EXECUTED
a00031c0:	e3a01062 	mov	r1, #98	; 0x62                                <== NOT EXECUTED
a00031c4:	eafffff5 	b	a00031a0 <IMFS_print_jnode+0xd0>                <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
a00031c8:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a00031cc:	e59f005c 	ldr	r0, [pc, #92]	; a0003230 <IMFS_print_jnode+0x160><== NOT EXECUTED
a00031d0:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
a00031d4:	eb0034fb 	bl	a00105c8 <fputs>                               <== NOT EXECUTED
      assert(0);                                                      
a00031d8:	e59f002c 	ldr	r0, [pc, #44]	; a000320c <IMFS_print_jnode+0x13c><== NOT EXECUTED
a00031dc:	e3a01067 	mov	r1, #103	; 0x67                               <== NOT EXECUTED
a00031e0:	eaffffee 	b	a00031a0 <IMFS_print_jnode+0xd0>                <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
a00031e4:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a00031e8:	e59f1044 	ldr	r1, [pc, #68]	; a0003234 <IMFS_print_jnode+0x164><== NOT EXECUTED
a00031ec:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a00031f0:	eb003493 	bl	a0010444 <fprintf>                             <== NOT EXECUTED
      assert(0);                                                      
a00031f4:	e59f0010 	ldr	r0, [pc, #16]	; a000320c <IMFS_print_jnode+0x13c><== NOT EXECUTED
a00031f8:	e3a0106c 	mov	r1, #108	; 0x6c                               <== NOT EXECUTED
a00031fc:	eaffffe7 	b	a00031a0 <IMFS_print_jnode+0xd0>                <== NOT EXECUTED
      break;                                                          
  }                                                                   
  puts("");                                                           
a0003200:	e59f0030 	ldr	r0, [pc, #48]	; a0003238 <IMFS_print_jnode+0x168>
}                                                                     
a0003204:	e8bd4030 	pop	{r4, r5, lr}                                  
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
a0003208:	ea003bba 	b	a00120f8 <puts>                                 
a000320c:	a002179e 	.word	0xa002179e                                  
a0003210:	a00204e8 	.word	0xa00204e8                                  
a0003214:	a00217e7 	.word	0xa00217e7                                  
a0003218:	a001ff70 	.word	0xa001ff70                                  
a000321c:	a00217f1 	.word	0xa00217f1                                  
a0003220:	a0021804 	.word	0xa0021804                                  
a0003224:	a0021813 	.word	0xa0021813                                  
a0003228:	a002181f 	.word	0xa002181f                                  
a000322c:	a002115d 	.word	0xa002115d                                  
a0003230:	a0021833 	.word	0xa0021833                                  
a0003234:	a0021846 	.word	0xa0021846                                  
a0003238:	a00219d7 	.word	0xa00219d7                                  
                                                                      
a0002460 <IMFS_readlink>:                                             
)                                                                     
{                                                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
a0002460:	e5903000 	ldr	r3, [r0]                                      
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
a0002464:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
a0002468:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
a000246c:	e3500004 	cmp	r0, #4                                        
a0002470:	03a00000 	moveq	r0, #0                                      
a0002474:	0a000006 	beq	a0002494 <IMFS_readlink+0x34>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0002478:	eb0039a9 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000247c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002480:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002484:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002488:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
    buf[i] = node->info.sym_link.name[i];                             
a000248c:	e7c1c000 	strb	ip, [r1, r0]                                 
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0002490:	e2800001 	add	r0, r0, #1                                    
a0002494:	e1500002 	cmp	r0, r2                                        
a0002498:	249df004 	popcs	{pc}		; (ldrcs pc, [sp], #4)                
a000249c:	e593c050 	ldr	ip, [r3, #80]	; 0x50                          
a00024a0:	e7dcc000 	ldrb	ip, [ip, r0]                                 
a00024a4:	e35c0000 	cmp	ip, #0                                        
a00024a8:	1afffff7 	bne	a000248c <IMFS_readlink+0x2c>                 
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
a00024ac:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
a00024b0 <IMFS_rename>:                                               
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
a00024b0:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
a00024b4:	e5914000 	ldr	r4, [r1]                                      <== NOT EXECUTED
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
a00024b8:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
a00024bc:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a00024c0:	e284000c 	add	r0, r4, #12                                   <== NOT EXECUTED
a00024c4:	e3a02020 	mov	r2, #32                                       <== NOT EXECUTED
a00024c8:	eb003d86 	bl	a0011ae8 <strncpy>                             <== NOT EXECUTED
                                                                      
  if ( the_jnode->Parent != NULL )                                    
a00024cc:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a00024d0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00024d4:	0a000001 	beq	a00024e0 <IMFS_rename+0x30>                   <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a00024d8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00024dc:	eb00118f 	bl	a0006b20 <_Chain_Extract>                      <== NOT EXECUTED
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
a00024e0:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
a00024e4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00024e8:	e2830050 	add	r0, r3, #80	; 0x50                            <== NOT EXECUTED
  the_jnode->Parent = new_parent;                                     
a00024ec:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
a00024f0:	eb00117f 	bl	a0006af4 <_Chain_Append>                       <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
a00024f4:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a00024f8:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00024fc:	eb0001d6 	bl	a0002c5c <gettimeofday>                        <== NOT EXECUTED
a0002500:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0002504:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
a0002508:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000250c:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
                                                                      
a0008d34 <IMFS_stat>:                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
a0008d34:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a0008d38:	e92d4800 	push	{fp, lr}                                     
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
a0008d3c:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0008d40:	e2422002 	sub	r2, r2, #2                                    
a0008d44:	e3520005 	cmp	r2, #5                                        
a0008d48:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a0008d4c:	ea000012 	b	a0008d9c <IMFS_stat+0x68>                       <== NOT EXECUTED
a0008d50:	a0008d68 	.word	0xa0008d68                                  <== NOT EXECUTED
a0008d54:	a0008d9c 	.word	0xa0008d9c                                  <== NOT EXECUTED
a0008d58:	a0008d88 	.word	0xa0008d88                                  <== NOT EXECUTED
a0008d5c:	a0008d7c 	.word	0xa0008d7c                                  <== NOT EXECUTED
a0008d60:	a0008d7c 	.word	0xa0008d7c                                  <== NOT EXECUTED
a0008d64:	a0008d88 	.word	0xa0008d88                                  <== NOT EXECUTED
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
a0008d68:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a0008d6c:	e5932050 	ldr	r2, [r3, #80]	; 0x50                          
a0008d70:	e581001c 	str	r0, [r1, #28]                                 
a0008d74:	e5812018 	str	r2, [r1, #24]                                 
      break;                                                          
a0008d78:	ea00000c 	b	a0008db0 <IMFS_stat+0x7c>                       
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
a0008d7c:	e283c050 	add	ip, r3, #80	; 0x50                            
a0008d80:	e89c1800 	ldm	ip, {fp, ip}                                  
a0008d84:	ea000001 	b	a0008d90 <IMFS_stat+0x5c>                       
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
a0008d88:	e3a0b000 	mov	fp, #0                                        <== NOT EXECUTED
a0008d8c:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a0008d90:	e581b020 	str	fp, [r1, #32]                                 
a0008d94:	e581c024 	str	ip, [r1, #36]	; 0x24                          
      break;                                                          
a0008d98:	ea000004 	b	a0008db0 <IMFS_stat+0x7c>                       
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
a0008d9c:	eb000b67 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008da0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0008da4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0008da8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0008dac:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a0008db0:	e5932038 	ldr	r2, [r3, #56]	; 0x38                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a0008db4:	e1d3c3b4 	ldrh	ip, [r3, #52]	; 0x34                         
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a0008db8:	e5930030 	ldr	r0, [r3, #48]	; 0x30                          
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a0008dbc:	e5812008 	str	r2, [r1, #8]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a0008dc0:	e5932040 	ldr	r2, [r3, #64]	; 0x40                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a0008dc4:	e1c1c1b0 	strh	ip, [r1, #16]                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
a0008dc8:	e1d3c3bc 	ldrh	ip, [r3, #60]	; 0x3c                         
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a0008dcc:	e5812028 	str	r2, [r1, #40]	; 0x28                          
  buf->st_mtime = the_jnode->stat_mtime;                              
a0008dd0:	e5932044 	ldr	r2, [r3, #68]	; 0x44                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
a0008dd4:	e1c1c1b2 	strh	ip, [r1, #18]                                
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a0008dd8:	e581000c 	str	r0, [r1, #12]                                 
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
a0008ddc:	e5812030 	str	r2, [r1, #48]	; 0x30                          
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
a0008de0:	e1d303be 	ldrh	r0, [r3, #62]	; 0x3e                         
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
a0008de4:	e5933048 	ldr	r3, [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;                                  
a0008de8:	e1c101b4 	strh	r0, [r1, #20]                                
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
a0008dec:	e5813038 	str	r3, [r1, #56]	; 0x38                          
a0008df0:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a0008df4:	e8bd8800 	pop	{fp, pc}                                      
                                                                      
a0002510 <IMFS_symlink>:                                              
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
a0002510:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0002514:	e1a05000 	mov	r5, r0                                        
a0002518:	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 );     
a000251c:	e1a00002 	mov	r0, r2                                        
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
a0002520:	e1a07002 	mov	r7, r2                                        
a0002524:	e1a06001 	mov	r6, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
a0002528:	eb003d56 	bl	a0011a88 <strlen>                              
a000252c:	e28d4004 	add	r4, sp, #4                                    
a0002530:	e1a01000 	mov	r1, r0                                        
a0002534:	e1a02004 	mov	r2, r4                                        
a0002538:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a000253c:	e1a00007 	mov	r0, r7                                        
a0002540:	eb002c20 	bl	a000d5c8 <IMFS_get_token>                      
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
a0002544:	e1a00006 	mov	r0, r6                                        
a0002548:	eb003d3a 	bl	a0011a38 <strdup>                              
  if (info.sym_link.name == NULL) {                                   
a000254c:	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);                             
a0002550:	e58d0028 	str	r0, [sp, #40]	; 0x28                          
  if (info.sym_link.name == NULL) {                                   
a0002554:	0a00000b 	beq	a0002588 <IMFS_symlink+0x78>                  
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
a0002558:	e28dc028 	add	ip, sp, #40	; 0x28                            
a000255c:	e1a00005 	mov	r0, r5                                        
a0002560:	e1a02004 	mov	r2, r4                                        
a0002564:	e3a01004 	mov	r1, #4                                        
a0002568:	e59f3030 	ldr	r3, [pc, #48]	; a00025a0 <IMFS_symlink+0x90>  
a000256c:	e58dc000 	str	ip, [sp]                                      
a0002570:	eb002902 	bl	a000c980 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
a0002574:	e3500000 	cmp	r0, #0                                        
a0002578:	13a00000 	movne	r0, #0                                      
a000257c:	1a000005 	bne	a0002598 <IMFS_symlink+0x88>                  
    free(info.sym_link.name);                                         
a0002580:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          <== NOT EXECUTED
a0002584:	eb000180 	bl	a0002b8c <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a0002588:	eb003965 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000258c:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0002590:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002594:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0002598:	e28dd040 	add	sp, sp, #64	; 0x40                            
a000259c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a00025a0:	0000a1ff 	.word	0x0000a1ff                                  
                                                                      
a00025a4 <IMFS_unlink>:                                               
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a00025a4:	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;                                            
a00025a8:	e5915000 	ldr	r5, [r1]                                      
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a00025ac:	e24dd01c 	sub	sp, sp, #28                                   
a00025b0:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a00025b4:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a00025b8:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a00025bc:	e3530003 	cmp	r3, #3                                        
a00025c0:	1a000025 	bne	a000265c <IMFS_unlink+0xb8>                   
                                                                      
    if ( !node->info.hard_link.link_node )                            
a00025c4:	e595e050 	ldr	lr, [r5, #80]	; 0x50                          
a00025c8:	e35e0000 	cmp	lr, #0                                        
a00025cc:	1a000003 	bne	a00025e0 <IMFS_unlink+0x3c>                   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a00025d0:	eb003953 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a00025d4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00025d8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00025dc:	ea000014 	b	a0002634 <IMFS_unlink+0x90>                     <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
a00025e0:	e1a0c00d 	mov	ip, sp                                        
a00025e4:	e1a07001 	mov	r7, r1                                        
a00025e8:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a00025ec:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00025f0:	e5973000 	ldr	r3, [r7]                                      
    the_link.node_access = node->info.hard_link.link_node;            
a00025f4:	e28d701c 	add	r7, sp, #28                                   
a00025f8:	e527e01c 	str	lr, [r7, #-28]!                               
    IMFS_Set_handlers( &the_link );                                   
a00025fc:	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;                                                  
a0002600:	e58c3000 	str	r3, [ip]                                      
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
a0002604:	eb00292c 	bl	a000cabc <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)               
a0002608:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a000260c:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a0002610:	e3520001 	cmp	r2, #1                                        
a0002614:	1a000008 	bne	a000263c <IMFS_unlink+0x98>                   
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
a0002618:	e1a0100d 	mov	r1, sp                                        
a000261c:	e1a00006 	mov	r0, r6                                        
a0002620:	e59d3008 	ldr	r3, [sp, #8]                                  
a0002624:	e1a0e00f 	mov	lr, pc                                        
a0002628:	e593f034 	ldr	pc, [r3, #52]	; 0x34                          
        if ( result != 0 )                                            
a000262c:	e3500000 	cmp	r0, #0                                        
a0002630:	0a000009 	beq	a000265c <IMFS_unlink+0xb8>                   
a0002634:	e3e00000 	mvn	r0, #0                                        
a0002638:	ea00000c 	b	a0002670 <IMFS_unlink+0xcc>                     
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
a000263c:	e2422001 	sub	r2, r2, #1                                    
a0002640:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
        IMFS_update_ctime( node->info.hard_link.link_node );          
a0002644:	e28d0014 	add	r0, sp, #20                                   
a0002648:	e3a01000 	mov	r1, #0                                        
a000264c:	eb000182 	bl	a0002c5c <gettimeofday>                        
a0002650:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a0002654:	e59d2014 	ldr	r2, [sp, #20]                                 
a0002658:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
a000265c:	e1a00006 	mov	r0, r6                                        
a0002660:	e1a01004 	mov	r1, r4                                        
a0002664:	e5943008 	ldr	r3, [r4, #8]                                  
a0002668:	e1a0e00f 	mov	lr, pc                                        
a000266c:	e593f034 	ldr	pc, [r3, #52]	; 0x34                          
                                                                      
  return result;                                                      
}                                                                     
a0002670:	e28dd01c 	add	sp, sp, #28                                   
a0002674:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
a0002678 <IMFS_unmount>:                                              
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
a0002678:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a000267c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0002680:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0002684:	e3520001 	cmp	r2, #1                                        
a0002688:	0a000002 	beq	a0002698 <IMFS_unmount+0x20>                  
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a000268c:	eb003924 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a0002690:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0002694:	ea000004 	b	a00026ac <IMFS_unmount+0x34>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
a0002698:	e593205c 	ldr	r2, [r3, #92]	; 0x5c                          
a000269c:	e3520000 	cmp	r2, #0                                        
a00026a0:	1a000004 	bne	a00026b8 <IMFS_unmount+0x40>                  
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
a00026a4:	eb00391e 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a00026a8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00026ac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00026b0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00026b4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
a00026b8:	e3a00000 	mov	r0, #0                                        
a00026bc:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
                                                                      
  return 0;                                                           
}                                                                     
a00026c0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
a0001a44 <RTEMS_Malloc_Initialize>:                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001a44:	e59f30d4 	ldr	r3, [pc, #212]	; a0001b20 <RTEMS_Malloc_Initialize+0xdc>
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a0001a48:	e92d4070 	push	{r4, r5, r6, lr}                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001a4c:	e5933000 	ldr	r3, [r3]                                      
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a0001a50:	e1a04000 	mov	r4, r0                                        
a0001a54:	e1a05001 	mov	r5, r1                                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001a58:	e3530000 	cmp	r3, #0                                        
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a0001a5c:	e1a06002 	mov	r6, r2                                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001a60:	0a000001 	beq	a0001a6c <RTEMS_Malloc_Initialize+0x28>       
    (*rtems_malloc_statistics_helpers->initialize)();                 
a0001a64:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0001a68:	e593f000 	ldr	pc, [r3]                                      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
a0001a6c:	ebffffe0 	bl	a00019f4 <malloc_deferred_frees_initialize>    
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
a0001a70:	e59f30ac 	ldr	r3, [pc, #172]	; a0001b24 <RTEMS_Malloc_Initialize+0xe0>
a0001a74:	e5933000 	ldr	r3, [r3]                                      
a0001a78:	e3530000 	cmp	r3, #0                                        
a0001a7c:	0a000006 	beq	a0001a9c <RTEMS_Malloc_Initialize+0x58>       
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
a0001a80:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001a84:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0001a88:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0001a8c:	e593f000 	ldr	pc, [r3]                                      <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
a0001a90:	e0845005 	add	r5, r4, r5                                    <== NOT EXECUTED
a0001a94:	e0605005 	rsb	r5, r0, r5                                    <== NOT EXECUTED
a0001a98:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if (                                                                
a0001a9c:	e59f3084 	ldr	r3, [pc, #132]	; a0001b28 <RTEMS_Malloc_Initialize+0xe4>
a0001aa0:	e5d31000 	ldrb	r1, [r3]                                     
a0001aa4:	e3510000 	cmp	r1, #0                                        
a0001aa8:	1a000006 	bne	a0001ac8 <RTEMS_Malloc_Initialize+0x84>       
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
a0001aac:	e59f3078 	ldr	r3, [pc, #120]	; a0001b2c <RTEMS_Malloc_Initialize+0xe8>
a0001ab0:	e5d33028 	ldrb	r3, [r3, #40]	; 0x28                         
a0001ab4:	e3530000 	cmp	r3, #0                                        
a0001ab8:	0a000002 	beq	a0001ac8 <RTEMS_Malloc_Initialize+0x84>       
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
a0001abc:	e1a00004 	mov	r0, r4                                        
a0001ac0:	e1a02005 	mov	r2, r5                                        
a0001ac4:	eb002a67 	bl	a000c468 <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 ) {                                   
a0001ac8:	e59f3058 	ldr	r3, [pc, #88]	; a0001b28 <RTEMS_Malloc_Initialize+0xe4>
a0001acc:	e5d33000 	ldrb	r3, [r3]                                     
a0001ad0:	e3530000 	cmp	r3, #0                                        
a0001ad4:	1a000009 	bne	a0001b00 <RTEMS_Malloc_Initialize+0xbc>       
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
a0001ad8:	e59f3050 	ldr	r3, [pc, #80]	; a0001b30 <RTEMS_Malloc_Initialize+0xec>
a0001adc:	e1a01004 	mov	r1, r4                                        
a0001ae0:	e1a02005 	mov	r2, r5                                        
a0001ae4:	e5930000 	ldr	r0, [r3]                                      
a0001ae8:	e3a03004 	mov	r3, #4                                        
a0001aec:	eb000f11 	bl	a0005738 <_Heap_Initialize>                    
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
a0001af0:	e3500000 	cmp	r0, #0                                        
a0001af4:	1a000001 	bne	a0001b00 <RTEMS_Malloc_Initialize+0xbc>       
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
a0001af8:	e280001a 	add	r0, r0, #26                                   <== NOT EXECUTED
a0001afc:	eb000d2f 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
a0001b00:	e59f3028 	ldr	r3, [pc, #40]	; a0001b30 <RTEMS_Malloc_Initialize+0xec>
a0001b04:	e59f4028 	ldr	r4, [pc, #40]	; a0001b34 <RTEMS_Malloc_Initialize+0xf0>
a0001b08:	e5930000 	ldr	r0, [r3]                                      
a0001b0c:	e5945000 	ldr	r5, [r4]                                      
a0001b10:	eb0011e2 	bl	a00062a0 <_Protected_heap_Get_size>            
a0001b14:	e0800005 	add	r0, r0, r5                                    
a0001b18:	e5840000 	str	r0, [r4]                                      
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
a0001b1c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0001b20:	a0018848 	.word	0xa0018848                                  
a0001b24:	a001884c 	.word	0xa001884c                                  
a0001b28:	a0018845 	.word	0xa0018845                                  
a0001b2c:	a0017474 	.word	0xa0017474                                  
a0001b30:	a00173cc 	.word	0xa00173cc                                  
a0001b34:	a0018c14 	.word	0xa0018c14                                  
                                                                      
a0002cd8 <Stack_check_Dump_threads_usage>:                            
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a0002cd8:	e92d47ff 	push	{r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr}<== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
a0002cdc:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
a0002ce0:	0a000041 	beq	a0002dec <Stack_check_Dump_threads_usage+0x114><== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
a0002ce4:	e59f3104 	ldr	r3, [pc, #260]	; a0002df0 <Stack_check_Dump_threads_usage+0x118><== NOT EXECUTED
a0002ce8:	e5937004 	ldr	r7, [r3, #4]                                  <== NOT EXECUTED
a0002cec:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0002cf0:	0a00003d 	beq	a0002dec <Stack_check_Dump_threads_usage+0x114><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
a0002cf4:	e37a0001 	cmn	sl, #1                                        <== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
a0002cf8:	159a60f0 	ldrne	r6, [sl, #240]	; 0xf0                       <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
a0002cfc:	128a40c0 	addne	r4, sl, #192	; 0xc0                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
a0002d00:	1a000005 	bne	a0002d1c <Stack_check_Dump_threads_usage+0x44><== NOT EXECUTED
    if (Stack_check_Interrupt_stack.area) {                           
a0002d04:	e59f40e8 	ldr	r4, [pc, #232]	; a0002df4 <Stack_check_Dump_threads_usage+0x11c><== NOT EXECUTED
a0002d08:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
a0002d0c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002d10:	13a06000 	movne	r6, #0                                      <== NOT EXECUTED
a0002d14:	11a0a006 	movne	sl, r6                                      <== NOT EXECUTED
a0002d18:	0a000033 	beq	a0002dec <Stack_check_Dump_threads_usage+0x114><== NOT EXECUTED
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
a0002d1c:	e8940220 	ldm	r4, {r5, r9}                                  <== NOT EXECUTED
a0002d20:	e2899010 	add	r9, r9, #16                                   <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
a0002d24:	e2455010 	sub	r5, r5, #16                                   <== NOT EXECUTED
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
a0002d28:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a0002d2c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0002d30:	ebffffda 	bl	a0002ca0 <Stack_check_find_high_water_mark>    <== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
a0002d34:	e2508000 	subs	r8, r0, #0                                   <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
a0002d38:	10899005 	addne	r9, r9, r5                                  <== NOT EXECUTED
a0002d3c:	10688009 	rsbne	r8, r8, r9                                  <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
a0002d40:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a0002d44:	e59f30a4 	ldr	r3, [pc, #164]	; a0002df0 <Stack_check_Dump_threads_usage+0x118><== NOT EXECUTED
a0002d48:	0a00000b 	beq	a0002d7c <Stack_check_Dump_threads_usage+0xa4><== NOT EXECUTED
    (*print_handler)(                                                 
a0002d4c:	e59aa008 	ldr	sl, [sl, #8]                                  <== NOT EXECUTED
a0002d50:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
a0002d54:	e3a01005 	mov	r1, #5                                        <== NOT EXECUTED
a0002d58:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0002d5c:	e5939008 	ldr	r9, [r3, #8]                                  <== NOT EXECUTED
a0002d60:	eb001529 	bl	a000820c <rtems_object_get_name>               <== NOT EXECUTED
a0002d64:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a0002d68:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a0002d6c:	e59f1084 	ldr	r1, [pc, #132]	; a0002df8 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
a0002d70:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a0002d74:	e12fff37 	blx	r7                                            <== NOT EXECUTED
a0002d78:	ea000003 	b	a0002d8c <Stack_check_Dump_threads_usage+0xb4>  <== 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 );   
a0002d7c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0002d80:	e59f1074 	ldr	r1, [pc, #116]	; a0002dfc <Stack_check_Dump_threads_usage+0x124><== NOT EXECUTED
a0002d84:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a0002d88:	e12fff37 	blx	r7                                            <== NOT EXECUTED
  }                                                                   
                                                                      
  (*print_handler)(                                                   
a0002d8c:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a0002d90:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a0002d94:	e59f4054 	ldr	r4, [pc, #84]	; a0002df0 <Stack_check_Dump_threads_usage+0x118><== NOT EXECUTED
a0002d98:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0002d9c:	e58d5004 	str	r5, [sp, #4]                                  <== NOT EXECUTED
a0002da0:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0002da4:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a0002da8:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a0002dac:	e59f104c 	ldr	r1, [pc, #76]	; a0002e00 <Stack_check_Dump_threads_usage+0x128><== NOT EXECUTED
a0002db0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0002db4:	e594f004 	ldr	pc, [r4, #4]                                  <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
a0002db8:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a0002dbc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002dc0:	1a000004 	bne	a0002dd8 <Stack_check_Dump_threads_usage+0x100><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
a0002dc4:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a0002dc8:	e59f1034 	ldr	r1, [pc, #52]	; a0002e04 <Stack_check_Dump_threads_usage+0x12c><== NOT EXECUTED
a0002dcc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0002dd0:	e594f004 	ldr	pc, [r4, #4]                                  <== NOT EXECUTED
a0002dd4:	ea000004 	b	a0002dec <Stack_check_Dump_threads_usage+0x114> <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
a0002dd8:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a0002ddc:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a0002de0:	e59f1020 	ldr	r1, [pc, #32]	; a0002e08 <Stack_check_Dump_threads_usage+0x130><== NOT EXECUTED
a0002de4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0002de8:	e594f004 	ldr	pc, [r4, #4]                                  <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
a0002dec:	e8bd87ff 	pop	{r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, pc}<== NOT EXECUTED
a0002df0:	a005d06c 	.word	0xa005d06c                                  
a0002df4:	a005fd54 	.word	0xa005fd54                                  
a0002df8:	a00568c4 	.word	0xa00568c4                                  
a0002dfc:	a00568d1 	.word	0xa00568d1                                  
a0002e00:	a00568df 	.word	0xa00568df                                  
a0002e04:	a00568fd 	.word	0xa00568fd                                  
a0002e08:	a005690a 	.word	0xa005690a                                  
                                                                      
a0002ca0 <Stack_check_find_high_water_mark>:                          
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
a0002ca0:	e2800010 	add	r0, r0, #16                                   <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
a0002ca4:	e3c11003 	bic	r1, r1, #3                                    <== NOT EXECUTED
a0002ca8:	e0801001 	add	r1, r0, r1                                    <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
a0002cac:	e59f3020 	ldr	r3, [pc, #32]	; a0002cd4 <Stack_check_find_high_water_mark+0x34><== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
a0002cb0:	ea000003 	b	a0002cc4 <Stack_check_find_high_water_mark+0x24><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
a0002cb4:	e5902000 	ldr	r2, [r0]                                      <== NOT EXECUTED
a0002cb8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0002cbc:	112fff1e 	bxne	lr                                           <== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
a0002cc0:	e2800004 	add	r0, r0, #4                                    <== NOT EXECUTED
a0002cc4:	e1500001 	cmp	r0, r1                                        <== NOT EXECUTED
a0002cc8:	3afffff9 	bcc	a0002cb4 <Stack_check_find_high_water_mark+0x14><== NOT EXECUTED
a0002ccc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
a0002cd0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0002cd4:	a5a5a5a5 	.word	0xa5a5a5a5                                  
                                                                      
a0015330 <_CORE_message_queue_Broadcast>:                             
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0015330:	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                    
)                                                                     
{                                                                     
a0015334:	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 ) {             
a0015338:	e1520003 	cmp	r2, r3                                        
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
a001533c:	e1a06000 	mov	r6, r0                                        
a0015340:	e1a07002 	mov	r7, r2                                        
a0015344:	e1a0a001 	mov	sl, r1                                        
a0015348:	e59d8020 	ldr	r8, [sp, #32]                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a001534c:	9a000001 	bls	a0015358 <_CORE_message_queue_Broadcast+0x28> 
a0015350:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0015354:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
   *  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 ) {         
a0015358:	e5905048 	ldr	r5, [r0, #72]	; 0x48                          
a001535c:	e3550000 	cmp	r5, #0                                        
a0015360:	0a000009 	beq	a001538c <_CORE_message_queue_Broadcast+0x5c> 
    *count = 0;                                                       
a0015364:	e3a00000 	mov	r0, #0                                        
a0015368:	e5880000 	str	r0, [r8]                                      
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
a001536c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
a0015370:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a0015374:	e1a0100a 	mov	r1, sl                                        
a0015378:	e1a02007 	mov	r2, r7                                        
a001537c:	eb001f1b 	bl	a001cff0 <memcpy>                              
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a0015380:	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;                                          
a0015384:	e2855001 	add	r5, r5, #1                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a0015388:	e5837000 	str	r7, [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))) {   
a001538c:	e1a00006 	mov	r0, r6                                        
a0015390:	eb000991 	bl	a00179dc <_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 =                                                
a0015394:	e2504000 	subs	r4, r0, #0                                   
a0015398:	1afffff4 	bne	a0015370 <_CORE_message_queue_Broadcast+0x40> 
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
a001539c:	e5885000 	str	r5, [r8]                                      
a00153a0:	e1a00004 	mov	r0, r4                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
a00153a4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
a000985c <_CORE_mutex_Seize_interrupt_trylock>:                       
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
a000985c:	e59f2120 	ldr	r2, [pc, #288]	; a0009984 <_CORE_mutex_Seize_interrupt_trylock+0x128>
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
a0009860:	e3a03000 	mov	r3, #0                                        
#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__)                 
int _CORE_mutex_Seize_interrupt_trylock(                              
  CORE_mutex_Control  *the_mutex,                                     
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
a0009864:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
a0009868:	e5922000 	ldr	r2, [r2]                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
a000986c:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
a0009870:	e590c050 	ldr	ip, [r0, #80]	; 0x50                          
a0009874:	e15c0003 	cmp	ip, r3                                        
a0009878:	0a00002c 	beq	a0009930 <_CORE_mutex_Seize_interrupt_trylock+0xd4>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
a000987c:	e5803050 	str	r3, [r0, #80]	; 0x50                          
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
a0009880:	e592c008 	ldr	ip, [r2, #8]                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(            
  CORE_mutex_Attributes *the_attribute                                
)                                                                     
{                                                                     
  return the_attribute->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
a0009884:	e5903048 	ldr	r3, [r0, #72]	; 0x48                          
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
a0009888:	e580205c 	str	r2, [r0, #92]	; 0x5c                          
    the_mutex->holder_id  = executing->Object.id;                     
a000988c:	e580c060 	str	ip, [r0, #96]	; 0x60                          
    the_mutex->nest_count = 1;                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a0009890:	e3530002 	cmp	r3, #2                                        
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
    the_mutex->nest_count = 1;                                        
a0009894:	e3a0c001 	mov	ip, #1                                        
a0009898:	e580c054 	str	ip, [r0, #84]	; 0x54                          
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a000989c:	0a000001 	beq	a00098a8 <_CORE_mutex_Seize_interrupt_trylock+0x4c>
a00098a0:	e3530003 	cmp	r3, #3                                        
a00098a4:	1a000004 	bne	a00098bc <_CORE_mutex_Seize_interrupt_trylock+0x60>
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
a00098a8:	e592c01c 	ldr	ip, [r2, #28]                                 
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
a00098ac:	e3530003 	cmp	r3, #3                                        
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
a00098b0:	e28c3001 	add	r3, ip, #1                                    
a00098b4:	e582301c 	str	r3, [r2, #28]                                 
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
a00098b8:	0a000000 	beq	a00098c0 <_CORE_mutex_Seize_interrupt_trylock+0x64>
      _ISR_Enable( *level_p );                                        
a00098bc:	ea00002a 	b	a000996c <_CORE_mutex_Seize_interrupt_trylock+0x110>
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
a00098c0:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
      current = executing->current_priority;                          
a00098c4:	e592c014 	ldr	ip, [r2, #20]                                 
      if ( current == ceiling ) {                                     
a00098c8:	e15c0003 	cmp	ip, r3                                        
a00098cc:	1a000000 	bne	a00098d4 <_CORE_mutex_Seize_interrupt_trylock+0x78>
        _ISR_Enable( *level_p );                                      
a00098d0:	ea000025 	b	a000996c <_CORE_mutex_Seize_interrupt_trylock+0x110>
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
a00098d4:	9a00000b 	bls	a0009908 <_CORE_mutex_Seize_interrupt_trylock+0xac>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a00098d8:	e59f30a8 	ldr	r3, [pc, #168]	; a0009988 <_CORE_mutex_Seize_interrupt_trylock+0x12c>
a00098dc:	e5932000 	ldr	r2, [r3]                                      
a00098e0:	e2822001 	add	r2, r2, #1                                    
a00098e4:	e5832000 	str	r2, [r3]                                      
a00098e8:	e5913000 	ldr	r3, [r1]                                      
a00098ec:	e129f003 	msr	CPSR_fc, r3                                   
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
        _Thread_Change_priority(                                      
a00098f0:	e3a02000 	mov	r2, #0                                        
a00098f4:	e590104c 	ldr	r1, [r0, #76]	; 0x4c                          
a00098f8:	e590005c 	ldr	r0, [r0, #92]	; 0x5c                          
a00098fc:	ebfff27c 	bl	a00062f4 <_Thread_Change_priority>             
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
a0009900:	ebfff3df 	bl	a0006884 <_Thread_Enable_dispatch>             
a0009904:	ea00001a 	b	a0009974 <_CORE_mutex_Seize_interrupt_trylock+0x118>
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
a0009908:	e3a03006 	mov	r3, #6                                        
a000990c:	e5823034 	str	r3, [r2, #52]	; 0x34                          
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
        the_mutex->nest_count = 0;     /* undo locking above */       
a0009910:	e3a03000 	mov	r3, #0                                        
a0009914:	e5803054 	str	r3, [r0, #84]	; 0x54                          
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
a0009918:	e2833001 	add	r3, r3, #1                                    
a000991c:	e5803050 	str	r3, [r0, #80]	; 0x50                          
        the_mutex->nest_count = 0;     /* undo locking above */       
        executing->resource_count--;   /* undo locking above */       
a0009920:	e592301c 	ldr	r3, [r2, #28]                                 
a0009924:	e2433001 	sub	r3, r3, #1                                    
a0009928:	e582301c 	str	r3, [r2, #28]                                 
        _ISR_Enable( *level_p );                                      
a000992c:	ea00000e 	b	a000996c <_CORE_mutex_Seize_interrupt_trylock+0x110>
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
a0009930:	e590305c 	ldr	r3, [r0, #92]	; 0x5c                          
a0009934:	e1530002 	cmp	r3, r2                                        
a0009938:	1a00000f 	bne	a000997c <_CORE_mutex_Seize_interrupt_trylock+0x120>
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
a000993c:	e5902040 	ldr	r2, [r0, #64]	; 0x40                          
a0009940:	e3520000 	cmp	r2, #0                                        
a0009944:	0a000002 	beq	a0009954 <_CORE_mutex_Seize_interrupt_trylock+0xf8>
a0009948:	e3520001 	cmp	r2, #1                                        
a000994c:	1a00000a 	bne	a000997c <_CORE_mutex_Seize_interrupt_trylock+0x120>
a0009950:	ea000003 	b	a0009964 <_CORE_mutex_Seize_interrupt_trylock+0x108><== NOT EXECUTED
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
a0009954:	e5903054 	ldr	r3, [r0, #84]	; 0x54                          
a0009958:	e2833001 	add	r3, r3, #1                                    
a000995c:	e5803054 	str	r3, [r0, #84]	; 0x54                          
        _ISR_Enable( *level_p );                                      
a0009960:	ea000001 	b	a000996c <_CORE_mutex_Seize_interrupt_trylock+0x110>
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
a0009964:	e3a02002 	mov	r2, #2                                        <== NOT EXECUTED
a0009968:	e5832034 	str	r2, [r3, #52]	; 0x34                          <== NOT EXECUTED
a000996c:	e5913000 	ldr	r3, [r1]                                      
a0009970:	e129f003 	msr	CPSR_fc, r3                                   
a0009974:	e3a00000 	mov	r0, #0                                        
a0009978:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
a000997c:	e3a00001 	mov	r0, #1                                        
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
a0009980:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
a0009984:	a0018e20 	.word	0xa0018e20                                  
a0009988:	a0018d6c 	.word	0xa0018d6c                                  
                                                                      
a000ea8c <_Heap_Extend>:                                              
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
a000ea8c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000ea90:	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;                 
a000ea94:	e594c018 	ldr	ip, [r4, #24]                                 
  uintptr_t const heap_area_end = heap->area_end;                     
a000ea98:	e590001c 	ldr	r0, [r0, #28]                                 
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
a000ea9c:	e1a08003 	mov	r8, r3                                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  uintptr_t extend_size = 0;                                          
  Heap_Block *const last_block = heap->last_block;                    
a000eaa0:	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;                 
a000eaa4:	e1510000 	cmp	r1, r0                                        
a000eaa8:	23a05000 	movcs	r5, #0                                      
a000eaac:	33a05001 	movcc	r5, #1                                      
a000eab0:	e151000c 	cmp	r1, ip                                        
a000eab4:	33a05000 	movcc	r5, #0                                      
a000eab8:	e3550000 	cmp	r5, #0                                        
a000eabc:	0a000001 	beq	a000eac8 <_Heap_Extend+0x3c>                  
a000eac0:	e3a00001 	mov	r0, #1                                        
a000eac4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *  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 ) {                         
a000eac8:	e1510000 	cmp	r1, r0                                        
a000eacc:	0a000001 	beq	a000ead8 <_Heap_Extend+0x4c>                  
a000ead0:	e3a00002 	mov	r0, #2                                        
a000ead4:	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                                     
a000ead8:	e3e07007 	mvn	r7, #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;      
a000eadc:	e0821001 	add	r1, r2, r1                                    
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
a000eae0:	e0667007 	rsb	r7, r6, r7                                    
a000eae4:	e0877001 	add	r7, r7, 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;                                 
a000eae8:	e584101c 	str	r1, [r4, #28]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000eaec:	e1a00007 	mov	r0, r7                                        
a000eaf0:	e5941010 	ldr	r1, [r4, #16]                                 
a000eaf4:	ebffd140 	bl	a0002ffc <__umodsi3>                           
a000eaf8:	e0600007 	rsb	r0, r0, r7                                    
                                                                      
  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;                                     
a000eafc:	e5880000 	str	r0, [r8]                                      
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
a000eb00:	e5943014 	ldr	r3, [r4, #20]                                 
a000eb04:	e1500003 	cmp	r0, r3                                        
a000eb08:	2a000001 	bcs	a000eb14 <_Heap_Extend+0x88>                  
a000eb0c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000eb10:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
a000eb14:	e5961004 	ldr	r1, [r6, #4]                                  
    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 =                                   
a000eb18:	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);                 
a000eb1c:	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;                                 
a000eb20:	e2011001 	and	r1, r1, #1                                    
a000eb24:	e0632002 	rsb	r2, r3, r2                                    
a000eb28:	e1801001 	orr	r1, r0, r1                                    
a000eb2c:	e3822001 	orr	r2, r2, #1                                    
a000eb30:	e5861004 	str	r1, [r6, #4]                                  
a000eb34:	e5832004 	str	r2, [r3, #4]                                  
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a000eb38:	e594702c 	ldr	r7, [r4, #44]	; 0x2c                          
    ++stats->used_blocks;                                             
a000eb3c:	e5941040 	ldr	r1, [r4, #64]	; 0x40                          
    --stats->frees; /* Do not count subsequent call as actual free() */
a000eb40:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a000eb44:	e0870000 	add	r0, r7, r0                                    
    ++stats->used_blocks;                                             
a000eb48:	e2811001 	add	r1, r1, #1                                    
    --stats->frees; /* Do not count subsequent call as actual free() */
a000eb4c:	e2422001 	sub	r2, r2, #1                                    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a000eb50:	e584002c 	str	r0, [r4, #44]	; 0x2c                          
    ++stats->used_blocks;                                             
a000eb54:	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;                                
a000eb58:	e5843024 	str	r3, [r4, #36]	; 0x24                          
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
a000eb5c:	e5842050 	str	r2, [r4, #80]	; 0x50                          
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
a000eb60:	e1a00004 	mov	r0, r4                                        
a000eb64:	e2861008 	add	r1, r6, #8                                    
a000eb68:	ebffec2e 	bl	a0009c28 <_Heap_Free>                          
a000eb6c:	e1a00005 	mov	r0, r5                                        
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
a000eb70:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
a0006df4 <_Thread_queue_Enqueue_priority>:                            
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
a0006df4:	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                                       
)                                                                     
{                                                                     
a0006df8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0006dfc:	e281503c 	add	r5, r1, #60	; 0x3c                            
a0006e00:	e5815038 	str	r5, [r1, #56]	; 0x38                          
  the_chain->permanent_null = NULL;                                   
a0006e04:	e3a05000 	mov	r5, #0                                        
  the_chain->last           = _Chain_Head(the_chain);                 
a0006e08:	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 ) )                  
a0006e0c:	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 ];  
a0006e10:	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;                                   
a0006e14:	e581503c 	str	r5, [r1, #60]	; 0x3c                          
a0006e18:	e285500c 	add	r5, r5, #12                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a0006e1c:	e581c040 	str	ip, [r1, #64]	; 0x40                          
  block_state  = the_thread_queue->state;                             
a0006e20:	e5907038 	ldr	r7, [r0, #56]	; 0x38                          
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
a0006e24:	e02c0495 	mla	ip, r5, r4, r0                                
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
a0006e28:	159f8158 	ldrne	r8, [pc, #344]	; a0006f88 <_Thread_queue_Enqueue_priority+0x194>
  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 ) )                  
a0006e2c:	1a000023 	bne	a0006ec0 <_Thread_queue_Enqueue_priority+0xcc>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0006e30:	e28c8004 	add	r8, ip, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0006e34:	e10f5000 	mrs	r5, CPSR                                      
a0006e38:	e3854080 	orr	r4, r5, #128	; 0x80                           
a0006e3c:	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;                   
a0006e40:	e3e06000 	mvn	r6, #0                                        
a0006e44:	e59c4000 	ldr	r4, [ip]                                      
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a0006e48:	ea00000b 	b	a0006e7c <_Thread_queue_Enqueue_priority+0x88>  
    search_priority = search_thread->current_priority;                
a0006e4c:	e5946014 	ldr	r6, [r4, #20]                                 
    if ( priority <= search_priority )                                
a0006e50:	e1530006 	cmp	r3, r6                                        
a0006e54:	9a00000a 	bls	a0006e84 <_Thread_queue_Enqueue_priority+0x90>
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0006e58:	e10fa000 	mrs	sl, CPSR                                      
a0006e5c:	e129f005 	msr	CPSR_fc, r5                                   
a0006e60:	e129f00a 	msr	CPSR_fc, sl                                   
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
a0006e64:	e594a010 	ldr	sl, [r4, #16]                                 
a0006e68:	e117000a 	tst	r7, sl                                        
a0006e6c:	1a000001 	bne	a0006e78 <_Thread_queue_Enqueue_priority+0x84>
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0006e70:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
a0006e74:	eaffffee 	b	a0006e34 <_Thread_queue_Enqueue_priority+0x40>  <== NOT EXECUTED
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
a0006e78:	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 ) ) {  
a0006e7c:	e1540008 	cmp	r4, r8                                        
a0006e80:	1afffff1 	bne	a0006e4c <_Thread_queue_Enqueue_priority+0x58>
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0006e84:	e5907030 	ldr	r7, [r0, #48]	; 0x30                          
                                                                      
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 ) ) {  
a0006e88:	e1a0c005 	mov	ip, r5                                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0006e8c:	e3570001 	cmp	r7, #1                                        
a0006e90:	1a000039 	bne	a0006f7c <_Thread_queue_Enqueue_priority+0x188>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a0006e94:	e1530006 	cmp	r3, r6                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
a0006e98:	e3a03000 	mov	r3, #0                                        
a0006e9c:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a0006ea0:	0a00002b 	beq	a0006f54 <_Thread_queue_Enqueue_priority+0x160>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
a0006ea4:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a0006ea8:	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;                          
a0006eac:	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;                             
a0006eb0:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a0006eb4:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a0006eb8:	e5841004 	str	r1, [r4, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
a0006ebc:	ea000022 	b	a0006f4c <_Thread_queue_Enqueue_priority+0x158> 
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
a0006ec0:	e5d86000 	ldrb	r6, [r8]                                     
a0006ec4:	e2866001 	add	r6, r6, #1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0006ec8:	e10f5000 	mrs	r5, CPSR                                      
a0006ecc:	e3854080 	orr	r4, r5, #128	; 0x80                           
a0006ed0:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
a0006ed4:	e59c4008 	ldr	r4, [ip, #8]                                  
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
a0006ed8:	ea00000b 	b	a0006f0c <_Thread_queue_Enqueue_priority+0x118> 
    search_priority = search_thread->current_priority;                
a0006edc:	e5946014 	ldr	r6, [r4, #20]                                 
    if ( priority >= search_priority )                                
a0006ee0:	e1530006 	cmp	r3, r6                                        
a0006ee4:	2a00000a 	bcs	a0006f14 <_Thread_queue_Enqueue_priority+0x120>
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0006ee8:	e10fa000 	mrs	sl, CPSR                                      
a0006eec:	e129f005 	msr	CPSR_fc, r5                                   
a0006ef0:	e129f00a 	msr	CPSR_fc, sl                                   
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
a0006ef4:	e594a010 	ldr	sl, [r4, #16]                                 
a0006ef8:	e117000a 	tst	r7, sl                                        
a0006efc:	1a000001 	bne	a0006f08 <_Thread_queue_Enqueue_priority+0x114>
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0006f00:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
a0006f04:	eaffffed 	b	a0006ec0 <_Thread_queue_Enqueue_priority+0xcc>  <== NOT EXECUTED
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
a0006f08:	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 ) ) {  
a0006f0c:	e154000c 	cmp	r4, ip                                        
a0006f10:	1afffff1 	bne	a0006edc <_Thread_queue_Enqueue_priority+0xe8>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0006f14:	e5907030 	ldr	r7, [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 ) ) {  
a0006f18:	e1a0c005 	mov	ip, r5                                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0006f1c:	e3570001 	cmp	r7, #1                                        
a0006f20:	1a000015 	bne	a0006f7c <_Thread_queue_Enqueue_priority+0x188>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a0006f24:	e1530006 	cmp	r3, r6                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
a0006f28:	e3a03000 	mov	r3, #0                                        
a0006f2c:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a0006f30:	0a000007 	beq	a0006f54 <_Thread_queue_Enqueue_priority+0x160>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
a0006f34:	e5943000 	ldr	r3, [r4]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
a0006f38:	e5814004 	str	r4, [r1, #4]                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0006f3c:	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;                                
a0006f40:	e5813000 	str	r3, [r1]                                      
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
a0006f44:	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;                                 
a0006f48:	e5841000 	str	r1, [r4]                                      
a0006f4c:	e129f005 	msr	CPSR_fc, r5                                   
a0006f50:	ea000007 	b	a0006f74 <_Thread_queue_Enqueue_priority+0x180> 
a0006f54:	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;                              
a0006f58:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a0006f5c:	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;                          
a0006f60:	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;                             
a0006f64:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a0006f68:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a0006f6c:	e5841004 	str	r1, [r4, #4]                                  
a0006f70:	e129f00c 	msr	CPSR_fc, ip                                   
a0006f74:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0006f78:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
a0006f7c:	e5900030 	ldr	r0, [r0, #48]	; 0x30                          
   *  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;                                                   
a0006f80:	e582c000 	str	ip, [r2]                                      
  return the_thread_queue->sync_state;                                
}                                                                     
a0006f84:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a0006f88:	a0017470 	.word	0xa0017470                                  
                                                                      
a001494c <_Timer_server_Body>:                                        
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
a001494c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0014950:	e24dd020 	sub	sp, sp, #32                                   
a0014954:	e28d3014 	add	r3, sp, #20                                   
a0014958:	e28d5008 	add	r5, sp, #8                                    
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
a001495c:	e3a09000 	mov	r9, #0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0014960:	e283a004 	add	sl, r3, #4                                    
a0014964:	e2858004 	add	r8, r5, #4                                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a0014968:	e58d301c 	str	r3, [sp, #28]                                 
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
a001496c:	e2802008 	add	r2, r0, #8                                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a0014970:	e2803040 	add	r3, r0, #64	; 0x40                            
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
a0014974:	e1a04000 	mov	r4, r0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0014978:	e58da014 	str	sl, [sp, #20]                                 
  the_chain->permanent_null = NULL;                                   
a001497c:	e58d9018 	str	r9, [sp, #24]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0014980:	e58d8008 	str	r8, [sp, #8]                                  
  the_chain->permanent_null = NULL;                                   
a0014984:	e58d900c 	str	r9, [sp, #12]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
a0014988:	e58d5010 	str	r5, [sp, #16]                                 
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a001498c:	e280b030 	add	fp, r0, #48	; 0x30                            
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
a0014990:	e2807068 	add	r7, r0, #104	; 0x68                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
a0014994:	e58d2004 	str	r2, [sp, #4]                                  
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a0014998:	e58d3000 	str	r3, [sp]                                      
{                                                                     
  /*                                                                  
   *  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;                                    
a001499c:	e28d2014 	add	r2, sp, #20                                   
a00149a0:	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;            
a00149a4:	e59f216c 	ldr	r2, [pc, #364]	; a0014b18 <_Timer_server_Body+0x1cc>
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a00149a8:	e1a0000b 	mov	r0, fp                                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
a00149ac:	e5923000 	ldr	r3, [r2]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
a00149b0:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a00149b4:	e1a02005 	mov	r2, r5                                        
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a00149b8:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a00149bc:	e0611003 	rsb	r1, r1, r3                                    
a00149c0:	eb001023 	bl	a0018a54 <_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();
a00149c4:	e59f3150 	ldr	r3, [pc, #336]	; a0014b1c <_Timer_server_Body+0x1d0>
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
a00149c8:	e5942074 	ldr	r2, [r4, #116]	; 0x74                         
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
a00149cc:	e5936000 	ldr	r6, [r3]                                      
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
a00149d0:	e1560002 	cmp	r6, r2                                        
a00149d4:	9a000004 	bls	a00149ec <_Timer_server_Body+0xa0>            
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
a00149d8:	e0621006 	rsb	r1, r2, r6                                    
a00149dc:	e1a00007 	mov	r0, r7                                        
a00149e0:	e1a02005 	mov	r2, r5                                        
a00149e4:	eb00101a 	bl	a0018a54 <_Watchdog_Adjust_to_chain>           
a00149e8:	ea000004 	b	a0014a00 <_Timer_server_Body+0xb4>              
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
a00149ec:	2a000003 	bcs	a0014a00 <_Timer_server_Body+0xb4>            
     /*                                                               
      *  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 ); 
a00149f0:	e0662002 	rsb	r2, r6, r2                                    
a00149f4:	e1a00007 	mov	r0, r7                                        
a00149f8:	e3a01001 	mov	r1, #1                                        
a00149fc:	eb000fec 	bl	a00189b4 <_Watchdog_Adjust>                    
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a0014a00:	e5846074 	str	r6, [r4, #116]	; 0x74                         
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
a0014a04:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a0014a08:	eb00022c 	bl	a00152c0 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a0014a0c:	e2501000 	subs	r1, r0, #0                                   
a0014a10:	0a00000a 	beq	a0014a40 <_Timer_server_Body+0xf4>            
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
a0014a14:	e5913038 	ldr	r3, [r1, #56]	; 0x38                          
a0014a18:	e3530001 	cmp	r3, #1                                        
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
a0014a1c:	02811010 	addeq	r1, r1, #16                                 
a0014a20:	01a0000b 	moveq	r0, fp                                      
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
a0014a24:	0a000003 	beq	a0014a38 <_Timer_server_Body+0xec>            
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
a0014a28:	e3530003 	cmp	r3, #3                                        
a0014a2c:	1afffff4 	bne	a0014a04 <_Timer_server_Body+0xb8>            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
a0014a30:	e2811010 	add	r1, r1, #16                                   
a0014a34:	e1a00007 	mov	r0, r7                                        
a0014a38:	eb001032 	bl	a0018b08 <_Watchdog_Insert>                    
a0014a3c:	eafffff0 	b	a0014a04 <_Timer_server_Body+0xb8>              
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0014a40:	e10f3000 	mrs	r3, CPSR                                      
a0014a44:	e3832080 	orr	r2, r3, #128	; 0x80                           
a0014a48:	e129f002 	msr	CPSR_fc, r2                                   
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
a0014a4c:	e59d2014 	ldr	r2, [sp, #20]                                 
a0014a50:	e152000a 	cmp	r2, sl                                        
a0014a54:	1a000005 	bne	a0014a70 <_Timer_server_Body+0x124>           
      ts->insert_chain = NULL;                                        
a0014a58:	e5841078 	str	r1, [r4, #120]	; 0x78                         
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0014a5c:	e129f003 	msr	CPSR_fc, r3                                   
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
a0014a60:	e59d3008 	ldr	r3, [sp, #8]                                  
a0014a64:	e1530008 	cmp	r3, r8                                        
a0014a68:	1a000002 	bne	a0014a78 <_Timer_server_Body+0x12c>           
a0014a6c:	ea000015 	b	a0014ac8 <_Timer_server_Body+0x17c>             
a0014a70:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a0014a74:	eaffffca 	b	a00149a4 <_Timer_server_Body+0x58>              <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0014a78:	e10f2000 	mrs	r2, CPSR                                      
a0014a7c:	e3823080 	orr	r3, r2, #128	; 0x80                           
a0014a80:	e129f003 	msr	CPSR_fc, r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a0014a84:	e59d3008 	ldr	r3, [sp, #8]                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
a0014a88:	e1530008 	cmp	r3, r8                                        
a0014a8c:	0a00000b 	beq	a0014ac0 <_Timer_server_Body+0x174>           
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
a0014a90:	e5931000 	ldr	r1, [r3]                                      
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
a0014a94:	e3530000 	cmp	r3, #0                                        
  the_chain->first    = new_first;                                    
a0014a98:	e58d1008 	str	r1, [sp, #8]                                  
  new_first->previous = _Chain_Head(the_chain);                       
a0014a9c:	e5815004 	str	r5, [r1, #4]                                  
a0014aa0:	0a000006 	beq	a0014ac0 <_Timer_server_Body+0x174>           
          watchdog->state = WATCHDOG_INACTIVE;                        
a0014aa4:	e5839008 	str	r9, [r3, #8]                                  
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0014aa8:	e129f002 	msr	CPSR_fc, r2                                   
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
a0014aac:	e5930020 	ldr	r0, [r3, #32]                                 
a0014ab0:	e5931024 	ldr	r1, [r3, #36]	; 0x24                          
a0014ab4:	e1a0e00f 	mov	lr, pc                                        
a0014ab8:	e593f01c 	ldr	pc, [r3, #28]                                 
      }                                                               
a0014abc:	eaffffed 	b	a0014a78 <_Timer_server_Body+0x12c>             
a0014ac0:	e129f002 	msr	CPSR_fc, r2                                   
a0014ac4:	eaffffb4 	b	a001499c <_Timer_server_Body+0x50>              
a0014ac8:	e59f3050 	ldr	r3, [pc, #80]	; a0014b20 <_Timer_server_Body+0x1d4>
    } else {                                                          
      ts->active = false;                                             
a0014acc:	e5c4907c 	strb	r9, [r4, #124]	; 0x7c                        
a0014ad0:	e5932000 	ldr	r2, [r3]                                      
a0014ad4:	e2822001 	add	r2, r2, #1                                    
a0014ad8:	e5832000 	str	r2, [r3]                                      
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
a0014adc:	e3a01008 	mov	r1, #8                                        
a0014ae0:	e5940000 	ldr	r0, [r4]                                      
a0014ae4:	eb000d63 	bl	a0018078 <_Thread_Set_state>                   
        _Timer_server_Reset_interval_system_watchdog( ts );           
a0014ae8:	e1a00004 	mov	r0, r4                                        
a0014aec:	ebffff6a 	bl	a001489c <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
a0014af0:	e1a00004 	mov	r0, r4                                        
a0014af4:	ebffff7e 	bl	a00148f4 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
a0014af8:	eb000ac6 	bl	a0017618 <_Thread_Enable_dispatch>             
                                                                      
      ts->active = true;                                              
a0014afc:	e3a03001 	mov	r3, #1                                        
a0014b00:	e5c4307c 	strb	r3, [r4, #124]	; 0x7c                        
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
a0014b04:	e59d0004 	ldr	r0, [sp, #4]                                  
a0014b08:	eb001057 	bl	a0018c6c <_Watchdog_Remove>                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a0014b0c:	e59d0000 	ldr	r0, [sp]                                      
a0014b10:	eb001055 	bl	a0018c6c <_Watchdog_Remove>                    
a0014b14:	eaffffa0 	b	a001499c <_Timer_server_Body+0x50>              
a0014b18:	a00387e4 	.word	0xa00387e4                                  
a0014b1c:	a0038714 	.word	0xa0038714                                  
a0014b20:	a003868c 	.word	0xa003868c                                  
                                                                      
a0020820 <__kill>:                                                    
#endif                                                                
                                                                      
int __kill( pid_t pid, int sig )                                      
{                                                                     
  return 0;                                                           
}                                                                     
a0020820:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0020824:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0016ae8 <_exit>:                                                     
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
a0016ae8:	e1a04000 	mov	r4, r0                                        
a0016aec:	eb000227 	bl	a0017390 <___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();                                                      
a0016af0:	ebffffdf 	bl	a0016a74 <libc_wrapup>                         
  rtems_shutdown_executive(status);                                   
a0016af4:	e1a00004 	mov	r0, r4                                        
a0016af8:	eb00003b 	bl	a0016bec <rtems_shutdown_executive>            
a0016afc:	eafffffe 	b	a0016afc <_exit+0x14>                           <== NOT EXECUTED
                                                                      
a00334f4 <_fcntl_r>:                                                  
  int fd,                                                             
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
a00334f4:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00334f8:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00334fc:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0033500:	eaffff8c 	b	a0033338 <fcntl>                                <== NOT EXECUTED
                                                                      
a0020800 <_getpid_r>:                                                 
pid_t _getpid_r(                                                      
  struct _reent *ptr __attribute__((unused))                          
)                                                                     
{                                                                     
  return getpid();                                                    
}                                                                     
a0020800:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0020804:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0009064 <_gettimeofday>:                                             
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
a0009064:	eaffffe8 	b	a000900c <gettimeofday>                         <== NOT EXECUTED
                                                                      
a0020818 <_kill_r>:                                                   
#include <reent.h>                                                    
                                                                      
int _kill_r( struct _reent *ptr, pid_t pid, int sig )                 
{                                                                     
  return 0;                                                           
}                                                                     
a0020818:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a002081c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0022e28 <_link_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
  return link( existing, new );                                       
a0022e28:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0022e2c:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0022e30:	eaffff70 	b	a0022bf8 <link>                                 <== NOT EXECUTED
                                                                      
a0023024 <_lstat_r>:                                                  
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
a0023024:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0023028:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a002302c:	eaffffc4 	b	a0022f44 <lstat>                                <== NOT EXECUTED
                                                                      
a0016bd0 <_realloc_r>:                                                
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
a0016bd0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0016bd4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0016bd8:	ea00000e 	b	a0016c18 <realloc>                              <== NOT EXECUTED
                                                                      
a0051e10 <_rename_r>:                                                 
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
a0051e10:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a0051e14:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
a0051e18:	e24dd044 	sub	sp, sp, #68	; 0x44                            <== NOT EXECUTED
a0051e1c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a0051e20:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a0051e24:	ebfec9d0 	bl	a000456c <rtems_filesystem_dirname>            <== NOT EXECUTED
                                                                      
  if ( old_parent_pathlen == 0 )                                      
a0051e28:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
a0051e2c:	1a000015 	bne	a0051e88 <_rename_r+0x78>                     <== NOT EXECUTED
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
a0051e30:	e5d53000 	ldrb	r3, [r5]                                     <== NOT EXECUTED
a0051e34:	e353002f 	cmp	r3, #47	; 0x2f                                <== NOT EXECUTED
a0051e38:	1353005c 	cmpne	r3, #92	; 0x5c                              <== NOT EXECUTED
a0051e3c:	0a000001 	beq	a0051e48 <_rename_r+0x38>                     <== NOT EXECUTED
a0051e40:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0051e44:	1a000005 	bne	a0051e60 <_rename_r+0x50>                     <== NOT EXECUTED
a0051e48:	e59f3380 	ldr	r3, [pc, #896]	; a00521d0 <_rename_r+0x3c0>   <== NOT EXECUTED
a0051e4c:	e28dc018 	add	ip, sp, #24                                   <== NOT EXECUTED
a0051e50:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
a0051e54:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
a0051e58:	e28ee018 	add	lr, lr, #24                                   <== NOT EXECUTED
a0051e5c:	ea000004 	b	a0051e74 <_rename_r+0x64>                       <== NOT EXECUTED
a0051e60:	e59f3368 	ldr	r3, [pc, #872]	; a00521d0 <_rename_r+0x3c0>   <== NOT EXECUTED
a0051e64:	e28dc018 	add	ip, sp, #24                                   <== NOT EXECUTED
a0051e68:	e1a04007 	mov	r4, r7                                        <== NOT EXECUTED
a0051e6c:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
a0051e70:	e28ee004 	add	lr, lr, #4                                    <== NOT EXECUTED
a0051e74:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0051e78:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0051e7c:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
a0051e80:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
a0051e84:	ea000009 	b	a0051eb0 <_rename_r+0xa0>                       <== NOT EXECUTED
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
a0051e88:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a0051e8c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0051e90:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0051e94:	e3a02002 	mov	r2, #2                                        <== NOT EXECUTED
a0051e98:	e28d3018 	add	r3, sp, #24                                   <== NOT EXECUTED
a0051e9c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0051ea0:	ebfec9f7 	bl	a0004684 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
a0051ea4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0051ea8:	03a04001 	moveq	r4, #1                                      <== NOT EXECUTED
a0051eac:	1a000025 	bne	a0051f48 <_rename_r+0x138>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a0051eb0:	e28dc02c 	add	ip, sp, #44	; 0x2c                            <== NOT EXECUTED
a0051eb4:	e28de018 	add	lr, sp, #24                                   <== NOT EXECUTED
a0051eb8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0051ebc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0051ec0:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
a0051ec4:	e0855007 	add	r5, r5, r7                                    <== NOT EXECUTED
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0051ec8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a0051ecc:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
a0051ed0:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0051ed4:	ebffb3c8 	bl	a003edfc <strlen>                              <== NOT EXECUTED
a0051ed8:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0051edc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0051ee0:	ebfec995 	bl	a000453c <rtems_filesystem_prefix_separators>  <== NOT EXECUTED
a0051ee4:	e0855000 	add	r5, r5, r0                                    <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0051ee8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0051eec:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0051ef0:	ebffb3c1 	bl	a003edfc <strlen>                              <== NOT EXECUTED
a0051ef4:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a0051ef8:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0051efc:	e1a0200c 	mov	r2, ip                                        <== NOT EXECUTED
a0051f00:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0051f04:	e28d302c 	add	r3, sp, #44	; 0x2c                            <== NOT EXECUTED
a0051f08:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0051f0c:	ebfec9a6 	bl	a00045ac <rtems_filesystem_evaluate_relative_path><== NOT EXECUTED
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
a0051f10:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a0051f14:	0a00000d 	beq	a0051f50 <_rename_r+0x140>                    <== NOT EXECUTED
    if ( free_old_parentloc )                                         
a0051f18:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a0051f1c:	0a000007 	beq	a0051f40 <_rename_r+0x130>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
a0051f20:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0051f24:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0051f28:	0a000004 	beq	a0051f40 <_rename_r+0x130>                    <== NOT EXECUTED
a0051f2c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0051f30:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0051f34:	0a000001 	beq	a0051f40 <_rename_r+0x130>                    <== NOT EXECUTED
a0051f38:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a0051f3c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
a0051f40:	ebff9933 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0051f44:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a0051f48:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0051f4c:	ea00009c 	b	a00521c4 <_rename_r+0x3b4>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a0051f50:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
a0051f54:	e353002f 	cmp	r3, #47	; 0x2f                                <== NOT EXECUTED
a0051f58:	1353005c 	cmpne	r3, #92	; 0x5c                              <== NOT EXECUTED
a0051f5c:	13a07000 	movne	r7, #0                                      <== NOT EXECUTED
a0051f60:	03a07001 	moveq	r7, #1                                      <== NOT EXECUTED
a0051f64:	0a000001 	beq	a0051f70 <_rename_r+0x160>                    <== NOT EXECUTED
a0051f68:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0051f6c:	1a000005 	bne	a0051f88 <_rename_r+0x178>                    <== NOT EXECUTED
a0051f70:	e59f3258 	ldr	r3, [pc, #600]	; a00521d0 <_rename_r+0x3c0>   <== NOT EXECUTED
a0051f74:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a0051f78:	e3a07001 	mov	r7, #1                                        <== NOT EXECUTED
a0051f7c:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
a0051f80:	e28ee018 	add	lr, lr, #24                                   <== NOT EXECUTED
a0051f84:	ea000003 	b	a0051f98 <_rename_r+0x188>                      <== NOT EXECUTED
a0051f88:	e59f3240 	ldr	r3, [pc, #576]	; a00521d0 <_rename_r+0x3c0>   <== NOT EXECUTED
a0051f8c:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a0051f90:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
a0051f94:	e28ee004 	add	lr, lr, #4                                    <== NOT EXECUTED
a0051f98:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0051f9c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0051fa0:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
a0051fa4:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
a0051fa8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0051fac:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0051fb0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0051fb4:	0a00004c 	beq	a00520ec <_rename_r+0x2dc>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
a0051fb8:	e28d5004 	add	r5, sp, #4                                    <== NOT EXECUTED
a0051fbc:	e0860007 	add	r0, r6, r7                                    <== NOT EXECUTED
a0051fc0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0051fc4:	e28d2040 	add	r2, sp, #64	; 0x40                            <== NOT EXECUTED
a0051fc8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  if ( result != 0 ) {                                                
a0051fcc:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a0051fd0:	0a00001c 	beq	a0052048 <_rename_r+0x238>                    <== NOT EXECUTED
    rtems_filesystem_freenode( &new_parent_loc );                     
a0051fd4:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0051fd8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0051fdc:	0a000004 	beq	a0051ff4 <_rename_r+0x1e4>                    <== NOT EXECUTED
a0051fe0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0051fe4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0051fe8:	0a000001 	beq	a0051ff4 <_rename_r+0x1e4>                    <== NOT EXECUTED
a0051fec:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0051ff0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_old_parentloc )                                         
a0051ff4:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a0051ff8:	0a000007 	beq	a005201c <_rename_r+0x20c>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
a0051ffc:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0052000:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052004:	0a000004 	beq	a005201c <_rename_r+0x20c>                    <== NOT EXECUTED
a0052008:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a005200c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052010:	0a000001 	beq	a005201c <_rename_r+0x20c>                    <== NOT EXECUTED
a0052014:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a0052018:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
a005201c:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
a0052020:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052024:	0a000004 	beq	a005203c <_rename_r+0x22c>                    <== NOT EXECUTED
a0052028:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a005202c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052030:	0a000001 	beq	a005203c <_rename_r+0x22c>                    <== NOT EXECUTED
a0052034:	e28d002c 	add	r0, sp, #44	; 0x2c                            <== NOT EXECUTED
a0052038:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
a005203c:	ebff98f4 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0052040:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
a0052044:	eaffffbf 	b	a0051f48 <_rename_r+0x138>                      <== NOT EXECUTED
  /*                                                                  
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
a0052048:	e59d2014 	ldr	r2, [sp, #20]                                 <== NOT EXECUTED
a005204c:	e59d1028 	ldr	r1, [sp, #40]	; 0x28                          <== NOT EXECUTED
a0052050:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0052054:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a0052058:	0a00001b 	beq	a00520cc <_rename_r+0x2bc>                    <== NOT EXECUTED
    rtems_filesystem_freenode( &new_parent_loc );                     
a005205c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052060:	0a000004 	beq	a0052078 <_rename_r+0x268>                    <== NOT EXECUTED
a0052064:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0052068:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a005206c:	0a000001 	beq	a0052078 <_rename_r+0x268>                    <== NOT EXECUTED
a0052070:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0052074:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_old_parentloc )                                         
a0052078:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a005207c:	0a000007 	beq	a00520a0 <_rename_r+0x290>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
a0052080:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0052084:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052088:	0a000004 	beq	a00520a0 <_rename_r+0x290>                    <== NOT EXECUTED
a005208c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0052090:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052094:	0a000001 	beq	a00520a0 <_rename_r+0x290>                    <== NOT EXECUTED
a0052098:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a005209c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
a00520a0:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
a00520a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00520a8:	0a000004 	beq	a00520c0 <_rename_r+0x2b0>                    <== NOT EXECUTED
a00520ac:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00520b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00520b4:	0a000001 	beq	a00520c0 <_rename_r+0x2b0>                    <== NOT EXECUTED
a00520b8:	e28d002c 	add	r0, sp, #44	; 0x2c                            <== NOT EXECUTED
a00520bc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a00520c0:	ebff98d3 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a00520c4:	e3a03012 	mov	r3, #18                                       <== NOT EXECUTED
a00520c8:	ea00001b 	b	a005213c <_rename_r+0x32c>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
a00520cc:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          <== NOT EXECUTED
a00520d0:	e35c0000 	cmp	ip, #0                                        <== NOT EXECUTED
a00520d4:	1a00001a 	bne	a0052144 <_rename_r+0x334>                    <== NOT EXECUTED
    rtems_filesystem_freenode( &new_parent_loc );                     
a00520d8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00520dc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00520e0:	0a000001 	beq	a00520ec <_rename_r+0x2dc>                    <== NOT EXECUTED
a00520e4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00520e8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_old_parentloc )                                         
a00520ec:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a00520f0:	0a000007 	beq	a0052114 <_rename_r+0x304>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
a00520f4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a00520f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00520fc:	0a000004 	beq	a0052114 <_rename_r+0x304>                    <== NOT EXECUTED
a0052100:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0052104:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052108:	0a000001 	beq	a0052114 <_rename_r+0x304>                    <== NOT EXECUTED
a005210c:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a0052110:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
a0052114:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
a0052118:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a005211c:	0a000004 	beq	a0052134 <_rename_r+0x324>                    <== NOT EXECUTED
a0052120:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0052124:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052128:	0a000001 	beq	a0052134 <_rename_r+0x324>                    <== NOT EXECUTED
a005212c:	e28d002c 	add	r0, sp, #44	; 0x2c                            <== NOT EXECUTED
a0052130:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0052134:	ebff98b6 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0052138:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a005213c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0052140:	eaffff80 	b	a0051f48 <_rename_r+0x138>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
a0052144:	e59d3040 	ldr	r3, [sp, #64]	; 0x40                          <== NOT EXECUTED
a0052148:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a005214c:	e28d102c 	add	r1, sp, #44	; 0x2c                            <== NOT EXECUTED
a0052150:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0052154:	e12fff3c 	blx	ip                                            <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a0052158:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
a005215c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a0052160:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052164:	0a000004 	beq	a005217c <_rename_r+0x36c>                    <== NOT EXECUTED
a0052168:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a005216c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052170:	0a000001 	beq	a005217c <_rename_r+0x36c>                    <== NOT EXECUTED
a0052174:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0052178:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  if ( free_old_parentloc )                                           
a005217c:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a0052180:	0a000007 	beq	a00521a4 <_rename_r+0x394>                    <== NOT EXECUTED
    rtems_filesystem_freenode( &old_parent_loc );                     
a0052184:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0052188:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a005218c:	0a000004 	beq	a00521a4 <_rename_r+0x394>                    <== NOT EXECUTED
a0052190:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0052194:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0052198:	0a000001 	beq	a00521a4 <_rename_r+0x394>                    <== NOT EXECUTED
a005219c:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a00521a0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  rtems_filesystem_freenode( &old_loc );                              
a00521a4:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
a00521a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00521ac:	0a000004 	beq	a00521c4 <_rename_r+0x3b4>                    <== NOT EXECUTED
a00521b0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00521b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00521b8:	0a000001 	beq	a00521c4 <_rename_r+0x3b4>                    <== NOT EXECUTED
a00521bc:	e28d002c 	add	r0, sp, #44	; 0x2c                            <== NOT EXECUTED
a00521c0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a00521c4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00521c8:	e28dd044 	add	sp, sp, #68	; 0x44                            <== NOT EXECUTED
a00521cc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
a00521d0:	a0052628 	.word	0xa0052628                                  
                                                                      
a0005b60 <_stat_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
a0005b60:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0005b64:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0005b68:	eaffffc4 	b	a0005a80 <stat>                                 <== NOT EXECUTED
                                                                      
a000bab4 <_unlink_r>:                                                 
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
a000bab4:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000bab8:	eaffff64 	b	a000b850 <unlink>                               <== NOT EXECUTED
                                                                      
a00219a8 <chdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
a00219a8:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
a00219ac:	e2505000 	subs	r5, r0, #0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
a00219b0:	e24dd018 	sub	sp, sp, #24                                   
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
a00219b4:	1a000002 	bne	a00219c4 <chdir+0x1c>                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00219b8:	eb005a95 	bl	a0038414 <__errno>                             
a00219bc:	e3a0300e 	mov	r3, #14                                       
a00219c0:	ea000024 	b	a0021a58 <chdir+0xb0>                           
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
a00219c4:	eb00750c 	bl	a003edfc <strlen>                              
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
a00219c8:	e28d4004 	add	r4, sp, #4                                    
a00219cc:	e3a0c001 	mov	ip, #1                                        
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
a00219d0:	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(                            
a00219d4:	e1a0200c 	mov	r2, ip                                        
a00219d8:	e1a00005 	mov	r0, r5                                        
a00219dc:	e1a03004 	mov	r3, r4                                        
a00219e0:	e58dc000 	str	ip, [sp]                                      
a00219e4:	ebff8b26 	bl	a0004684 <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
a00219e8:	e3500000 	cmp	r0, #0                                        
a00219ec:	1a00001a 	bne	a0021a5c <chdir+0xb4>                         
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
a00219f0:	e59d2010 	ldr	r2, [sp, #16]                                 
a00219f4:	e5923010 	ldr	r3, [r2, #16]                                 
a00219f8:	e3530000 	cmp	r3, #0                                        
a00219fc:	1a000007 	bne	a0021a20 <chdir+0x78>                         
    rtems_filesystem_freenode( &loc );                                
a0021a00:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0021a04:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0021a08:	0a000001 	beq	a0021a14 <chdir+0x6c>                         <== NOT EXECUTED
a0021a0c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0021a10:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0021a14:	eb005a7e 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021a18:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0021a1c:	ea00000d 	b	a0021a58 <chdir+0xb0>                           <== NOT EXECUTED
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a0021a20:	e1a00004 	mov	r0, r4                                        
a0021a24:	e12fff33 	blx	r3                                            
a0021a28:	e3500001 	cmp	r0, #1                                        
a0021a2c:	0a00000c 	beq	a0021a64 <chdir+0xbc>                         
    rtems_filesystem_freenode( &loc );                                
a0021a30:	e59d3010 	ldr	r3, [sp, #16]                                 
a0021a34:	e3530000 	cmp	r3, #0                                        
a0021a38:	0a000004 	beq	a0021a50 <chdir+0xa8>                         
a0021a3c:	e593301c 	ldr	r3, [r3, #28]                                 
a0021a40:	e3530000 	cmp	r3, #0                                        
a0021a44:	0a000001 	beq	a0021a50 <chdir+0xa8>                         
a0021a48:	e1a00004 	mov	r0, r4                                        
a0021a4c:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0021a50:	eb005a6f 	bl	a0038414 <__errno>                             
a0021a54:	e3a03014 	mov	r3, #20                                       
a0021a58:	e5803000 	str	r3, [r0]                                      
a0021a5c:	e3e05000 	mvn	r5, #0                                        
a0021a60:	ea000012 	b	a0021ab0 <chdir+0x108>                          
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
a0021a64:	e59f3050 	ldr	r3, [pc, #80]	; a0021abc <chdir+0x114>        
a0021a68:	e5930000 	ldr	r0, [r3]                                      
a0021a6c:	e5903010 	ldr	r3, [r0, #16]                                 
a0021a70:	e3530000 	cmp	r3, #0                                        
a0021a74:	0a000004 	beq	a0021a8c <chdir+0xe4>                         
a0021a78:	e593301c 	ldr	r3, [r3, #28]                                 
a0021a7c:	e3530000 	cmp	r3, #0                                        
a0021a80:	0a000001 	beq	a0021a8c <chdir+0xe4>                         
a0021a84:	e2800004 	add	r0, r0, #4                                    
a0021a88:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_current = loc;                                     
a0021a8c:	e59fc028 	ldr	ip, [pc, #40]	; a0021abc <chdir+0x114>        
a0021a90:	e28d4004 	add	r4, sp, #4                                    
a0021a94:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0021a98:	e59cc000 	ldr	ip, [ip]                                      
a0021a9c:	e3a05000 	mov	r5, #0                                        
a0021aa0:	e28cc004 	add	ip, ip, #4                                    
a0021aa4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0021aa8:	e5943000 	ldr	r3, [r4]                                      
a0021aac:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
a0021ab0:	e1a00005 	mov	r0, r5                                        
a0021ab4:	e28dd018 	add	sp, sp, #24                                   
a0021ab8:	e8bd8030 	pop	{r4, r5, pc}                                  
a0021abc:	a0052628 	.word	0xa0052628                                  
                                                                      
a00043ac <chmod>:                                                     
                                                                      
int chmod(                                                            
  const char *path,                                                   
  mode_t      mode                                                    
)                                                                     
{                                                                     
a00043ac:	e92d4070 	push	{r4, r5, r6, lr}                             
a00043b0:	e24dd018 	sub	sp, sp, #24                                   
a00043b4:	e1a05001 	mov	r5, r1                                        
a00043b8:	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 );
a00043bc:	eb00ea8e 	bl	a003edfc <strlen>                              
a00043c0:	e28d4004 	add	r4, sp, #4                                    
a00043c4:	e1a01000 	mov	r1, r0                                        
a00043c8:	e3a0c001 	mov	ip, #1                                        
a00043cc:	e1a00006 	mov	r0, r6                                        
a00043d0:	e3a02000 	mov	r2, #0                                        
a00043d4:	e1a03004 	mov	r3, r4                                        
a00043d8:	e58dc000 	str	ip, [sp]                                      
a00043dc:	eb0000a8 	bl	a0004684 <rtems_filesystem_evaluate_path>      
  if ( status != 0 )                                                  
a00043e0:	e3500000 	cmp	r0, #0                                        
a00043e4:	1a00000d 	bne	a0004420 <chmod+0x74>                         
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
a00043e8:	e59d300c 	ldr	r3, [sp, #12]                                 
a00043ec:	e3530000 	cmp	r3, #0                                        
a00043f0:	1a00000c 	bne	a0004428 <chmod+0x7c>                         
    rtems_filesystem_freenode( &loc );                                
a00043f4:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a00043f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00043fc:	0a000004 	beq	a0004414 <chmod+0x68>                         <== NOT EXECUTED
a0004400:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0004404:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004408:	0a000001 	beq	a0004414 <chmod+0x68>                         <== NOT EXECUTED
a000440c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0004410:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
a0004414:	eb00cffe 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0004418:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a000441c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0004420:	e3e05000 	mvn	r5, #0                                        
a0004424:	ea000019 	b	a0004490 <chmod+0xe4>                           
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
a0004428:	e593301c 	ldr	r3, [r3, #28]                                 
a000442c:	e3530000 	cmp	r3, #0                                        
a0004430:	1a00000a 	bne	a0004460 <chmod+0xb4>                         
    rtems_filesystem_freenode( &loc );                                
a0004434:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0004438:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000443c:	0a000004 	beq	a0004454 <chmod+0xa8>                         <== NOT EXECUTED
a0004440:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0004444:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004448:	0a000001 	beq	a0004454 <chmod+0xa8>                         <== NOT EXECUTED
a000444c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0004450:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0004454:	eb00cfee 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0004458:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000445c:	eaffffee 	b	a000441c <chmod+0x70>                           <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
a0004460:	e1a01005 	mov	r1, r5                                        
a0004464:	e1a00004 	mov	r0, r4                                        
a0004468:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000446c:	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 );                   
a0004470:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0004474:	e3530000 	cmp	r3, #0                                        
a0004478:	0a000004 	beq	a0004490 <chmod+0xe4>                         
a000447c:	e593301c 	ldr	r3, [r3, #28]                                 
a0004480:	e3530000 	cmp	r3, #0                                        
a0004484:	0a000001 	beq	a0004490 <chmod+0xe4>                         
a0004488:	e1a00004 	mov	r0, r4                                        
a000448c:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0004490:	e1a00005 	mov	r0, r5                                        
a0004494:	e28dd018 	add	sp, sp, #24                                   
a0004498:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0021ac0 <chown>:                                                     
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
a0021ac0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0021ac4:	e1a01801 	lsl	r1, r1, #16                                   
a0021ac8:	e1a02802 	lsl	r2, r2, #16                                   
a0021acc:	e24dd018 	sub	sp, sp, #24                                   
a0021ad0:	e1a06821 	lsr	r6, r1, #16                                   
a0021ad4:	e1a05822 	lsr	r5, r2, #16                                   
a0021ad8:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
a0021adc:	eb0074c6 	bl	a003edfc <strlen>                              
a0021ae0:	e28d4004 	add	r4, sp, #4                                    
a0021ae4:	e1a01000 	mov	r1, r0                                        
a0021ae8:	e3a0c001 	mov	ip, #1                                        
a0021aec:	e1a00007 	mov	r0, r7                                        
a0021af0:	e3a02000 	mov	r2, #0                                        
a0021af4:	e1a03004 	mov	r3, r4                                        
a0021af8:	e58dc000 	str	ip, [sp]                                      
a0021afc:	ebff8ae0 	bl	a0004684 <rtems_filesystem_evaluate_path>      
a0021b00:	e3500000 	cmp	r0, #0                                        
a0021b04:	1a00000b 	bne	a0021b38 <chown+0x78>                         
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
a0021b08:	e59d2010 	ldr	r2, [sp, #16]                                 
a0021b0c:	e5923018 	ldr	r3, [r2, #24]                                 
a0021b10:	e3530000 	cmp	r3, #0                                        
a0021b14:	1a000009 	bne	a0021b40 <chown+0x80>                         
    rtems_filesystem_freenode( &loc );                                
a0021b18:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0021b1c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0021b20:	0a000001 	beq	a0021b2c <chown+0x6c>                         <== NOT EXECUTED
a0021b24:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0021b28:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0021b2c:	eb005a38 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021b30:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0021b34:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0021b38:	e3e05000 	mvn	r5, #0                                        
a0021b3c:	ea00000c 	b	a0021b74 <chown+0xb4>                           
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
a0021b40:	e1a02005 	mov	r2, r5                                        
a0021b44:	e1a01006 	mov	r1, r6                                        
a0021b48:	e1a00004 	mov	r0, r4                                        
a0021b4c:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0021b50:	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 );                 
a0021b54:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0021b58:	e3530000 	cmp	r3, #0                                        
a0021b5c:	0a000004 	beq	a0021b74 <chown+0xb4>                         
a0021b60:	e593301c 	ldr	r3, [r3, #28]                                 
a0021b64:	e3530000 	cmp	r3, #0                                        
a0021b68:	0a000001 	beq	a0021b74 <chown+0xb4>                         
a0021b6c:	e1a00004 	mov	r0, r4                                        
a0021b70:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0021b74:	e1a00005 	mov	r0, r5                                        
a0021b78:	e28dd018 	add	sp, sp, #24                                   
a0021b7c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
a0021b80 <chroot>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0021b80:	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) {             
a0021b84:	e59f50dc 	ldr	r5, [pc, #220]	; a0021c68 <chroot+0xe8>       
a0021b88:	e59f30dc 	ldr	r3, [pc, #220]	; a0021c6c <chroot+0xec>       
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0021b8c:	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) {             
a0021b90:	e5954000 	ldr	r4, [r5]                                      
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0021b94:	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) {             
a0021b98:	e1540003 	cmp	r4, r3                                        
a0021b9c:	1a000008 	bne	a0021bc4 <chroot+0x44>                        
   rtems_libio_set_private_env(); /* try to set a new private env*/   
a0021ba0:	eb0005d4 	bl	a00232f8 <rtems_libio_set_private_env>         
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
a0021ba4:	e5953000 	ldr	r3, [r5]                                      
a0021ba8:	e1530004 	cmp	r3, r4                                        
a0021bac:	1a000004 	bne	a0021bc4 <chroot+0x44>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0021bb0:	eb005a17 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021bb4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0021bb8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0021bbc:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0021bc0:	ea000025 	b	a0021c5c <chroot+0xdc>                          <== NOT EXECUTED
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
a0021bc4:	e1a00006 	mov	r0, r6                                        
a0021bc8:	ebffff76 	bl	a00219a8 <chdir>                               
  if (result) {                                                       
a0021bcc:	e250c000 	subs	ip, r0, #0                                   
a0021bd0:	1a000007 	bne	a0021bf4 <chroot+0x74>                        
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a0021bd4:	e1a0200c 	mov	r2, ip                                        
a0021bd8:	e59f0090 	ldr	r0, [pc, #144]	; a0021c70 <chroot+0xf0>       
a0021bdc:	e3a01001 	mov	r1, #1                                        
a0021be0:	e28d3004 	add	r3, sp, #4                                    
a0021be4:	e58dc000 	str	ip, [sp]                                      
a0021be8:	ebff8aa5 	bl	a0004684 <rtems_filesystem_evaluate_path>      
a0021bec:	e3500000 	cmp	r0, #0                                        
a0021bf0:	0a000006 	beq	a0021c10 <chroot+0x90>                        
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
a0021bf4:	eb005a06 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021bf8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0021bfc:	eb005a04 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021c00:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0021c04:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0021c08:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
a0021c0c:	ea000012 	b	a0021c5c <chroot+0xdc>                          <== NOT EXECUTED
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
a0021c10:	e59f3050 	ldr	r3, [pc, #80]	; a0021c68 <chroot+0xe8>        
a0021c14:	e5930000 	ldr	r0, [r3]                                      
a0021c18:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
a0021c1c:	e3530000 	cmp	r3, #0                                        
a0021c20:	0a000004 	beq	a0021c38 <chroot+0xb8>                        
a0021c24:	e593301c 	ldr	r3, [r3, #28]                                 
a0021c28:	e3530000 	cmp	r3, #0                                        
a0021c2c:	0a000001 	beq	a0021c38 <chroot+0xb8>                        
a0021c30:	e2800018 	add	r0, r0, #24                                   
a0021c34:	e12fff33 	blx	r3                                            
  rtems_filesystem_root = loc;                                        
a0021c38:	e59fc028 	ldr	ip, [pc, #40]	; a0021c68 <chroot+0xe8>        
a0021c3c:	e28d4004 	add	r4, sp, #4                                    
a0021c40:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0021c44:	e59cc000 	ldr	ip, [ip]                                      
a0021c48:	e3a05000 	mov	r5, #0                                        
a0021c4c:	e28cc018 	add	ip, ip, #24                                   
a0021c50:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0021c54:	e5943000 	ldr	r3, [r4]                                      
a0021c58:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
a0021c5c:	e1a00005 	mov	r0, r5                                        
a0021c60:	e28dd018 	add	sp, sp, #24                                   
a0021c64:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0021c68:	a0052628 	.word	0xa0052628                                  
a0021c6c:	a005fdb8 	.word	0xa005fdb8                                  
a0021c70:	a0057a88 	.word	0xa0057a88                                  
                                                                      
a0007e28 <devFS_close>:                                               
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0007e28:	e92d4007 	push	{r0, r1, r2, lr}                             
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
a0007e2c:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a0007e30:	e3a01000 	mov	r1, #0                                        
  args.mode  = 0;                                                     
a0007e34:	e58d1008 	str	r1, [sp, #8]                                  
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a0007e38:	e58d1004 	str	r1, [sp, #4]                                  
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0007e3c:	e1a03000 	mov	r3, r0                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a0007e40:	e592100c 	ldr	r1, [r2, #12]                                 
a0007e44:	e5920008 	ldr	r0, [r2, #8]                                  
a0007e48:	e1a0200d 	mov	r2, sp                                        
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
a0007e4c:	e58d3000 	str	r3, [sp]                                      
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a0007e50:	eb00028a 	bl	a0008880 <rtems_io_close>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
a0007e54:	e2503000 	subs	r3, r0, #0                                   
a0007e58:	01a00003 	moveq	r0, r3                                      
a0007e5c:	0a000000 	beq	a0007e64 <devFS_close+0x3c>                   
    return rtems_deviceio_errno(status);                              
a0007e60:	eb000034 	bl	a0007f38 <rtems_deviceio_errno>                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a0007e64:	e8bd800e 	pop	{r1, r2, r3, pc}                              
                                                                      
a0007e74 <devFS_evaluate_path>:                                       
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0007e74:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
     assert( 0 );                                                     
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a0007e78:	e5935000 	ldr	r5, [r3]                                      
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0007e7c:	e1a04003 	mov	r4, r3                                        
a0007e80:	e1a09000 	mov	r9, r0                                        
     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)                                             
a0007e84:	e3550000 	cmp	r5, #0                                        
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0007e88:	e1a08001 	mov	r8, r1                                        
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
a0007e8c:	13a06000 	movne	r6, #0                                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0007e90:	159fa090 	ldrne	sl, [pc, #144]	; a0007f28 <devFS_evaluate_path+0xb4>
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
a0007e94:	1a000019 	bne	a0007f00 <devFS_evaluate_path+0x8c>           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0007e98:	eb000603 	bl	a00096ac <__errno>                             <== NOT EXECUTED
a0007e9c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0007ea0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007ea4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007ea8:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
a0007eac:	e5957000 	ldr	r7, [r5]                                      
  /* 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++) {                     
a0007eb0:	e2866001 	add	r6, r6, #1                                    
    if (!device_name_table[i].device_name)                            
a0007eb4:	e2571000 	subs	r1, r7, #0                                   
a0007eb8:	0a00000f 	beq	a0007efc <devFS_evaluate_path+0x88>           
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0007ebc:	eb0009b0 	bl	a000a584 <strncmp>                             
a0007ec0:	e3500000 	cmp	r0, #0                                        
a0007ec4:	1a00000c 	bne	a0007efc <devFS_evaluate_path+0x88>           
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
a0007ec8:	e7d70008 	ldrb	r0, [r7, r8]                                 
a0007ecc:	e3500000 	cmp	r0, #0                                        
a0007ed0:	1a000009 	bne	a0007efc <devFS_evaluate_path+0x88>           
                                                                      
    /* 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;               
a0007ed4:	e59f3050 	ldr	r3, [pc, #80]	; a0007f2c <devFS_evaluate_path+0xb8>
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
a0007ed8:	e59f2050 	ldr	r2, [pc, #80]	; a0007f30 <devFS_evaluate_path+0xbc>
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
a0007edc:	e5845000 	str	r5, [r4]                                      
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0007ee0:	e5933000 	ldr	r3, [r3]                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
a0007ee4:	e5842008 	str	r2, [r4, #8]                                  
    pathloc->ops = &devFS_ops;                                        
a0007ee8:	e59f2044 	ldr	r2, [pc, #68]	; a0007f34 <devFS_evaluate_path+0xc0>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0007eec:	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;                                        
a0007ef0:	e584200c 	str	r2, [r4, #12]                                 
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0007ef4:	e5843010 	str	r3, [r4, #16]                                 
    return 0;                                                         
a0007ef8:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0007efc:	e2855014 	add	r5, r5, #20                                   
a0007f00:	e59a3000 	ldr	r3, [sl]                                      
    if (!device_name_table[i].device_name)                            
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0007f04:	e1a00009 	mov	r0, r9                                        
a0007f08:	e1a02008 	mov	r2, r8                                        
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0007f0c:	e1560003 	cmp	r6, r3                                        
a0007f10:	3affffe5 	bcc	a0007eac <devFS_evaluate_path+0x38>           
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
a0007f14:	eb0005e4 	bl	a00096ac <__errno>                             
a0007f18:	e3a03002 	mov	r3, #2                                        
a0007f1c:	e5803000 	str	r3, [r0]                                      
a0007f20:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a0007f24:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
a0007f28:	a000c034 	.word	0xa000c034                                  
a0007f2c:	a000c25c 	.word	0xa000c25c                                  
a0007f30:	a000c1c8 	.word	0xa000c1c8                                  
a0007f34:	a000c200 	.word	0xa000c200                                  
                                                                      
a0001088 <devFS_initialize>:                                          
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
a0001088:	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(     
a000108c:	e59f7058 	ldr	r7, [pc, #88]	; a00010ec <devFS_initialize+0x64>
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
a0001090:	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(     
a0001094:	e3a06014 	mov	r6, #20                                       
a0001098:	e5970000 	ldr	r0, [r7]                                      
a000109c:	e0000096 	mul	r0, r6, r0                                    
a00010a0:	eb001a44 	bl	a00079b8 <_Workspace_Allocate>                 
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
a00010a4:	e2505000 	subs	r5, r0, #0                                   
a00010a8:	1a000004 	bne	a00010c0 <devFS_initialize+0x38>              
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
a00010ac:	eb00217e 	bl	a00096ac <__errno>                             <== NOT EXECUTED
a00010b0:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00010b4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00010b8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00010bc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
  memset(                                                             
a00010c0:	e5972000 	ldr	r2, [r7]                                      
a00010c4:	e3a01000 	mov	r1, #0                                        
a00010c8:	e0020296 	mul	r2, r6, r2                                    
a00010cc:	eb0023a4 	bl	a0009f64 <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;      
a00010d0:	e59f3018 	ldr	r3, [pc, #24]	; a00010f0 <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;  
a00010d4:	e584501c 	str	r5, [r4, #28]                                 
a00010d8:	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;                
a00010dc:	e2832038 	add	r2, r3, #56	; 0x38                            
a00010e0:	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;      
a00010e4:	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;                                                           
}                                                                     
a00010e8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a00010ec:	a000c034 	.word	0xa000c034                                  
a00010f0:	a000c1c8 	.word	0xa000c1c8                                  
                                                                      
a0001230 <devFS_ioctl>:                                               
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a0001230:	e92d400f 	push	{r0, r1, r2, r3, lr}                         
a0001234:	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;               
a0001238:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
a000123c:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001240:	e590100c 	ldr	r1, [r0, #12]                                 
a0001244:	e1a0200d 	mov	r2, sp                                        
a0001248:	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;                                                 
a000124c:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001250:	eb000f26 	bl	a0004ef0 <rtems_io_control>                    
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001254:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a0001258:	059d000c 	ldreq	r0, [sp, #12]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000125c:	0a000000 	beq	a0001264 <devFS_ioctl+0x34>                   
    return rtems_deviceio_errno(status);                              
a0001260:	eb001b34 	bl	a0007f38 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a0001264:	e28dd010 	add	sp, sp, #16                                   
a0001268:	e8bd8000 	pop	{pc}                                          
                                                                      
a00010f4 <devFS_mknod>:                                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00010f4:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     
a00010f8:	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') &&                         
a00010fc:	e5d00000 	ldrb	r0, [r0]                                     
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0001100:	e1a05001 	mov	r5, r1                                        
a0001104:	e58d2000 	str	r2, [sp]                                      
   * 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') &&                         
a0001108:	e3500064 	cmp	r0, #100	; 0x64                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a000110c:	e1a09003 	mov	r9, r3                                        
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a0001110:	1a000008 	bne	a0001138 <devFS_mknod+0x44>                   
a0001114:	e5d43001 	ldrb	r3, [r4, #1]                                 
a0001118:	e3530065 	cmp	r3, #101	; 0x65                               
a000111c:	1a000005 	bne	a0001138 <devFS_mknod+0x44>                   
      (path[2] == 'v') && (path[3] == '\0'))                          
a0001120:	e5d43002 	ldrb	r3, [r4, #2]                                 
a0001124:	e3530076 	cmp	r3, #118	; 0x76                               
a0001128:	1a000002 	bne	a0001138 <devFS_mknod+0x44>                   
a000112c:	e5d40003 	ldrb	r0, [r4, #3]                                 
a0001130:	e3500000 	cmp	r0, #0                                        
a0001134:	0a000039 	beq	a0001220 <devFS_mknod+0x12c>                  
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
a0001138:	e205aa0f 	and	sl, r5, #61440	; 0xf000                       
a000113c:	e35a0a02 	cmp	sl, #8192	; 0x2000                            
a0001140:	135a0a06 	cmpne	sl, #24576	; 0x6000                         
a0001144:	03a0a000 	moveq	sl, #0                                      
a0001148:	13a0a001 	movne	sl, #1                                      
a000114c:	0a000002 	beq	a000115c <devFS_mknod+0x68>                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001150:	eb002155 	bl	a00096ac <__errno>                             <== NOT EXECUTED
a0001154:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001158:	ea000008 	b	a0001180 <devFS_mknod+0x8c>                     <== NOT EXECUTED
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a000115c:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0001160:	e5936000 	ldr	r6, [r3]                                      
  if (!device_name_table)                                             
a0001164:	e3560000 	cmp	r6, #0                                        
a0001168:	13e07000 	mvnne	r7, #0                                      
a000116c:	11a0800a 	movne	r8, sl                                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a0001170:	159fb0ac 	ldrne	fp, [pc, #172]	; a0001224 <devFS_mknod+0x130>
a0001174:	1a000010 	bne	a00011bc <devFS_mknod+0xc8>                   
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001178:	eb00214b 	bl	a00096ac <__errno>                             <== NOT EXECUTED
a000117c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001180:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001184:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001188:	ea000024 	b	a0001220 <devFS_mknod+0x12c>                    <== NOT EXECUTED
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
a000118c:	e796300a 	ldr	r3, [r6, sl]                                  
  /* 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++){           
a0001190:	e28aa014 	add	sl, sl, #20                                   
      if (device_name_table[i].device_name == NULL)                   
a0001194:	e2531000 	subs	r1, r3, #0                                   
a0001198:	0a000005 	beq	a00011b4 <devFS_mknod+0xc0>                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a000119c:	eb002418 	bl	a000a204 <strcmp>                              <== NOT EXECUTED
a00011a0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00011a4:	1a000003 	bne	a00011b8 <devFS_mknod+0xc4>                   <== NOT EXECUTED
              rtems_set_errno_and_return_minus_one( EEXIST );         
a00011a8:	eb00213f 	bl	a00096ac <__errno>                             <== NOT EXECUTED
a00011ac:	e3a03011 	mov	r3, #17                                       <== NOT EXECUTED
a00011b0:	eafffff2 	b	a0001180 <devFS_mknod+0x8c>                     <== NOT EXECUTED
a00011b4:	e1a07008 	mov	r7, r8                                        
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a00011b8:	e2888001 	add	r8, r8, #1                                    
a00011bc:	e59b3000 	ldr	r3, [fp]                                      
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a00011c0:	e1a00004 	mov	r0, r4                                        
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a00011c4:	e1580003 	cmp	r8, r3                                        
a00011c8:	3affffef 	bcc	a000118c <devFS_mknod+0x98>                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
a00011cc:	e3770001 	cmn	r7, #1                                        
a00011d0:	1a000004 	bne	a00011e8 <devFS_mknod+0xf4>                   
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
a00011d4:	eb002134 	bl	a00096ac <__errno>                             <== NOT EXECUTED
a00011d8:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00011dc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00011e0:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a00011e4:	ea00000d 	b	a0001220 <devFS_mknod+0x12c>                    <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00011e8:	e10f8000 	mrs	r8, CPSR                                      
a00011ec:	e3883080 	orr	r3, r8, #128	; 0x80                           
a00011f0:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a00011f4:	e3a02014 	mov	r2, #20                                       
a00011f8:	e0030792 	mul	r3, r2, r7                                    
  device_name_table[slot].device_name_length = strlen(path);          
a00011fc:	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;                
a0001200:	e7864003 	str	r4, [r6, r3]                                  
a0001204:	e0866003 	add	r6, r6, r3                                    
  device_name_table[slot].device_name_length = strlen(path);          
a0001208:	eb0024c5 	bl	a000a524 <strlen>                              
  device_name_table[slot].major = major;                              
a000120c:	e59d3000 	ldr	r3, [sp]                                      
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
a0001210:	e5865010 	str	r5, [r6, #16]                                 
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
a0001214:	e9860209 	stmib	r6, {r0, r3, r9}                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0001218:	e129f008 	msr	CPSR_fc, r8                                   
a000121c:	e3a00000 	mov	r0, #0                                        
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
a0001220:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      
a0001224:	a000c034 	.word	0xa000c034                                  
                                                                      
a000126c <devFS_open>:                                                
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000126c:	e92d4007 	push	{r0, r1, r2, lr}                             
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
a0001270:	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;                 
a0001274:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
a0001278:	e98d000a 	stmib	sp, {r1, r3}                                
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000127c:	e1a0c000 	mov	ip, r0                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
a0001280:	e592100c 	ldr	r1, [r2, #12]                                 
a0001284:	e5920008 	ldr	r0, [r2, #8]                                  
a0001288:	e1a0200d 	mov	r2, sp                                        
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
a000128c:	e58dc000 	str	ip, [sp]                                      
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
a0001290:	eb000f5f 	bl	a0005014 <rtems_io_open>                       
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
a0001294:	e2503000 	subs	r3, r0, #0                                   
a0001298:	01a00003 	moveq	r0, r3                                      
a000129c:	0a000000 	beq	a00012a4 <devFS_open+0x38>                    
    return rtems_deviceio_errno(status);                              
a00012a0:	eb001b24 	bl	a0007f38 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a00012a4:	e8bd800e 	pop	{r1, r2, r3, pc}                              
                                                                      
a00012a8 <devFS_read>:                                                
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00012a8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00012ac:	e590c014 	ldr	ip, [r0, #20]                                 <== NOT EXECUTED
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00012b0:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
a00012b4:	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;           
a00012b8:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
a00012bc:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a00012c0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00012c4:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00012c8:	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;                                          
a00012cc:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a00012d0:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a00012d4:	e590100c 	ldr	r1, [r0, #12]                                 <== NOT EXECUTED
a00012d8:	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;                                             
a00012dc:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.offset      = iop->offset;                                     
a00012e0:	e283400c 	add	r4, r3, #12                                   <== NOT EXECUTED
a00012e4:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
a00012e8:	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(                                             
a00012ec:	eb000f5c 	bl	a0005064 <rtems_io_read>                       <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00012f0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a00012f4:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00012f8:	0a000000 	beq	a0001300 <devFS_read+0x58>                    <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
a00012fc:	eb001b0d 	bl	a0007f38 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a0001300:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a0001304:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a0001308 <devFS_stat>:                                                
  struct stat                      *buf                               
)                                                                     
{                                                                     
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
a0001308:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a000130c:	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)                                                       
a0001310:	e3530000 	cmp	r3, #0                                        
a0001314:	1a000004 	bne	a000132c <devFS_stat+0x24>                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001318:	eb0020e3 	bl	a00096ac <__errno>                             <== NOT EXECUTED
a000131c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001320:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001324:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001328:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
                                                                      
  buf->st_mode = the_dev->mode;                                       
a000132c:	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 );
a0001330:	e593200c 	ldr	r2, [r3, #12]                                 
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a0001334:	e5933008 	ldr	r3, [r3, #8]                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
a0001338:	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 );
a000133c:	e581201c 	str	r2, [r1, #28]                                 
a0001340:	e5813018 	str	r3, [r1, #24]                                 
                                                                      
  buf->st_mode = the_dev->mode;                                       
a0001344:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a0001348:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
a000134c <devFS_write>:                                               
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000134c:	e92d4010 	push	{r4, lr}                                     
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0001350:	e590c014 	ldr	ip, [r0, #20]                                 
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0001354:	e24dd01c 	sub	sp, sp, #28                                   
a0001358:	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;               
a000135c:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
a0001360:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a0001364:	e3a02000 	mov	r2, #0                                        
a0001368:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000136c:	e58dc014 	str	ip, [sp, #20]                                 
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a0001370:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a0001374:	e1a0200d 	mov	r2, sp                                        
a0001378:	e590100c 	ldr	r1, [r0, #12]                                 
a000137c:	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;                                             
a0001380:	e58d3000 	str	r3, [sp]                                      
  args.offset      = iop->offset;                                     
a0001384:	e283400c 	add	r4, r3, #12                                   
a0001388:	e8940018 	ldm	r4, {r3, r4}                                  
a000138c:	e98d0018 	stmib	sp, {r3, r4}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a0001390:	eb000f47 	bl	a00050b4 <rtems_io_write>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001394:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a0001398:	059d0018 	ldreq	r0, [sp, #24]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000139c:	0a000000 	beq	a00013a4 <devFS_write+0x58>                   
    return rtems_deviceio_errno(status);                              
a00013a0:	eb001ae4 	bl	a0007f38 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a00013a4:	e28dd01c 	add	sp, sp, #28                                   
a00013a8:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
a000a3c4 <device_close>:                                              
 */                                                                   
                                                                      
int device_close(                                                     
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000a3c4:	e92d4007 	push	{r0, r1, r2, lr}                             
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
a000a3c8:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a000a3cc:	e3a02000 	mov	r2, #0                                        
  args.mode  = 0;                                                     
a000a3d0:	e58d2008 	str	r2, [sp, #8]                                  
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a000a3d4:	e88d0005 	stm	sp, {r0, r2}                                  
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a000a3d8:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000a3dc:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000a3e0:	e1a0200d 	mov	r2, sp                                        
a000a3e4:	eb0003af 	bl	a000b2a8 <rtems_io_close>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
a000a3e8:	e2503000 	subs	r3, r0, #0                                   
a000a3ec:	01a00003 	moveq	r0, r3                                      
a000a3f0:	0a000000 	beq	a000a3f8 <device_close+0x34>                  
    return rtems_deviceio_errno(status);                              
a000a3f4:	eb000501 	bl	a000b800 <rtems_deviceio_errno>                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a000a3f8:	e8bd800e 	pop	{r1, r2, r3, pc}                              
                                                                      
a000a2d8 <device_ioctl>:                                              
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a000a2d8:	e92d400f 	push	{r0, r1, r2, r3, lr}                         
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
a000a2dc:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
a000a2e0:	e88d0007 	stm	sp, {r0, r1, r2}                              
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
a000a2e4:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000a2e8:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000a2ec:	e1a0200d 	mov	r2, sp                                        
a000a2f0:	eb000400 	bl	a000b2f8 <rtems_io_control>                    
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000a2f4:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a000a2f8:	059d000c 	ldreq	r0, [sp, #12]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000a2fc:	0a000000 	beq	a000a304 <device_ioctl+0x2c>                  
    return rtems_deviceio_errno(status);                              
a000a300:	eb00053e 	bl	a000b800 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a000a304:	e28dd010 	add	sp, sp, #16                                   
a000a308:	e8bd8000 	pop	{pc}                                          
                                                                      
a000a3fc <device_open>:                                               
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000a3fc:	e92d4007 	push	{r0, r1, r2, lr}                             
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
a000a400:	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;                                        
a000a404:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
a000a408:	e88d000b 	stm	sp, {r0, r1, r3}                              
                                                                      
  status = rtems_io_open(                                             
a000a40c:	e5921054 	ldr	r1, [r2, #84]	; 0x54                          
a000a410:	e5920050 	ldr	r0, [r2, #80]	; 0x50                          
a000a414:	e1a0200d 	mov	r2, sp                                        
a000a418:	eb0003ca 	bl	a000b348 <rtems_io_open>                       
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
a000a41c:	e2503000 	subs	r3, r0, #0                                   
a000a420:	01a00003 	moveq	r0, r3                                      
a000a424:	0a000000 	beq	a000a42c <device_open+0x30>                   
    return rtems_deviceio_errno(status);                              
a000a428:	eb0004f4 	bl	a000b800 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000a42c:	e8bd800e 	pop	{r1, r2, r3, pc}                              
                                                                      
a000a368 <device_read>:                                               
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000a368:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000a36c:	e280500c 	add	r5, r0, #12                                   <== NOT EXECUTED
a000a370:	e8950030 	ldm	r5, {r4, r5}                                  <== NOT EXECUTED
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000a374:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000a378:	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;                                         
a000a37c:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000a380:	e98d0030 	stmib	sp, {r4, r5}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
a000a384:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000a388:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000a38c:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
a000a390:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000a394:	e58dc014 	str	ip, [sp, #20]                                 <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
a000a398:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a000a39c:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          <== NOT EXECUTED
a000a3a0:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          <== NOT EXECUTED
a000a3a4:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a000a3a8:	eb0003fa 	bl	a000b398 <rtems_io_read>                       <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000a3ac:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000a3b0:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000a3b4:	0a000000 	beq	a000a3bc <device_read+0x54>                   <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
a000a3b8:	eb000510 	bl	a000b800 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000a3bc:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a000a3c0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
a000a30c <device_write>:                                              
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000a30c:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000a310:	e280500c 	add	r5, r0, #12                                   
a000a314:	e8950030 	ldm	r5, {r4, r5}                                  
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000a318:	e24dd01c 	sub	sp, sp, #28                                   
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000a31c:	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;                                         
a000a320:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000a324:	e98d0030 	stmib	sp, {r4, r5}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
a000a328:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000a32c:	e3a02000 	mov	r2, #0                                        
a000a330:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a000a334:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000a338:	e58dc014 	str	ip, [sp, #20]                                 
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
a000a33c:	e58d0000 	str	r0, [sp]                                      
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000a340:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000a344:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000a348:	e1a0200d 	mov	r2, sp                                        
a000a34c:	eb000425 	bl	a000b3e8 <rtems_io_write>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000a350:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000a354:	059d0018 	ldreq	r0, [sp, #24]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000a358:	0a000000 	beq	a000a360 <device_write+0x54>                  
    return rtems_deviceio_errno(status);                              
a000a35c:	eb000527 	bl	a000b800 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000a360:	e28dd01c 	add	sp, sp, #28                                   
a000a364:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
a0003284 <drainOutput>:                                               
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a0003284:	e59030b4 	ldr	r3, [r0, #180]	; 0xb4                         
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0003288:	e92d4030 	push	{r4, r5, lr}                                 
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a000328c:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0003290:	e1a04000 	mov	r4, r0                                        
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a0003294:	0a000015 	beq	a00032f0 <drainOutput+0x6c>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003298:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a000329c:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00032a0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
			tty->rawOutBufState = rob_wait;                                    
a00032a4:	e3a05002 	mov	r5, #2                                        <== NOT EXECUTED
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
		rtems_interrupt_disable (level);                                    
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
a00032a8:	ea00000b 	b	a00032dc <drainOutput+0x58>                     <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
a00032ac:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00032b0:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
a00032b4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00032b8:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a00032bc:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a00032c0:	eb0005aa 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
a00032c4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00032c8:	0a000000 	beq	a00032d0 <drainOutput+0x4c>                   <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
a00032cc:	eb00073b 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00032d0:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00032d4:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00032d8:	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) {                
a00032dc:	e5941084 	ldr	r1, [r4, #132]	; 0x84                         <== NOT EXECUTED
a00032e0:	e5942080 	ldr	r2, [r4, #128]	; 0x80                         <== NOT EXECUTED
a00032e4:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a00032e8:	1affffef 	bne	a00032ac <drainOutput+0x28>                   <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00032ec:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a00032f0:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
a0002418 <dup2>:                                                      
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
a0002418:	e92d4070 	push	{r4, r5, r6, lr}                             
a000241c:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0002420:	e1a04001 	mov	r4, r1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002424:	e1a0100d 	mov	r1, sp                                        
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
a0002428:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a000242c:	eb000194 	bl	a0002a84 <fstat>                               
  if ( status == -1 )                                                 
a0002430:	e3700001 	cmn	r0, #1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002434:	e1a0500d 	mov	r5, sp                                        
  if ( status == -1 )                                                 
a0002438:	0a000009 	beq	a0002464 <dup2+0x4c>                          
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
a000243c:	e1a0100d 	mov	r1, sp                                        
a0002440:	e1a00004 	mov	r0, r4                                        
a0002444:	eb00018e 	bl	a0002a84 <fstat>                               
  if ( status == -1 )                                                 
a0002448:	e3700001 	cmn	r0, #1                                        
a000244c:	0a000004 	beq	a0002464 <dup2+0x4c>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
a0002450:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002454:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0002458:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000245c:	eb000086 	bl	a000267c <fcntl>                               <== NOT EXECUTED
a0002460:	ea000000 	b	a0002468 <dup2+0x50>                            <== NOT EXECUTED
a0002464:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a0002468:	e28dd048 	add	sp, sp, #72	; 0x48                            
a000246c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0002d74 <echo>:                                                      
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0002d74:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a0002d78:	e92d4011 	push	{r0, r4, lr}                                 <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0002d7c:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a0002d80:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
a0002d84:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0002d88:	0a000015 	beq	a0002de4 <echo+0x70>                          <== NOT EXECUTED
a0002d8c:	e59f205c 	ldr	r2, [pc, #92]	; a0002df0 <echo+0x7c>          <== NOT EXECUTED
a0002d90:	e2503009 	subs	r3, r0, #9                                   <== NOT EXECUTED
a0002d94:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
a0002d98:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a0002d9c:	e0822000 	add	r2, r2, r0                                    <== NOT EXECUTED
a0002da0:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0002da4:	e01332a2 	ands	r3, r3, r2, lsr #5                           <== NOT EXECUTED
a0002da8:	0a00000d 	beq	a0002de4 <echo+0x70>                          <== NOT EXECUTED
a0002dac:	e350000a 	cmp	r0, #10                                       <== NOT EXECUTED
a0002db0:	0a00000b 	beq	a0002de4 <echo+0x70>                          <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
a0002db4:	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] = '^';                                                   
a0002db8:	e3a0c05e 	mov	ip, #94	; 0x5e                                <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
a0002dbc:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0002dc0:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0002dc4:	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;                                              
a0002dc8:	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] = '^';                                                   
a0002dcc:	e5cdc000 	strb	ip, [sp]                                     <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
a0002dd0:	ebffff4c 	bl	a0002b08 <rtems_termios_puts>                  <== NOT EXECUTED
		tty->column += 2;                                                   
a0002dd4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002dd8:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
a0002ddc:	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')) {
a0002de0:	ea000001 	b	a0002dec <echo+0x78>                            <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
a0002de4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0002de8:	ebffff8b 	bl	a0002c1c <oproc>                               <== NOT EXECUTED
	}                                                                    
}                                                                     
a0002dec:	e8bd8018 	pop	{r3, r4, pc}                                  <== NOT EXECUTED
a0002df0:	a00175fc 	.word	0xa00175fc                                  
                                                                      
a0022210 <endgrent>:                                                  
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
  if (group_fp != NULL)                                               
a0022210:	e59f300c 	ldr	r3, [pc, #12]	; a0022224 <endgrent+0x14>      <== NOT EXECUTED
a0022214:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a0022218:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a002221c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(group_fp);                                                 
a0022220:	ea0058c8 	b	a0038548 <fclose>                               <== NOT EXECUTED
a0022224:	a005f874 	.word	0xa005f874                                  
                                                                      
a0022228 <endpwent>:                                                  
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
  if (passwd_fp != NULL)                                              
a0022228:	e59f300c 	ldr	r3, [pc, #12]	; a002223c <endpwent+0x14>      <== NOT EXECUTED
a002222c:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
a0022230:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0022234:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(passwd_fp);                                                
a0022238:	ea0058c2 	b	a0038548 <fclose>                               <== NOT EXECUTED
a002223c:	a005f874 	.word	0xa005f874                                  
                                                                      
a0002df4 <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)                                                
a0002df4:	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)                   
{                                                                     
a0002df8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
	if (tty->ccount == 0)                                                
a0002dfc:	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)                   
{                                                                     
a0002e00:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0002e04:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
	if (tty->ccount == 0)                                                
a0002e08:	0a000069 	beq	a0002fb4 <erase+0x1c0>                        <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
a0002e0c:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a0002e10:	0a000063 	beq	a0002fa4 <erase+0x1b0>                        <== NOT EXECUTED
		if (!(tty->termios.c_lflag & ECHO)) {                               
a0002e14:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          <== NOT EXECUTED
a0002e18:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
a0002e1c:	1a000001 	bne	a0002e28 <erase+0x34>                         <== NOT EXECUTED
			tty->ccount = 0;                                                   
a0002e20:	e5802020 	str	r2, [r0, #32]                                 <== NOT EXECUTED
			return;                                                            
a0002e24:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
a0002e28:	e2133010 	ands	r3, r3, #16                                  <== NOT EXECUTED
a0002e2c:	1a00005c 	bne	a0002fa4 <erase+0x1b0>                        <== NOT EXECUTED
			tty->ccount = 0;                                                   
a0002e30:	e5803020 	str	r3, [r0, #32]                                 <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
a0002e34:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0002e38:	e5d00044 	ldrb	r0, [r0, #68]	; 0x44                         <== NOT EXECUTED
a0002e3c:	ebffffcc 	bl	a0002d74 <echo>                                <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
a0002e40:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0002e44:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
				echo ('\n', tty);                                                 
a0002e48:	11a01004 	movne	r1, r4                                      <== NOT EXECUTED
a0002e4c:	13a0000a 	movne	r0, #10                                     <== NOT EXECUTED
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
			tty->ccount = 0;                                                   
			echo (tty->termios.c_cc[VKILL], tty);                              
			if (tty->termios.c_lflag & ECHOK)                                  
a0002e50:	0a000057 	beq	a0002fb4 <erase+0x1c0>                        <== NOT EXECUTED
a0002e54:	ea00000c 	b	a0002e8c <erase+0x98>                           <== NOT EXECUTED
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
a0002e58:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
a0002e5c:	e594201c 	ldr	r2, [r4, #28]                                 <== NOT EXECUTED
a0002e60:	e2411001 	sub	r1, r1, #1                                    <== NOT EXECUTED
a0002e64:	e5841020 	str	r1, [r4, #32]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
a0002e68:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
a0002e6c:	e7d25001 	ldrb	r5, [r2, r1]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
a0002e70:	0a000048 	beq	a0002f98 <erase+0x1a4>                        <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
a0002e74:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0002e78:	1a000005 	bne	a0002e94 <erase+0xa0>                         <== NOT EXECUTED
a0002e7c:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a0002e80:	1a000003 	bne	a0002e94 <erase+0xa0>                         <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
a0002e84:	e5d40043 	ldrb	r0, [r4, #67]	; 0x43                         <== NOT EXECUTED
a0002e88:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
a0002e8c:	e8bd41f0 	pop	{r4, r5, r6, r7, r8, lr}                      <== NOT EXECUTED
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
				echo (tty->termios.c_cc[VERASE], tty);                            
a0002e90:	eaffffb7 	b	a0002d74 <echo>                                 <== NOT EXECUTED
			}                                                                  
			else if (c == '\t') {                                              
a0002e94:	e3550009 	cmp	r5, #9                                        <== NOT EXECUTED
a0002e98:	1a000020 	bne	a0002f20 <erase+0x12c>                        <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
						if (tty->termios.c_lflag & ECHOCTL)                             
a0002e9c:	e2033c02 	and	r3, r3, #512	; 0x200                          <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO) {                                  
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
				int col = tty->read_start_column;                                 
a0002ea0:	e594502c 	ldr	r5, [r4, #44]	; 0x2c                          <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a0002ea4:	e596c000 	ldr	ip, [r6]                                      <== NOT EXECUTED
a0002ea8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a0002eac:	ea00000d 	b	a0002ee8 <erase+0xf4>                           <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
a0002eb0:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
a0002eb4:	e7d00002 	ldrb	r0, [r0, r2]                                 <== NOT EXECUTED
					if (c == '\t') {                                                 
a0002eb8:	e3500009 	cmp	r0, #9                                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a0002ebc:	e08c8000 	add	r8, ip, r0                                    <== NOT EXECUTED
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
a0002ec0:	03855007 	orreq	r5, r5, #7                                  <== NOT EXECUTED
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
a0002ec4:	0a000005 	beq	a0002ee0 <erase+0xec>                         <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a0002ec8:	e5d80001 	ldrb	r0, [r8, #1]                                 <== NOT EXECUTED
a0002ecc:	e3100020 	tst	r0, #32                                       <== NOT EXECUTED
a0002ed0:	0a000002 	beq	a0002ee0 <erase+0xec>                         <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
a0002ed4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
							col += 2;                                                      
a0002ed8:	12855002 	addne	r5, r5, #2                                  <== NOT EXECUTED
a0002edc:	ea000000 	b	a0002ee4 <erase+0xf0>                           <== NOT EXECUTED
					}                                                                
					else {                                                           
						col++;                                                          
a0002ee0:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
a0002ee4:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a0002ee8:	e1520001 	cmp	r2, r1                                        <== NOT EXECUTED
a0002eec:	1affffef 	bne	a0002eb0 <erase+0xbc>                         <== NOT EXECUTED
a0002ef0:	ea000004 	b	a0002f08 <erase+0x114>                          <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
					rtems_termios_puts ("\b", 1, tty);                               
a0002ef4:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0002ef8:	ebffff02 	bl	a0002b08 <rtems_termios_puts>                  <== NOT EXECUTED
					tty->column--;                                                   
a0002efc:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002f00:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0002f04:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a0002f08:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
a0002f0c:	e59f00a4 	ldr	r0, [pc, #164]	; a0002fb8 <erase+0x1c4>       <== NOT EXECUTED
a0002f10:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a0002f14:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a0002f18:	cafffff5 	bgt	a0002ef4 <erase+0x100>                        <== NOT EXECUTED
a0002f1c:	ea00001d 	b	a0002f98 <erase+0x1a4>                          <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
a0002f20:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a0002f24:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
a0002f28:	e7d22005 	ldrb	r2, [r2, r5]                                 <== NOT EXECUTED
a0002f2c:	e3120020 	tst	r2, #32                                       <== NOT EXECUTED
a0002f30:	0a000009 	beq	a0002f5c <erase+0x168>                        <== NOT EXECUTED
a0002f34:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a0002f38:	0a000007 	beq	a0002f5c <erase+0x168>                        <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
a0002f3c:	e59f0078 	ldr	r0, [pc, #120]	; a0002fbc <erase+0x1c8>       <== NOT EXECUTED
a0002f40:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0002f44:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0002f48:	ebfffeee 	bl	a0002b08 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a0002f4c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002f50:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a0002f54:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0002f58:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
a0002f5c:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a0002f60:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a0002f64:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0002f68:	0a000002 	beq	a0002f78 <erase+0x184>                        <== NOT EXECUTED
a0002f6c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0002f70:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a0002f74:	0a000007 	beq	a0002f98 <erase+0x1a4>                        <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
a0002f78:	e59f003c 	ldr	r0, [pc, #60]	; a0002fbc <erase+0x1c8>        <== NOT EXECUTED
a0002f7c:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0002f80:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0002f84:	ebfffedf 	bl	a0002b08 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a0002f88:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002f8c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a0002f90:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0002f94:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
a0002f98:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0002f9c:	1a000001 	bne	a0002fa8 <erase+0x1b4>                        <== NOT EXECUTED
a0002fa0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
a0002fa4:	e59f6014 	ldr	r6, [pc, #20]	; a0002fc0 <erase+0x1cc>        <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
a0002fa8:	e5941020 	ldr	r1, [r4, #32]                                 <== NOT EXECUTED
a0002fac:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a0002fb0:	1affffa8 	bne	a0002e58 <erase+0x64>                         <== NOT EXECUTED
a0002fb4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
a0002fb8:	a00183c7 	.word	0xa00183c7                                  
a0002fbc:	a00183c5 	.word	0xa00183c5                                  
a0002fc0:	a00175fc 	.word	0xa00175fc                                  
                                                                      
a00331c0 <fchdir>:                                                    
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
a00331c0:	e59f3160 	ldr	r3, [pc, #352]	; a0033328 <fchdir+0x168>      <== NOT EXECUTED
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
a00331c4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
a00331c8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
a00331cc:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
a00331d0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00331d4:	2a000005 	bcs	a00331f0 <fchdir+0x30>                        <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
a00331d8:	e59f314c 	ldr	r3, [pc, #332]	; a003332c <fchdir+0x16c>      <== NOT EXECUTED
a00331dc:	e5938000 	ldr	r8, [r3]                                      <== NOT EXECUTED
a00331e0:	e0888300 	add	r8, r8, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
a00331e4:	e5983014 	ldr	r3, [r8, #20]                                 <== NOT EXECUTED
a00331e8:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a00331ec:	1a000002 	bne	a00331fc <fchdir+0x3c>                        <== NOT EXECUTED
a00331f0:	eb001487 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a00331f4:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00331f8:	ea000015 	b	a0033254 <fchdir+0x94>                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a00331fc:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0033200:	1a000002 	bne	a0033210 <fchdir+0x50>                        <== NOT EXECUTED
a0033204:	eb001482 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0033208:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a003320c:	ea000010 	b	a0033254 <fchdir+0x94>                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if ( !iop->pathinfo.ops ) {                                         
a0033210:	e5983024 	ldr	r3, [r8, #36]	; 0x24                          <== NOT EXECUTED
a0033214:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0033218:	0a000002 	beq	a0033228 <fchdir+0x68>                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if ( !iop->pathinfo.ops->node_type_h ) {                            
a003321c:	e5933010 	ldr	r3, [r3, #16]                                 <== NOT EXECUTED
a0033220:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0033224:	1a000002 	bne	a0033234 <fchdir+0x74>                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0033228:	eb001479 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a003322c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0033230:	ea000007 	b	a0033254 <fchdir+0x94>                          <== NOT EXECUTED
  }                                                                   
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
a0033234:	e2888018 	add	r8, r8, #24                                   <== NOT EXECUTED
a0033238:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a003323c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0033240:	e3500001 	cmp	r0, #1                                        <== NOT EXECUTED
a0033244:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
a0033248:	0a000004 	beq	a0033260 <fchdir+0xa0>                        <== NOT EXECUTED
                                          RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a003324c:	eb001470 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0033250:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0033254:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0033258:	e3e0c000 	mvn	ip, #0                                        <== NOT EXECUTED
a003325c:	ea00002e 	b	a003331c <fchdir+0x15c>                         <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
a0033260:	e59f40c8 	ldr	r4, [pc, #200]	; a0033330 <fchdir+0x170>      <== NOT EXECUTED
a0033264:	e28de004 	add	lr, sp, #4                                    <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a0033268:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
a003326c:	e5945000 	ldr	r5, [r4]                                      <== NOT EXECUTED
a0033270:	e285c004 	add	ip, r5, #4                                    <== NOT EXECUTED
a0033274:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0033278:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a003327c:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
a0033280:	e2855004 	add	r5, r5, #4                                    <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
a0033284:	e58e3000 	str	r3, [lr]                                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
a0033288:	e8b8000f 	ldm	r8!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a003328c:	e8a5000f 	stmia	r5!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0033290:	e5983000 	ldr	r3, [r8]                                      <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a0033294:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0033298:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
  rtems_filesystem_current = iop->pathinfo;                           
a003329c:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a00332a0:	e59f008c 	ldr	r0, [pc, #140]	; a0033334 <fchdir+0x174>      <== NOT EXECUTED
a00332a4:	e28d3018 	add	r3, sp, #24                                   <== NOT EXECUTED
a00332a8:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a00332ac:	ebff44f4 	bl	a0004684 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
a00332b0:	e1500006 	cmp	r0, r6                                        <== NOT EXECUTED
a00332b4:	0a000007 	beq	a00332d8 <fchdir+0x118>                       <== NOT EXECUTED
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
a00332b8:	e5944000 	ldr	r4, [r4]                                      <== NOT EXECUTED
a00332bc:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a00332c0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a00332c4:	e2844004 	add	r4, r4, #4                                    <== NOT EXECUTED
a00332c8:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a00332cc:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
a00332d0:	e3e0c000 	mvn	ip, #0                                        <== NOT EXECUTED
a00332d4:	ea00000f 	b	a0033318 <fchdir+0x158>                         <== NOT EXECUTED
	return -1;                                                           
  }                                                                   
  /* release the old one */                                           
  rtems_filesystem_freenode( &saved );                                
a00332d8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a00332dc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00332e0:	0a000004 	beq	a00332f8 <fchdir+0x138>                       <== NOT EXECUTED
a00332e4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00332e8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00332ec:	0a000001 	beq	a00332f8 <fchdir+0x138>                       <== NOT EXECUTED
a00332f0:	e28d0004 	add	r0, sp, #4                                    <== NOT EXECUTED
a00332f4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  rtems_filesystem_current = loc;                                     
a00332f8:	e59fc030 	ldr	ip, [pc, #48]	; a0033330 <fchdir+0x170>       <== NOT EXECUTED
a00332fc:	e28d5018 	add	r5, sp, #24                                   <== NOT EXECUTED
a0033300:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0033304:	e59c4000 	ldr	r4, [ip]                                      <== NOT EXECUTED
a0033308:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a003330c:	e2844004 	add	r4, r4, #4                                    <== NOT EXECUTED
a0033310:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0033314:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0033318:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a003331c:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
a0033320:	e28dd02c 	add	sp, sp, #44	; 0x2c                            <== NOT EXECUTED
a0033324:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
a0033328:	a0052310 	.word	0xa0052310                                  
a003332c:	a005fd5c 	.word	0xa005fd5c                                  
a0033330:	a0052628 	.word	0xa0052628                                  
a0033334:	a0057a88 	.word	0xa0057a88                                  
                                                                      
a0021e80 <fchmod>:                                                    
  mode_t    mode                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0021e80:	e59f307c 	ldr	r3, [pc, #124]	; a0021f04 <fchmod+0x84>       <== NOT EXECUTED
                                                                      
int fchmod(                                                           
  int       fd,                                                       
  mode_t    mode                                                      
)                                                                     
{                                                                     
a0021e84:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0021e88:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0021e8c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0021e90:	2a000005 	bcs	a0021eac <fchmod+0x2c>                        <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
a0021e94:	e59f306c 	ldr	r3, [pc, #108]	; a0021f08 <fchmod+0x88>       <== NOT EXECUTED
a0021e98:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0021e9c:	e0833300 	add	r3, r3, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
a0021ea0:	e5932014 	ldr	r2, [r3, #20]                                 <== NOT EXECUTED
a0021ea4:	e3120c01 	tst	r2, #256	; 0x100                              <== NOT EXECUTED
a0021ea8:	1a000002 	bne	a0021eb8 <fchmod+0x38>                        <== NOT EXECUTED
a0021eac:	eb005958 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021eb0:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0021eb4:	ea00000a 	b	a0021ee4 <fchmod+0x64>                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0021eb8:	e3120004 	tst	r2, #4                                        <== NOT EXECUTED
a0021ebc:	1a000002 	bne	a0021ecc <fchmod+0x4c>                        <== NOT EXECUTED
a0021ec0:	eb005953 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021ec4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0021ec8:	ea000005 	b	a0021ee4 <fchmod+0x64>                          <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fchmod_h )                                     
a0021ecc:	e593203c 	ldr	r2, [r3, #60]	; 0x3c                          <== NOT EXECUTED
a0021ed0:	e592201c 	ldr	r2, [r2, #28]                                 <== NOT EXECUTED
a0021ed4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0021ed8:	1a000004 	bne	a0021ef0 <fchmod+0x70>                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0021edc:	eb00594c 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021ee0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0021ee4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0021ee8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0021eec:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
a0021ef0:	e2830018 	add	r0, r3, #24                                   <== NOT EXECUTED
a0021ef4:	e5933020 	ldr	r3, [r3, #32]                                 <== NOT EXECUTED
a0021ef8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0021efc:	e593f01c 	ldr	pc, [r3, #28]                                 <== NOT EXECUTED
}                                                                     
a0021f00:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
a0021f04:	a0052310 	.word	0xa0052310                                  
a0021f08:	a005fd5c 	.word	0xa005fd5c                                  
                                                                      
a0021f0c <fchown>:                                                    
  gid_t group                                                         
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0021f0c:	e59f3084 	ldr	r3, [pc, #132]	; a0021f98 <fchown+0x8c>       <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
a0021f10:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
a0021f14:	e1a02802 	lsl	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0021f18:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
a0021f1c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0021f20:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
a0021f24:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
a0021f28:	e1a02822 	lsr	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0021f2c:	2a000005 	bcs	a0021f48 <fchown+0x3c>                        <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
a0021f30:	e59f3064 	ldr	r3, [pc, #100]	; a0021f9c <fchown+0x90>       <== NOT EXECUTED
a0021f34:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0021f38:	e0830300 	add	r0, r3, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
a0021f3c:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
a0021f40:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0021f44:	1a000002 	bne	a0021f54 <fchown+0x48>                        <== NOT EXECUTED
a0021f48:	eb005931 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021f4c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0021f50:	ea00000a 	b	a0021f80 <fchown+0x74>                          <== NOT EXECUTED
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0021f54:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a0021f58:	1a000002 	bne	a0021f68 <fchown+0x5c>                        <== NOT EXECUTED
a0021f5c:	eb00592c 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021f60:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0021f64:	ea000005 	b	a0021f80 <fchown+0x74>                          <== NOT EXECUTED
                                                                      
  if ( !iop->pathinfo.ops->chown_h )                                  
a0021f68:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          <== NOT EXECUTED
a0021f6c:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a0021f70:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0021f74:	1a000004 	bne	a0021f8c <fchown+0x80>                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0021f78:	eb005925 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0021f7c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0021f80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0021f84:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0021f88:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  return (*iop->pathinfo.ops->chown_h)( &iop->pathinfo, owner, group );
a0021f8c:	e2800018 	add	r0, r0, #24                                   <== NOT EXECUTED
a0021f90:	e12fff33 	blx	r3                                            <== NOT EXECUTED
}                                                                     
a0021f94:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
a0021f98:	a0052310 	.word	0xa0052310                                  
a0021f9c:	a005fd5c 	.word	0xa005fd5c                                  
                                                                      
a0033338 <fcntl>:                                                     
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0033338:	e92d000e 	push	{r1, r2, r3}                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a003333c:	e59f21a4 	ldr	r2, [pc, #420]	; a00334e8 <fcntl+0x1b0>       
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0033340:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0033344:	e5922000 	ldr	r2, [r2]                                      
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a0033348:	e28d301c 	add	r3, sp, #28                                   
a003334c:	e58d3000 	str	r3, [sp]                                      
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0033350:	e1500002 	cmp	r0, r2                                        
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0033354:	e59d7018 	ldr	r7, [sp, #24]                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0033358:	2a000005 	bcs	a0033374 <fcntl+0x3c>                         
  iop = rtems_libio_iop( fd );                                        
a003335c:	e59f1188 	ldr	r1, [pc, #392]	; a00334ec <fcntl+0x1b4>       
a0033360:	e591c000 	ldr	ip, [r1]                                      
a0033364:	e08c4300 	add	r4, ip, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0033368:	e5940014 	ldr	r0, [r4, #20]                                 
a003336c:	e3100c01 	tst	r0, #256	; 0x100                              
a0033370:	1a000002 	bne	a0033380 <fcntl+0x48>                         
a0033374:	eb001426 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0033378:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a003337c:	ea000045 	b	a0033498 <fcntl+0x160>                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
a0033380:	e3570009 	cmp	r7, #9                                        
a0033384:	979ff107 	ldrls	pc, [pc, r7, lsl #2]                        
a0033388:	ea000040 	b	a0033490 <fcntl+0x158>                          
a003338c:	a00333b4 	.word	0xa00333b4                                  <== NOT EXECUTED
a0033390:	a0033420 	.word	0xa0033420                                  <== NOT EXECUTED
a0033394:	a003342c 	.word	0xa003342c                                  <== NOT EXECUTED
a0033398:	a003344c 	.word	0xa003344c                                  <== NOT EXECUTED
a003339c:	a0033458 	.word	0xa0033458                                  <== NOT EXECUTED
a00333a0:	a0033484 	.word	0xa0033484                                  <== NOT EXECUTED
a00333a4:	a0033484 	.word	0xa0033484                                  <== NOT EXECUTED
a00333a8:	a0033484 	.word	0xa0033484                                  <== NOT EXECUTED
a00333ac:	a0033484 	.word	0xa0033484                                  <== NOT EXECUTED
a00333b0:	a0033484 	.word	0xa0033484                                  <== NOT EXECUTED
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
a00333b4:	e5933000 	ldr	r3, [r3]                                      
      if ( fd2 )                                                      
a00333b8:	e3530000 	cmp	r3, #0                                        
a00333bc:	0a000003 	beq	a00333d0 <fcntl+0x98>                         
        diop = rtems_libio_iop( fd2 );                                
a00333c0:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00333c4:	23a0c000 	movcs	ip, #0                                      <== NOT EXECUTED
a00333c8:	308cc303 	addcc	ip, ip, r3, lsl #6                          <== NOT EXECUTED
a00333cc:	ea000002 	b	a00333dc <fcntl+0xa4>                           <== NOT EXECUTED
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
a00333d0:	ebff45c1 	bl	a0004adc <rtems_libio_allocate>                
        if ( diop == 0 ) {                                            
a00333d4:	e250c000 	subs	ip, r0, #0                                   
a00333d8:	0a00003d 	beq	a00334d4 <fcntl+0x19c>                        
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a00333dc:	e28c5018 	add	r5, ip, #24                                   
a00333e0:	e2846018 	add	r6, r4, #24                                   
a00333e4:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
a00333e8:	e8a5000f 	stmia	r5!, {r0, r1, r2, r3}                       
      ret = (int) (diop - rtems_libio_iops);                          
a00333ec:	e59f30f8 	ldr	r3, [pc, #248]	; a00334ec <fcntl+0x1b4>       
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a00333f0:	e5966000 	ldr	r6, [r6]                                      
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
a00333f4:	e594003c 	ldr	r0, [r4, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a00333f8:	e5933000 	ldr	r3, [r3]                                      
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
a00333fc:	e5941038 	ldr	r1, [r4, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
a0033400:	e5942014 	ldr	r2, [r4, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0033404:	e063300c 	rsb	r3, r3, ip                                    
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0033408:	e5856000 	str	r6, [r5]                                      
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
a003340c:	e58c003c 	str	r0, [ip, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
a0033410:	e58c1038 	str	r1, [ip, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
a0033414:	e58c2014 	str	r2, [ip, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0033418:	e1a05343 	asr	r5, r3, #6                                    
a003341c:	ea00001f 	b	a00334a0 <fcntl+0x168>                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
a0033420:	e1a055a0 	lsr	r5, r0, #11                                   
a0033424:	e2055001 	and	r5, r5, #1                                    
a0033428:	ea00001e 	b	a00334a8 <fcntl+0x170>                          
       *  if a new process is exec()'ed.  Since RTEMS does not support
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
a003342c:	e5935000 	ldr	r5, [r3]                                      
a0033430:	e3550000 	cmp	r5, #0                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a0033434:	13800b02 	orrne	r0, r0, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0033438:	03c00b02 	biceq	r0, r0, #2048	; 0x800                       
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a003343c:	15840014 	strne	r0, [r4, #20]                               
a0033440:	13a05000 	movne	r5, #0                                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0033444:	05840014 	streq	r0, [r4, #20]                               
a0033448:	ea000016 	b	a00334a8 <fcntl+0x170>                          
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
a003344c:	ebff4543 	bl	a0004960 <rtems_libio_to_fcntl_flags>          
a0033450:	e1a05000 	mov	r5, r0                                        
a0033454:	ea000011 	b	a00334a0 <fcntl+0x168>                          
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
a0033458:	e5930000 	ldr	r0, [r3]                                      
a003345c:	ebff45c4 	bl	a0004b74 <rtems_libio_fcntl_flags>             
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
a0033460:	e5943014 	ldr	r3, [r4, #20]                                 
a0033464:	e59f2084 	ldr	r2, [pc, #132]	; a00334f0 <fcntl+0x1b8>       
a0033468:	e3a05000 	mov	r5, #0                                        
a003346c:	e3c33c02 	bic	r3, r3, #512	; 0x200                          
a0033470:	e0002002 	and	r2, r0, r2                                    
a0033474:	e3c33001 	bic	r3, r3, #1                                    
a0033478:	e1823003 	orr	r3, r2, r3                                    
a003347c:	e5843014 	str	r3, [r4, #20]                                 
a0033480:	ea000008 	b	a00334a8 <fcntl+0x170>                          
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
a0033484:	eb0013e2 	bl	a0038414 <__errno>                             
a0033488:	e3a03086 	mov	r3, #134	; 0x86                               
a003348c:	ea000001 	b	a0033498 <fcntl+0x160>                          
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
a0033490:	eb0013df 	bl	a0038414 <__errno>                             
a0033494:	e3a03016 	mov	r3, #22                                       
a0033498:	e5803000 	str	r3, [r0]                                      
a003349c:	ea00000c 	b	a00334d4 <fcntl+0x19c>                          
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
a00334a0:	e3550000 	cmp	r5, #0                                        
a00334a4:	ba00000b 	blt	a00334d8 <fcntl+0x1a0>                        
    if (iop->handlers->fcntl_h) {                                     
a00334a8:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a00334ac:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a00334b0:	e3530000 	cmp	r3, #0                                        
a00334b4:	0a000007 	beq	a00334d8 <fcntl+0x1a0>                        
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
a00334b8:	e1a01004 	mov	r1, r4                                        
a00334bc:	e1a00007 	mov	r0, r7                                        
a00334c0:	e12fff33 	blx	r3                                            
      if (err) {                                                      
a00334c4:	e2504000 	subs	r4, r0, #0                                   
a00334c8:	0a000002 	beq	a00334d8 <fcntl+0x1a0>                        
        errno = err;                                                  
a00334cc:	eb0013d0 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a00334d0:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a00334d4:	e3e05000 	mvn	r5, #0                                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
a00334d8:	e1a00005 	mov	r0, r5                                        
a00334dc:	e8bd40f8 	pop	{r3, r4, r5, r6, r7, lr}                      
a00334e0:	e28dd00c 	add	sp, sp, #12                                   
a00334e4:	e12fff1e 	bx	lr                                             
a00334e8:	a0052310 	.word	0xa0052310                                  
a00334ec:	a005fd5c 	.word	0xa005fd5c                                  
a00334f0:	00000201 	.word	0x00000201                                  
                                                                      
a000a940 <fifo_open>:                                                 
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a000a940:	e59f3338 	ldr	r3, [pc, #824]	; a000ac80 <fifo_open+0x340>   
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000a944:	e92d45f3 	push	{r0, r1, r4, r5, r6, r7, r8, sl, lr}         
a000a948:	e1a08001 	mov	r8, r1                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a000a94c:	e3a01000 	mov	r1, #0                                        
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000a950:	e1a07000 	mov	r7, r0                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a000a954:	e1a02001 	mov	r2, r1                                        
a000a958:	e5930000 	ldr	r0, [r3]                                      
a000a95c:	ebffe803 	bl	a0004970 <rtems_semaphore_obtain>              
a000a960:	e250a000 	subs	sl, r0, #0                                   
a000a964:	13e06003 	mvnne	r6, #3                                      
a000a968:	1a0000c2 	bne	a000ac78 <fifo_open+0x338>                    
        RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)            
    return -EINTR;                                                    
                                                                      
  pipe = *pipep;                                                      
a000a96c:	e5974000 	ldr	r4, [r7]                                      <== NOT EXECUTED
  if (pipe == NULL) {                                                 
a000a970:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a000a974:	1a00003e 	bne	a000aa74 <fifo_open+0x134>                    <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a000a978:	e3a00034 	mov	r0, #52	; 0x34                                <== NOT EXECUTED
a000a97c:	ebffdc6d 	bl	a0001b38 <malloc>                              <== NOT EXECUTED
  if (pipe == NULL)                                                   
a000a980:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a000a984:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a000a988:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  if (pipe == NULL)                                                   
a000a98c:	03e0600b 	mvneq	r6, #11                                     <== NOT EXECUTED
a000a990:	0a000046 	beq	a000aab0 <fifo_open+0x170>                    <== NOT EXECUTED
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
a000a994:	e1a0100a 	mov	r1, sl                                        <== NOT EXECUTED
a000a998:	e3a02034 	mov	r2, #52	; 0x34                                <== NOT EXECUTED
a000a99c:	eb0006b1 	bl	a000c468 <memset>                              <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
a000a9a0:	e3a03c02 	mov	r3, #512	; 0x200                              <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
a000a9a4:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
a000a9a8:	e5853004 	str	r3, [r5, #4]                                  <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
a000a9ac:	ebffdc61 	bl	a0001b38 <malloc>                              <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
a000a9b0:	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);                                  
a000a9b4:	e5850000 	str	r0, [r5]                                      <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
a000a9b8:	03e0600b 	mvneq	r6, #11                                     <== NOT EXECUTED
a000a9bc:	0a000029 	beq	a000aa68 <fifo_open+0x128>                    <== NOT EXECUTED
    goto err_buf;                                                     
                                                                      
  err = -EINTR;                                                       
  if (rtems_barrier_create(                                           
a000a9c0:	e59f62bc 	ldr	r6, [pc, #700]	; a000ac84 <fifo_open+0x344>   <== NOT EXECUTED
a000a9c4:	e59f02bc 	ldr	r0, [pc, #700]	; a000ac88 <fifo_open+0x348>   <== NOT EXECUTED
a000a9c8:	e1a0100a 	mov	r1, sl                                        <== NOT EXECUTED
a000a9cc:	e5d6c000 	ldrb	ip, [r6]                                     <== NOT EXECUTED
a000a9d0:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a000a9d4:	e285302c 	add	r3, r5, #44	; 0x2c                            <== NOT EXECUTED
a000a9d8:	e18c0000 	orr	r0, ip, r0                                    <== NOT EXECUTED
a000a9dc:	eb000169 	bl	a000af88 <rtems_barrier_create>                <== NOT EXECUTED
a000a9e0:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
a000a9e4:	1a00001c 	bne	a000aa5c <fifo_open+0x11c>                    <== 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(                                           
a000a9e8:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
a000a9ec:	e59f0298 	ldr	r0, [pc, #664]	; a000ac8c <fifo_open+0x34c>   <== NOT EXECUTED
a000a9f0:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000a9f4:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
a000a9f8:	e2853030 	add	r3, r5, #48	; 0x30                            <== NOT EXECUTED
a000a9fc:	eb000161 	bl	a000af88 <rtems_barrier_create>                <== NOT EXECUTED
a000aa00:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000aa04:	1a000012 	bne	a000aa54 <fifo_open+0x114>                    <== 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(                                         
a000aa08:	e5d62000 	ldrb	r2, [r6]                                     <== NOT EXECUTED
a000aa0c:	e59f027c 	ldr	r0, [pc, #636]	; a000ac90 <fifo_open+0x350>   <== NOT EXECUTED
a000aa10:	e285c028 	add	ip, r5, #40	; 0x28                            <== NOT EXECUTED
a000aa14:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000aa18:	e1820000 	orr	r0, r2, r0                                    <== NOT EXECUTED
a000aa1c:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
a000aa20:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000aa24:	ebffe73f 	bl	a0004728 <rtems_semaphore_create>              <== NOT EXECUTED
a000aa28:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000aa2c:	1a000006 	bne	a000aa4c <fifo_open+0x10c>                    <== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
a000aa30:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
a000aa34:	e353007a 	cmp	r3, #122	; 0x7a                               <== NOT EXECUTED
a000aa38:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000aa3c:	e5c63000 	strb	r3, [r6]                                     <== NOT EXECUTED
    c = 'a';                                                          
a000aa40:	03a03061 	moveq	r3, #97	; 0x61                              <== NOT EXECUTED
a000aa44:	05c63000 	strbeq	r3, [r6]                                   <== NOT EXECUTED
a000aa48:	ea000009 	b	a000aa74 <fifo_open+0x134>                      <== NOT EXECUTED
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
a000aa4c:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a000aa50:	eb00017a 	bl	a000b040 <rtems_barrier_delete>                <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
a000aa54:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a000aa58:	eb000178 	bl	a000b040 <rtems_barrier_delete>                <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
a000aa5c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000aa60:	ebffdb73 	bl	a0001834 <free>                                <== NOT EXECUTED
a000aa64:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
a000aa68:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000aa6c:	ebffdb70 	bl	a0001834 <free>                                <== NOT EXECUTED
a000aa70:	ea00000e 	b	a000aab0 <fifo_open+0x170>                      <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000aa74:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000aa78:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000aa7c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000aa80:	ebffe7ba 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a000aa84:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000aa88:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000aa8c:	01a06000 	moveq	r6, r0                                      <== NOT EXECUTED
a000aa90:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a000aa94:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000aa98:	1a000004 	bne	a000aab0 <fifo_open+0x170>                    <== NOT EXECUTED
    if (err)                                                          
a000aa9c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
a000aaa0:	05874000 	streq	r4, [r7]                                    <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
a000aaa4:	0a000001 	beq	a000aab0 <fifo_open+0x170>                    <== NOT EXECUTED
      pipe_free(pipe);                                                
a000aaa8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000aaac:	ebffff57 	bl	a000a810 <pipe_free>                           <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000aab0:	e59f31c8 	ldr	r3, [pc, #456]	; a000ac80 <fifo_open+0x340>   <== NOT EXECUTED
a000aab4:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a000aab8:	ebffe7f2 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
  pipe_control_t *pipe;                                               
  uint prevCounter;                                                   
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
a000aabc:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000aac0:	1a00006c 	bne	a000ac78 <fifo_open+0x338>                    <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a000aac4:	e5982014 	ldr	r2, [r8, #20]                                 <== NOT EXECUTED
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
a000aac8:	e5974000 	ldr	r4, [r7]                                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a000aacc:	e2023006 	and	r3, r2, #6                                    <== NOT EXECUTED
a000aad0:	e3530004 	cmp	r3, #4                                        <== NOT EXECUTED
a000aad4:	0a000025 	beq	a000ab70 <fifo_open+0x230>                    <== NOT EXECUTED
a000aad8:	e3530006 	cmp	r3, #6                                        <== NOT EXECUTED
a000aadc:	0a000048 	beq	a000ac04 <fifo_open+0x2c4>                    <== NOT EXECUTED
a000aae0:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a000aae4:	1a00005c 	bne	a000ac5c <fifo_open+0x31c>                    <== NOT EXECUTED
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a000aae8:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000aaec:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000aaf0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000aaf4:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000aaf8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000aafc:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000ab00:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
a000ab04:	1a000002 	bne	a000ab14 <fifo_open+0x1d4>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
a000ab08:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000ab0c:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a000ab10:	eb000162 	bl	a000b0a0 <rtems_barrier_release>               <== NOT EXECUTED
                                                                      
      if (pipe->Writers == 0) {                                       
a000ab14:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a000ab18:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ab1c:	1a00004e 	bne	a000ac5c <fifo_open+0x31c>                    <== NOT EXECUTED
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
a000ab20:	e5983014 	ldr	r3, [r8, #20]                                 <== NOT EXECUTED
a000ab24:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a000ab28:	1a00004b 	bne	a000ac5c <fifo_open+0x31c>                    <== NOT EXECUTED
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
a000ab2c:	e5945024 	ldr	r5, [r4, #36]	; 0x24                          <== NOT EXECUTED
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a000ab30:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000ab34:	ebffe7d3 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
a000ab38:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000ab3c:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000ab40:	eb00016c 	bl	a000b0f8 <rtems_barrier_wait>                  <== NOT EXECUTED
a000ab44:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000ab48:	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))                                  
a000ab4c:	1a000045 	bne	a000ac68 <fifo_open+0x328>                    <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000ab50:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000ab54:	ebffe785 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000ab58:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000ab5c:	1a000041 	bne	a000ac68 <fifo_open+0x328>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
a000ab60:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
a000ab64:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
a000ab68:	0afffff0 	beq	a000ab30 <fifo_open+0x1f0>                    <== NOT EXECUTED
a000ab6c:	ea00003a 	b	a000ac5c <fifo_open+0x31c>                      <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a000ab70:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
a000ab74:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ab78:	1a000002 	bne	a000ab88 <fifo_open+0x248>                    <== NOT EXECUTED
a000ab7c:	e3120001 	tst	r2, #1                                        <== NOT EXECUTED
a000ab80:	13e06005 	mvnne	r6, #5                                      <== NOT EXECUTED
a000ab84:	1a000038 	bne	a000ac6c <fifo_open+0x32c>                    <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
a000ab88:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
a000ab8c:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000ab90:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
a000ab94:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000ab98:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
a000ab9c:	e5842024 	str	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000aba0:	e5843014 	str	r3, [r4, #20]                                 <== NOT EXECUTED
a000aba4:	1a000002 	bne	a000abb4 <fifo_open+0x274>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
a000aba8:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000abac:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a000abb0:	eb00013a 	bl	a000b0a0 <rtems_barrier_release>               <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
a000abb4:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
a000abb8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000abbc:	1a000026 	bne	a000ac5c <fifo_open+0x31c>                    <== NOT EXECUTED
        prevCounter = pipe->readerCounter;                            
a000abc0:	e5945020 	ldr	r5, [r4, #32]                                 <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a000abc4:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000abc8:	ebffe7ae 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
a000abcc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000abd0:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000abd4:	eb000147 	bl	a000b0f8 <rtems_barrier_wait>                  <== NOT EXECUTED
a000abd8:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000abdc:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
a000abe0:	1a000020 	bne	a000ac68 <fifo_open+0x328>                    <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000abe4:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000abe8:	ebffe760 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000abec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000abf0:	1a00001c 	bne	a000ac68 <fifo_open+0x328>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
a000abf4:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a000abf8:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
a000abfc:	0afffff0 	beq	a000abc4 <fifo_open+0x284>                    <== NOT EXECUTED
a000ac00:	ea000015 	b	a000ac5c <fifo_open+0x31c>                      <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a000ac04:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000ac08:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000ac0c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000ac10:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000ac14:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000ac18:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000ac1c:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
a000ac20:	1a000002 	bne	a000ac30 <fifo_open+0x2f0>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
a000ac24:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000ac28:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a000ac2c:	eb00011b 	bl	a000b0a0 <rtems_barrier_release>               <== NOT EXECUTED
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
a000ac30:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000ac34:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000ac38:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000ac3c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000ac40:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000ac44:	e5842024 	str	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000ac48:	e5843014 	str	r3, [r4, #20]                                 <== NOT EXECUTED
a000ac4c:	1a000002 	bne	a000ac5c <fifo_open+0x31c>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
a000ac50:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000ac54:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a000ac58:	eb000110 	bl	a000b0a0 <rtems_barrier_release>               <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a000ac5c:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000ac60:	ebffe788 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
  return 0;                                                           
a000ac64:	ea000003 	b	a000ac78 <fifo_open+0x338>                      <== NOT EXECUTED
a000ac68:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
a000ac6c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000ac70:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a000ac74:	ebfffef2 	bl	a000a844 <pipe_release>                        <== NOT EXECUTED
  return err;                                                         
}                                                                     
a000ac78:	e1a00006 	mov	r0, r6                                        
a000ac7c:	e8bd85fc 	pop	{r2, r3, r4, r5, r6, r7, r8, sl, pc}          
a000ac80:	a001897c 	.word	0xa001897c                                  
a000ac84:	a00175e8 	.word	0xa00175e8                                  
a000ac88:	50497200 	.word	0x50497200                                  
a000ac8c:	50497700 	.word	0x50497700                                  
a000ac90:	50497300 	.word	0x50497300                                  
                                                                      
a0023acc <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;        
a0023acc:	e59f3030 	ldr	r3, [pc, #48]	; a0023b04 <file_systems_below_this_mountpoint+0x38><== NOT EXECUTED
a0023ad0:	e4932004 	ldr	r2, [r3], #4                                  <== NOT EXECUTED
a0023ad4:	ea000006 	b	a0023af4 <file_systems_below_this_mountpoint+0x28><== NOT EXECUTED
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
a0023ad8:	e592c018 	ldr	ip, [r2, #24]                                 <== NOT EXECUTED
a0023adc:	e5910010 	ldr	r0, [r1, #16]                                 <== NOT EXECUTED
a0023ae0:	e15c0000 	cmp	ip, r0                                        <== NOT EXECUTED
a0023ae4:	1a000001 	bne	a0023af0 <file_systems_below_this_mountpoint+0x24><== NOT EXECUTED
a0023ae8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0023aec:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
a0023af0:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a0023af4:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0023af8:	1afffff6 	bne	a0023ad8 <file_systems_below_this_mountpoint+0xc><== NOT EXECUTED
a0023afc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        return true;                                                  
     }                                                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
a0023b00:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0023b04:	a005fda0 	.word	0xa005fda0                                  
                                                                      
a00028c8 <fpathconf>:                                                 
{                                                                     
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
a00028c8:	e59f3100 	ldr	r3, [pc, #256]	; a00029d0 <fpathconf+0x108>   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
a00028cc:	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);                                           
a00028d0:	e5933000 	ldr	r3, [r3]                                      
a00028d4:	e1500003 	cmp	r0, r3                                        
a00028d8:	2a000005 	bcs	a00028f4 <fpathconf+0x2c>                     
  iop = rtems_libio_iop(fd);                                          
a00028dc:	e59f30f0 	ldr	r3, [pc, #240]	; a00029d4 <fpathconf+0x10c>   
a00028e0:	e5933000 	ldr	r3, [r3]                                      
a00028e4:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a00028e8:	e5903014 	ldr	r3, [r0, #20]                                 
a00028ec:	e3130c01 	tst	r3, #256	; 0x100                              
a00028f0:	1a000002 	bne	a0002900 <fpathconf+0x38>                     
a00028f4:	eb002e0c 	bl	a000e12c <__errno>                             
a00028f8:	e3a03009 	mov	r3, #9                                        
a00028fc:	ea000003 	b	a0002910 <fpathconf+0x48>                       
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0002900:	e3130002 	tst	r3, #2                                        
a0002904:	1a000004 	bne	a000291c <fpathconf+0x54>                     
a0002908:	eb002e07 	bl	a000e12c <__errno>                             <== NOT EXECUTED
a000290c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002910:	e5803000 	str	r3, [r0]                                      
a0002914:	e3e00000 	mvn	r0, #0                                        
a0002918:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
a000291c:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          
                                                                      
  switch ( name ) {                                                   
a0002920:	e351000b 	cmp	r1, #11                                       
a0002924:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
a0002928:	ea000023 	b	a00029bc <fpathconf+0xf4>                       
a000292c:	a000295c 	.word	0xa000295c                                  <== NOT EXECUTED
a0002930:	a0002964 	.word	0xa0002964                                  <== NOT EXECUTED
a0002934:	a000296c 	.word	0xa000296c                                  <== NOT EXECUTED
a0002938:	a0002974 	.word	0xa0002974                                  <== NOT EXECUTED
a000293c:	a000297c 	.word	0xa000297c                                  <== NOT EXECUTED
a0002940:	a0002984 	.word	0xa0002984                                  <== NOT EXECUTED
a0002944:	a000298c 	.word	0xa000298c                                  <== NOT EXECUTED
a0002948:	a0002994 	.word	0xa0002994                                  <== NOT EXECUTED
a000294c:	a000299c 	.word	0xa000299c                                  <== NOT EXECUTED
a0002950:	a00029a4 	.word	0xa00029a4                                  <== NOT EXECUTED
a0002954:	a00029ac 	.word	0xa00029ac                                  <== NOT EXECUTED
a0002958:	a00029b4 	.word	0xa00029b4                                  <== NOT EXECUTED
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
a000295c:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          
      break;                                                          
a0002960:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
a0002964:	e593003c 	ldr	r0, [r3, #60]	; 0x3c                          
      break;                                                          
a0002968:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
a000296c:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          
      break;                                                          
a0002970:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
a0002974:	e5930044 	ldr	r0, [r3, #68]	; 0x44                          
      break;                                                          
a0002978:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
a000297c:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
      break;                                                          
a0002980:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
a0002984:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
      break;                                                          
a0002988:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
a000298c:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
      break;                                                          
a0002990:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
a0002994:	e5930058 	ldr	r0, [r3, #88]	; 0x58                          
      break;                                                          
a0002998:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
a000299c:	e5930064 	ldr	r0, [r3, #100]	; 0x64                         
      break;                                                          
a00029a0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
a00029a4:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
      break;                                                          
a00029a8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
a00029ac:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
      break;                                                          
a00029b0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
a00029b4:	e5930060 	ldr	r0, [r3, #96]	; 0x60                          
      break;                                                          
a00029b8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a00029bc:	eb002dda 	bl	a000e12c <__errno>                             
a00029c0:	e3a03016 	mov	r3, #22                                       
a00029c4:	e5803000 	str	r3, [r0]                                      
a00029c8:	e3e00000 	mvn	r0, #0                                        
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
a00029cc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
a00029d0:	a001ad70 	.word	0xa001ad70                                  
a00029d4:	a001c924 	.word	0xa001c924                                  
                                                                      
a0001834 <free>:                                                      
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
a0001834:	e59f3090 	ldr	r3, [pc, #144]	; a00018cc <free+0x98>         
a0001838:	e92d4030 	push	{r4, r5, lr}                                 
a000183c:	e593200c 	ldr	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a0001840:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
a0001844:	e2822001 	add	r2, r2, #1                                    
a0001848:	e583200c 	str	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a000184c:	0a00001d 	beq	a00018c8 <free+0x94>                          
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0001850:	e59f3078 	ldr	r3, [pc, #120]	; a00018d0 <free+0x9c>         
a0001854:	e5933000 	ldr	r3, [r3]                                      
a0001858:	e3530003 	cmp	r3, #3                                        
a000185c:	1a000005 	bne	a0001878 <free+0x44>                          
a0001860:	eb000057 	bl	a00019c4 <malloc_is_system_state_OK>           
a0001864:	e3500000 	cmp	r0, #0                                        
a0001868:	1a000002 	bne	a0001878 <free+0x44>                          
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
a000186c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a0001870:	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);                                      
a0001874:	ea000065 	b	a0001a10 <malloc_deferred_free>                 <== NOT EXECUTED
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0001878:	e59f3054 	ldr	r3, [pc, #84]	; a00018d4 <free+0xa0>          
a000187c:	e5933000 	ldr	r3, [r3]                                      
a0001880:	e3530000 	cmp	r3, #0                                        
a0001884:	0a000002 	beq	a0001894 <free+0x60>                          
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
a0001888:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000188c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0001890:	e593f008 	ldr	pc, [r3, #8]                                  <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
a0001894:	e59f503c 	ldr	r5, [pc, #60]	; a00018d8 <free+0xa4>          
a0001898:	e1a01004 	mov	r1, r4                                        
a000189c:	e5950000 	ldr	r0, [r5]                                      
a00018a0:	eb00126f 	bl	a0006264 <_Protected_heap_Free>                
a00018a4:	e3500000 	cmp	r0, #0                                        
a00018a8:	1a000006 	bne	a00018c8 <free+0x94>                          
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
a00018ac:	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",
a00018b0:	e59f0024 	ldr	r0, [pc, #36]	; a00018dc <free+0xa8>          <== NOT EXECUTED
a00018b4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00018b8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00018bc:	e5922018 	ldr	r2, [r2, #24]                                 <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a00018c0:	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",
a00018c4:	ea000327 	b	a0002568 <printk>                               <== NOT EXECUTED
a00018c8:	e8bd8030 	pop	{r4, r5, pc}                                  
a00018cc:	a0018c14 	.word	0xa0018c14                                  
a00018d0:	a0018f10 	.word	0xa0018f10                                  
a00018d4:	a0018848 	.word	0xa0018848                                  
a00018d8:	a00173cc 	.word	0xa00173cc                                  
a00018dc:	a0018382 	.word	0xa0018382                                  
                                                                      
a00231ec <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                                    
a00231ec:	e59f305c 	ldr	r3, [pc, #92]	; a0023250 <free_user_env+0x64> <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a00231f0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
a00231f4:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a00231f8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
a00231fc:	0a000012 	beq	a002324c <free_user_env+0x60>                 <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
a0023200:	e5903010 	ldr	r3, [r0, #16]                                 <== NOT EXECUTED
a0023204:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023208:	0a000004 	beq	a0023220 <free_user_env+0x34>                 <== NOT EXECUTED
a002320c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0023210:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023214:	0a000001 	beq	a0023220 <free_user_env+0x34>                 <== NOT EXECUTED
a0023218:	e2800004 	add	r0, r0, #4                                    <== NOT EXECUTED
a002321c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
a0023220:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
a0023224:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023228:	0a000004 	beq	a0023240 <free_user_env+0x54>                 <== NOT EXECUTED
a002322c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0023230:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023234:	0a000001 	beq	a0023240 <free_user_env+0x54>                 <== NOT EXECUTED
a0023238:	e2840018 	add	r0, r4, #24                                   <== NOT EXECUTED
a002323c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		free(env);                                                          
a0023240:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
	}                                                                    
}                                                                     
a0023244:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
a0023248:	eaff853b 	b	a000473c <free>                                 <== NOT EXECUTED
a002324c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a0023250:	a005fdb8 	.word	0xa005fdb8                                  
                                                                      
a00168a0 <fstat>:                                                     
                                                                      
int fstat(                                                            
  int          fd,                                                    
  struct stat *sbuf                                                   
)                                                                     
{                                                                     
a00168a0:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
a00168a4:	e2515000 	subs	r5, r1, #0                                   
a00168a8:	1a000002 	bne	a00168b8 <fstat+0x18>                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00168ac:	ebffd4a3 	bl	a000bb40 <__errno>                             
a00168b0:	e3a0300e 	mov	r3, #14                                       
a00168b4:	ea000014 	b	a001690c <fstat+0x6c>                           
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
a00168b8:	e59f3080 	ldr	r3, [pc, #128]	; a0016940 <fstat+0xa0>        
a00168bc:	e5933000 	ldr	r3, [r3]                                      
a00168c0:	e1500003 	cmp	r0, r3                                        
a00168c4:	2a000008 	bcs	a00168ec <fstat+0x4c>                         
a00168c8:	e59f3074 	ldr	r3, [pc, #116]	; a0016944 <fstat+0xa4>        
a00168cc:	e5934000 	ldr	r4, [r3]                                      
a00168d0:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
a00168d4:	e5943014 	ldr	r3, [r4, #20]                                 
a00168d8:	e3130c01 	tst	r3, #256	; 0x100                              
a00168dc:	0a000002 	beq	a00168ec <fstat+0x4c>                         
                                                                      
  if ( !iop->handlers )                                               
a00168e0:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a00168e4:	e3530000 	cmp	r3, #0                                        
a00168e8:	1a000002 	bne	a00168f8 <fstat+0x58>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
a00168ec:	ebffd493 	bl	a000bb40 <__errno>                             
a00168f0:	e3a03009 	mov	r3, #9                                        
a00168f4:	ea000004 	b	a001690c <fstat+0x6c>                           
                                                                      
  if ( !iop->handlers->fstat_h )                                      
a00168f8:	e5933018 	ldr	r3, [r3, #24]                                 
a00168fc:	e3530000 	cmp	r3, #0                                        
a0016900:	1a000004 	bne	a0016918 <fstat+0x78>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0016904:	ebffd48d 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0016908:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a001690c:	e5803000 	str	r3, [r0]                                      
a0016910:	e3e00000 	mvn	r0, #0                                        
a0016914:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
a0016918:	e3a01000 	mov	r1, #0                                        
a001691c:	e3a02048 	mov	r2, #72	; 0x48                                
a0016920:	e1a00005 	mov	r0, r5                                        
a0016924:	ebffd6cf 	bl	a000c468 <memset>                              
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
a0016928:	e2840018 	add	r0, r4, #24                                   
a001692c:	e1a01005 	mov	r1, r5                                        
a0016930:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0016934:	e1a0e00f 	mov	lr, pc                                        
a0016938:	e593f018 	ldr	pc, [r3, #24]                                 
}                                                                     
a001693c:	e8bd8030 	pop	{r4, r5, pc}                                  
a0016940:	a00173c0 	.word	0xa00173c0                                  
a0016944:	a0018bfc 	.word	0xa0018bfc                                  
                                                                      
a0022054 <fsync>:                                                     
  int     fd                                                          
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0022054:	e59f3078 	ldr	r3, [pc, #120]	; a00220d4 <fsync+0x80>        
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
a0022058:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a002205c:	e5933000 	ldr	r3, [r3]                                      
a0022060:	e1500003 	cmp	r0, r3                                        
a0022064:	2a00000d 	bcs	a00220a0 <fsync+0x4c>                         
  iop = rtems_libio_iop( fd );                                        
a0022068:	e59f3068 	ldr	r3, [pc, #104]	; a00220d8 <fsync+0x84>        
a002206c:	e5933000 	ldr	r3, [r3]                                      
a0022070:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0022074:	e5903014 	ldr	r3, [r0, #20]                                 
a0022078:	e3130c01 	tst	r3, #256	; 0x100                              
a002207c:	0a000007 	beq	a00220a0 <fsync+0x4c>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0022080:	e3130004 	tst	r3, #4                                        
a0022084:	1a000002 	bne	a0022094 <fsync+0x40>                         
a0022088:	eb0058e1 	bl	a0038414 <__errno>                             
a002208c:	e3a03016 	mov	r3, #22                                       
a0022090:	ea00000a 	b	a00220c0 <fsync+0x6c>                           
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a0022094:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          
a0022098:	e3530000 	cmp	r3, #0                                        
a002209c:	1a000002 	bne	a00220ac <fsync+0x58>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
a00220a0:	eb0058db 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a00220a4:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00220a8:	ea000004 	b	a00220c0 <fsync+0x6c>                           <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fsync_h )                                      
a00220ac:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a00220b0:	e3530000 	cmp	r3, #0                                        
a00220b4:	1a000004 	bne	a00220cc <fsync+0x78>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00220b8:	eb0058d5 	bl	a0038414 <__errno>                             
a00220bc:	e3a03086 	mov	r3, #134	; 0x86                               
a00220c0:	e5803000 	str	r3, [r0]                                      
a00220c4:	e3e00000 	mvn	r0, #0                                        
a00220c8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
a00220cc:	e12fff33 	blx	r3                                            
}                                                                     
a00220d0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
a00220d4:	a0052310 	.word	0xa0052310                                  
a00220d8:	a005fd5c 	.word	0xa005fd5c                                  
                                                                      
a0008f2c <ftruncate>:                                                 
)                                                                     
{                                                                     
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0008f2c:	e59f30d0 	ldr	r3, [pc, #208]	; a0009004 <ftruncate+0xd8>    
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a0008f30:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0008f34:	e5933000 	ldr	r3, [r3]                                      
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a0008f38:	e24dd014 	sub	sp, sp, #20                                   
a0008f3c:	e1a05001 	mov	r5, r1                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0008f40:	e1500003 	cmp	r0, r3                                        
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a0008f44:	e1a06002 	mov	r6, r2                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0008f48:	2a000005 	bcs	a0008f64 <ftruncate+0x38>                     
  iop = rtems_libio_iop( fd );                                        
a0008f4c:	e59f30b4 	ldr	r3, [pc, #180]	; a0009008 <ftruncate+0xdc>    
a0008f50:	e5934000 	ldr	r4, [r3]                                      
a0008f54:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0008f58:	e5943014 	ldr	r3, [r4, #20]                                 
a0008f5c:	e3130c01 	tst	r3, #256	; 0x100                              
a0008f60:	1a000002 	bne	a0008f70 <ftruncate+0x44>                     
a0008f64:	eb000af5 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008f68:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0008f6c:	ea00001b 	b	a0008fe0 <ftruncate+0xb4>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a0008f70:	e1a0c00d 	mov	ip, sp                                        
a0008f74:	e284e018 	add	lr, r4, #24                                   
a0008f78:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0008f7c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
a0008f80:	e5933010 	ldr	r3, [r3, #16]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a0008f84:	e59e2000 	ldr	r2, [lr]                                      
  if ( !loc.ops->node_type_h )                                        
a0008f88:	e3530000 	cmp	r3, #0                                        
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a0008f8c:	e58c2000 	str	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
a0008f90:	0a000010 	beq	a0008fd8 <ftruncate+0xac>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
a0008f94:	e1a0000d 	mov	r0, sp                                        
a0008f98:	e12fff33 	blx	r3                                            
a0008f9c:	e3500001 	cmp	r0, #1                                        
a0008fa0:	1a000002 	bne	a0008fb0 <ftruncate+0x84>                     
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a0008fa4:	eb000ae5 	bl	a000bb40 <__errno>                             
a0008fa8:	e3a03015 	mov	r3, #21                                       
a0008fac:	ea00000b 	b	a0008fe0 <ftruncate+0xb4>                       
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0008fb0:	e5943014 	ldr	r3, [r4, #20]                                 
a0008fb4:	e3130004 	tst	r3, #4                                        
a0008fb8:	1a000002 	bne	a0008fc8 <ftruncate+0x9c>                     
a0008fbc:	eb000adf 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008fc0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0008fc4:	ea000005 	b	a0008fe0 <ftruncate+0xb4>                       <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
a0008fc8:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0008fcc:	e5933020 	ldr	r3, [r3, #32]                                 
a0008fd0:	e3530000 	cmp	r3, #0                                        
a0008fd4:	1a000004 	bne	a0008fec <ftruncate+0xc0>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0008fd8:	eb000ad8 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0008fdc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0008fe0:	e5803000 	str	r3, [r0]                                      
a0008fe4:	e3e00000 	mvn	r0, #0                                        
a0008fe8:	ea000003 	b	a0008ffc <ftruncate+0xd0>                       
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
a0008fec:	e1a00004 	mov	r0, r4                                        
a0008ff0:	e1a01005 	mov	r1, r5                                        
a0008ff4:	e1a02006 	mov	r2, r6                                        
a0008ff8:	e12fff33 	blx	r3                                            
}                                                                     
a0008ffc:	e28dd014 	add	sp, sp, #20                                   
a0009000:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0009004:	a00173c0 	.word	0xa00173c0                                  
a0009008:	a0018bfc 	.word	0xa0018bfc                                  
                                                                      
a0051d1c <getdents>:                                                  
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a0051d1c:	e59f30a0 	ldr	r3, [pc, #160]	; a0051dc4 <getdents+0xa8>     
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a0051d20:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a0051d24:	e5933000 	ldr	r3, [r3]                                      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a0051d28:	e24dd014 	sub	sp, sp, #20                                   
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a0051d2c:	e1a0c00d 	mov	ip, sp                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a0051d30:	e1500003 	cmp	r0, r3                                        
a0051d34:	359f308c 	ldrcc	r3, [pc, #140]	; a0051dc8 <getdents+0xac>   
a0051d38:	23a04000 	movcs	r4, #0                                      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a0051d3c:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a0051d40:	35934000 	ldrcc	r4, [r3]                                    
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a0051d44:	e1a05002 	mov	r5, r2                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a0051d48:	30844300 	addcc	r4, r4, r0, lsl #6                          
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a0051d4c:	e284e018 	add	lr, r4, #24                                   
a0051d50:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0051d54:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
a0051d58:	e5933010 	ldr	r3, [r3, #16]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a0051d5c:	e59e2000 	ldr	r2, [lr]                                      
  if ( !loc.ops->node_type_h )                                        
a0051d60:	e3530000 	cmp	r3, #0                                        
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a0051d64:	e58c2000 	str	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
a0051d68:	0a00000c 	beq	a0051da0 <getdents+0x84>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
a0051d6c:	e1a0000d 	mov	r0, sp                                        
a0051d70:	e12fff33 	blx	r3                                            
a0051d74:	e3500001 	cmp	r0, #1                                        
a0051d78:	0a000004 	beq	a0051d90 <getdents+0x74>                      
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0051d7c:	ebff99a4 	bl	a0038414 <__errno>                             
a0051d80:	e3a03014 	mov	r3, #20                                       
a0051d84:	e5803000 	str	r3, [r0]                                      
a0051d88:	e3e00000 	mvn	r0, #0                                        
a0051d8c:	ea00000a 	b	a0051dbc <getdents+0xa0>                        
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
a0051d90:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0051d94:	e5933008 	ldr	r3, [r3, #8]                                  
a0051d98:	e3530000 	cmp	r3, #0                                        
a0051d9c:	1a000002 	bne	a0051dac <getdents+0x90>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0051da0:	ebff999b 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0051da4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0051da8:	eafffff5 	b	a0051d84 <getdents+0x68>                        <== NOT EXECUTED
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
a0051dac:	e1a00004 	mov	r0, r4                                        
a0051db0:	e1a01006 	mov	r1, r6                                        
a0051db4:	e1a02005 	mov	r2, r5                                        
a0051db8:	e12fff33 	blx	r3                                            
}                                                                     
a0051dbc:	e28dd014 	add	sp, sp, #20                                   
a0051dc0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0051dc4:	a0052310 	.word	0xa0052310                                  
a0051dc8:	a005fd5c 	.word	0xa005fd5c                                  
                                                                      
a00221e4 <getgid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
gid_t getgid( void )                                                  
{                                                                     
a00221e4:	e59f3008 	ldr	r3, [pc, #8]	; a00221f4 <getgid+0x10>         <== NOT EXECUTED
a00221e8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
  return _POSIX_types_Gid;                                            
}                                                                     
a00221ec:	e1d303b4 	ldrh	r0, [r3, #52]	; 0x34                         <== NOT EXECUTED
a00221f0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a00221f4:	a0052628 	.word	0xa0052628                                  
                                                                      
a0022800 <getgr_r>:                                                   
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a0022800:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0022804:	e59da01c 	ldr	sl, [sp, #28]                                 
a0022808:	e1a06000 	mov	r6, r0                                        
a002280c:	e1a07001 	mov	r7, r1                                        
a0022810:	e1a04002 	mov	r4, r2                                        
a0022814:	e1a08003 	mov	r8, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a0022818:	ebffffb5 	bl	a00226f4 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
a002281c:	e59f00a4 	ldr	r0, [pc, #164]	; a00228c8 <getgr_r+0xc8>      
a0022820:	e59f10a4 	ldr	r1, [pc, #164]	; a00228cc <getgr_r+0xcc>      
a0022824:	eb00596a 	bl	a0038dd4 <fopen>                               
a0022828:	e2505000 	subs	r5, r0, #0                                   
a002282c:	1a000003 	bne	a0022840 <getgr_r+0x40>                       
    errno = EINVAL;                                                   
a0022830:	eb0056f7 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0022834:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0022838:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a002283c:	ea00000c 	b	a0022874 <getgr_r+0x74>                         <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
a0022840:	e1a01004 	mov	r1, r4                                        
a0022844:	e1a02008 	mov	r2, r8                                        
a0022848:	e1a0300a 	mov	r3, sl                                        
a002284c:	e1a00005 	mov	r0, r5                                        
a0022850:	ebfffeee 	bl	a0022410 <scangr>                              
a0022854:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a0022858:	e1a01006 	mov	r1, r6                                        
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
a002285c:	1a000006 	bne	a002287c <getgr_r+0x7c>                       
      errno = EINVAL;                                                 
a0022860:	eb0056eb 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0022864:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0022868:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
a002286c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0022870:	eb005734 	bl	a0038548 <fclose>                              <== NOT EXECUTED
a0022874:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
a0022878:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    }                                                                 
    if (name) {                                                       
a002287c:	e3560000 	cmp	r6, #0                                        
a0022880:	0a000004 	beq	a0022898 <getgr_r+0x98>                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a0022884:	e5940000 	ldr	r0, [r4]                                      
a0022888:	eb006ef3 	bl	a003e45c <strcmp>                              
a002288c:	e2700001 	rsbs	r0, r0, #1                                   
a0022890:	33a00000 	movcc	r0, #0                                      
a0022894:	ea000003 	b	a00228a8 <getgr_r+0xa8>                         
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
a0022898:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a002289c:	e1500007 	cmp	r0, r7                                        <== NOT EXECUTED
a00228a0:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a00228a4:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
a00228a8:	e3500000 	cmp	r0, #0                                        
a00228ac:	0affffe3 	beq	a0022840 <getgr_r+0x40>                       
      fclose(fp);                                                     
a00228b0:	e1a00005 	mov	r0, r5                                        
a00228b4:	eb005723 	bl	a0038548 <fclose>                              
      *result = grp;                                                  
a00228b8:	e59d3020 	ldr	r3, [sp, #32]                                 
a00228bc:	e3a00000 	mov	r0, #0                                        
a00228c0:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
a00228c4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a00228c8:	a00565f0 	.word	0xa00565f0                                  
a00228cc:	a0057203 	.word	0xa0057203                                  
                                                                      
a0022548 <getgrent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct group *getgrent(void)                                          
{                                                                     
a0022548:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (group_fp == NULL)                                               
a002254c:	e59f4030 	ldr	r4, [pc, #48]	; a0022584 <getgrent+0x3c>      <== NOT EXECUTED
a0022550:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0022554:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0022558:	0a000007 	beq	a002257c <getgrent+0x34>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
a002255c:	e2841008 	add	r1, r4, #8                                    <== NOT EXECUTED
a0022560:	e2842018 	add	r2, r4, #24                                   <== NOT EXECUTED
a0022564:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a0022568:	ebffffa8 	bl	a0022410 <scangr>                              <== NOT EXECUTED
a002256c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0022570:	0a000001 	beq	a002257c <getgrent+0x34>                      <== NOT EXECUTED
a0022574:	e2840008 	add	r0, r4, #8                                    <== NOT EXECUTED
a0022578:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a002257c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
a0022580:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a0022584:	a005f874 	.word	0xa005f874                                  
                                                                      
a0022904 <getgrgid>:                                                  
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
a0022904:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a0022908:	e59f1028 	ldr	r1, [pc, #40]	; a0022938 <getgrgid+0x34>      <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
a002290c:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a0022910:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a0022914:	e2812010 	add	r2, r1, #16                                   <== NOT EXECUTED
a0022918:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a002291c:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a0022920:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0022924:	ebffffe9 	bl	a00228d0 <getgrgid_r>                          <== NOT EXECUTED
a0022928:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a002292c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a0022930:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
a0022934:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
a0022938:	a005f87c 	.word	0xa005f87c                                  
                                                                      
a00228d0 <getgrgid_r>:                                                
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a00228d0:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
a00228d4:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a00228d8:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a00228dc:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a00228e0:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a00228e4:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a00228e8:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a00228ec:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a00228f0:	e1a01820 	lsr	r1, r0, #16                                   <== NOT EXECUTED
a00228f4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00228f8:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a00228fc:	ebffffbf 	bl	a0022800 <getgr_r>                             <== NOT EXECUTED
}                                                                     
a0022900:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
                                                                      
a00207f8 <getpid>:                                                    
 */                                                                   
                                                                      
pid_t getpid( void )                                                  
{                                                                     
  return _Objects_Local_node;                                         
}                                                                     
a00207f8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a00207fc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a00229d4 <getpw_r>:                                                   
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a00229d4:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a00229d8:	e59da01c 	ldr	sl, [sp, #28]                                 
a00229dc:	e1a06000 	mov	r6, r0                                        
a00229e0:	e1a07001 	mov	r7, r1                                        
a00229e4:	e1a04002 	mov	r4, r2                                        
a00229e8:	e1a08003 	mov	r8, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a00229ec:	ebffff40 	bl	a00226f4 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
a00229f0:	e59f00a4 	ldr	r0, [pc, #164]	; a0022a9c <getpw_r+0xc8>      
a00229f4:	e59f10a4 	ldr	r1, [pc, #164]	; a0022aa0 <getpw_r+0xcc>      
a00229f8:	eb0058f5 	bl	a0038dd4 <fopen>                               
a00229fc:	e2505000 	subs	r5, r0, #0                                   
a0022a00:	1a000003 	bne	a0022a14 <getpw_r+0x40>                       
    errno = EINVAL;                                                   
a0022a04:	eb005682 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0022a08:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0022a0c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0022a10:	ea00000c 	b	a0022a48 <getpw_r+0x74>                         <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
a0022a14:	e1a01004 	mov	r1, r4                                        
a0022a18:	e1a02008 	mov	r2, r8                                        
a0022a1c:	e1a0300a 	mov	r3, sl                                        
a0022a20:	e1a00005 	mov	r0, r5                                        
a0022a24:	ebfffed7 	bl	a0022588 <scanpw>                              
a0022a28:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a0022a2c:	e1a01006 	mov	r1, r6                                        
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
a0022a30:	1a000006 	bne	a0022a50 <getpw_r+0x7c>                       
      errno = EINVAL;                                                 
a0022a34:	eb005676 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0022a38:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0022a3c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
a0022a40:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0022a44:	eb0056bf 	bl	a0038548 <fclose>                              <== NOT EXECUTED
a0022a48:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
a0022a4c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    }                                                                 
    if (name) {                                                       
a0022a50:	e3560000 	cmp	r6, #0                                        
a0022a54:	0a000004 	beq	a0022a6c <getpw_r+0x98>                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a0022a58:	e5940000 	ldr	r0, [r4]                                      
a0022a5c:	eb006e7e 	bl	a003e45c <strcmp>                              
a0022a60:	e2700001 	rsbs	r0, r0, #1                                   
a0022a64:	33a00000 	movcc	r0, #0                                      
a0022a68:	ea000003 	b	a0022a7c <getpw_r+0xa8>                         
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
a0022a6c:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a0022a70:	e1500007 	cmp	r0, r7                                        <== NOT EXECUTED
a0022a74:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0022a78:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
a0022a7c:	e3500000 	cmp	r0, #0                                        
a0022a80:	0affffe3 	beq	a0022a14 <getpw_r+0x40>                       
      fclose(fp);                                                     
a0022a84:	e1a00005 	mov	r0, r5                                        
a0022a88:	eb0056ae 	bl	a0038548 <fclose>                              
      *result = pwd;                                                  
a0022a8c:	e59d3020 	ldr	r3, [sp, #32]                                 
a0022a90:	e3a00000 	mov	r0, #0                                        
a0022a94:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
a0022a98:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a0022a9c:	a0056542 	.word	0xa0056542                                  
a0022aa0:	a0057203 	.word	0xa0057203                                  
                                                                      
a00226b4 <getpwent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
a00226b4:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (passwd_fp == NULL)                                              
a00226b8:	e59f4030 	ldr	r4, [pc, #48]	; a00226f0 <getpwent+0x3c>      <== NOT EXECUTED
a00226bc:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a00226c0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00226c4:	0a000007 	beq	a00226e8 <getpwent+0x34>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
a00226c8:	e28410e0 	add	r1, r4, #224	; 0xe0                           <== NOT EXECUTED
a00226cc:	e28420fc 	add	r2, r4, #252	; 0xfc                           <== NOT EXECUTED
a00226d0:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a00226d4:	ebffffab 	bl	a0022588 <scanpw>                              <== NOT EXECUTED
a00226d8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00226dc:	0a000001 	beq	a00226e8 <getpwent+0x34>                      <== NOT EXECUTED
a00226e0:	e28400e0 	add	r0, r4, #224	; 0xe0                           <== NOT EXECUTED
a00226e4:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a00226e8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
a00226ec:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a00226f0:	a005f874 	.word	0xa005f874                                  
                                                                      
a0022ad8 <getpwuid>:                                                  
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
a0022ad8:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a0022adc:	e59f1028 	ldr	r1, [pc, #40]	; a0022b0c <getpwuid+0x34>      <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
a0022ae0:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a0022ae4:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a0022ae8:	e281201c 	add	r2, r1, #28                                   <== NOT EXECUTED
a0022aec:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a0022af0:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a0022af4:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0022af8:	ebffffe9 	bl	a0022aa4 <getpwuid_r>                          <== NOT EXECUTED
a0022afc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0022b00:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a0022b04:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
a0022b08:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
a0022b0c:	a005f954 	.word	0xa005f954                                  
                                                                      
a0022aa4 <getpwuid_r>:                                                
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a0022aa4:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
a0022aa8:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a0022aac:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a0022ab0:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0022ab4:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a0022ab8:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a0022abc:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a0022ac0:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0022ac4:	e1a01820 	lsr	r1, r0, #16                                   <== NOT EXECUTED
a0022ac8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0022acc:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0022ad0:	ebffffbf 	bl	a00229d4 <getpw_r>                             <== NOT EXECUTED
}                                                                     
a0022ad4:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
                                                                      
a000900c <gettimeofday>:                                              
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
a000900c:	e92d4033 	push	{r0, r1, r4, r5, lr}                         
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
a0009010:	e2504000 	subs	r4, r0, #0                                   
a0009014:	1a000004 	bne	a000902c <gettimeofday+0x20>                  
    errno = EFAULT;                                                   
a0009018:	eb000ac8 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a000901c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0009020:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009024:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0009028:	ea00000c 	b	a0009060 <gettimeofday+0x54>                    <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000902c:	e10f5000 	mrs	r5, CPSR                                      
a0009030:	e3853080 	orr	r3, r5, #128	; 0x80                           
a0009034:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
a0009038:	e1a0000d 	mov	r0, sp                                        
a000903c:	eb000252 	bl	a000998c <_TOD_Get>                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0009040:	e129f005 	msr	CPSR_fc, r5                                   
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
a0009044:	e59d3000 	ldr	r3, [sp]                                      
  time->tv_usec = useconds;                                           
a0009048:	e59d0004 	ldr	r0, [sp, #4]                                  
a000904c:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
a0009050:	e5843000 	str	r3, [r4]                                      
  time->tv_usec = useconds;                                           
a0009054:	eb003070 	bl	a001521c <__aeabi_idiv>                        
a0009058:	e5840004 	str	r0, [r4, #4]                                  
a000905c:	e3a00000 	mov	r0, #0                                        
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a0009060:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          
                                                                      
a0004874 <getuid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
uid_t getuid( void )                                                  
{                                                                     
a0004874:	e59f3008 	ldr	r3, [pc, #8]	; a0004884 <getuid+0x10>         <== NOT EXECUTED
a0004878:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
  return _POSIX_types_Uid;                                            
}                                                                     
a000487c:	e1d303b2 	ldrh	r0, [r3, #50]	; 0x32                         <== NOT EXECUTED
a0004880:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0004884:	a0052628 	.word	0xa0052628                                  
                                                                      
a001039c <imfs_dir_open>:                                             
)                                                                     
{                                                                     
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
a001039c:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
  rtems_libio_t  *iop,                                                
  const char *pathname,                                               
  uint32_t   flag,                                                    
  uint32_t   mode                                                     
)                                                                     
{                                                                     
a00103a0:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
a00103a4:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a00103a8:	e3530001 	cmp	r3, #1                                        
a00103ac:	0a000001 	beq	a00103b8 <imfs_dir_open+0x1c>                 
a00103b0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00103b4:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
a00103b8:	e3a03000 	mov	r3, #0                                        
a00103bc:	e3a04000 	mov	r4, #0                                        
a00103c0:	e580300c 	str	r3, [r0, #12]                                 
a00103c4:	e5804010 	str	r4, [r0, #16]                                 
a00103c8:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
a00103cc:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
a000505c <ioctl>:                                                     
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
a000505c:	e92d000e 	push	{r1, r2, r3}                                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005060:	e59f307c 	ldr	r3, [pc, #124]	; a00050e4 <ioctl+0x88>        
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
a0005064:	e92d4001 	push	{r0, lr}                                     
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005068:	e5933000 	ldr	r3, [r3]                                      
a000506c:	e1500003 	cmp	r0, r3                                        
a0005070:	2a00000b 	bcs	a00050a4 <ioctl+0x48>                         
  iop = rtems_libio_iop( fd );                                        
a0005074:	e59f306c 	ldr	r3, [pc, #108]	; a00050e8 <ioctl+0x8c>        
a0005078:	e5933000 	ldr	r3, [r3]                                      
a000507c:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0005080:	e5903014 	ldr	r3, [r0, #20]                                 
a0005084:	e3130c01 	tst	r3, #256	; 0x100                              
a0005088:	0a000005 	beq	a00050a4 <ioctl+0x48>                         
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a000508c:	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 *);                                        
a0005090:	e28d2010 	add	r2, sp, #16                                   
a0005094:	e58d2000 	str	r2, [sp]                                      
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a0005098:	e3530000 	cmp	r3, #0                                        
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
a000509c:	e59d200c 	ldr	r2, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a00050a0:	1a000002 	bne	a00050b0 <ioctl+0x54>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
a00050a4:	eb002f97 	bl	a0010f08 <__errno>                             
a00050a8:	e3a03009 	mov	r3, #9                                        
a00050ac:	ea000004 	b	a00050c4 <ioctl+0x68>                           
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
a00050b0:	e5933010 	ldr	r3, [r3, #16]                                 
a00050b4:	e3530000 	cmp	r3, #0                                        
a00050b8:	1a000004 	bne	a00050d0 <ioctl+0x74>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00050bc:	eb002f91 	bl	a0010f08 <__errno>                             <== NOT EXECUTED
a00050c0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00050c4:	e5803000 	str	r3, [r0]                                      
a00050c8:	e3e00000 	mvn	r0, #0                                        
a00050cc:	ea000001 	b	a00050d8 <ioctl+0x7c>                           
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
a00050d0:	e59d1008 	ldr	r1, [sp, #8]                                  
a00050d4:	e12fff33 	blx	r3                                            
                                                                      
  return rc;                                                          
}                                                                     
a00050d8:	e8bd4008 	pop	{r3, lr}                                      
a00050dc:	e28dd00c 	add	sp, sp, #12                                   
a00050e0:	e12fff1e 	bx	lr                                             
a00050e4:	a001cc50 	.word	0xa001cc50                                  
a00050e8:	a001e8a8 	.word	0xa001e8a8                                  
                                                                      
a0002fc4 <iproc>:                                                     
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
	if (tty->termios.c_iflag & ISTRIP)                                   
a0002fc4:	e5913030 	ldr	r3, [r1, #48]	; 0x30                          <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002fc8:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
a0002fcc:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002fd0:	e20050ff 	and	r5, r0, #255	; 0xff                           <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
a0002fd4:	1200507f 	andne	r5, r0, #127	; 0x7f                         <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
a0002fd8:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002fdc:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
a0002fe0:	0a000007 	beq	a0003004 <iproc+0x40>                         <== NOT EXECUTED
		c = tolower (c);                                                    
a0002fe4:	e59f2174 	ldr	r2, [pc, #372]	; a0003160 <iproc+0x19c>       <== NOT EXECUTED
a0002fe8:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a0002fec:	e0822005 	add	r2, r2, r5                                    <== NOT EXECUTED
a0002ff0:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0002ff4:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a0002ff8:	e3520001 	cmp	r2, #1                                        <== NOT EXECUTED
a0002ffc:	02855020 	addeq	r5, r5, #32                                 <== NOT EXECUTED
a0003000:	e20550ff 	and	r5, r5, #255	; 0xff                           <== NOT EXECUTED
	if (c == '\r') {                                                     
a0003004:	e355000d 	cmp	r5, #13                                       <== NOT EXECUTED
a0003008:	1a000005 	bne	a0003024 <iproc+0x60>                         <== NOT EXECUTED
		if (tty->termios.c_iflag & IGNCR)                                   
a000300c:	e3130080 	tst	r3, #128	; 0x80                               <== NOT EXECUTED
a0003010:	1a000050 	bne	a0003158 <iproc+0x194>                        <== NOT EXECUTED
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
a0003014:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0003018:	03a0500d 	moveq	r5, #13                                     <== NOT EXECUTED
a000301c:	13a0500a 	movne	r5, #10                                     <== NOT EXECUTED
a0003020:	ea000007 	b	a0003044 <iproc+0x80>                           <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
a0003024:	e355000a 	cmp	r5, #10                                       <== NOT EXECUTED
a0003028:	1a000003 	bne	a000303c <iproc+0x78>                         <== NOT EXECUTED
a000302c:	e3130040 	tst	r3, #64	; 0x40                                <== NOT EXECUTED
a0003030:	03a0500a 	moveq	r5, #10                                     <== NOT EXECUTED
a0003034:	13a0500d 	movne	r5, #13                                     <== NOT EXECUTED
a0003038:	ea000001 	b	a0003044 <iproc+0x80>                           <== NOT EXECUTED
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
a000303c:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a0003040:	0a000031 	beq	a000310c <iproc+0x148>                        <== NOT EXECUTED
a0003044:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003048:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a000304c:	0a00002e 	beq	a000310c <iproc+0x148>                        <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
a0003050:	e5d42043 	ldrb	r2, [r4, #67]	; 0x43                         <== NOT EXECUTED
a0003054:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
			erase (tty, 0);                                                    
a0003058:	01a00004 	moveq	r0, r4                                      <== NOT EXECUTED
a000305c:	03a01000 	moveq	r1, #0                                      <== NOT EXECUTED
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
		if (c == tty->termios.c_cc[VERASE]) {                               
a0003060:	0a000004 	beq	a0003078 <iproc+0xb4>                         <== NOT EXECUTED
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
a0003064:	e5d42044 	ldrb	r2, [r4, #68]	; 0x44                         <== NOT EXECUTED
a0003068:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
a000306c:	1a000004 	bne	a0003084 <iproc+0xc0>                         <== NOT EXECUTED
			erase (tty, 1);                                                    
a0003070:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003074:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003078:	ebffff5d 	bl	a0002df4 <erase>                               <== NOT EXECUTED
a000307c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
			return 0;                                                          
a0003080:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
a0003084:	e5d42045 	ldrb	r2, [r4, #69]	; 0x45                         <== NOT EXECUTED
a0003088:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
a000308c:	0a00000c 	beq	a00030c4 <iproc+0x100>                        <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
a0003090:	e355000a 	cmp	r5, #10                                       <== NOT EXECUTED
a0003094:	1a00000c 	bne	a00030cc <iproc+0x108>                        <== NOT EXECUTED
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
a0003098:	e3130048 	tst	r3, #72	; 0x48                                <== NOT EXECUTED
a000309c:	0a000002 	beq	a00030ac <iproc+0xe8>                         <== NOT EXECUTED
				echo (c, tty);                                                    
a00030a0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00030a4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00030a8:	ebffff31 	bl	a0002d74 <echo>                                <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
a00030ac:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a00030b0:	e594101c 	ldr	r1, [r4, #28]                                 <== NOT EXECUTED
a00030b4:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a00030b8:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a00030bc:	e7c10003 	strb	r0, [r1, r3]                                 <== NOT EXECUTED
a00030c0:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
a00030c4:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
			return 1;                                                          
a00030c8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		}                                                                   
		else if ((c == tty->termios.c_cc[VEOL])                             
a00030cc:	e5d4204c 	ldrb	r2, [r4, #76]	; 0x4c                         <== NOT EXECUTED
a00030d0:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
a00030d4:	0a000002 	beq	a00030e4 <iproc+0x120>                        <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
a00030d8:	e5d42051 	ldrb	r2, [r4, #81]	; 0x51                         <== NOT EXECUTED
a00030dc:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
a00030e0:	1a000009 	bne	a000310c <iproc+0x148>                        <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHO)                                   
a00030e4:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
a00030e8:	0a000002 	beq	a00030f8 <iproc+0x134>                        <== NOT EXECUTED
				echo (c, tty);                                                    
a00030ec:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00030f0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00030f4:	ebffff1e 	bl	a0002d74 <echo>                                <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
a00030f8:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a00030fc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0003100:	e594101c 	ldr	r1, [r4, #28]                                 <== NOT EXECUTED
a0003104:	e0832000 	add	r2, r3, r0                                    <== NOT EXECUTED
a0003108:	ea00000f 	b	a000314c <iproc+0x188>                          <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
a000310c:	e59f3050 	ldr	r3, [pc, #80]	; a0003164 <iproc+0x1a0>        <== NOT EXECUTED
a0003110:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003114:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0003118:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a000311c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003120:	aa00000c 	bge	a0003158 <iproc+0x194>                        <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
a0003124:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003128:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
a000312c:	0a000002 	beq	a000313c <iproc+0x178>                        <== NOT EXECUTED
			echo (c, tty);                                                     
a0003130:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003134:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003138:	ebffff0d 	bl	a0002d74 <echo>                                <== NOT EXECUTED
		tty->cbuf[tty->ccount++] = c;                                       
a000313c:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0003140:	e594101c 	ldr	r1, [r4, #28]                                 <== NOT EXECUTED
a0003144:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0003148:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a000314c:	e7c15003 	strb	r5, [r1, r3]                                 <== NOT EXECUTED
a0003150:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
a0003154:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
a0003158:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
a000315c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
a0003160:	a00175fc 	.word	0xa00175fc                                  
a0003164:	a0017584 	.word	0xa0017584                                  
                                                                      
a0020810 <kill>:                                                      
                                                                      
#if !defined(RTEMS_POSIX_API)                                         
int kill( pid_t pid, int sig )                                        
{                                                                     
  return 0;                                                           
}                                                                     
a0020810:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0020814:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0016a74 <libc_wrapup>:                                               
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
a0016a74:	e59f3060 	ldr	r3, [pc, #96]	; a0016adc <libc_wrapup+0x68>   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
a0016a78:	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()))                      
a0016a7c:	e5933000 	ldr	r3, [r3]                                      
a0016a80:	e3530003 	cmp	r3, #3                                        
a0016a84:	1a000013 	bne	a0016ad8 <libc_wrapup+0x64>                   
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
a0016a88:	e59f3050 	ldr	r3, [pc, #80]	; a0016ae0 <libc_wrapup+0x6c>   
a0016a8c:	e59f5050 	ldr	r5, [pc, #80]	; a0016ae4 <libc_wrapup+0x70>   
a0016a90:	e5934000 	ldr	r4, [r3]                                      
a0016a94:	e5953000 	ldr	r3, [r5]                                      
a0016a98:	e1530004 	cmp	r3, r4                                        
a0016a9c:	0a000002 	beq	a0016aac <libc_wrapup+0x38>                   
      _wrapup_reent(_global_impure_ptr);                              
a0016aa0:	e1a00004 	mov	r0, r4                                        
a0016aa4:	eb000170 	bl	a001706c <_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;                                    
a0016aa8:	e5854000 	str	r4, [r5]                                      
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
a0016aac:	e59f4030 	ldr	r4, [pc, #48]	; a0016ae4 <libc_wrapup+0x70>   
a0016ab0:	e5943000 	ldr	r3, [r4]                                      
a0016ab4:	e5930004 	ldr	r0, [r3, #4]                                  
a0016ab8:	ebffd46d 	bl	a000bc74 <fclose>                              
  fclose (stdout);                                                    
a0016abc:	e5943000 	ldr	r3, [r4]                                      
a0016ac0:	e5930008 	ldr	r0, [r3, #8]                                  
a0016ac4:	ebffd46a 	bl	a000bc74 <fclose>                              
  fclose (stderr);                                                    
a0016ac8:	e5943000 	ldr	r3, [r4]                                      
a0016acc:	e593000c 	ldr	r0, [r3, #12]                                 
}                                                                     
a0016ad0:	e8bd4030 	pop	{r4, r5, lr}                                  
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
a0016ad4:	eaffd466 	b	a000bc74 <fclose>                               
a0016ad8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
a0016adc:	a0018f10 	.word	0xa0018f10                                  
a0016ae0:	a0018054 	.word	0xa0018054                                  
a0016ae4:	a0017600 	.word	0xa0017600                                  
                                                                      
a0022bf8 <link>:                                                      
                                                                      
int link(                                                             
  const char *existing,                                               
  const char *new                                                     
)                                                                     
{                                                                     
a0022bf8:	e92d4070 	push	{r4, r5, r6, lr}                             
a0022bfc:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a0022c00:	e1a04001 	mov	r4, r1                                        
a0022c04:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
a0022c08:	eb00707b 	bl	a003edfc <strlen>                              
a0022c0c:	e3a0c001 	mov	ip, #1                                        
a0022c10:	e1a01000 	mov	r1, r0                                        
a0022c14:	e3a02000 	mov	r2, #0                                        
a0022c18:	e1a00005 	mov	r0, r5                                        
a0022c1c:	e28d3018 	add	r3, sp, #24                                   
a0022c20:	e58dc000 	str	ip, [sp]                                      
a0022c24:	ebff8696 	bl	a0004684 <rtems_filesystem_evaluate_path>      
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
a0022c28:	e3500000 	cmp	r0, #0                                        
a0022c2c:	1a000024 	bne	a0022cc4 <link+0xcc>                          
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
a0022c30:	e5d43000 	ldrb	r3, [r4]                                     
a0022c34:	e353002f 	cmp	r3, #47	; 0x2f                                
a0022c38:	1353005c 	cmpne	r3, #92	; 0x5c                              
a0022c3c:	13a05000 	movne	r5, #0                                      
a0022c40:	03a05001 	moveq	r5, #1                                      
a0022c44:	0a000001 	beq	a0022c50 <link+0x58>                          
a0022c48:	e3530000 	cmp	r3, #0                                        
a0022c4c:	1a000005 	bne	a0022c68 <link+0x70>                          
a0022c50:	e59f31cc 	ldr	r3, [pc, #460]	; a0022e24 <link+0x22c>        
a0022c54:	e28dc004 	add	ip, sp, #4                                    
a0022c58:	e3a05001 	mov	r5, #1                                        
a0022c5c:	e593e000 	ldr	lr, [r3]                                      
a0022c60:	e28ee018 	add	lr, lr, #24                                   
a0022c64:	ea000003 	b	a0022c78 <link+0x80>                            
a0022c68:	e59f31b4 	ldr	r3, [pc, #436]	; a0022e24 <link+0x22c>        
a0022c6c:	e28dc004 	add	ip, sp, #4                                    
a0022c70:	e593e000 	ldr	lr, [r3]                                      
a0022c74:	e28ee004 	add	lr, lr, #4                                    
a0022c78:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0022c7c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0022c80:	e59e3000 	ldr	r3, [lr]                                      
a0022c84:	e58c3000 	str	r3, [ip]                                      
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
a0022c88:	e59d3010 	ldr	r3, [sp, #16]                                 
a0022c8c:	e5933004 	ldr	r3, [r3, #4]                                  
a0022c90:	e3530000 	cmp	r3, #0                                        
a0022c94:	1a00000c 	bne	a0022ccc <link+0xd4>                          
    rtems_filesystem_freenode( &existing_loc );                       
a0022c98:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0022c9c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022ca0:	0a000004 	beq	a0022cb8 <link+0xc0>                          <== NOT EXECUTED
a0022ca4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0022ca8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022cac:	0a000001 	beq	a0022cb8 <link+0xc0>                          <== NOT EXECUTED
a0022cb0:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a0022cb4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0022cb8:	eb0055d5 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0022cbc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0022cc0:	e5803000 	str	r3, [r0]                                      
a0022cc4:	e3e05000 	mvn	r5, #0                                        
a0022cc8:	ea000052 	b	a0022e18 <link+0x220>                           
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
a0022ccc:	e28d6004 	add	r6, sp, #4                                    
a0022cd0:	e0840005 	add	r0, r4, r5                                    
a0022cd4:	e1a01006 	mov	r1, r6                                        
a0022cd8:	e28d202c 	add	r2, sp, #44	; 0x2c                            
a0022cdc:	e12fff33 	blx	r3                                            
  if ( result != 0 ) {                                                
a0022ce0:	e2504000 	subs	r4, r0, #0                                   
a0022ce4:	0a00000a 	beq	a0022d14 <link+0x11c>                         
    rtems_filesystem_freenode( &existing_loc );                       
a0022ce8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0022cec:	e3530000 	cmp	r3, #0                                        
a0022cf0:	0a000004 	beq	a0022d08 <link+0x110>                         
a0022cf4:	e593301c 	ldr	r3, [r3, #28]                                 
a0022cf8:	e3530000 	cmp	r3, #0                                        
a0022cfc:	0a000001 	beq	a0022d08 <link+0x110>                         
a0022d00:	e28d0018 	add	r0, sp, #24                                   
a0022d04:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( result );                   
a0022d08:	eb0055c1 	bl	a0038414 <__errno>                             
a0022d0c:	e5804000 	str	r4, [r0]                                      
a0022d10:	eaffffeb 	b	a0022cc4 <link+0xcc>                            
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
a0022d14:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0022d18:	e59d2014 	ldr	r2, [sp, #20]                                 
a0022d1c:	e1520003 	cmp	r2, r3                                        
a0022d20:	0a000012 	beq	a0022d70 <link+0x178>                         
    rtems_filesystem_freenode( &existing_loc );                       
a0022d24:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0022d28:	e3530000 	cmp	r3, #0                                        
a0022d2c:	0a000004 	beq	a0022d44 <link+0x14c>                         
a0022d30:	e593301c 	ldr	r3, [r3, #28]                                 
a0022d34:	e3530000 	cmp	r3, #0                                        
a0022d38:	0a000001 	beq	a0022d44 <link+0x14c>                         
a0022d3c:	e28d0018 	add	r0, sp, #24                                   
a0022d40:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &parent_loc );                         
a0022d44:	e59d3010 	ldr	r3, [sp, #16]                                 
a0022d48:	e3530000 	cmp	r3, #0                                        
a0022d4c:	0a000004 	beq	a0022d64 <link+0x16c>                         
a0022d50:	e593301c 	ldr	r3, [r3, #28]                                 
a0022d54:	e3530000 	cmp	r3, #0                                        
a0022d58:	0a000001 	beq	a0022d64 <link+0x16c>                         
a0022d5c:	e28d0004 	add	r0, sp, #4                                    
a0022d60:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a0022d64:	eb0055aa 	bl	a0038414 <__errno>                             
a0022d68:	e3a03012 	mov	r3, #18                                       
a0022d6c:	eaffffd3 	b	a0022cc0 <link+0xc8>                            
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
a0022d70:	e59d3010 	ldr	r3, [sp, #16]                                 
a0022d74:	e5933008 	ldr	r3, [r3, #8]                                  
a0022d78:	e3530000 	cmp	r3, #0                                        
a0022d7c:	1a00000f 	bne	a0022dc0 <link+0x1c8>                         
    rtems_filesystem_freenode( &existing_loc );                       
a0022d80:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0022d84:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022d88:	0a000004 	beq	a0022da0 <link+0x1a8>                         <== NOT EXECUTED
a0022d8c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0022d90:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022d94:	0a000001 	beq	a0022da0 <link+0x1a8>                         <== NOT EXECUTED
a0022d98:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a0022d9c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
a0022da0:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0022da4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022da8:	0affffc2 	beq	a0022cb8 <link+0xc0>                          <== NOT EXECUTED
a0022dac:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0022db0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022db4:	128d0004 	addne	r0, sp, #4                                  <== NOT EXECUTED
a0022db8:	1affffbd 	bne	a0022cb4 <link+0xbc>                          <== NOT EXECUTED
a0022dbc:	eaffffbd 	b	a0022cb8 <link+0xc0>                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
a0022dc0:	e28d4018 	add	r4, sp, #24                                   
a0022dc4:	e1a01006 	mov	r1, r6                                        
a0022dc8:	e1a00004 	mov	r0, r4                                        
a0022dcc:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          
a0022dd0:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
a0022dd4:	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 );
a0022dd8:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
a0022ddc:	e3530000 	cmp	r3, #0                                        
a0022de0:	0a000004 	beq	a0022df8 <link+0x200>                         
a0022de4:	e593301c 	ldr	r3, [r3, #28]                                 
a0022de8:	e3530000 	cmp	r3, #0                                        
a0022dec:	0a000001 	beq	a0022df8 <link+0x200>                         
a0022df0:	e1a00004 	mov	r0, r4                                        
a0022df4:	e12fff33 	blx	r3                                            
  rtems_filesystem_freenode( &parent_loc );                           
a0022df8:	e59d3010 	ldr	r3, [sp, #16]                                 
a0022dfc:	e3530000 	cmp	r3, #0                                        
a0022e00:	0a000004 	beq	a0022e18 <link+0x220>                         
a0022e04:	e593301c 	ldr	r3, [r3, #28]                                 
a0022e08:	e3530000 	cmp	r3, #0                                        
a0022e0c:	0a000001 	beq	a0022e18 <link+0x220>                         
a0022e10:	e28d0004 	add	r0, sp, #4                                    
a0022e14:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0022e18:	e1a00005 	mov	r0, r5                                        
a0022e1c:	e28dd030 	add	sp, sp, #48	; 0x30                            
a0022e20:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0022e24:	a0052628 	.word	0xa0052628                                  
                                                                      
a001695c <lseek>:                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a001695c:	e59fc0ec 	ldr	ip, [pc, #236]	; a0016a50 <lseek+0xf4>        
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
a0016960:	e92d4870 	push	{r4, r5, r6, fp, lr}                         
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016964:	e59cc000 	ldr	ip, [ip]                                      
a0016968:	e150000c 	cmp	r0, ip                                        
a001696c:	2a000005 	bcs	a0016988 <lseek+0x2c>                         
  iop = rtems_libio_iop( fd );                                        
a0016970:	e59fc0dc 	ldr	ip, [pc, #220]	; a0016a54 <lseek+0xf8>        
a0016974:	e59c4000 	ldr	r4, [ip]                                      
a0016978:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a001697c:	e5940014 	ldr	r0, [r4, #20]                                 
a0016980:	e3100c01 	tst	r0, #256	; 0x100                              
a0016984:	1a000002 	bne	a0016994 <lseek+0x38>                         
a0016988:	ebffd46c 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a001698c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0016990:	ea00001c 	b	a0016a08 <lseek+0xac>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
a0016994:	e594003c 	ldr	r0, [r4, #60]	; 0x3c                          
a0016998:	e5900014 	ldr	r0, [r0, #20]                                 
a001699c:	e3500000 	cmp	r0, #0                                        
a00169a0:	1a000002 	bne	a00169b0 <lseek+0x54>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00169a4:	ebffd465 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00169a8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00169ac:	ea000015 	b	a0016a08 <lseek+0xac>                           <== NOT EXECUTED
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
a00169b0:	e3530001 	cmp	r3, #1                                        
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
a00169b4:	e284600c 	add	r6, r4, #12                                   
a00169b8:	e8960060 	ldm	r6, {r5, r6}                                  
  switch ( whence ) {                                                 
a00169bc:	0a000006 	beq	a00169dc <lseek+0x80>                         
a00169c0:	e3530002 	cmp	r3, #2                                        
a00169c4:	0a000007 	beq	a00169e8 <lseek+0x8c>                         
a00169c8:	e3530000 	cmp	r3, #0                                        
a00169cc:	1a00000b 	bne	a0016a00 <lseek+0xa4>                         
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
a00169d0:	e584100c 	str	r1, [r4, #12]                                 
a00169d4:	e5842010 	str	r2, [r4, #16]                                 
      break;                                                          
a00169d8:	ea00000e 	b	a0016a18 <lseek+0xbc>                           
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
a00169dc:	e091b005 	adds	fp, r1, r5                                   
a00169e0:	e0a2c006 	adc	ip, r2, r6                                    
a00169e4:	ea000002 	b	a00169f4 <lseek+0x98>                           
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
a00169e8:	e9941800 	ldmib	r4, {fp, ip}                                
a00169ec:	e09bb001 	adds	fp, fp, r1                                   
a00169f0:	e0acc002 	adc	ip, ip, r2                                    
a00169f4:	e584b00c 	str	fp, [r4, #12]                                 
a00169f8:	e584c010 	str	ip, [r4, #16]                                 
      break;                                                          
a00169fc:	ea000005 	b	a0016a18 <lseek+0xbc>                           
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0016a00:	ebffd44e 	bl	a000bb40 <__errno>                             
a0016a04:	e3a03016 	mov	r3, #22                                       
a0016a08:	e5803000 	str	r3, [r0]                                      
a0016a0c:	e3e02000 	mvn	r2, #0                                        
a0016a10:	e3e03000 	mvn	r3, #0                                        
a0016a14:	ea00000a 	b	a0016a44 <lseek+0xe8>                           
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
a0016a18:	e594c03c 	ldr	ip, [r4, #60]	; 0x3c                          
a0016a1c:	e1a00004 	mov	r0, r4                                        
a0016a20:	e1a0e00f 	mov	lr, pc                                        
a0016a24:	e59cf014 	ldr	pc, [ip, #20]                                 
  if ( status == (off_t) -1 )                                         
a0016a28:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
a0016a2c:	e1a02000 	mov	r2, r0                                        
a0016a30:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
a0016a34:	1a000002 	bne	a0016a44 <lseek+0xe8>                         
a0016a38:	e3710001 	cmn	r1, #1                                        
    iop->offset = old_offset;                                         
a0016a3c:	0584500c 	streq	r5, [r4, #12]                               
a0016a40:	05846010 	streq	r6, [r4, #16]                               
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0016a44:	e1a01003 	mov	r1, r3                                        
a0016a48:	e1a00002 	mov	r0, r2                                        
a0016a4c:	e8bd8870 	pop	{r4, r5, r6, fp, pc}                          
a0016a50:	a00173c0 	.word	0xa00173c0                                  
a0016a54:	a0018bfc 	.word	0xa0018bfc                                  
                                                                      
a0022f44 <lstat>:                                                     
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a0022f44:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0022f48:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a0022f4c:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0022f50:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0022f54:	1a000002 	bne	a0022f64 <lstat+0x20>                         <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0022f58:	eb00552d 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0022f5c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0022f60:	ea000018 	b	a0022fc8 <lstat+0x84>                           <== NOT EXECUTED
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
a0022f64:	eb006fa4 	bl	a003edfc <strlen>                              <== NOT EXECUTED
a0022f68:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0022f6c:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a0022f70:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0022f74:	e1a0200c 	mov	r2, ip                                        <== NOT EXECUTED
a0022f78:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0022f7c:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0022f80:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0022f84:	ebff85be 	bl	a0004684 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a0022f88:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
a0022f8c:	1a00000e 	bne	a0022fcc <lstat+0x88>                         <== NOT EXECUTED
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
a0022f90:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a0022f94:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a0022f98:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022f9c:	1a00000c 	bne	a0022fd4 <lstat+0x90>                         <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
a0022fa0:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0022fa4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022fa8:	0a000004 	beq	a0022fc0 <lstat+0x7c>                         <== NOT EXECUTED
a0022fac:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0022fb0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0022fb4:	0a000001 	beq	a0022fc0 <lstat+0x7c>                         <== NOT EXECUTED
a0022fb8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0022fbc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0022fc0:	eb005513 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0022fc4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0022fc8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0022fcc:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0022fd0:	ea000010 	b	a0023018 <lstat+0xd4>                           <== NOT EXECUTED
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
a0022fd4:	e3a02048 	mov	r2, #72	; 0x48                                <== NOT EXECUTED
a0022fd8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0022fdc:	eb0061c4 	bl	a003b6f4 <memset>                              <== NOT EXECUTED
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a0022fe0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0022fe4:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a0022fe8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0022fec:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0022ff0:	e593f018 	ldr	pc, [r3, #24]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0022ff4:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a0022ff8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0022ffc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023000:	0a000004 	beq	a0023018 <lstat+0xd4>                         <== NOT EXECUTED
a0023004:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0023008:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a002300c:	0a000001 	beq	a0023018 <lstat+0xd4>                         <== NOT EXECUTED
a0023010:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0023014:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  return status;                                                      
}                                                                     
a0023018:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a002301c:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0023020:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
a0001b38 <malloc>:                                                    
  size_t  size                                                        
)                                                                     
{                                                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
a0001b38:	e59f30e0 	ldr	r3, [pc, #224]	; a0001c20 <malloc+0xe8>       
a0001b3c:	e92d4070 	push	{r4, r5, r6, lr}                             
a0001b40:	e5932004 	ldr	r2, [r3, #4]                                  
a0001b44:	e1a04000 	mov	r4, r0                                        
a0001b48:	e2822001 	add	r2, r2, #1                                    
a0001b4c:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a0001b50:	ebffffb2 	bl	a0001a20 <malloc_deferred_frees_process>       
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
a0001b54:	e3540000 	cmp	r4, #0                                        
a0001b58:	0a00002d 	beq	a0001c14 <malloc+0xdc>                        
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0001b5c:	e59f30c0 	ldr	r3, [pc, #192]	; a0001c24 <malloc+0xec>       
a0001b60:	e5933000 	ldr	r3, [r3]                                      
a0001b64:	e3530003 	cmp	r3, #3                                        
a0001b68:	1a000002 	bne	a0001b78 <malloc+0x40>                        
a0001b6c:	ebffff94 	bl	a00019c4 <malloc_is_system_state_OK>           
a0001b70:	e3500000 	cmp	r0, #0                                        
a0001b74:	0a000026 	beq	a0001c14 <malloc+0xdc>                        
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
a0001b78:	e59f30a8 	ldr	r3, [pc, #168]	; a0001c28 <malloc+0xf0>       
a0001b7c:	e3a02000 	mov	r2, #0                                        
a0001b80:	e1a01004 	mov	r1, r4                                        
a0001b84:	e5930000 	ldr	r0, [r3]                                      
a0001b88:	e1a03002 	mov	r3, r2                                        
a0001b8c:	eb0011a1 	bl	a0006218 <_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 ) {                                               
a0001b90:	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;                                              
a0001b94:	11a05006 	movne	r5, r6                                      
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
a0001b98:	1a00000c 	bne	a0001bd0 <malloc+0x98>                        
    if (rtems_malloc_sbrk_helpers)                                    
a0001b9c:	e59f3088 	ldr	r3, [pc, #136]	; a0001c2c <malloc+0xf4>       
a0001ba0:	e5933000 	ldr	r3, [r3]                                      
a0001ba4:	e3530000 	cmp	r3, #0                                        
a0001ba8:	0a000004 	beq	a0001bc0 <malloc+0x88>                        
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
a0001bac:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001bb0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0001bb4:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
    if ( !return_this ) {                                             
a0001bb8:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a0001bbc:	1a000003 	bne	a0001bd0 <malloc+0x98>                        <== NOT EXECUTED
      errno = ENOMEM;                                                 
a0001bc0:	eb0027de 	bl	a000bb40 <__errno>                             
a0001bc4:	e3a0300c 	mov	r3, #12                                       
a0001bc8:	e5803000 	str	r3, [r0]                                      
      return (void *) 0;                                              
a0001bcc:	ea000011 	b	a0001c18 <malloc+0xe0>                          
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
a0001bd0:	e59f3058 	ldr	r3, [pc, #88]	; a0001c30 <malloc+0xf8>        
a0001bd4:	e5933000 	ldr	r3, [r3]                                      
a0001bd8:	e3530000 	cmp	r3, #0                                        
a0001bdc:	0a000003 	beq	a0001bf0 <malloc+0xb8>                        
    (*rtems_malloc_dirty_helper)( return_this, size );                
a0001be0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0001be4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001be8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0001bec:	e593f000 	ldr	pc, [r3]                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0001bf0:	e59f303c 	ldr	r3, [pc, #60]	; a0001c34 <malloc+0xfc>        
a0001bf4:	e5933000 	ldr	r3, [r3]                                      
a0001bf8:	e3530000 	cmp	r3, #0                                        
a0001bfc:	0a000002 	beq	a0001c0c <malloc+0xd4>                        
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
a0001c00:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001c04:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0001c08:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
a0001c0c:	e1a06005 	mov	r6, r5                                        
a0001c10:	ea000000 	b	a0001c18 <malloc+0xe0>                          
a0001c14:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
a0001c18:	e1a00006 	mov	r0, r6                                        
a0001c1c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0001c20:	a0018c14 	.word	0xa0018c14                                  
a0001c24:	a0018f10 	.word	0xa0018f10                                  
a0001c28:	a00173cc 	.word	0xa00173cc                                  
a0001c2c:	a001884c 	.word	0xa001884c                                  
a0001c30:	a0018850 	.word	0xa0018850                                  
a0001c34:	a0018848 	.word	0xa0018848                                  
                                                                      
a0001a10 <malloc_deferred_free>:                                      
}                                                                     
                                                                      
void malloc_deferred_free(                                            
  void *pointer                                                       
)                                                                     
{                                                                     
a0001a10:	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 );                               
a0001a14:	e59f0000 	ldr	r0, [pc, #0]	; a0001a1c <malloc_deferred_free+0xc><== NOT EXECUTED
a0001a18:	ea000e12 	b	a0005268 <_Chain_Append>                        <== NOT EXECUTED
a0001a1c:	a0018c08 	.word	0xa0018c08                                  
                                                                      
a0001a20 <malloc_deferred_frees_process>:                             
{                                                                     
  rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list);                
}                                                                     
                                                                      
void malloc_deferred_frees_process(void)                              
{                                                                     
a0001a20:	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)
a0001a24:	ea000000 	b	a0001a2c <malloc_deferred_frees_process+0xc>    
    free(to_be_freed);                                                
a0001a28:	ebffff81 	bl	a0001834 <free>                                <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
a0001a2c:	e59f000c 	ldr	r0, [pc, #12]	; a0001a40 <malloc_deferred_frees_process+0x20>
a0001a30:	eb000e17 	bl	a0005294 <_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)
a0001a34:	e3500000 	cmp	r0, #0                                        
a0001a38:	1afffffa 	bne	a0001a28 <malloc_deferred_frees_process+0x8>  
    free(to_be_freed);                                                
}                                                                     
a0001a3c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
a0001a40:	a0018c08 	.word	0xa0018c08                                  
                                                                      
a000f4c8 <memfile_free_blocks_in_table>:                              
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
a000f4c8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a000f4cc:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
a000f4d0:	e1a0a001 	mov	sl, r1                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a000f4d4:	1a000004 	bne	a000f4ec <memfile_free_blocks_in_table+0x24>  
a000f4d8:	e59f0058 	ldr	r0, [pc, #88]	; a000f538 <memfile_free_blocks_in_table+0x70><== NOT EXECUTED
a000f4dc:	e59f1058 	ldr	r1, [pc, #88]	; a000f53c <memfile_free_blocks_in_table+0x74><== NOT EXECUTED
a000f4e0:	e59f2058 	ldr	r2, [pc, #88]	; a000f540 <memfile_free_blocks_in_table+0x78><== NOT EXECUTED
a000f4e4:	e59f3058 	ldr	r3, [pc, #88]	; a000f544 <memfile_free_blocks_in_table+0x7c><== NOT EXECUTED
a000f4e8:	ebfff8c5 	bl	a000d804 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
a000f4ec:	e3a05000 	mov	r5, #0                                        
a000f4f0:	e5947000 	ldr	r7, [r4]                                      
a000f4f4:	e1a06005 	mov	r6, r5                                        
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
a000f4f8:	e1a08005 	mov	r8, r5                                        
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a000f4fc:	ea000006 	b	a000f51c <memfile_free_blocks_in_table+0x54>    
    if ( b[i] ) {                                                     
a000f500:	e7970005 	ldr	r0, [r7, r5]                                  
a000f504:	e3500000 	cmp	r0, #0                                        
a000f508:	0a000001 	beq	a000f514 <memfile_free_blocks_in_table+0x4c>  
      memfile_free_block( b[i] );                                     
a000f50c:	ebffff54 	bl	a000f264 <memfile_free_block>                  
      b[i] = 0;                                                       
a000f510:	e7878005 	str	r8, [r7, r5]                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a000f514:	e2866001 	add	r6, r6, #1                                    
a000f518:	e2855004 	add	r5, r5, #4                                    
a000f51c:	e156000a 	cmp	r6, sl                                        
a000f520:	bafffff6 	blt	a000f500 <memfile_free_blocks_in_table+0x38>  
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
                                                                      
  memfile_free_block( *block_table );                                 
a000f524:	e5940000 	ldr	r0, [r4]                                      
a000f528:	ebffff4d 	bl	a000f264 <memfile_free_block>                  
  *block_table = 0;                                                   
a000f52c:	e3a03000 	mov	r3, #0                                        
a000f530:	e5843000 	str	r3, [r4]                                      
}                                                                     
a000f534:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a000f538:	a001dcb5 	.word	0xa001dcb5                                  
a000f53c:	000001b3 	.word	0x000001b3                                  
a000f540:	a001d418 	.word	0xa001d418                                  
a000f544:	a001dd29 	.word	0xa001dd29                                  
                                                                      
a000f9cc <memfile_ftruncate>:                                         
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
a000f9cc:	e92d4013 	push	{r0, r1, r4, lr}                             
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
a000f9d0:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
a000f9d4:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a000f9d8:	e1530002 	cmp	r3, r2                                        
a000f9dc:	ba000003 	blt	a000f9f0 <memfile_ftruncate+0x24>             
a000f9e0:	1a000005 	bne	a000f9fc <memfile_ftruncate+0x30>             
a000f9e4:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000f9e8:	e1530001 	cmp	r3, r1                                        
a000f9ec:	2a000002 	bcs	a000f9fc <memfile_ftruncate+0x30>             
    return IMFS_memfile_extend( the_jnode, length );                  
a000f9f0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000f9f4:	ebffff9a 	bl	a000f864 <IMFS_memfile_extend>                 <== NOT EXECUTED
a000f9f8:	ea000008 	b	a000fa20 <memfile_ftruncate+0x54>               <== NOT EXECUTED
   *  The in-memory files do not currently reclaim memory until the file is
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
                                                                      
  the_jnode->info.file.size = length;                                 
a000f9fc:	e5841050 	str	r1, [r4, #80]	; 0x50                          
a000fa00:	e5842054 	str	r2, [r4, #84]	; 0x54                          
  iop->size = the_jnode->info.file.size;                              
a000fa04:	e9800006 	stmib	r0, {r1, r2}                                
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000fa08:	e3a01000 	mov	r1, #0                                        
a000fa0c:	e1a0000d 	mov	r0, sp                                        
a000fa10:	ebffcc91 	bl	a0002c5c <gettimeofday>                        
a000fa14:	e59d3000 	ldr	r3, [sp]                                      
a000fa18:	e3a00000 	mov	r0, #0                                        
a000fa1c:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return 0;                                                           
}                                                                     
a000fa20:	e8bd801c 	pop	{r2, r3, r4, pc}                              
                                                                      
a000fa24 <memfile_lseek>:                                             
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
a000fa24:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
a000fa28:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
a000fa2c:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000fa30:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a000fa34:	e3530006 	cmp	r3, #6                                        
a000fa38:	1a00000b 	bne	a000fa6c <memfile_lseek+0x48>                 
    if (iop->offset > the_jnode->info.linearfile.size)                
a000fa3c:	e5953054 	ldr	r3, [r5, #84]	; 0x54                          <== NOT EXECUTED
a000fa40:	e5901010 	ldr	r1, [r0, #16]                                 <== NOT EXECUTED
a000fa44:	e5952050 	ldr	r2, [r5, #80]	; 0x50                          <== NOT EXECUTED
a000fa48:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a000fa4c:	ca000003 	bgt	a000fa60 <memfile_lseek+0x3c>                 <== NOT EXECUTED
a000fa50:	1a000014 	bne	a000faa8 <memfile_lseek+0x84>                 <== NOT EXECUTED
a000fa54:	e590100c 	ldr	r1, [r0, #12]                                 <== NOT EXECUTED
a000fa58:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a000fa5c:	9a000011 	bls	a000faa8 <memfile_lseek+0x84>                 <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
a000fa60:	e584200c 	str	r2, [r4, #12]                                 <== NOT EXECUTED
a000fa64:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
a000fa68:	ea00000e 	b	a000faa8 <memfile_lseek+0x84>                   <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
a000fa6c:	e1a00005 	mov	r0, r5                                        
a000fa70:	e284200c 	add	r2, r4, #12                                   
a000fa74:	e8920006 	ldm	r2, {r1, r2}                                  
a000fa78:	ebffff79 	bl	a000f864 <IMFS_memfile_extend>                 
a000fa7c:	e3500000 	cmp	r0, #0                                        
a000fa80:	0a000005 	beq	a000fa9c <memfile_lseek+0x78>                 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a000fa84:	eb000426 	bl	a0010b24 <__errno>                             <== NOT EXECUTED
a000fa88:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000fa8c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000fa90:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
a000fa94:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a000fa98:	ea000004 	b	a000fab0 <memfile_lseek+0x8c>                   <== NOT EXECUTED
                                                                      
    iop->size = the_jnode->info.file.size;                            
a000fa9c:	e2853050 	add	r3, r5, #80	; 0x50                            
a000faa0:	e893000c 	ldm	r3, {r2, r3}                                  
a000faa4:	e984000c 	stmib	r4, {r2, r3}                                
  }                                                                   
  return iop->offset;                                                 
a000faa8:	e284400c 	add	r4, r4, #12                                   
a000faac:	e8940018 	ldm	r4, {r3, r4}                                  
}                                                                     
a000fab0:	e1a01004 	mov	r1, r4                                        
a000fab4:	e1a00003 	mov	r0, r3                                        
a000fab8:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
a000fd40 <memfile_open>:                                              
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a000fd40:	e5903014 	ldr	r3, [r0, #20]                                 
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000fd44:	e92d4031 	push	{r0, r4, r5, lr}                             
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a000fd48:	e3130f81 	tst	r3, #516	; 0x204                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000fd4c:	e1a05000 	mov	r5, r0                                        
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
a000fd50:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a000fd54:	0a000017 	beq	a000fdb8 <memfile_open+0x78>                  
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
a000fd58:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000fd5c:	e3530006 	cmp	r3, #6                                        
a000fd60:	1a000014 	bne	a000fdb8 <memfile_open+0x78>                  
    uint32_t   count = the_jnode->info.linearfile.size;               
a000fd64:	e594c050 	ldr	ip, [r4, #80]	; 0x50                          <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
a000fd68:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
a000fd6c:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
a000fd70:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000fd74:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
a000fd78:	e15c0002 	cmp	ip, r2                                        <== 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;                               
a000fd7c:	e584304c 	str	r3, [r4, #76]	; 0x4c                          <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
a000fd80:	e5842060 	str	r2, [r4, #96]	; 0x60                          <== NOT EXECUTED
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
a000fd84:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
a000fd88:	e5840050 	str	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a000fd8c:	e5841054 	str	r1, [r4, #84]	; 0x54                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
a000fd90:	e584205c 	str	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
a000fd94:	e5842058 	str	r2, [r4, #88]	; 0x58                          <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
a000fd98:	0a000006 	beq	a000fdb8 <memfile_open+0x78>                  <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
a000fd9c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000fda0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000fda4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000fda8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000fdac:	ebffff42 	bl	a000fabc <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)                                                  
a000fdb0:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
a000fdb4:	0a000009 	beq	a000fde0 <memfile_open+0xa0>                  <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
a000fdb8:	e5953014 	ldr	r3, [r5, #20]                                 
a000fdbc:	e3130c02 	tst	r3, #512	; 0x200                              
    iop->offset = the_jnode->info.file.size;                          
a000fdc0:	12843050 	addne	r3, r4, #80	; 0x50                          
a000fdc4:	1893000c 	ldmne	r3, {r2, r3}                                
a000fdc8:	1585200c 	strne	r2, [r5, #12]                               
a000fdcc:	15853010 	strne	r3, [r5, #16]                               
                                                                      
  iop->size = the_jnode->info.file.size;                              
a000fdd0:	e2844050 	add	r4, r4, #80	; 0x50                            
a000fdd4:	e8940018 	ldm	r4, {r3, r4}                                  
a000fdd8:	e9850018 	stmib	r5, {r3, r4}                                
a000fddc:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
a000fde0:	e8bd8038 	pop	{r3, r4, r5, pc}                              
                                                                      
a0001c48 <mknod>:                                                     
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
a0001c48:	e92d43f0 	push	{r4, r5, r6, r7, r8, r9, 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) ) )                 
a0001c4c:	e3110a0f 	tst	r1, #61440	; 0xf000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
a0001c50:	e24dd01c 	sub	sp, sp, #28                                   
a0001c54:	e1a05001 	mov	r5, r1                                        
a0001c58:	e1a07000 	mov	r7, r0                                        
a0001c5c:	e1a08002 	mov	r8, r2                                        
a0001c60:	e1a09003 	mov	r9, 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) ) )                 
a0001c64:	1a000002 	bne	a0001c74 <mknod+0x2c>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001c68:	eb0027b4 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0001c6c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001c70:	ea00001b 	b	a0001ce4 <mknod+0x9c>                           <== NOT EXECUTED
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
a0001c74:	e5d03000 	ldrb	r3, [r0]                                     
a0001c78:	e353002f 	cmp	r3, #47	; 0x2f                                
a0001c7c:	1353005c 	cmpne	r3, #92	; 0x5c                              
a0001c80:	13a06000 	movne	r6, #0                                      
a0001c84:	03a06001 	moveq	r6, #1                                      
a0001c88:	0a000001 	beq	a0001c94 <mknod+0x4c>                         
a0001c8c:	e3530000 	cmp	r3, #0                                        
a0001c90:	1a000005 	bne	a0001cac <mknod+0x64>                         
a0001c94:	e59f30e0 	ldr	r3, [pc, #224]	; a0001d7c <mknod+0x134>       
a0001c98:	e28dc004 	add	ip, sp, #4                                    
a0001c9c:	e3a06001 	mov	r6, #1                                        
a0001ca0:	e593e000 	ldr	lr, [r3]                                      
a0001ca4:	e28ee018 	add	lr, lr, #24                                   
a0001ca8:	ea000003 	b	a0001cbc <mknod+0x74>                           
a0001cac:	e59f30c8 	ldr	r3, [pc, #200]	; a0001d7c <mknod+0x134>       
a0001cb0:	e28dc004 	add	ip, sp, #4                                    
a0001cb4:	e593e000 	ldr	lr, [r3]                                      
a0001cb8:	e28ee004 	add	lr, lr, #4                                    
a0001cbc:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0001cc0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001cc4:	e59e3000 	ldr	r3, [lr]                                      
a0001cc8:	e58c3000 	str	r3, [ip]                                      
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
a0001ccc:	e59d3010 	ldr	r3, [sp, #16]                                 
a0001cd0:	e5933004 	ldr	r3, [r3, #4]                                  
a0001cd4:	e3530000 	cmp	r3, #0                                        
a0001cd8:	1a000004 	bne	a0001cf0 <mknod+0xa8>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001cdc:	eb002797 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0001ce0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001ce4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001ce8:	e3e05000 	mvn	r5, #0                                        
a0001cec:	ea00001f 	b	a0001d70 <mknod+0x128>                          
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
a0001cf0:	e28d4004 	add	r4, sp, #4                                    
a0001cf4:	e0870006 	add	r0, r7, r6                                    
a0001cf8:	e1a01004 	mov	r1, r4                                        
a0001cfc:	e28d2018 	add	r2, sp, #24                                   
a0001d00:	e12fff33 	blx	r3                                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
a0001d04:	e3500000 	cmp	r0, #0                                        
a0001d08:	1afffff6 	bne	a0001ce8 <mknod+0xa0>                         
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
a0001d0c:	e59d3010 	ldr	r3, [sp, #16]                                 
a0001d10:	e593c014 	ldr	ip, [r3, #20]                                 
a0001d14:	e35c0000 	cmp	ip, #0                                        
a0001d18:	1a000005 	bne	a0001d34 <mknod+0xec>                         
    rtems_filesystem_freenode( &temp_loc );                           
a0001d1c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0001d20:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001d24:	0affffec 	beq	a0001cdc <mknod+0x94>                         <== NOT EXECUTED
a0001d28:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001d2c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0001d30:	eaffffe9 	b	a0001cdc <mknod+0x94>                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
a0001d34:	e1a01005 	mov	r1, r5                                        
a0001d38:	e1a03009 	mov	r3, r9                                        
a0001d3c:	e58d4000 	str	r4, [sp]                                      
a0001d40:	e1a02008 	mov	r2, r8                                        
a0001d44:	e59d0018 	ldr	r0, [sp, #24]                                 
a0001d48:	e12fff3c 	blx	ip                                            
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0001d4c:	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 );
a0001d50:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0001d54:	e3530000 	cmp	r3, #0                                        
a0001d58:	0a000004 	beq	a0001d70 <mknod+0x128>                        
a0001d5c:	e593301c 	ldr	r3, [r3, #28]                                 
a0001d60:	e3530000 	cmp	r3, #0                                        
a0001d64:	0a000001 	beq	a0001d70 <mknod+0x128>                        
a0001d68:	e1a00004 	mov	r0, r4                                        
a0001d6c:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0001d70:	e1a00005 	mov	r0, r5                                        
a0001d74:	e28dd01c 	add	sp, sp, #28                                   
a0001d78:	e8bd83f0 	pop	{r4, r5, r6, r7, r8, r9, pc}                  
a0001d7c:	a0017598 	.word	0xa0017598                                  
                                                                      
a0001d9c <mount>:                                                     
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
a0001d9c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
a0001da0:	e2517000 	subs	r7, r1, #0                                   
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
a0001da4:	e24dd018 	sub	sp, sp, #24                                   
a0001da8:	e1a06000 	mov	r6, r0                                        
a0001dac:	e1a09002 	mov	r9, r2                                        
a0001db0:	e1a0b003 	mov	fp, r3                                        
a0001db4:	e59da03c 	ldr	sl, [sp, #60]	; 0x3c                          
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
a0001db8:	0a000001 	beq	a0001dc4 <mount+0x28>                         
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a0001dbc:	e3520001 	cmp	r2, #1                                        
a0001dc0:	9a000002 	bls	a0001dd0 <mount+0x34>                         
       options != RTEMS_FILESYSTEM_READ_WRITE ) {                     
    errno = EINVAL;                                                   
a0001dc4:	eb00275d 	bl	a000bb40 <__errno>                             
a0001dc8:	e3a03016 	mov	r3, #22                                       
a0001dcc:	ea000014 	b	a0001e24 <mount+0x88>                           
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
a0001dd0:	e5975024 	ldr	r5, [r7, #36]	; 0x24                          
a0001dd4:	e3550000 	cmp	r5, #0                                        
a0001dd8:	1a000004 	bne	a0001df0 <mount+0x54>                         
    errno = ENOTSUP;                                                  
a0001ddc:	eb002757 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0001de0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001de4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001de8:	e1a08005 	mov	r8, r5                                        <== NOT EXECUTED
    goto cleanup_and_bail;                                            
a0001dec:	ea00006b 	b	a0001fa0 <mount+0x204>                          <== NOT EXECUTED
  /*                                                                  
   * Allocate a mount table entry                                     
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
a0001df0:	e3530000 	cmp	r3, #0                                        
a0001df4:	03a0006c 	moveq	r0, #108	; 0x6c                             
a0001df8:	0a000002 	beq	a0001e08 <mount+0x6c>                         
     size += strlen( device ) + 1;                                    
a0001dfc:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0001e00:	eb002b3f 	bl	a000cb04 <strlen>                              <== NOT EXECUTED
a0001e04:	e280006d 	add	r0, r0, #109	; 0x6d                           <== NOT EXECUTED
   temp_mt_entry = malloc( size );                                    
a0001e08:	ebffff4a 	bl	a0001b38 <malloc>                              
                                                                      
   if ( !temp_mt_entry ) {                                            
a0001e0c:	e3500000 	cmp	r0, #0                                        
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
a0001e10:	e1a04000 	mov	r4, r0                                        
a0001e14:	e1a08000 	mov	r8, r0                                        
                                                                      
   if ( !temp_mt_entry ) {                                            
a0001e18:	1a000003 	bne	a0001e2c <mount+0x90>                         
     errno = ENOMEM;                                                  
a0001e1c:	eb002747 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0001e20:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0001e24:	e5803000 	str	r3, [r0]                                      
a0001e28:	ea000068 	b	a0001fd0 <mount+0x234>                          
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
a0001e2c:	e35b0000 	cmp	fp, #0                                        
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
a0001e30:	e5809030 	str	r9, [r0, #48]	; 0x30                          
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
a0001e34:	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;                                          
a0001e38:	0580b068 	streq	fp, [r0, #104]	; 0x68                       
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
a0001e3c:	0a000004 	beq	a0001e54 <mount+0xb8>                         
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
a0001e40:	e280306c 	add	r3, r0, #108	; 0x6c                           <== NOT EXECUTED
     strcpy( temp_mt_entry->dev, device );                            
a0001e44:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0001e48:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
a0001e4c:	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 );                            
a0001e50:	eb002aef 	bl	a000ca14 <strcpy>                              <== NOT EXECUTED
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
a0001e54:	e35a0000 	cmp	sl, #0                                        
a0001e58:	0a000033 	beq	a0001f2c <mount+0x190>                        
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
a0001e5c:	e1a0000a 	mov	r0, sl                                        
a0001e60:	eb002b27 	bl	a000cb04 <strlen>                              
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
a0001e64:	e28d5004 	add	r5, sp, #4                                    
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
a0001e68:	e1a01000 	mov	r1, r0                                        
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
a0001e6c:	e3a0c001 	mov	ip, #1                                        
a0001e70:	e1a0000a 	mov	r0, sl                                        
a0001e74:	e3a02007 	mov	r2, #7                                        
a0001e78:	e1a03005 	mov	r3, r5                                        
a0001e7c:	e58dc000 	str	ip, [sp]                                      
a0001e80:	ebfffe3d 	bl	a000177c <rtems_filesystem_evaluate_path>      
a0001e84:	e3700001 	cmn	r0, #1                                        
a0001e88:	0a000043 	beq	a0001f9c <mount+0x200>                        
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
a0001e8c:	e59d3010 	ldr	r3, [sp, #16]                                 
a0001e90:	e5933010 	ldr	r3, [r3, #16]                                 
a0001e94:	e3530000 	cmp	r3, #0                                        
a0001e98:	1a000002 	bne	a0001ea8 <mount+0x10c>                        
      errno =  ENOTSUP;                                               
a0001e9c:	eb002727 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0001ea0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001ea4:	ea000005 	b	a0001ec0 <mount+0x124>                          <== NOT EXECUTED
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a0001ea8:	e1a00005 	mov	r0, r5                                        
a0001eac:	e12fff33 	blx	r3                                            
a0001eb0:	e3500001 	cmp	r0, #1                                        
a0001eb4:	0a000003 	beq	a0001ec8 <mount+0x12c>                        
      errno = ENOTDIR;                                                
a0001eb8:	eb002720 	bl	a000bb40 <__errno>                             
a0001ebc:	e3a03014 	mov	r3, #20                                       
a0001ec0:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a0001ec4:	ea000035 	b	a0001fa0 <mount+0x204>                          
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a0001ec8:	e59f2138 	ldr	r2, [pc, #312]	; a0002008 <mount+0x26c>       
        !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 )
a0001ecc:	e59d1004 	ldr	r1, [sp, #4]                                  
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a0001ed0:	e4923004 	ldr	r3, [r2], #4                                  
a0001ed4:	ea000003 	b	a0001ee8 <mount+0x14c>                          
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = (rtems_filesystem_mount_table_entry_t *) the_node;
     if ( the_mount_entry->mt_fs_root.node_access  == loc->node_access )
a0001ed8:	e593001c 	ldr	r0, [r3, #28]                                 
a0001edc:	e1500001 	cmp	r0, r1                                        
a0001ee0:	0a000003 	beq	a0001ef4 <mount+0x158>                        
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
a0001ee4:	e5933000 	ldr	r3, [r3]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0001ee8:	e1530002 	cmp	r3, r2                                        
a0001eec:	1afffff9 	bne	a0001ed8 <mount+0x13c>                        
a0001ef0:	ea000039 	b	a0001fdc <mount+0x240>                          
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( Is_node_fs_root(  &loc ) ){                                  
      errno = EBUSY;                                                  
a0001ef4:	eb002711 	bl	a000bb40 <__errno>                             
a0001ef8:	e3a03010 	mov	r3, #16                                       
a0001efc:	ea000001 	b	a0001f08 <mount+0x16c>                          
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
      errno = ENOTSUP;                                                
a0001f00:	eb00270e 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0001f04:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001f08:	e5803000 	str	r3, [r0]                                      
a0001f0c:	e28d5004 	add	r5, sp, #4                                    
      goto cleanup_and_bail;                                          
a0001f10:	ea000022 	b	a0001fa0 <mount+0x204>                          
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( temp_mt_entry ) ) {                        
a0001f14:	e1a00004 	mov	r0, r4                                        
a0001f18:	e12fff33 	blx	r3                                            
a0001f1c:	e3500000 	cmp	r0, #0                                        
a0001f20:	e28d5004 	add	r5, sp, #4                                    
a0001f24:	0a000008 	beq	a0001f4c <mount+0x1b0>                        
a0001f28:	ea00001c 	b	a0001fa0 <mount+0x204>                          <== 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;                     
a0001f2c:	e584a01c 	str	sl, [r4, #28]                                 
    temp_mt_entry->mt_fs_root.handlers = NULL;                        
a0001f30:	e584a024 	str	sl, [r4, #36]	; 0x24                          
    temp_mt_entry->mt_fs_root.ops = NULL;                             
a0001f34:	e584a028 	str	sl, [r4, #40]	; 0x28                          
                                                                      
    temp_mt_entry->mt_point_node.node_access = NULL;                  
a0001f38:	e584a008 	str	sl, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = NULL;                     
a0001f3c:	e584a010 	str	sl, [r4, #16]                                 
    temp_mt_entry->mt_point_node.ops = NULL;                          
a0001f40:	e584a014 	str	sl, [r4, #20]                                 
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
a0001f44:	e584a018 	str	sl, [r4, #24]                                 
a0001f48:	e1a0500a 	mov	r5, sl                                        
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
a0001f4c:	e1a00004 	mov	r0, r4                                        
a0001f50:	e1a0e00f 	mov	lr, pc                                        
a0001f54:	e597f024 	ldr	pc, [r7, #36]	; 0x24                          
a0001f58:	e2507000 	subs	r7, r0, #0                                   
a0001f5c:	0a000006 	beq	a0001f7c <mount+0x1e0>                        
	/* try to undo the mount operation */                                
	if ( loc.ops->unmount_h ) {                                          
a0001f60:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0001f64:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
a0001f68:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001f6c:	0a00000b 	beq	a0001fa0 <mount+0x204>                        <== NOT EXECUTED
		loc.ops->unmount_h( temp_mt_entry );                                
a0001f70:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001f74:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0001f78:	ea000008 	b	a0001fa0 <mount+0x204>                          <== 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 );                               
a0001f7c:	e59f0084 	ldr	r0, [pc, #132]	; a0002008 <mount+0x26c>       
a0001f80:	e1a01004 	mov	r1, r4                                        
a0001f84:	eb000cb7 	bl	a0005268 <_Chain_Append>                       
   */                                                                 
                                                                      
  rtems_chain_append( &rtems_filesystem_mount_table_control,          
                      &temp_mt_entry->Node );                         
                                                                      
  if ( mt_entry )                                                     
a0001f88:	e3560000 	cmp	r6, #0                                        
a0001f8c:	01a00006 	moveq	r0, r6                                      
    *mt_entry = temp_mt_entry;                                        
a0001f90:	15864000 	strne	r4, [r6]                                    
a0001f94:	11a00007 	movne	r0, r7                                      
a0001f98:	ea00000d 	b	a0001fd4 <mount+0x238>                          
a0001f9c:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
a0001fa0:	e1a00008 	mov	r0, r8                                        
a0001fa4:	ebfffe22 	bl	a0001834 <free>                                
                                                                      
  if ( loc_to_free )                                                  
a0001fa8:	e3550000 	cmp	r5, #0                                        
a0001fac:	0a000007 	beq	a0001fd0 <mount+0x234>                        
    rtems_filesystem_freenode( loc_to_free );                         
a0001fb0:	e595300c 	ldr	r3, [r5, #12]                                 
a0001fb4:	e3530000 	cmp	r3, #0                                        
a0001fb8:	0a000004 	beq	a0001fd0 <mount+0x234>                        
a0001fbc:	e593301c 	ldr	r3, [r3, #28]                                 
a0001fc0:	e3530000 	cmp	r3, #0                                        
a0001fc4:	0a000001 	beq	a0001fd0 <mount+0x234>                        
a0001fc8:	e1a00005 	mov	r0, r5                                        
a0001fcc:	e12fff33 	blx	r3                                            
a0001fd0:	e3e00000 	mvn	r0, #0                                        
                                                                      
  return -1;                                                          
}                                                                     
a0001fd4:	e28dd018 	add	sp, sp, #24                                   
a0001fd8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
a0001fdc:	e59d2010 	ldr	r2, [sp, #16]                                 
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
a0001fe0:	e5841008 	str	r1, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
a0001fe4:	e59d100c 	ldr	r1, [sp, #12]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
a0001fe8:	e5923020 	ldr	r3, [r2, #32]                                 
     *  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;                       
a0001fec:	e5842014 	str	r2, [r4, #20]                                 
     *  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;             
a0001ff0:	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;             
a0001ff4:	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 ){                                         
a0001ff8:	e3530000 	cmp	r3, #0                                        
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
a0001ffc:	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 ){                                         
a0002000:	1affffc3 	bne	a0001f14 <mount+0x178>                        
a0002004:	eaffffbd 	b	a0001f00 <mount+0x164>                          <== NOT EXECUTED
a0002008:	a0018c40 	.word	0xa0018c40                                  
                                                                      
a000207c <newlib_free_buffers>:                                       
 */                                                                   
                                                                      
int newlib_free_buffers(                                              
  FILE *fp                                                            
)                                                                     
{                                                                     
a000207c:	e92d4010 	push	{r4, lr}                                     
a0002080:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
a0002084:	eb0027ac 	bl	a000bf3c <fileno>                              
a0002088:	e3500002 	cmp	r0, #2                                        
a000208c:	8a00000b 	bhi	a00020c0 <newlib_free_buffers+0x44>           
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
a0002090:	e1d430bc 	ldrh	r3, [r4, #12]                                
a0002094:	e3130080 	tst	r3, #128	; 0x80                               
a0002098:	0a00000a 	beq	a00020c8 <newlib_free_buffers+0x4c>           
        free( fp->_bf._base );                                        
a000209c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00020a0:	ebfffde3 	bl	a0001834 <free>                                <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
a00020a4:	e1d420bc 	ldrh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a00020a8:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a00020ac:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
a00020b0:	e3c22080 	bic	r2, r2, #128	; 0x80                           <== NOT EXECUTED
a00020b4:	e1c420bc 	strh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a00020b8:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
a00020bc:	ea000001 	b	a00020c8 <newlib_free_buffers+0x4c>             <== NOT EXECUTED
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
a00020c0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00020c4:	eb0026ea 	bl	a000bc74 <fclose>                              <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a00020c8:	e3a00000 	mov	r0, #0                                        
a00020cc:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
a0002194 <null_initialize>:                                           
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
a0002194:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a0002198:	e59f303c 	ldr	r3, [pc, #60]	; a00021dc <null_initialize+0x48>
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
a000219c:	e1a04000 	mov	r4, r0                                        
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a00021a0:	e5d32000 	ldrb	r2, [r3]                                     
a00021a4:	e3520000 	cmp	r2, #0                                        
a00021a8:	1a000009 	bne	a00021d4 <null_initialize+0x40>               
    initialized = 1;                                                  
a00021ac:	e3a0c001 	mov	ip, #1                                        
a00021b0:	e5c3c000 	strb	ip, [r3]                                     
                                                                      
    status = rtems_io_register_name(                                  
a00021b4:	e59f0024 	ldr	r0, [pc, #36]	; a00021e0 <null_initialize+0x4c>
a00021b8:	e1a01004 	mov	r1, r4                                        
a00021bc:	eb00004c 	bl	a00022f4 <rtems_io_register_name>              
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
a00021c0:	e3500000 	cmp	r0, #0                                        
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
a00021c4:	059f3018 	ldreq	r3, [pc, #24]	; a00021e4 <null_initialize+0x50>
a00021c8:	05834000 	streq	r4, [r3]                                    
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
a00021cc:	0a000000 	beq	a00021d4 <null_initialize+0x40>               
      rtems_fatal_error_occurred(status);                             
a00021d0:	eb000f9c 	bl	a0006048 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
    NULL_major = major;                                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00021d4:	e3a00000 	mov	r0, #0                                        
a00021d8:	e8bd8010 	pop	{r4, pc}                                      
a00021dc:	a001d848 	.word	0xa001d848                                  
a00021e0:	a001c9f3 	.word	0xa001c9f3                                  
a00021e4:	a001dbf8 	.word	0xa001dbf8                                  
                                                                      
a00022f4 <open>:                                                      
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
a00022f4:	e92d000e 	push	{r1, r2, r3}                                 
a00022f8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
a00022fc:	e24dd01c 	sub	sp, sp, #28                                   
a0002300:	e59d503c 	ldr	r5, [sp, #60]	; 0x3c                          
a0002304:	e1a06000 	mov	r6, r0                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0002308:	e59d9040 	ldr	r9, [sp, #64]	; 0x40                          
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
a000230c:	e2853001 	add	r3, r5, #1                                    
  if ( ( status & _FREAD ) == _FREAD )                                
a0002310:	e2138001 	ands	r8, r3, #1                                   
a0002314:	13a08004 	movne	r8, #4                                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
a0002318:	e3130002 	tst	r3, #2                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a000231c:	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;                            
a0002320:	13888002 	orrne	r8, r8, #2                                  
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0002324:	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();                                       
a0002328:	eb001bb0 	bl	a00091f0 <rtems_libio_allocate>                
  if ( iop == 0 ) {                                                   
a000232c:	e2504000 	subs	r4, r0, #0                                   
a0002330:	03a05017 	moveq	r5, #23                                     
a0002334:	0a000077 	beq	a0002518 <open+0x224>                         
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
a0002338:	e1a00006 	mov	r0, r6                                        
a000233c:	eb0029f0 	bl	a000cb04 <strlen>                              
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
a0002340:	e28d7004 	add	r7, sp, #4                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
a0002344:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
a0002348:	e1a02008 	mov	r2, r8                                        
a000234c:	e1a00006 	mov	r0, r6                                        
a0002350:	e3a08001 	mov	r8, #1                                        
a0002354:	e1a03007 	mov	r3, r7                                        
a0002358:	e58d8000 	str	r8, [sp]                                      
a000235c:	ebfffd06 	bl	a000177c <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
a0002360:	e3700001 	cmn	r0, #1                                        
a0002364:	1a00001f 	bne	a00023e8 <open+0xf4>                          
    if ( errno != ENOENT ) {                                          
a0002368:	eb0025f4 	bl	a000bb40 <__errno>                             
a000236c:	e5903000 	ldr	r3, [r0]                                      
a0002370:	e3530002 	cmp	r3, #2                                        
a0002374:	1a00000a 	bne	a00023a4 <open+0xb0>                          
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
a0002378:	e215ac02 	ands	sl, r5, #512	; 0x200                         
a000237c:	01a0700a 	moveq	r7, sl                                      
a0002380:	01a05003 	moveq	r5, r3                                      
a0002384:	0a000055 	beq	a00024e0 <open+0x1ec>                         
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
a0002388:	e1a00006 	mov	r0, r6                                        
a000238c:	e3891902 	orr	r1, r9, #32768	; 0x8000                       
a0002390:	e3a02000 	mov	r2, #0                                        
a0002394:	e3a03000 	mov	r3, #0                                        
a0002398:	ebfffe2a 	bl	a0001c48 <mknod>                               
    if ( rc ) {                                                       
a000239c:	e250a000 	subs	sl, r0, #0                                   
a00023a0:	0a000003 	beq	a00023b4 <open+0xc0>                          
      rc = errno;                                                     
a00023a4:	eb0025e5 	bl	a000bb40 <__errno>                             
a00023a8:	e3a07000 	mov	r7, #0                                        
a00023ac:	e5905000 	ldr	r5, [r0]                                      
      goto done;                                                      
a00023b0:	ea000048 	b	a00024d8 <open+0x1e4>                           
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
a00023b4:	e1a00006 	mov	r0, r6                                        
a00023b8:	eb0029d1 	bl	a000cb04 <strlen>                              
a00023bc:	e1a03007 	mov	r3, r7                                        
a00023c0:	e1a01000 	mov	r1, r0                                        
a00023c4:	e1a0200a 	mov	r2, sl                                        
a00023c8:	e1a00006 	mov	r0, r6                                        
a00023cc:	e58d8000 	str	r8, [sp]                                      
a00023d0:	ebfffce9 	bl	a000177c <rtems_filesystem_evaluate_path>      
    if ( status != 0 ) {   /* The file did not exist */               
a00023d4:	e3500000 	cmp	r0, #0                                        
a00023d8:	11a0700a 	movne	r7, sl                                      
a00023dc:	13a0500d 	movne	r5, #13                                     
a00023e0:	1a00003e 	bne	a00024e0 <open+0x1ec>                         
a00023e4:	ea000003 	b	a00023f8 <open+0x104>                           
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
a00023e8:	e2053c0a 	and	r3, r5, #2560	; 0xa00                         
a00023ec:	e3530c0a 	cmp	r3, #2560	; 0xa00                             
a00023f0:	03a05011 	moveq	r5, #17                                     
a00023f4:	0a000039 	beq	a00024e0 <open+0x1ec>                         
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
a00023f8:	e28d701c 	add	r7, sp, #28                                   
a00023fc:	e5373018 	ldr	r3, [r7, #-24]!                               
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0002400:	e1a00005 	mov	r0, r5                                        
a0002404:	e5948014 	ldr	r8, [r4, #20]                                 
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
a0002408:	e5843038 	str	r3, [r4, #56]	; 0x38                          
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
a000240c:	e59d300c 	ldr	r3, [sp, #12]                                 
a0002410:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0002414:	eb001b9b 	bl	a0009288 <rtems_libio_fcntl_flags>             
  iop->pathinfo   = loc;                                              
a0002418:	e284c018 	add	ip, r4, #24                                   
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a000241c:	e180e008 	orr	lr, r0, r8                                    
  iop->pathinfo   = loc;                                              
a0002420:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a0002424:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a0002428:	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;                                              
a000242c:	e5972000 	ldr	r2, [r7]                                      
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0002430:	e584e014 	str	lr, [r4, #20]                                 
  iop->pathinfo   = loc;                                              
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a0002434:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
a0002438:	e58c2000 	str	r2, [ip]                                      
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a000243c:	0a000041 	beq	a0002548 <open+0x254>                         
a0002440:	e593c000 	ldr	ip, [r3]                                      
a0002444:	e35c0000 	cmp	ip, #0                                        
a0002448:	0a00003e 	beq	a0002548 <open+0x254>                         
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
a000244c:	e1a01006 	mov	r1, r6                                        
a0002450:	e1a03009 	mov	r3, r9                                        
a0002454:	e1a00004 	mov	r0, r4                                        
a0002458:	e1a02005 	mov	r2, r5                                        
a000245c:	e12fff3c 	blx	ip                                            
  if ( rc ) {                                                         
a0002460:	e3500000 	cmp	r0, #0                                        
a0002464:	0a000003 	beq	a0002478 <open+0x184>                         
    rc = errno;                                                       
a0002468:	eb0025b4 	bl	a000bb40 <__errno>                             
a000246c:	e28d7004 	add	r7, sp, #4                                    
a0002470:	e5905000 	ldr	r5, [r0]                                      
    goto done;                                                        
a0002474:	ea000017 	b	a00024d8 <open+0x1e4>                           
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
a0002478:	e3150b01 	tst	r5, #1024	; 0x400                             
a000247c:	0a000029 	beq	a0002528 <open+0x234>                         
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
a0002480:	e59f30cc 	ldr	r3, [pc, #204]	; a0002554 <open+0x260>        
a0002484:	e3a01000 	mov	r1, #0                                        
a0002488:	e3a02000 	mov	r2, #0                                        
a000248c:	e5930000 	ldr	r0, [r3]                                      
a0002490:	e0600004 	rsb	r0, r0, r4                                    
a0002494:	e1a00340 	asr	r0, r0, #6                                    
a0002498:	eb001aa3 	bl	a0008f2c <ftruncate>                           
    if ( rc ) {                                                       
a000249c:	e2505000 	subs	r5, r0, #0                                   
a00024a0:	0a000020 	beq	a0002528 <open+0x234>                         
      if(errno) rc = errno;                                           
a00024a4:	eb0025a5 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00024a8:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a00024ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00024b0:	0a000001 	beq	a00024bc <open+0x1c8>                         <== NOT EXECUTED
a00024b4:	eb0025a1 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00024b8:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
a00024bc:	e59f3090 	ldr	r3, [pc, #144]	; a0002554 <open+0x260>        <== NOT EXECUTED
a00024c0:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a00024c4:	e0634004 	rsb	r4, r3, r4                                    <== NOT EXECUTED
a00024c8:	e1a00344 	asr	r0, r4, #6                                    <== NOT EXECUTED
a00024cc:	eb001a6e 	bl	a0008e8c <close>                               <== NOT EXECUTED
a00024d0:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
a00024d4:	e1a07004 	mov	r7, r4                                        <== NOT EXECUTED
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
a00024d8:	e3550000 	cmp	r5, #0                                        
a00024dc:	0a000011 	beq	a0002528 <open+0x234>                         
    if ( iop )                                                        
a00024e0:	e3540000 	cmp	r4, #0                                        
a00024e4:	0a000001 	beq	a00024f0 <open+0x1fc>                         
      rtems_libio_free( iop );                                        
a00024e8:	e1a00004 	mov	r0, r4                                        
a00024ec:	eb001b2e 	bl	a00091ac <rtems_libio_free>                    
    if ( loc_to_free )                                                
a00024f0:	e3570000 	cmp	r7, #0                                        
a00024f4:	0a000007 	beq	a0002518 <open+0x224>                         
      rtems_filesystem_freenode( loc_to_free );                       
a00024f8:	e597300c 	ldr	r3, [r7, #12]                                 
a00024fc:	e3530000 	cmp	r3, #0                                        
a0002500:	0a000004 	beq	a0002518 <open+0x224>                         
a0002504:	e593301c 	ldr	r3, [r3, #28]                                 
a0002508:	e3530000 	cmp	r3, #0                                        
a000250c:	0a000001 	beq	a0002518 <open+0x224>                         
a0002510:	e1a00007 	mov	r0, r7                                        
a0002514:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( rc );                       
a0002518:	eb002588 	bl	a000bb40 <__errno>                             
a000251c:	e5805000 	str	r5, [r0]                                      
a0002520:	e3e00000 	mvn	r0, #0                                        
a0002524:	ea000003 	b	a0002538 <open+0x244>                           
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
a0002528:	e59f3024 	ldr	r3, [pc, #36]	; a0002554 <open+0x260>         
a000252c:	e5930000 	ldr	r0, [r3]                                      
a0002530:	e0604004 	rsb	r4, r0, r4                                    
a0002534:	e1a00344 	asr	r0, r4, #6                                    
}                                                                     
a0002538:	e28dd01c 	add	sp, sp, #28                                   
a000253c:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a0002540:	e28dd00c 	add	sp, sp, #12                                   
a0002544:	e12fff1e 	bx	lr                                             
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
a0002548:	e28d7004 	add	r7, sp, #4                                    <== NOT EXECUTED
a000254c:	e3a05086 	mov	r5, #134	; 0x86                               <== NOT EXECUTED
a0002550:	eaffffe2 	b	a00024e0 <open+0x1ec>                           <== NOT EXECUTED
a0002554:	a0018bfc 	.word	0xa0018bfc                                  
                                                                      
a0002290 <open_dev_console>:                                          
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
a0002290:	e3a01000 	mov	r1, #0                                        
                                                                      
/*                                                                    
 *  This is a replaceable stub which opens the console, if present.   
 */                                                                   
void open_dev_console(void)                                           
{                                                                     
a0002294:	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) {         
a0002298:	e59f0048 	ldr	r0, [pc, #72]	; a00022e8 <open_dev_console+0x58>
a000229c:	e1a02001 	mov	r2, r1                                        
a00022a0:	eb000013 	bl	a00022f4 <open>                                
a00022a4:	e3700001 	cmn	r0, #1                                        
a00022a8:	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)          
a00022ac:	e59f0034 	ldr	r0, [pc, #52]	; a00022e8 <open_dev_console+0x58>
a00022b0:	e3a01001 	mov	r1, #1                                        
a00022b4:	e3a02000 	mov	r2, #0                                        
a00022b8:	eb00000d 	bl	a00022f4 <open>                                
a00022bc:	e3700001 	cmn	r0, #1                                        
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
a00022c0:	059f0024 	ldreq	r0, [pc, #36]	; a00022ec <open_dev_console+0x5c>
                                                                      
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
a00022c4:	0a000006 	beq	a00022e4 <open_dev_console+0x54>              
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
a00022c8:	e59f0018 	ldr	r0, [pc, #24]	; a00022e8 <open_dev_console+0x58>
a00022cc:	e3a01001 	mov	r1, #1                                        
a00022d0:	e3a02000 	mov	r2, #0                                        
a00022d4:	eb000006 	bl	a00022f4 <open>                                
a00022d8:	e3700001 	cmn	r0, #1                                        
a00022dc:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
a00022e0:	e59f0008 	ldr	r0, [pc, #8]	; a00022f0 <open_dev_console+0x60><== NOT EXECUTED
a00022e4:	eb000b35 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
a00022e8:	a0018345 	.word	0xa0018345                                  
a00022ec:	55544431 	.word	0x55544431                                  
a00022f0:	55544432 	.word	0x55544432                                  
                                                                      
a0002c1c <oproc>:                                                     
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002c1c:	e92d4011 	push	{r0, r4, lr}                                 
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a0002c20:	e5913034 	ldr	r3, [r1, #52]	; 0x34                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002c24:	e1a04001 	mov	r4, r1                                        
a0002c28:	e5cd0000 	strb	r0, [sp]                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a0002c2c:	e3130001 	tst	r3, #1                                        
a0002c30:	0a000047 	beq	a0002d54 <oproc+0x138>                        
		switch (c) {                                                        
a0002c34:	e5dd2000 	ldrb	r2, [sp]                                     
a0002c38:	e2421008 	sub	r1, r2, #8                                    
a0002c3c:	e3510005 	cmp	r1, #5                                        
a0002c40:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
a0002c44:	ea00002e 	b	a0002d04 <oproc+0xe8>                           
a0002c48:	a0002cf0 	.word	0xa0002cf0                                  <== NOT EXECUTED
a0002c4c:	a0002cc4 	.word	0xa0002cc4                                  <== NOT EXECUTED
a0002c50:	a0002c60 	.word	0xa0002c60                                  <== NOT EXECUTED
a0002c54:	a0002d04 	.word	0xa0002d04                                  <== NOT EXECUTED
a0002c58:	a0002d04 	.word	0xa0002d04                                  <== NOT EXECUTED
a0002c5c:	a0002c8c 	.word	0xa0002c8c                                  <== NOT EXECUTED
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
a0002c60:	e3130020 	tst	r3, #32                                       
				tty->column = 0;                                                  
a0002c64:	13a03000 	movne	r3, #0                                      
a0002c68:	15843028 	strne	r3, [r4, #40]	; 0x28                        
			if (tty->termios.c_oflag & ONLCR) {                                
a0002c6c:	e5943034 	ldr	r3, [r4, #52]	; 0x34                          
a0002c70:	e3130004 	tst	r3, #4                                        
a0002c74:	0a000036 	beq	a0002d54 <oproc+0x138>                        
				rtems_termios_puts ("\r", 1, tty);                                
a0002c78:	e59f00e8 	ldr	r0, [pc, #232]	; a0002d68 <oproc+0x14c>       
a0002c7c:	e3a01001 	mov	r1, #1                                        
a0002c80:	e1a02004 	mov	r2, r4                                        
a0002c84:	ebffff9f 	bl	a0002b08 <rtems_termios_puts>                  
a0002c88:	ea00000b 	b	a0002cbc <oproc+0xa0>                           
				tty->column = 0;                                                  
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
a0002c8c:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a0002c90:	0a000002 	beq	a0002ca0 <oproc+0x84>                         <== NOT EXECUTED
a0002c94:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002c98:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0002c9c:	0a000030 	beq	a0002d64 <oproc+0x148>                        <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
a0002ca0:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
				c = '\n';                                                         
				if (tty->termios.c_oflag & ONLRET)                                
					tty->column = 0;                                                 
				break;                                                            
			}                                                                  
			tty->column = 0;                                                   
a0002ca4:	05842028 	streq	r2, [r4, #40]	; 0x28                        <== NOT EXECUTED
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
a0002ca8:	0a000029 	beq	a0002d54 <oproc+0x138>                        <== NOT EXECUTED
				c = '\n';                                                         
				if (tty->termios.c_oflag & ONLRET)                                
a0002cac:	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';                                                         
a0002cb0:	e3a0300a 	mov	r3, #10                                       <== NOT EXECUTED
a0002cb4:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
a0002cb8:	0a000025 	beq	a0002d54 <oproc+0x138>                        <== NOT EXECUTED
					tty->column = 0;                                                 
a0002cbc:	e3a03000 	mov	r3, #0                                        
a0002cc0:	ea000022 	b	a0002d50 <oproc+0x134>                          
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
a0002cc4:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
a0002cc8:	e2033b06 	and	r3, r3, #6144	; 0x1800                        
a0002ccc:	e3530b06 	cmp	r3, #6144	; 0x1800                            
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
a0002cd0:	e2021007 	and	r1, r2, #7                                    
a0002cd4:	e2611008 	rsb	r1, r1, #8                                    
a0002cd8:	e0813002 	add	r3, r1, r2                                    
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
a0002cdc:	1a00001b 	bne	a0002d50 <oproc+0x134>                        
				tty->column += i;                                                 
a0002ce0:	e5843028 	str	r3, [r4, #40]	; 0x28                          
				rtems_termios_puts ( "        ",  i, tty);                        
a0002ce4:	e1a02004 	mov	r2, r4                                        
a0002ce8:	e59f007c 	ldr	r0, [pc, #124]	; a0002d6c <oproc+0x150>       
a0002cec:	ea00001b 	b	a0002d60 <oproc+0x144>                          
			}                                                                  
			tty->column += i;                                                  
			break;                                                             
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
a0002cf0:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002cf4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
				tty->column--;                                                    
a0002cf8:	c2433001 	subgt	r3, r3, #1                                  <== NOT EXECUTED
			}                                                                  
			tty->column += i;                                                  
			break;                                                             
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
a0002cfc:	ca000013 	bgt	a0002d50 <oproc+0x134>                        <== NOT EXECUTED
a0002d00:	ea000013 	b	a0002d54 <oproc+0x138>                          <== NOT EXECUTED
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
a0002d04:	e3130002 	tst	r3, #2                                        
a0002d08:	0a000007 	beq	a0002d2c <oproc+0x110>                        
				c = toupper(c);                                                   
a0002d0c:	e59f305c 	ldr	r3, [pc, #92]	; a0002d70 <oproc+0x154>        <== NOT EXECUTED
a0002d10:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0002d14:	e0833002 	add	r3, r3, r2                                    <== NOT EXECUTED
a0002d18:	e5d33001 	ldrb	r3, [r3, #1]                                 <== NOT EXECUTED
a0002d1c:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
a0002d20:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0002d24:	02422020 	subeq	r2, r2, #32                                 <== NOT EXECUTED
a0002d28:	e5cd2000 	strb	r2, [sp]                                     <== NOT EXECUTED
			if (!iscntrl(c))                                                   
a0002d2c:	e59f203c 	ldr	r2, [pc, #60]	; a0002d70 <oproc+0x154>        
a0002d30:	e5dd3000 	ldrb	r3, [sp]                                     
a0002d34:	e5922000 	ldr	r2, [r2]                                      
a0002d38:	e0823003 	add	r3, r2, r3                                    
a0002d3c:	e5d33001 	ldrb	r3, [r3, #1]                                 
a0002d40:	e3130020 	tst	r3, #32                                       
a0002d44:	1a000002 	bne	a0002d54 <oproc+0x138>                        
				tty->column++;                                                    
a0002d48:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
a0002d4c:	e2833001 	add	r3, r3, #1                                    
a0002d50:	e5843028 	str	r3, [r4, #40]	; 0x28                          
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
a0002d54:	e1a02004 	mov	r2, r4                                        
a0002d58:	e1a0000d 	mov	r0, sp                                        
a0002d5c:	e3a01001 	mov	r1, #1                                        
a0002d60:	ebffff68 	bl	a0002b08 <rtems_termios_puts>                  
}                                                                     
a0002d64:	e8bd8018 	pop	{r3, r4, pc}                                  
a0002d68:	a00184eb 	.word	0xa00184eb                                  
a0002d6c:	a00183bc 	.word	0xa00183bc                                  
a0002d70:	a00175fc 	.word	0xa00175fc                                  
                                                                      
a000b674 <pipe_create>:                                               
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
a000b674:	e92d4070 	push	{r4, r5, r6, lr}                             
a000b678:	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)
a000b67c:	e28d5004 	add	r5, sp, #4                                    
a000b680:	e3a0c001 	mov	ip, #1                                        
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
a000b684:	e1a04000 	mov	r4, r0                                        
  rtems_filesystem_location_info_t loc;                               
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  /* Create /tmp if not exists */                                     
  if (rtems_filesystem_evaluate_path("/tmp", 3, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE)
a000b688:	e3a01003 	mov	r1, #3                                        
a000b68c:	e59f0148 	ldr	r0, [pc, #328]	; a000b7dc <pipe_create+0x168> 
a000b690:	e3a02007 	mov	r2, #7                                        
a000b694:	e1a03005 	mov	r3, r5                                        
a000b698:	e58dc000 	str	ip, [sp]                                      
a000b69c:	ebffd836 	bl	a000177c <rtems_filesystem_evaluate_path>      
a000b6a0:	e3500000 	cmp	r0, #0                                        
a000b6a4:	0a000009 	beq	a000b6d0 <pipe_create+0x5c>                   
      != 0) {                                                         
    if (errno != ENOENT)                                              
a000b6a8:	eb000124 	bl	a000bb40 <__errno>                             
a000b6ac:	e5903000 	ldr	r3, [r0]                                      
a000b6b0:	e3530002 	cmp	r3, #2                                        
a000b6b4:	1a000045 	bne	a000b7d0 <pipe_create+0x15c>                  
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
a000b6b8:	e59f011c 	ldr	r0, [pc, #284]	; a000b7dc <pipe_create+0x168> 
a000b6bc:	e59f111c 	ldr	r1, [pc, #284]	; a000b7e0 <pipe_create+0x16c> 
a000b6c0:	ebffd95c 	bl	a0001c38 <mkdir>                               
a000b6c4:	e3500000 	cmp	r0, #0                                        
a000b6c8:	0a000008 	beq	a000b6f0 <pipe_create+0x7c>                   
a000b6cc:	ea00003f 	b	a000b7d0 <pipe_create+0x15c>                    <== NOT EXECUTED
      return -1;                                                      
  }                                                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
a000b6d0:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000b6d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b6d8:	0a000004 	beq	a000b6f0 <pipe_create+0x7c>                   <== NOT EXECUTED
a000b6dc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000b6e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b6e4:	0a000001 	beq	a000b6f0 <pipe_create+0x7c>                   <== NOT EXECUTED
a000b6e8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000b6ec:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000b6f0:	e59f30ec 	ldr	r3, [pc, #236]	; a000b7e4 <pipe_create+0x170> 
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000b6f4:	e28d5018 	add	r5, sp, #24                                   
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000b6f8:	e59f10e8 	ldr	r1, [pc, #232]	; a000b7e8 <pipe_create+0x174> 
a000b6fc:	e1d3c0b0 	ldrh	ip, [r3]                                     
a000b700:	e285000a 	add	r0, r5, #10                                   
a000b704:	e1a0200c 	mov	r2, ip                                        
a000b708:	e28cc001 	add	ip, ip, #1                                    
a000b70c:	e1c3c0b0 	strh	ip, [r3]                                     
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000b710:	e59f30d4 	ldr	r3, [pc, #212]	; a000b7ec <pipe_create+0x178> 
a000b714:	e58d3018 	str	r3, [sp, #24]                                 
a000b718:	e59f30d0 	ldr	r3, [pc, #208]	; a000b7f0 <pipe_create+0x17c> 
a000b71c:	e58d301c 	str	r3, [sp, #28]                                 
a000b720:	e59f30cc 	ldr	r3, [pc, #204]	; a000b7f4 <pipe_create+0x180> 
a000b724:	e1c530b8 	strh	r3, [r5, #8]                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000b728:	eb0003b8 	bl	a000c610 <sprintf>                             
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
a000b72c:	e1a00005 	mov	r0, r5                                        
a000b730:	e3a01d06 	mov	r1, #384	; 0x180                              
a000b734:	eb000041 	bl	a000b840 <mkfifo>                              
a000b738:	e2506000 	subs	r6, r0, #0                                   
a000b73c:	0a000001 	beq	a000b748 <pipe_create+0xd4>                   
    if (errno != EEXIST){                                             
a000b740:	eb0000fe 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a000b744:	ea000021 	b	a000b7d0 <pipe_create+0x15c>                    <== NOT EXECUTED
    return -1;                                                        
    sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                 
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
a000b748:	e1a00005 	mov	r0, r5                                        
a000b74c:	e3a01901 	mov	r1, #16384	; 0x4000                           
a000b750:	ebffdae7 	bl	a00022f4 <open>                                
  if (filsdes[0] < 0) {                                               
a000b754:	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);                 
a000b758:	e5840000 	str	r0, [r4]                                      
  if (filsdes[0] < 0) {                                               
a000b75c:	aa000003 	bge	a000b770 <pipe_create+0xfc>                   
    err = errno;                                                      
a000b760:	eb0000f6 	bl	a000bb40 <__errno>                             
a000b764:	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);                                                 
a000b768:	e1a00005 	mov	r0, r5                                        
a000b76c:	ea000014 	b	a000b7c4 <pipe_create+0x150>                    
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
a000b770:	e59f3080 	ldr	r3, [pc, #128]	; a000b7f8 <pipe_create+0x184> <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000b774:	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]);                                
a000b778:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a000b77c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000b780:	359f3074 	ldrcc	r3, [pc, #116]	; a000b7fc <pipe_create+0x188><== NOT EXECUTED
a000b784:	35936000 	ldrcc	r6, [r3]                                    <== NOT EXECUTED
a000b788:	30866300 	addcc	r6, r6, r0, lsl #6                          <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
a000b78c:	e5963014 	ldr	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000b790:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
a000b794:	e3c33001 	bic	r3, r3, #1                                    <== NOT EXECUTED
a000b798:	e5863014 	str	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000b79c:	ebffdad4 	bl	a00022f4 <open>                                <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
a000b7a0:	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);                            
a000b7a4:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
a000b7a8:	a3a06000 	movge	r6, #0                                      <== NOT EXECUTED
a000b7ac:	aa000003 	bge	a000b7c0 <pipe_create+0x14c>                  <== NOT EXECUTED
    err = errno;                                                      
a000b7b0:	eb0000e2 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a000b7b4:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    close(filsdes[0]);                                                
a000b7b8:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a000b7bc:	ebfff5b2 	bl	a0008e8c <close>                               <== NOT EXECUTED
    }                                                                 
  unlink(fifopath);                                                   
a000b7c0:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a000b7c4:	eb000021 	bl	a000b850 <unlink>                              
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
a000b7c8:	eb0000dc 	bl	a000bb40 <__errno>                             
a000b7cc:	e5806000 	str	r6, [r0]                                      
}                                                                     
a000b7d0:	e3e00000 	mvn	r0, #0                                        
a000b7d4:	e28dd028 	add	sp, sp, #40	; 0x28                            
a000b7d8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000b7dc:	a00185fb 	.word	0xa00185fb                                  
a000b7e0:	000003ff 	.word	0x000003ff                                  
a000b7e4:	a0018982 	.word	0xa0018982                                  
a000b7e8:	a0018600 	.word	0xa0018600                                  
a000b7ec:	706d742f 	.word	0x706d742f                                  
a000b7f0:	69662e2f 	.word	0x69662e2f                                  
a000b7f4:	00006f66 	.word	0x00006f66                                  
a000b7f8:	a00173c0 	.word	0xa00173c0                                  
a000b7fc:	a0018bfc 	.word	0xa0018bfc                                  
                                                                      
a000a810 <pipe_free>:                                                 
                                                                      
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
a000a810:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000a814:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_barrier_delete(pipe->readBarrier);                            
a000a818:	e590002c 	ldr	r0, [r0, #44]	; 0x2c                          <== NOT EXECUTED
a000a81c:	eb000207 	bl	a000b040 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
a000a820:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000a824:	eb000205 	bl	a000b040 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
a000a828:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000a82c:	ebffe828 	bl	a00048d4 <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
a000a830:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a000a834:	ebffdbfe 	bl	a0001834 <free>                                <== NOT EXECUTED
  free(pipe);                                                         
a000a838:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
a000a83c:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
  rtems_barrier_delete(pipe->writeBarrier);                           
  rtems_semaphore_delete(pipe->Semaphore);                            
  free(pipe->Buffer);                                                 
  free(pipe);                                                         
a000a840:	eaffdbfb 	b	a0001834 <free>                                 <== NOT EXECUTED
                                                                      
a000a49c <pipe_ioctl>:                                                
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
a000a49c:	e59f3060 	ldr	r3, [pc, #96]	; a000a504 <pipe_ioctl+0x68>    <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000a4a0:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a000a4a4:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000a4a8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a000a4ac:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a000a4b0:	0a000001 	beq	a000a4bc <pipe_ioctl+0x20>                    <== NOT EXECUTED
a000a4b4:	e3e00015 	mvn	r0, #21                                       <== NOT EXECUTED
a000a4b8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    if (buffer == NULL)                                               
a000a4bc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000a4c0:	1a000001 	bne	a000a4cc <pipe_ioctl+0x30>                    <== NOT EXECUTED
a000a4c4:	e3e0000d 	mvn	r0, #13                                       <== NOT EXECUTED
a000a4c8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
a000a4cc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000a4d0:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a000a4d4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000a4d8:	ebffe924 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000a4dc:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a000a4e0:	0a000001 	beq	a000a4ec <pipe_ioctl+0x50>                    <== NOT EXECUTED
a000a4e4:	e3e00003 	mvn	r0, #3                                        <== NOT EXECUTED
a000a4e8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
a000a4ec:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a000a4f0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
a000a4f4:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a000a4f8:	ebffe962 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
a000a4fc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
a000a500:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
a000a504:	4004667f 	.word	0x4004667f                                  
                                                                      
a000a430 <pipe_lseek>:                                                
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  /* Seek on pipe is not supported */                                 
  return -ESPIPE;                                                     
}                                                                     
a000a430:	e3e0001c 	mvn	r0, #28                                       <== NOT EXECUTED
a000a434:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a000a69c <pipe_read>:                                                 
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000a69c:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     <== NOT EXECUTED
a000a6a0:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000a6a4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000a6a8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a000a6ac:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000a6b0:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a000a6b4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000a6b8:	e1a0a003 	mov	sl, r3                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000a6bc:	ebffe8ab 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000a6c0:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a000a6c4:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a000a6c8:	01a0b00d 	moveq	fp, sp                                      <== NOT EXECUTED
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000a6cc:	0a000046 	beq	a000a7ec <pipe_read+0x150>                    <== NOT EXECUTED
a000a6d0:	ea00004c 	b	a000a808 <pipe_read+0x16c>                      <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
a000a6d4:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a000a6d8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a6dc:	0a000044 	beq	a000a7f4 <pipe_read+0x158>                    <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
a000a6e0:	e59a7014 	ldr	r7, [sl, #20]                                 <== NOT EXECUTED
a000a6e4:	e2177001 	ands	r7, r7, #1                                   <== NOT EXECUTED
a000a6e8:	13e0700a 	mvnne	r7, #10                                     <== NOT EXECUTED
a000a6ec:	1a000041 	bne	a000a7f8 <pipe_read+0x15c>                    <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a000a6f0:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000a6f4:	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 ++;                                        
a000a6f8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000a6fc:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000a700:	ebffe8e0 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
a000a704:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000a708:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000a70c:	eb000279 	bl	a000b0f8 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000a710:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000a714:	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))                                      
a000a718:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000a71c:	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))                                      
a000a720:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000a724:	ebffe891 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000a728:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a72c:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
a000a730:	1a000032 	bne	a000a800 <pipe_read+0x164>                    <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a000a734:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000a738:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a000a73c:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a000a740:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000a744:	1a00002b 	bne	a000a7f8 <pipe_read+0x15c>                    <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
a000a748:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
a000a74c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000a750:	0affffdf 	beq	a000a6d4 <pipe_read+0x38>                     <== NOT EXECUTED
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
a000a754:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a000a758:	e5948004 	ldr	r8, [r4, #4]                                  <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
a000a75c:	e0667005 	rsb	r7, r6, r5                                    <== NOT EXECUTED
a000a760:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a000a764:	e1520007 	cmp	r2, r7                                        <== NOT EXECUTED
a000a768:	31a07002 	movcc	r7, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
a000a76c:	e0638008 	rsb	r8, r3, r8                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a000a770:	e1570008 	cmp	r7, r8                                        <== NOT EXECUTED
a000a774:	e0890006 	add	r0, r9, r6                                    <== NOT EXECUTED
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
a000a778:	d0811003 	addle	r1, r1, r3                                  <== NOT EXECUTED
a000a77c:	d1a02007 	movle	r2, r7                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
a000a780:	da000006 	ble	a000a7a0 <pipe_read+0x104>                    <== NOT EXECUTED
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
a000a784:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
a000a788:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a000a78c:	eb0006f9 	bl	a000c378 <memcpy>                              <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
a000a790:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a000a794:	e0860008 	add	r0, r6, r8                                    <== NOT EXECUTED
a000a798:	e0890000 	add	r0, r9, r0                                    <== NOT EXECUTED
a000a79c:	e0682007 	rsb	r2, r8, r7                                    <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
a000a7a0:	eb0006f4 	bl	a000c378 <memcpy>                              <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
a000a7a4:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
a000a7a8:	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;                                             
a000a7ac:	e0870000 	add	r0, r7, r0                                    <== NOT EXECUTED
a000a7b0:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
a000a7b4:	eb002ae8 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a000a7b8:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
a000a7bc:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a000a7c0:	e0673003 	rsb	r3, r7, r3                                    <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
a000a7c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      pipe->Start = 0;                                                
a000a7c8:	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;                                            
a000a7cc:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
a000a7d0:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
a000a7d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a7d8:	0a000002 	beq	a000a7e8 <pipe_read+0x14c>                    <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
a000a7dc:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000a7e0:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a000a7e4:	eb00022d 	bl	a000b0a0 <rtems_barrier_release>               <== NOT EXECUTED
    read += chunk;                                                    
a000a7e8:	e0866007 	add	r6, r6, r7                                    <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a000a7ec:	e1560005 	cmp	r6, r5                                        <== NOT EXECUTED
a000a7f0:	3affffd4 	bcc	a000a748 <pipe_read+0xac>                     <== NOT EXECUTED
a000a7f4:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a000a7f8:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000a7fc:	ebffe8a1 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
a000a800:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000a804:	d1a06007 	movle	r6, r7                                      <== NOT EXECUTED
    return read;                                                      
  return ret;                                                         
}                                                                     
a000a808:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000a80c:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      <== NOT EXECUTED
                                                                      
a000a844 <pipe_release>:                                              
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000a844:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
a000a848:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000a84c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
a000a850:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000a854:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
a000a858:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000a85c:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000a860:	ebffe842 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
a000a864:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a868:	1a000010 	bne	a000a8b0 <pipe_release+0x6c>                  <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
a000a86c:	e5955014 	ldr	r5, [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,                   
a000a870:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000a874:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
a000a878:	e3150002 	tst	r5, #2                                        <== NOT EXECUTED
     pipe->Readers --;                                                
a000a87c:	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);                                          
a000a880:	e2055006 	and	r5, r5, #6                                    <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
a000a884:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000a888:	15843010 	strne	r3, [r4, #16]                               <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_WRITE)                                       
a000a88c:	e3150004 	tst	r5, #4                                        <== NOT EXECUTED
     pipe->Writers --;                                                
a000a890:	15943014 	ldrne	r3, [r4, #20]                               <== NOT EXECUTED
a000a894:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000a898:	15843014 	strne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a000a89c:	e59f3098 	ldr	r3, [pc, #152]	; a000a93c <pipe_release+0xf8> <== NOT EXECUTED
a000a8a0:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a000a8a4:	ebffe831 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
a000a8a8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a8ac:	0a000000 	beq	a000a8b4 <pipe_release+0x70>                  <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
a000a8b0:	ebffe9c2 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a000a8b4:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000a8b8:	ebffe872 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a000a8bc:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
a000a8c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a8c4:	1a000006 	bne	a000a8e4 <pipe_release+0xa0>                  <== NOT EXECUTED
a000a8c8:	e5947014 	ldr	r7, [r4, #20]                                 <== NOT EXECUTED
a000a8cc:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a000a8d0:	1a000003 	bne	a000a8e4 <pipe_release+0xa0>                  <== NOT EXECUTED
#if 0                                                                 
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
a000a8d4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000a8d8:	ebffffcc 	bl	a000a810 <pipe_free>                           <== NOT EXECUTED
    *pipep = NULL;                                                    
a000a8dc:	e5867000 	str	r7, [r6]                                      <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a000a8e0:	ea000010 	b	a000a928 <pipe_release+0xe4>                    <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
a000a8e4:	e2552004 	subs	r2, r5, #4                                   <== NOT EXECUTED
a000a8e8:	13a02001 	movne	r2, #1                                      <== NOT EXECUTED
a000a8ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a8f0:	13a02000 	movne	r2, #0                                      <== NOT EXECUTED
a000a8f4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
a000a8f8:	15940030 	ldrne	r0, [r4, #48]	; 0x30                        <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
a000a8fc:	1a000007 	bne	a000a920 <pipe_release+0xdc>                  <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
a000a900:	e5942014 	ldr	r2, [r4, #20]                                 <== NOT EXECUTED
a000a904:	e2553002 	subs	r3, r5, #2                                   <== NOT EXECUTED
a000a908:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
a000a90c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000a910:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a000a914:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a918:	0a000002 	beq	a000a928 <pipe_release+0xe4>                  <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
a000a91c:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000a920:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a000a924:	eb0001dd 	bl	a000b0a0 <rtems_barrier_release>               <== NOT EXECUTED
                                                                      
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000a928:	e59f300c 	ldr	r3, [pc, #12]	; a000a93c <pipe_release+0xf8>  <== NOT EXECUTED
a000a92c:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a000a930:	ebffe854 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
a000a934:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000a938:	e8bd80f8 	pop	{r3, r4, r5, r6, r7, pc}                      <== NOT EXECUTED
a000a93c:	a001897c 	.word	0xa001897c                                  
                                                                      
a000a508 <pipe_write>:                                                
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000a508:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a000a50c:	e2525000 	subs	r5, r2, #0                                   <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000a510:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a000a514:	e1a0b001 	mov	fp, r1                                        <== NOT EXECUTED
a000a518:	e1a08003 	mov	r8, r3                                        <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a000a51c:	01a06005 	moveq	r6, r5                                      <== NOT EXECUTED
a000a520:	0a00005b 	beq	a000a694 <pipe_write+0x18c>                   <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000a524:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000a528:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a000a52c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000a530:	ebffe90e 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000a534:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a538:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
a000a53c:	1a000054 	bne	a000a694 <pipe_write+0x18c>                   <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
a000a540:	e5946010 	ldr	r6, [r4, #16]                                 <== NOT EXECUTED
a000a544:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000a548:	0a000022 	beq	a000a5d8 <pipe_write+0xd0>                    <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a000a54c:	e5949004 	ldr	r9, [r4, #4]                                  <== NOT EXECUTED
a000a550:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a000a554:	e1550009 	cmp	r5, r9                                        <== NOT EXECUTED
a000a558:	91a09005 	movls	r9, r5                                      <== NOT EXECUTED
a000a55c:	83a09001 	movhi	r9, #1                                      <== NOT EXECUTED
a000a560:	ea000044 	b	a000a678 <pipe_write+0x170>                     <== NOT EXECUTED
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
a000a564:	e5987014 	ldr	r7, [r8, #20]                                 <== NOT EXECUTED
a000a568:	e2177001 	ands	r7, r7, #1                                   <== NOT EXECUTED
a000a56c:	13e0700a 	mvnne	r7, #10                                     <== NOT EXECUTED
a000a570:	1a000043 	bne	a000a684 <pipe_write+0x17c>                   <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a000a574:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000a578:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a000a57c:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000a580:	e584301c 	str	r3, [r4, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000a584:	ebffe93f 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
a000a588:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000a58c:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000a590:	eb0002d8 	bl	a000b0f8 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000a594:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000a598:	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))                                     
a000a59c:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000a5a0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
a000a5a4:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000a5a8:	ebffe8f0 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000a5ac:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a5b0:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
a000a5b4:	1a000034 	bne	a000a68c <pipe_write+0x184>                   <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a000a5b8:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000a5bc:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a000a5c0:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a000a5c4:	e584301c 	str	r3, [r4, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000a5c8:	1a00002d 	bne	a000a684 <pipe_write+0x17c>                   <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
a000a5cc:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
a000a5d0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a5d4:	1a000001 	bne	a000a5e0 <pipe_write+0xd8>                    <== NOT EXECUTED
a000a5d8:	e3e0701f 	mvn	r7, #31                                       <== NOT EXECUTED
a000a5dc:	ea000028 	b	a000a684 <pipe_write+0x17c>                     <== NOT EXECUTED
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
a000a5e0:	e594a004 	ldr	sl, [r4, #4]                                  <== NOT EXECUTED
a000a5e4:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
a000a5e8:	e062300a 	rsb	r3, r2, sl                                    <== NOT EXECUTED
a000a5ec:	e1530009 	cmp	r3, r9                                        <== NOT EXECUTED
a000a5f0:	3affffdb 	bcc	a000a564 <pipe_write+0x5c>                    <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000a5f4:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a000a5f8:	e1a0100a 	mov	r1, sl                                        <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a000a5fc:	e0667005 	rsb	r7, r6, r5                                    <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000a600:	e0820000 	add	r0, r2, r0                                    <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a000a604:	e1530007 	cmp	r3, r7                                        <== NOT EXECUTED
a000a608:	31a07003 	movcc	r7, r3                                      <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000a60c:	eb002b52 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
a000a610:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a000a614:	e060a00a 	rsb	sl, r0, sl                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a000a618:	e157000a 	cmp	r7, sl                                        <== NOT EXECUTED
a000a61c:	e08b1006 	add	r1, fp, r6                                    <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
a000a620:	d0830000 	addle	r0, r3, r0                                  <== NOT EXECUTED
a000a624:	d1a02007 	movle	r2, r7                                      <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
    if (chunk > chunk1) {                                             
a000a628:	da000006 	ble	a000a648 <pipe_write+0x140>                   <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
a000a62c:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a000a630:	e0830000 	add	r0, r3, r0                                    <== NOT EXECUTED
a000a634:	eb00074f 	bl	a000c378 <memcpy>                              <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
a000a638:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a000a63c:	e08a1006 	add	r1, sl, r6                                    <== NOT EXECUTED
a000a640:	e08b1001 	add	r1, fp, r1                                    <== NOT EXECUTED
a000a644:	e06a2007 	rsb	r2, sl, r7                                    <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
a000a648:	eb00074a 	bl	a000c378 <memcpy>                              <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
a000a64c:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a000a650:	e5942018 	ldr	r2, [r4, #24]                                 <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000a654:	e0833007 	add	r3, r3, r7                                    <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a000a658:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000a65c:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a000a660:	0a000002 	beq	a000a670 <pipe_write+0x168>                   <== NOT EXECUTED
      PIPE_WAKEUPREADERS(pipe);                                       
a000a664:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000a668:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a000a66c:	eb00028b 	bl	a000b0a0 <rtems_barrier_release>               <== NOT EXECUTED
    written += chunk;                                                 
a000a670:	e0866007 	add	r6, r6, r7                                    <== NOT EXECUTED
a000a674:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a000a678:	e1560005 	cmp	r6, r5                                        <== NOT EXECUTED
a000a67c:	3affffd7 	bcc	a000a5e0 <pipe_write+0xd8>                    <== NOT EXECUTED
a000a680:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a000a684:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000a688:	ebffe8fe 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
a000a68c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000a690:	d1a06007 	movle	r6, r7                                      <== NOT EXECUTED
    return written;                                                   
  return ret;                                                         
}                                                                     
a000a694:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000a698:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      <== NOT EXECUTED
                                                                      
a0016b00 <read>:                                                      
)                                                                     
{                                                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016b00:	e59f30b0 	ldr	r3, [pc, #176]	; a0016bb8 <read+0xb8>         
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0016b04:	e92d4070 	push	{r4, r5, r6, lr}                             
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016b08:	e5933000 	ldr	r3, [r3]                                      
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0016b0c:	e1a05001 	mov	r5, r1                                        
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016b10:	e1500003 	cmp	r0, r3                                        
a0016b14:	2a000005 	bcs	a0016b30 <read+0x30>                          
  iop = rtems_libio_iop( fd );                                        
a0016b18:	e59f309c 	ldr	r3, [pc, #156]	; a0016bbc <read+0xbc>         
a0016b1c:	e5934000 	ldr	r4, [r3]                                      
a0016b20:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0016b24:	e5943014 	ldr	r3, [r4, #20]                                 
a0016b28:	e3130c01 	tst	r3, #256	; 0x100                              
a0016b2c:	1a000002 	bne	a0016b3c <read+0x3c>                          
a0016b30:	ebffd402 	bl	a000bb40 <__errno>                             
a0016b34:	e3a03009 	mov	r3, #9                                        
a0016b38:	ea000010 	b	a0016b80 <read+0x80>                            
  rtems_libio_check_buffer( buffer );                                 
a0016b3c:	e3510000 	cmp	r1, #0                                        
a0016b40:	0a000005 	beq	a0016b5c <read+0x5c>                          
  rtems_libio_check_count( count );                                   
a0016b44:	e3520000 	cmp	r2, #0                                        
a0016b48:	1a000001 	bne	a0016b54 <read+0x54>                          
a0016b4c:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0016b50:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0016b54:	e3130002 	tst	r3, #2                                        
a0016b58:	1a000002 	bne	a0016b68 <read+0x68>                          
a0016b5c:	ebffd3f7 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0016b60:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0016b64:	ea000005 	b	a0016b80 <read+0x80>                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
a0016b68:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0016b6c:	e5933008 	ldr	r3, [r3, #8]                                  
a0016b70:	e3530000 	cmp	r3, #0                                        
a0016b74:	1a000004 	bne	a0016b8c <read+0x8c>                          
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0016b78:	ebffd3f0 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0016b7c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0016b80:	e5803000 	str	r3, [r0]                                      
a0016b84:	e3e00000 	mvn	r0, #0                                        
a0016b88:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
a0016b8c:	e1a00004 	mov	r0, r4                                        
a0016b90:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0016b94:	e3500000 	cmp	r0, #0                                        
a0016b98:	da000005 	ble	a0016bb4 <read+0xb4>                          
    iop->offset += rc;                                                
a0016b9c:	e284600c 	add	r6, r4, #12                                   
a0016ba0:	e8960060 	ldm	r6, {r5, r6}                                  
a0016ba4:	e0952000 	adds	r2, r5, r0                                   
a0016ba8:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
a0016bac:	e584200c 	str	r2, [r4, #12]                                 
a0016bb0:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
a0016bb4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0016bb8:	a00173c0 	.word	0xa00173c0                                  
a0016bbc:	a0018bfc 	.word	0xa0018bfc                                  
                                                                      
a0023438 <readlink>:                                                  
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
a0023438:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a002343c:	e2516000 	subs	r6, r1, #0                                   
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
a0023440:	e24dd018 	sub	sp, sp, #24                                   
a0023444:	e1a05002 	mov	r5, r2                                        
a0023448:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a002344c:	1a000002 	bne	a002345c <readlink+0x24>                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0023450:	eb0053ef 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0023454:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0023458:	ea000027 	b	a00234fc <readlink+0xc4>                        <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
a002345c:	eb006e66 	bl	a003edfc <strlen>                              
a0023460:	e28d4004 	add	r4, sp, #4                                    
a0023464:	e3a0c000 	mov	ip, #0                                        
a0023468:	e1a01000 	mov	r1, r0                                        
a002346c:	e1a0200c 	mov	r2, ip                                        
a0023470:	e1a00007 	mov	r0, r7                                        
a0023474:	e1a03004 	mov	r3, r4                                        
a0023478:	e58dc000 	str	ip, [sp]                                      
a002347c:	ebff8480 	bl	a0004684 <rtems_filesystem_evaluate_path>      
                                           0, &loc, false );          
  if ( result != 0 )                                                  
a0023480:	e3500000 	cmp	r0, #0                                        
a0023484:	1a00001d 	bne	a0023500 <readlink+0xc8>                      
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
a0023488:	e59d2010 	ldr	r2, [sp, #16]                                 
a002348c:	e5923010 	ldr	r3, [r2, #16]                                 
a0023490:	e3530000 	cmp	r3, #0                                        
a0023494:	0a000011 	beq	a00234e0 <readlink+0xa8>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
a0023498:	e1a00004 	mov	r0, r4                                        
a002349c:	e12fff33 	blx	r3                                            
a00234a0:	e3500004 	cmp	r0, #4                                        
a00234a4:	e59d2010 	ldr	r2, [sp, #16]                                 
a00234a8:	0a000009 	beq	a00234d4 <readlink+0x9c>                      
    rtems_filesystem_freenode( &loc );                                
a00234ac:	e3520000 	cmp	r2, #0                                        
a00234b0:	0a000004 	beq	a00234c8 <readlink+0x90>                      
a00234b4:	e592301c 	ldr	r3, [r2, #28]                                 
a00234b8:	e3530000 	cmp	r3, #0                                        
a00234bc:	0a000001 	beq	a00234c8 <readlink+0x90>                      
a00234c0:	e1a00004 	mov	r0, r4                                        
a00234c4:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00234c8:	eb0053d1 	bl	a0038414 <__errno>                             
a00234cc:	e3a03016 	mov	r3, #22                                       
a00234d0:	ea000009 	b	a00234fc <readlink+0xc4>                        
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
a00234d4:	e592303c 	ldr	r3, [r2, #60]	; 0x3c                          
a00234d8:	e3530000 	cmp	r3, #0                                        
a00234dc:	1a000009 	bne	a0023508 <readlink+0xd0>                      
    rtems_filesystem_freenode( &loc );                                
a00234e0:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00234e4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00234e8:	0a000001 	beq	a00234f4 <readlink+0xbc>                      <== NOT EXECUTED
a00234ec:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00234f0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00234f4:	eb0053c6 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a00234f8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00234fc:	e5803000 	str	r3, [r0]                                      
a0023500:	e3e05000 	mvn	r5, #0                                        
a0023504:	ea00000c 	b	a002353c <readlink+0x104>                       
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
a0023508:	e1a02005 	mov	r2, r5                                        
a002350c:	e1a01006 	mov	r1, r6                                        
a0023510:	e1a00004 	mov	r0, r4                                        
a0023514:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0023518:	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 );             
a002351c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0023520:	e3530000 	cmp	r3, #0                                        
a0023524:	0a000004 	beq	a002353c <readlink+0x104>                     
a0023528:	e593301c 	ldr	r3, [r3, #28]                                 
a002352c:	e3530000 	cmp	r3, #0                                        
a0023530:	0a000001 	beq	a002353c <readlink+0x104>                     
a0023534:	e1a00004 	mov	r0, r4                                        
a0023538:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a002353c:	e1a00005 	mov	r0, r5                                        
a0023540:	e28dd018 	add	sp, sp, #24                                   
a0023544:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
a000381c <readv>:                                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a000381c:	e59f3144 	ldr	r3, [pc, #324]	; a0003968 <readv+0x14c>       
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0003820:	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 );                                         
a0003824:	e5933000 	ldr	r3, [r3]                                      
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0003828:	e1a08002 	mov	r8, r2                                        
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a000382c:	e1500003 	cmp	r0, r3                                        
a0003830:	2a000005 	bcs	a000384c <readv+0x30>                         
  iop = rtems_libio_iop( fd );                                        
a0003834:	e59f3130 	ldr	r3, [pc, #304]	; a000396c <readv+0x150>       
a0003838:	e5936000 	ldr	r6, [r3]                                      
a000383c:	e0866300 	add	r6, r6, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0003840:	e5963014 	ldr	r3, [r6, #20]                                 
a0003844:	e3130c01 	tst	r3, #256	; 0x100                              
a0003848:	1a000002 	bne	a0003858 <readv+0x3c>                         
a000384c:	eb0029da 	bl	a000dfbc <__errno>                             <== NOT EXECUTED
a0003850:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0003854:	ea00001e 	b	a00038d4 <readv+0xb8>                           <== NOT EXECUTED
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0003858:	e3130002 	tst	r3, #2                                        
a000385c:	0a00001a 	beq	a00038cc <readv+0xb0>                         
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a0003860:	e3510000 	cmp	r1, #0                                        
a0003864:	0a000018 	beq	a00038cc <readv+0xb0>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a0003868:	e3520000 	cmp	r2, #0                                        
a000386c:	da000016 	ble	a00038cc <readv+0xb0>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a0003870:	e3520b01 	cmp	r2, #1024	; 0x400                             
a0003874:	ca000014 	bgt	a00038cc <readv+0xb0>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
a0003878:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
a000387c:	e5933008 	ldr	r3, [r3, #8]                                  
a0003880:	e3530000 	cmp	r3, #0                                        
a0003884:	1a000002 	bne	a0003894 <readv+0x78>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003888:	eb0029cb 	bl	a000dfbc <__errno>                             <== NOT EXECUTED
a000388c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003890:	ea00000f 	b	a00038d4 <readv+0xb8>                           <== NOT EXECUTED
a0003894:	e3a03000 	mov	r3, #0                                        
a0003898:	e1a05001 	mov	r5, r1                                        
a000389c:	e1a02001 	mov	r2, r1                                        
a00038a0:	e3a07001 	mov	r7, #1                                        
a00038a4:	e1a01003 	mov	r1, r3                                        
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a00038a8:	e5920000 	ldr	r0, [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++ ) {                           
a00038ac:	e2833001 	add	r3, r3, #1                                    
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a00038b0:	e3500000 	cmp	r0, #0                                        
a00038b4:	0a000004 	beq	a00038cc <readv+0xb0>                         
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a00038b8:	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++ ) {                           
a00038bc:	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;                                          
a00038c0:	e081000c 	add	r0, r1, ip                                    
    if ( total < old )                                                
a00038c4:	e1500001 	cmp	r0, r1                                        
a00038c8:	aa000003 	bge	a00038dc <readv+0xc0>                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a00038cc:	eb0029ba 	bl	a000dfbc <__errno>                             
a00038d0:	e3a03016 	mov	r3, #22                                       
a00038d4:	e5803000 	str	r3, [r0]                                      
a00038d8:	ea000010 	b	a0003920 <readv+0x104>                          
                                                                      
    if ( iov[v].iov_len )                                             
a00038dc:	e35c0000 	cmp	ip, #0                                        
a00038e0:	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++ ) {                           
a00038e4:	e1530008 	cmp	r3, r8                                        
a00038e8:	b1a01000 	movlt	r1, r0                                      
a00038ec:	baffffed 	blt	a00038a8 <readv+0x8c>                         
  /*                                                                  
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
a00038f0:	e3570000 	cmp	r7, #0                                        
a00038f4:	13a04000 	movne	r4, #0                                      
a00038f8:	1a000018 	bne	a0003960 <readv+0x144>                        
a00038fc:	e1a04007 	mov	r4, r7                                        
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
a0003900:	e8950006 	ldm	r5, {r1, r2}                                  
a0003904:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
a0003908:	e1a00006 	mov	r0, r6                                        
a000390c:	e1a0e00f 	mov	lr, pc                                        
a0003910:	e593f008 	ldr	pc, [r3, #8]                                  
                                                                      
    if ( bytes < 0 )                                                  
a0003914:	e3500000 	cmp	r0, #0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003918:	e2877001 	add	r7, r7, #1                                    
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
a000391c:	aa000001 	bge	a0003928 <readv+0x10c>                        
a0003920:	e3e04000 	mvn	r4, #0                                        
a0003924:	ea00000d 	b	a0003960 <readv+0x144>                          
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a0003928:	0a000006 	beq	a0003948 <readv+0x12c>                        
      iop->offset += bytes;                                           
a000392c:	e286c00c 	add	ip, r6, #12                                   
a0003930:	e89c1800 	ldm	ip, {fp, ip}                                  
a0003934:	e09b2000 	adds	r2, fp, r0                                   
a0003938:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
a000393c:	e586200c 	str	r2, [r6, #12]                                 
a0003940:	e5863010 	str	r3, [r6, #16]                                 
      total       += bytes;                                           
a0003944:	e0844000 	add	r4, r4, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0003948:	e5953004 	ldr	r3, [r5, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a000394c:	e2855008 	add	r5, r5, #8                                    
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0003950:	e1500003 	cmp	r0, r3                                        
a0003954:	1a000001 	bne	a0003960 <readv+0x144>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003958:	e1570008 	cmp	r7, r8                                        
a000395c:	baffffe7 	blt	a0003900 <readv+0xe4>                         
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0003960:	e1a00004 	mov	r0, r4                                        
a0003964:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
a0003968:	a001b0a0 	.word	0xa001b0a0                                  
a000396c:	a001dd30 	.word	0xa001dd30                                  
                                                                      
a0016c18 <realloc>:                                                   
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0016c18:	e59f310c 	ldr	r3, [pc, #268]	; a0016d2c <realloc+0x114>     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0016c1c:	e59f210c 	ldr	r2, [pc, #268]	; a0016d30 <realloc+0x118>     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0016c20:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0016c24:	e5922000 	ldr	r2, [r2]                                      
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0016c28:	e1a04000 	mov	r4, r0                                        
a0016c2c:	e5930010 	ldr	r0, [r3, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0016c30:	e3520003 	cmp	r2, #3                                        
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0016c34:	e1a05001 	mov	r5, r1                                        
a0016c38:	e2800001 	add	r0, r0, #1                                    
a0016c3c:	e5830010 	str	r0, [r3, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0016c40:	1a000007 	bne	a0016c64 <realloc+0x4c>                       
    if (_Thread_Dispatch_disable_level > 0)                           
a0016c44:	e59f30e8 	ldr	r3, [pc, #232]	; a0016d34 <realloc+0x11c>     
a0016c48:	e5933000 	ldr	r3, [r3]                                      
a0016c4c:	e3530000 	cmp	r3, #0                                        
a0016c50:	1a000032 	bne	a0016d20 <realloc+0x108>                      
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
a0016c54:	e59f30dc 	ldr	r3, [pc, #220]	; a0016d38 <realloc+0x120>     
a0016c58:	e5933000 	ldr	r3, [r3]                                      
a0016c5c:	e3530000 	cmp	r3, #0                                        
a0016c60:	1a00002e 	bne	a0016d20 <realloc+0x108>                      
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
a0016c64:	e3540000 	cmp	r4, #0                                        
a0016c68:	1a000003 	bne	a0016c7c <realloc+0x64>                       
    return malloc( size );                                            
a0016c6c:	e1a00005 	mov	r0, r5                                        
a0016c70:	ebffabb0 	bl	a0001b38 <malloc>                              
a0016c74:	e1a04000 	mov	r4, r0                                        
a0016c78:	ea000029 	b	a0016d24 <realloc+0x10c>                        
                                                                      
  if ( !size ) {                                                      
a0016c7c:	e3550000 	cmp	r5, #0                                        
a0016c80:	1a000003 	bne	a0016c94 <realloc+0x7c>                       
    free( ptr );                                                      
a0016c84:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0016c88:	ebffaae9 	bl	a0001834 <free>                                <== NOT EXECUTED
a0016c8c:	e1a04005 	mov	r4, r5                                        <== NOT EXECUTED
    return (void *) 0;                                                
a0016c90:	ea000023 	b	a0016d24 <realloc+0x10c>                        <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
a0016c94:	e59f60a0 	ldr	r6, [pc, #160]	; a0016d3c <realloc+0x124>     
a0016c98:	e1a01004 	mov	r1, r4                                        
a0016c9c:	e1a0200d 	mov	r2, sp                                        
a0016ca0:	e5960000 	ldr	r0, [r6]                                      
a0016ca4:	eb000055 	bl	a0016e00 <_Protected_heap_Get_block_size>      
a0016ca8:	e2507000 	subs	r7, r0, #0                                   
a0016cac:	1a000004 	bne	a0016cc4 <realloc+0xac>                       
    errno = EINVAL;                                                   
a0016cb0:	ebffd3a2 	bl	a000bb40 <__errno>                             
a0016cb4:	e3a03016 	mov	r3, #22                                       
a0016cb8:	e5803000 	str	r3, [r0]                                      
a0016cbc:	e1a04007 	mov	r4, r7                                        
    return (void *) 0;                                                
a0016cc0:	ea000017 	b	a0016d24 <realloc+0x10c>                        
  #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)                          
    if (rtems_malloc_boundary_helpers)                                
      resize += (*rtems_malloc_boundary_helpers->overhead)();         
  #endif                                                              
                                                                      
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, resize ) ) {
a0016cc4:	e5960000 	ldr	r0, [r6]                                      
a0016cc8:	e1a01004 	mov	r1, r4                                        
a0016ccc:	e1a02005 	mov	r2, r5                                        
a0016cd0:	eb00005b 	bl	a0016e44 <_Protected_heap_Resize_block>        
a0016cd4:	e3500000 	cmp	r0, #0                                        
a0016cd8:	1a000011 	bne	a0016d24 <realloc+0x10c>                      
   *  There used to be a free on this error case but it is wrong to   
   *  free the memory per OpenGroup Single UNIX Specification V2      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
a0016cdc:	e1a00005 	mov	r0, r5                                        
a0016ce0:	ebffab94 	bl	a0001b38 <malloc>                              
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0016ce4:	e59f3040 	ldr	r3, [pc, #64]	; a0016d2c <realloc+0x114>      
                                                                      
  if ( !new_area ) {                                                  
a0016ce8:	e2506000 	subs	r6, r0, #0                                   
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0016cec:	e5932004 	ldr	r2, [r3, #4]                                  
a0016cf0:	e2422001 	sub	r2, r2, #1                                    
a0016cf4:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0016cf8:	0a000008 	beq	a0016d20 <realloc+0x108>                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
a0016cfc:	e59d2000 	ldr	r2, [sp]                                      
a0016d00:	e1a01004 	mov	r1, r4                                        
a0016d04:	e1550002 	cmp	r5, r2                                        
a0016d08:	31a02005 	movcc	r2, r5                                      
a0016d0c:	ebffd599 	bl	a000c378 <memcpy>                              
  free( ptr );                                                        
a0016d10:	e1a00004 	mov	r0, r4                                        
a0016d14:	ebffaac6 	bl	a0001834 <free>                                
a0016d18:	e1a04006 	mov	r4, r6                                        
                                                                      
  return new_area;                                                    
a0016d1c:	ea000000 	b	a0016d24 <realloc+0x10c>                        
a0016d20:	e3a04000 	mov	r4, #0                                        
                                                                      
}                                                                     
a0016d24:	e1a00004 	mov	r0, r4                                        
a0016d28:	e8bd80f8 	pop	{r3, r4, r5, r6, r7, pc}                      
a0016d2c:	a0018c14 	.word	0xa0018c14                                  
a0016d30:	a0018f10 	.word	0xa0018f10                                  
a0016d34:	a0018d6c 	.word	0xa0018d6c                                  
a0016d38:	a0018dfc 	.word	0xa0018dfc                                  
a0016d3c:	a00173cc 	.word	0xa00173cc                                  
                                                                      
a0023548 <rmdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
a0023548:	e92d4070 	push	{r4, r5, r6, lr}                             
a002354c:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
a0023550:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
a0023554:	ebff8404 	bl	a000456c <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a0023558:	e2505000 	subs	r5, r0, #0                                   
a002355c:	1a000015 	bne	a00235b8 <rmdir+0x70>                         
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
a0023560:	e5d63000 	ldrb	r3, [r6]                                     
a0023564:	e353002f 	cmp	r3, #47	; 0x2f                                
a0023568:	1353005c 	cmpne	r3, #92	; 0x5c                              
a002356c:	0a000001 	beq	a0023578 <rmdir+0x30>                         
a0023570:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023574:	1a000005 	bne	a0023590 <rmdir+0x48>                         <== NOT EXECUTED
a0023578:	e59f323c 	ldr	r3, [pc, #572]	; a00237bc <rmdir+0x274>       
a002357c:	e28dc018 	add	ip, sp, #24                                   
a0023580:	e3a04000 	mov	r4, #0                                        
a0023584:	e593e000 	ldr	lr, [r3]                                      
a0023588:	e28ee018 	add	lr, lr, #24                                   
a002358c:	ea000004 	b	a00235a4 <rmdir+0x5c>                           
a0023590:	e59f3224 	ldr	r3, [pc, #548]	; a00237bc <rmdir+0x274>       <== NOT EXECUTED
a0023594:	e28dc018 	add	ip, sp, #24                                   <== NOT EXECUTED
a0023598:	e1a04005 	mov	r4, r5                                        <== NOT EXECUTED
a002359c:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
a00235a0:	e28ee004 	add	lr, lr, #4                                    <== NOT EXECUTED
a00235a4:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00235a8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00235ac:	e59e3000 	ldr	r3, [lr]                                      
a00235b0:	e58c3000 	str	r3, [ip]                                      
a00235b4:	ea000009 	b	a00235e0 <rmdir+0x98>                           
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
a00235b8:	e3a0c000 	mov	ip, #0                                        
a00235bc:	e1a00006 	mov	r0, r6                                        
a00235c0:	e1a01005 	mov	r1, r5                                        
a00235c4:	e3a02002 	mov	r2, #2                                        
a00235c8:	e28d3018 	add	r3, sp, #24                                   
a00235cc:	e58dc000 	str	ip, [sp]                                      
a00235d0:	ebff842b 	bl	a0004684 <rtems_filesystem_evaluate_path>      
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
a00235d4:	e3500000 	cmp	r0, #0                                        
a00235d8:	1a000073 	bne	a00237ac <rmdir+0x264>                        
a00235dc:	e3a04001 	mov	r4, #1                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a00235e0:	e28dc004 	add	ip, sp, #4                                    
a00235e4:	e28de018 	add	lr, sp, #24                                   
a00235e8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00235ec:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00235f0:	e59e3000 	ldr	r3, [lr]                                      
  name = pathname + parentpathlen;                                    
a00235f4:	e0865005 	add	r5, r6, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a00235f8:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a00235fc:	e58c3000 	str	r3, [ip]                                      
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0023600:	eb006dfd 	bl	a003edfc <strlen>                              
a0023604:	e1a01000 	mov	r1, r0                                        
a0023608:	e1a00005 	mov	r0, r5                                        
a002360c:	ebff83ca 	bl	a000453c <rtems_filesystem_prefix_separators>  
a0023610:	e0856000 	add	r6, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0023614:	e1a00006 	mov	r0, r6                                        
a0023618:	eb006df7 	bl	a003edfc <strlen>                              
a002361c:	e28d5004 	add	r5, sp, #4                                    
a0023620:	e3a0c000 	mov	ip, #0                                        
a0023624:	e1a01000 	mov	r1, r0                                        
a0023628:	e1a0200c 	mov	r2, ip                                        
a002362c:	e1a00006 	mov	r0, r6                                        
a0023630:	e1a03005 	mov	r3, r5                                        
a0023634:	e58dc000 	str	ip, [sp]                                      
a0023638:	ebff83db 	bl	a00045ac <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a002363c:	e3500000 	cmp	r0, #0                                        
a0023640:	0a00000a 	beq	a0023670 <rmdir+0x128>                        
    if ( free_parentloc )                                             
a0023644:	e3540000 	cmp	r4, #0                                        
a0023648:	0a000057 	beq	a00237ac <rmdir+0x264>                        
      rtems_filesystem_freenode( &parentloc );                        
a002364c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0023650:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023654:	0a000054 	beq	a00237ac <rmdir+0x264>                        <== NOT EXECUTED
a0023658:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a002365c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023660:	0a000051 	beq	a00237ac <rmdir+0x264>                        <== NOT EXECUTED
a0023664:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a0023668:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a002366c:	ea00004e 	b	a00237ac <rmdir+0x264>                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
a0023670:	e59d2010 	ldr	r2, [sp, #16]                                 
a0023674:	e5923010 	ldr	r3, [r2, #16]                                 
a0023678:	e3530000 	cmp	r3, #0                                        
    rtems_filesystem_freenode( &loc );                                
a002367c:	0592301c 	ldreq	r3, [r2, #28]                               
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
a0023680:	0a000020 	beq	a0023708 <rmdir+0x1c0>                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
a0023684:	e1a00005 	mov	r0, r5                                        
a0023688:	e12fff33 	blx	r3                                            
a002368c:	e3500001 	cmp	r0, #1                                        
a0023690:	0a000014 	beq	a00236e8 <rmdir+0x1a0>                        
    rtems_filesystem_freenode( &loc );                                
a0023694:	e59d3010 	ldr	r3, [sp, #16]                                 
a0023698:	e3530000 	cmp	r3, #0                                        
a002369c:	0a000004 	beq	a00236b4 <rmdir+0x16c>                        
a00236a0:	e593301c 	ldr	r3, [r3, #28]                                 
a00236a4:	e3530000 	cmp	r3, #0                                        
a00236a8:	0a000001 	beq	a00236b4 <rmdir+0x16c>                        
a00236ac:	e1a00005 	mov	r0, r5                                        
a00236b0:	e12fff33 	blx	r3                                            
    if ( free_parentloc )                                             
a00236b4:	e3540000 	cmp	r4, #0                                        
a00236b8:	0a000007 	beq	a00236dc <rmdir+0x194>                        
      rtems_filesystem_freenode( &parentloc );                        
a00236bc:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a00236c0:	e3530000 	cmp	r3, #0                                        
a00236c4:	0a000004 	beq	a00236dc <rmdir+0x194>                        
a00236c8:	e593301c 	ldr	r3, [r3, #28]                                 
a00236cc:	e3530000 	cmp	r3, #0                                        
a00236d0:	0a000001 	beq	a00236dc <rmdir+0x194>                        
a00236d4:	e28d0018 	add	r0, sp, #24                                   
a00236d8:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a00236dc:	eb00534c 	bl	a0038414 <__errno>                             
a00236e0:	e3a03014 	mov	r3, #20                                       
a00236e4:	ea000017 	b	a0023748 <rmdir+0x200>                          
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
a00236e8:	e59d300c 	ldr	r3, [sp, #12]                                 
a00236ec:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a00236f0:	e3530000 	cmp	r3, #0                                        
a00236f4:	1a000015 	bne	a0023750 <rmdir+0x208>                        
    rtems_filesystem_freenode( &loc );                                
a00236f8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a00236fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023700:	0a000004 	beq	a0023718 <rmdir+0x1d0>                        <== NOT EXECUTED
a0023704:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0023708:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a002370c:	0a000001 	beq	a0023718 <rmdir+0x1d0>                        <== NOT EXECUTED
a0023710:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0023714:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_parentloc )                                             
a0023718:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a002371c:	0a000007 	beq	a0023740 <rmdir+0x1f8>                        <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
a0023720:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0023724:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023728:	0a000004 	beq	a0023740 <rmdir+0x1f8>                        <== NOT EXECUTED
a002372c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0023730:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023734:	0a000001 	beq	a0023740 <rmdir+0x1f8>                        <== NOT EXECUTED
a0023738:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a002373c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0023740:	eb005333 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0023744:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0023748:	e5803000 	str	r3, [r0]                                      
a002374c:	ea000016 	b	a00237ac <rmdir+0x264>                          
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
a0023750:	e28d0018 	add	r0, sp, #24                                   
a0023754:	e1a01005 	mov	r1, r5                                        
a0023758:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a002375c:	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 );             
a0023760:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0023764:	e3530000 	cmp	r3, #0                                        
a0023768:	0a000004 	beq	a0023780 <rmdir+0x238>                        
a002376c:	e593301c 	ldr	r3, [r3, #28]                                 
a0023770:	e3530000 	cmp	r3, #0                                        
a0023774:	0a000001 	beq	a0023780 <rmdir+0x238>                        
a0023778:	e1a00005 	mov	r0, r5                                        
a002377c:	e12fff33 	blx	r3                                            
  if ( free_parentloc )                                               
a0023780:	e3540000 	cmp	r4, #0                                        
a0023784:	0a000009 	beq	a00237b0 <rmdir+0x268>                        
    rtems_filesystem_freenode( &parentloc );                          
a0023788:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a002378c:	e3530000 	cmp	r3, #0                                        
a0023790:	0a000006 	beq	a00237b0 <rmdir+0x268>                        
a0023794:	e593301c 	ldr	r3, [r3, #28]                                 
a0023798:	e3530000 	cmp	r3, #0                                        
a002379c:	0a000003 	beq	a00237b0 <rmdir+0x268>                        
a00237a0:	e28d0018 	add	r0, sp, #24                                   
a00237a4:	e12fff33 	blx	r3                                            
a00237a8:	ea000000 	b	a00237b0 <rmdir+0x268>                          
a00237ac:	e3e06000 	mvn	r6, #0                                        
                                                                      
  return result;                                                      
}                                                                     
a00237b0:	e1a00006 	mov	r0, r6                                        
a00237b4:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
a00237b8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a00237bc:	a0052628 	.word	0xa0052628                                  
                                                                      
a0011db4 <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;                                                
}                                                                     
a0011db4:	e59f0000 	ldr	r0, [pc, #0]	; a0011dbc <rtems_assoc_name_bad+0x8><== NOT EXECUTED
a0011db8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0011dbc:	a0020f38 	.word	0xa0020f38                                  
                                                                      
a000f048 <rtems_assoc_name_by_local>:                                 
                                                                      
const char *rtems_assoc_name_by_local(                                
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
a000f048:	e92d4010 	push	{r4, lr}                                     
a000f04c:	e1a04001 	mov	r4, r1                                        
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a000f050:	eb000006 	bl	a000f070 <rtems_assoc_ptr_by_local>            
  if (nap)                                                            
a000f054:	e3500000 	cmp	r0, #0                                        
a000f058:	0a000001 	beq	a000f064 <rtems_assoc_name_by_local+0x1c>     
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
a000f05c:	e5900000 	ldr	r0, [r0]                                      
a000f060:	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);                           
a000f064:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
a000f068:	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);                           
a000f06c:	ea000b50 	b	a0011db4 <rtems_assoc_name_bad>                 <== NOT EXECUTED
                                                                      
a000b82c <rtems_assoc_remote_by_local>:                               
                                                                      
uint32_t rtems_assoc_remote_by_local(                                 
  const rtems_assoc_t *ap,                                            
  uint32_t       local_value                                          
)                                                                     
{                                                                     
a000b82c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a000b830:	eb0000a5 	bl	a000bacc <rtems_assoc_ptr_by_local>            <== NOT EXECUTED
  if (nap)                                                            
a000b834:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return nap->remote_value;                                         
a000b838:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000b83c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
a0001670 <rtems_bsp_cmdline_get_param>:                               
  size_t      length                                                  
)                                                                     
{                                                                     
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
a0001670:	e3500000 	cmp	r0, #0                                        
const char *rtems_bsp_cmdline_get_param(                              
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
a0001674:	e92d4070 	push	{r4, r5, r6, lr}                             
a0001678:	e1a04001 	mov	r4, r1                                        
a000167c:	e1a05002 	mov	r5, r2                                        
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
a0001680:	0a00001c 	beq	a00016f8 <rtems_bsp_cmdline_get_param+0x88>   
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
a0001684:	e3510000 	cmp	r1, #0                                        
a0001688:	0a00001b 	beq	a00016fc <rtems_bsp_cmdline_get_param+0x8c>   
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
a000168c:	e3520000 	cmp	r2, #0                                        
a0001690:	0a000018 	beq	a00016f8 <rtems_bsp_cmdline_get_param+0x88>   
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
a0001694:	e3a06000 	mov	r6, #0                                        
a0001698:	e5c16000 	strb	r6, [r1]                                     
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
a000169c:	eb000018 	bl	a0001704 <rtems_bsp_cmdline_get_param_raw>     
                                                                      
  if ( !p )                                                           
a00016a0:	e3500000 	cmp	r0, #0                                        
a00016a4:	0a000013 	beq	a00016f8 <rtems_bsp_cmdline_get_param+0x88>   
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
a00016a8:	e2455001 	sub	r5, r5, #1                                    
                                                                      
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
a00016ac:	e1a03006 	mov	r3, r6                                        
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
a00016b0:	e1a01006 	mov	r1, r6                                        
a00016b4:	ea000009 	b	a00016e0 <rtems_bsp_cmdline_get_param+0x70>     
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
a00016b8:	e3520022 	cmp	r2, #34	; 0x22                                
      quotes++;                                                       
a00016bc:	02866001 	addeq	r6, r6, #1                                  
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
a00016c0:	0a000003 	beq	a00016d4 <rtems_bsp_cmdline_get_param+0x64>   
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
a00016c4:	e3160001 	tst	r6, #1                                        
a00016c8:	1a000001 	bne	a00016d4 <rtems_bsp_cmdline_get_param+0x64>   
a00016cc:	e3520020 	cmp	r2, #32                                       
a00016d0:	0a000009 	beq	a00016fc <rtems_bsp_cmdline_get_param+0x8c>   
      break;                                                          
    value[i++] = *p++;                                                
a00016d4:	e7c42003 	strb	r2, [r4, r3]                                 
a00016d8:	e2833001 	add	r3, r3, #1                                    
    value[i] = '\0';                                                  
a00016dc:	e7c41003 	strb	r1, [r4, r3]                                 
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
a00016e0:	e7d02003 	ldrb	r2, [r0, r3]                                 
a00016e4:	e3520000 	cmp	r2, #0                                        
a00016e8:	0a000003 	beq	a00016fc <rtems_bsp_cmdline_get_param+0x8c>   
a00016ec:	e1530005 	cmp	r3, r5                                        
a00016f0:	3afffff0 	bcc	a00016b8 <rtems_bsp_cmdline_get_param+0x48>   
a00016f4:	ea000000 	b	a00016fc <rtems_bsp_cmdline_get_param+0x8c>     <== NOT EXECUTED
a00016f8:	e3a04000 	mov	r4, #0                                        
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
a00016fc:	e1a00004 	mov	r0, r4                                        
a0001700:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0002324 <rtems_cpu_usage_report_with_plugin>:                        
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a0002324:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    Timestamp_Control  uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
a0002328:	e251a000 	subs	sl, r1, #0                                   
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a000232c:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0002330:	e1a08000 	mov	r8, r0                                        
    Timestamp_Control  uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
a0002334:	0a000055 	beq	a0002490 <rtems_cpu_usage_report_with_plugin+0x16c>
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
a0002338:	e28d4030 	add	r4, sp, #48	; 0x30                            
a000233c:	e1a00004 	mov	r0, r4                                        
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
a0002340:	e28d5028 	add	r5, sp, #40	; 0x28                            
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
a0002344:	eb00132d 	bl	a0007000 <_TOD_Get_uptime>                     
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
a0002348:	e1a01004 	mov	r1, r4                                        
a000234c:	e1a02005 	mov	r2, r5                                        
a0002350:	e59f0140 	ldr	r0, [pc, #320]	; a0002498 <rtems_cpu_usage_report_with_plugin+0x174>
a0002354:	eb001c22 	bl	a00093e4 <_Timespec_Subtract>                  
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
a0002358:	e1a00008 	mov	r0, r8                                        
a000235c:	e59f1138 	ldr	r1, [pc, #312]	; a000249c <rtems_cpu_usage_report_with_plugin+0x178>
a0002360:	e12fff3a 	blx	sl                                            
a0002364:	e59f4134 	ldr	r4, [pc, #308]	; a00024a0 <rtems_cpu_usage_report_with_plugin+0x17c>
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
a0002368:	e59fb134 	ldr	fp, [pc, #308]	; a00024a4 <rtems_cpu_usage_report_with_plugin+0x180>
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
a000236c:	e5943004 	ldr	r3, [r4, #4]                                  
a0002370:	e3530000 	cmp	r3, #0                                        
a0002374:	0a000039 	beq	a0002460 <rtems_cpu_usage_report_with_plugin+0x13c>
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
a0002378:	e5936004 	ldr	r6, [r3, #4]                                  
    if ( information ) {                                              
a000237c:	e3560000 	cmp	r6, #0                                        
a0002380:	13a07001 	movne	r7, #1                                      
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            _Timestamp_Subtract(                                      
a0002384:	128d9018 	addne	r9, sp, #24                                 
a0002388:	11a05004 	movne	r5, r4                                      
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
a000238c:	1a00002d 	bne	a0002448 <rtems_cpu_usage_report_with_plugin+0x124>
a0002390:	ea000032 	b	a0002460 <rtems_cpu_usage_report_with_plugin+0x13c><== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
a0002394:	e596301c 	ldr	r3, [r6, #28]                                 
a0002398:	e7934107 	ldr	r4, [r3, r7, lsl #2]                          
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
a000239c:	e2877001 	add	r7, r7, #1                                    
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
a00023a0:	e3540000 	cmp	r4, #0                                        
a00023a4:	0a000027 	beq	a0002448 <rtems_cpu_usage_report_with_plugin+0x124>
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
a00023a8:	e5940008 	ldr	r0, [r4, #8]                                  
a00023ac:	eb000e8a 	bl	a0005ddc <rtems_object_get_name>               
                                                                      
        (*print)(                                                     
a00023b0:	e28d3008 	add	r3, sp, #8                                    
a00023b4:	e5942008 	ldr	r2, [r4, #8]                                  
a00023b8:	e1a00008 	mov	r0, r8                                        
a00023bc:	e59f10e4 	ldr	r1, [pc, #228]	; a00024a8 <rtems_cpu_usage_report_with_plugin+0x184>
a00023c0:	e12fff3a 	blx	sl                                            
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
a00023c4:	e2843084 	add	r3, r4, #132	; 0x84                           
a00023c8:	e893000c 	ldm	r3, {r2, r3}                                  
a00023cc:	e58d2020 	str	r2, [sp, #32]                                 
a00023d0:	e58d3024 	str	r3, [sp, #36]	; 0x24                          
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
a00023d4:	e59b2000 	ldr	r2, [fp]                                      
a00023d8:	e5943008 	ldr	r3, [r4, #8]                                  
a00023dc:	e5922008 	ldr	r2, [r2, #8]                                  
a00023e0:	e1520003 	cmp	r2, r3                                        
a00023e4:	1a000006 	bne	a0002404 <rtems_cpu_usage_report_with_plugin+0xe0>
            Timestamp_Control used;                                   
            _Timestamp_Subtract(                                      
a00023e8:	e59f00bc 	ldr	r0, [pc, #188]	; a00024ac <rtems_cpu_usage_report_with_plugin+0x188>
a00023ec:	e28d1030 	add	r1, sp, #48	; 0x30                            
a00023f0:	e1a02009 	mov	r2, r9                                        
a00023f4:	eb001bfa 	bl	a00093e4 <_Timespec_Subtract>                  
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timestamp_Add_to( &ran, &used );                         
a00023f8:	e28d0020 	add	r0, sp, #32                                   
a00023fc:	e1a01009 	mov	r1, r9                                        
a0002400:	eb001bbd 	bl	a00092fc <_Timespec_Add_to>                    
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
a0002404:	e28d203c 	add	r2, sp, #60	; 0x3c                            
a0002408:	e28d3038 	add	r3, sp, #56	; 0x38                            
a000240c:	e28d0020 	add	r0, sp, #32                                   
a0002410:	e28d1028 	add	r1, sp, #40	; 0x28                            
a0002414:	eb001bcd 	bl	a0009350 <_Timespec_Divide>                    
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
a0002418:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
a000241c:	e59d0024 	ldr	r0, [sp, #36]	; 0x24                          
a0002420:	eb005fa4 	bl	a001a2b8 <__aeabi_uidiv>                       
a0002424:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
a0002428:	e1a03000 	mov	r3, r0                                        
a000242c:	e59f107c 	ldr	r1, [pc, #124]	; a00024b0 <rtems_cpu_usage_report_with_plugin+0x18c>
a0002430:	e58d2000 	str	r2, [sp]                                      
a0002434:	e59d2038 	ldr	r2, [sp, #56]	; 0x38                          
a0002438:	e1a00008 	mov	r0, r8                                        
a000243c:	e58d2004 	str	r2, [sp, #4]                                  
a0002440:	e59d2020 	ldr	r2, [sp, #32]                                 
a0002444:	e12fff3a 	blx	sl                                            
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
a0002448:	e1d631b0 	ldrh	r3, [r6, #16]                                
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
a000244c:	e3a0100d 	mov	r1, #13                                       
a0002450:	e28d2008 	add	r2, sp, #8                                    
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
a0002454:	e1570003 	cmp	r7, r3                                        
a0002458:	9affffcd 	bls	a0002394 <rtems_cpu_usage_report_with_plugin+0x70>
a000245c:	e1a04005 	mov	r4, r5                                        
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
a0002460:	e59f304c 	ldr	r3, [pc, #76]	; a00024b4 <rtems_cpu_usage_report_with_plugin+0x190>
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
a0002464:	e2844004 	add	r4, r4, #4                                    
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
a0002468:	e1540003 	cmp	r4, r3                                        
a000246c:	1affffbe 	bne	a000236c <rtems_cpu_usage_report_with_plugin+0x48>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
a0002470:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
a0002474:	e59d002c 	ldr	r0, [sp, #44]	; 0x2c                          
a0002478:	eb005f8e 	bl	a001a2b8 <__aeabi_uidiv>                       
a000247c:	e59f1034 	ldr	r1, [pc, #52]	; a00024b8 <rtems_cpu_usage_report_with_plugin+0x194>
a0002480:	e1a03000 	mov	r3, r0                                        
a0002484:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a0002488:	e1a00008 	mov	r0, r8                                        
a000248c:	e12fff3a 	blx	sl                                            
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
a0002490:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0002494:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
a0002498:	a0026f40 	.word	0xa0026f40                                  
a000249c:	a001d9d8 	.word	0xa001d9d8                                  
a00024a0:	a0026cc8 	.word	0xa0026cc8                                  
a00024a4:	a0026dc0 	.word	0xa0026dc0                                  
a00024a8:	a001db4a 	.word	0xa001db4a                                  
a00024ac:	a0026dc8 	.word	0xa0026dc8                                  
a00024b0:	a001db5d 	.word	0xa001db5d                                  
a00024b4:	a0026cd8 	.word	0xa0026cd8                                  
a00024b8:	a001db75 	.word	0xa001db75                                  
                                                                      
a000b800 <rtems_deviceio_errno>:                                      
    { 0, 0, 0 },                                                      
};                                                                    
                                                                      
int                                                                   
rtems_deviceio_errno(rtems_status_code code)                          
{                                                                     
a000b800:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000b804:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
a000b808:	e59f0018 	ldr	r0, [pc, #24]	; a000b828 <rtems_deviceio_errno+0x28><== NOT EXECUTED
a000b80c:	eb000006 	bl	a000b82c <rtems_assoc_remote_by_local>         <== NOT EXECUTED
a000b810:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
a000b814:	0a000001 	beq	a000b820 <rtems_deviceio_errno+0x20>          <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
a000b818:	eb0000c8 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a000b81c:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
a000b820:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000b824:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a000b828:	a0017ecc 	.word	0xa0017ecc                                  
                                                                      
a0006490 <rtems_error>:                                               
int rtems_error(                                                      
    rtems_error_code_t error_flag,                                    
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
a0006490:	e92d000e 	push	{r1, r2, r3}                                 <== NOT EXECUTED
a0006494:	e92d4001 	push	{r0, lr}                                     <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
a0006498:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
a000649c:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a00064a0:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
  )                                                                   
{                                                                     
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
a00064a4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
a00064a8:	ebffff83 	bl	a00062bc <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
a00064ac:	e8bd4008 	pop	{r3, lr}                                      <== NOT EXECUTED
a00064b0:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
a00064b4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a000177c <rtems_filesystem_evaluate_path>:                            
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a000177c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001780:	e2506000 	subs	r6, r0, #0                                   
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001784:	e1a08001 	mov	r8, r1                                        
a0001788:	e1a07002 	mov	r7, r2                                        
a000178c:	e1a0c003 	mov	ip, r3                                        
a0001790:	e59da020 	ldr	sl, [sp, #32]                                 
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001794:	1a000002 	bne	a00017a4 <rtems_filesystem_evaluate_path+0x28>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001798:	eb0028e8 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a000179c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00017a0:	ea000003 	b	a00017b4 <rtems_filesystem_evaluate_path+0x38>  <== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
a00017a4:	e3530000 	cmp	r3, #0                                        
a00017a8:	1a000004 	bne	a00017c0 <rtems_filesystem_evaluate_path+0x44>
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a00017ac:	eb0028e3 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00017b0:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a00017b4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
a00017b8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00017bc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
a00017c0:	e5d63000 	ldrb	r3, [r6]                                     
a00017c4:	e353002f 	cmp	r3, #47	; 0x2f                                
a00017c8:	1353005c 	cmpne	r3, #92	; 0x5c                              
a00017cc:	13a05000 	movne	r5, #0                                      
a00017d0:	03a05001 	moveq	r5, #1                                      
a00017d4:	0a000001 	beq	a00017e0 <rtems_filesystem_evaluate_path+0x64>
a00017d8:	e3530000 	cmp	r3, #0                                        
a00017dc:	1a000004 	bne	a00017f4 <rtems_filesystem_evaluate_path+0x78>
a00017e0:	e59f3048 	ldr	r3, [pc, #72]	; a0001830 <rtems_filesystem_evaluate_path+0xb4>
a00017e4:	e3a05001 	mov	r5, #1                                        
a00017e8:	e5934000 	ldr	r4, [r3]                                      
a00017ec:	e2844018 	add	r4, r4, #24                                   
a00017f0:	ea000002 	b	a0001800 <rtems_filesystem_evaluate_path+0x84>  
a00017f4:	e59f3034 	ldr	r3, [pc, #52]	; a0001830 <rtems_filesystem_evaluate_path+0xb4>
a00017f8:	e5934000 	ldr	r4, [r3]                                      
a00017fc:	e2844004 	add	r4, r4, #4                                    
a0001800:	e1a0900c 	mov	r9, ip                                        
a0001804:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0001808:	e8a9000f 	stmia	r9!, {r0, r1, r2, r3}                       
a000180c:	e5942000 	ldr	r2, [r4]                                      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a0001810:	e0651008 	rsb	r1, r5, r8                                    
a0001814:	e0860005 	add	r0, r6, r5                                    
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
a0001818:	e5892000 	str	r2, [r9]                                      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a000181c:	e1a0300c 	mov	r3, ip                                        
a0001820:	e1a02007 	mov	r2, r7                                        
a0001824:	e58da020 	str	sl, [sp, #32]                                 
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
a0001828:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a000182c:	eaffff9c 	b	a00016a4 <rtems_filesystem_evaluate_relative_path>
a0001830:	a0017598 	.word	0xa0017598                                  
                                                                      
a00016a4 <rtems_filesystem_evaluate_relative_path>:                   
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a00016a4:	e3500000 	cmp	r0, #0                                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a00016a8:	e92d4030 	push	{r4, r5, lr}                                 
a00016ac:	e1a05002 	mov	r5, r2                                        
a00016b0:	e1a04003 	mov	r4, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a00016b4:	1a000002 	bne	a00016c4 <rtems_filesystem_evaluate_relative_path+0x20>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00016b8:	eb002920 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00016bc:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00016c0:	ea000026 	b	a0001760 <rtems_filesystem_evaluate_relative_path+0xbc><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
a00016c4:	e3530000 	cmp	r3, #0                                        
a00016c8:	1a000002 	bne	a00016d8 <rtems_filesystem_evaluate_relative_path+0x34>
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a00016cc:	eb00291b 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a00016d0:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a00016d4:	ea000021 	b	a0001760 <rtems_filesystem_evaluate_relative_path+0xbc><== NOT EXECUTED
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
a00016d8:	e593c00c 	ldr	ip, [r3, #12]                                 
a00016dc:	e59cc000 	ldr	ip, [ip]                                      
a00016e0:	e35c0000 	cmp	ip, #0                                        
a00016e4:	0a00001b 	beq	a0001758 <rtems_filesystem_evaluate_relative_path+0xb4>
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
a00016e8:	e12fff3c 	blx	ip                                            
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
a00016ec:	e59d200c 	ldr	r2, [sp, #12]                                 
a00016f0:	e2703001 	rsbs	r3, r0, #1                                   
a00016f4:	33a03000 	movcc	r3, #0                                      
a00016f8:	e3520000 	cmp	r2, #0                                        
a00016fc:	03a03000 	moveq	r3, #0                                      
a0001700:	e3530000 	cmp	r3, #0                                        
a0001704:	0a00001b 	beq	a0001778 <rtems_filesystem_evaluate_relative_path+0xd4>
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
a0001708:	e594200c 	ldr	r2, [r4, #12]                                 
a000170c:	e5923010 	ldr	r3, [r2, #16]                                 
a0001710:	e3530000 	cmp	r3, #0                                        
a0001714:	0a00000a 	beq	a0001744 <rtems_filesystem_evaluate_relative_path+0xa0>
      rtems_filesystem_freenode( pathloc );                           
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
a0001718:	e1a00004 	mov	r0, r4                                        
a000171c:	e12fff33 	blx	r3                                            
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
a0001720:	e2400003 	sub	r0, r0, #3                                    
a0001724:	e3500001 	cmp	r0, #1                                        
a0001728:	9a000001 	bls	a0001734 <rtems_filesystem_evaluate_relative_path+0x90>
a000172c:	e3a00000 	mov	r0, #0                                        
a0001730:	e8bd8030 	pop	{r4, r5, pc}                                  
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
a0001734:	e594200c 	ldr	r2, [r4, #12]                                 
a0001738:	e5923034 	ldr	r3, [r2, #52]	; 0x34                          
a000173c:	e3530000 	cmp	r3, #0                                        
a0001740:	1a000009 	bne	a000176c <rtems_filesystem_evaluate_relative_path+0xc8>
          rtems_filesystem_freenode( pathloc );                       
a0001744:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0001748:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000174c:	0a000001 	beq	a0001758 <rtems_filesystem_evaluate_relative_path+0xb4><== NOT EXECUTED
a0001750:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001754:	e12fff33 	blx	r3                                            <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
a0001758:	eb0028f8 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a000175c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001760:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001764:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001768:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
         *    pathloc will be passed up (and eventually released).    
         *    Hence, the (valid) originial node that we submit to     
         *    eval_link_h() should be released by the handler.        
         */                                                           
                                                                      
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
a000176c:	e1a00004 	mov	r0, r4                                        
a0001770:	e1a01005 	mov	r1, r5                                        
a0001774:	e12fff33 	blx	r3                                            
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
a0001778:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
a0001504 <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 )                              
{                                                                     
a0001504:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001508:	e59f6100 	ldr	r6, [pc, #256]	; a0001610 <rtems_filesystem_initialize+0x10c>
a000150c:	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 )                              
{                                                                     
a0001510:	e24dd01c 	sub	sp, sp, #28                                   
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001514:	e5963000 	ldr	r3, [r6]                                      
a0001518:	e583202c 	str	r2, [r3, #44]	; 0x2c                          
                                                                      
                                                                      
  init_fs_mount_table();                                              
a000151c:	eb000217 	bl	a0001d80 <init_fs_mount_table>                 
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001520:	e59f30ec 	ldr	r3, [pc, #236]	; a0001614 <rtems_filesystem_initialize+0x110>
a0001524:	e5933000 	ldr	r3, [r3]                                      
a0001528:	e3530000 	cmp	r3, #0                                        
    rtems_fatal_error_occurred( 0xABCD0001 );                         
a000152c:	059f00e4 	ldreq	r0, [pc, #228]	; a0001618 <rtems_filesystem_initialize+0x114>
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001530:	0a000009 	beq	a000155c <rtems_filesystem_initialize+0x58>   
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a0001534:	e59f30e0 	ldr	r3, [pc, #224]	; a000161c <rtems_filesystem_initialize+0x118>
                                                                      
  status = mount(                                                     
a0001538:	e28d0018 	add	r0, sp, #24                                   
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a000153c:	e5932000 	ldr	r2, [r3]                                      
                                                                      
  status = mount(                                                     
a0001540:	e592300c 	ldr	r3, [r2, #12]                                 
a0001544:	e58d3000 	str	r3, [sp]                                      
a0001548:	e892000e 	ldm	r2, {r1, r2, r3}                              
a000154c:	eb000212 	bl	a0001d9c <mount>                               
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
a0001550:	e3700001 	cmn	r0, #1                                        
a0001554:	1a000001 	bne	a0001560 <rtems_filesystem_initialize+0x5c>   
    rtems_fatal_error_occurred( 0xABCD0002 );                         
a0001558:	e59f00c0 	ldr	r0, [pc, #192]	; a0001620 <rtems_filesystem_initialize+0x11c><== NOT EXECUTED
a000155c:	eb000e97 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a0001560:	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;                   
a0001564:	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;                                   
a0001568:	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;                   
a000156c:	e287c018 	add	ip, r7, #24                                   
a0001570:	e28ee01c 	add	lr, lr, #28                                   
a0001574:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0001578:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000157c:	e59e3000 	ldr	r3, [lr]                                      
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001580:	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;                                   
a0001584:	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;                   
a0001588:	e58c3000 	str	r3, [ip]                                      
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a000158c:	e3a01001 	mov	r1, #1                                        
a0001590:	e1a03004 	mov	r3, r4                                        
a0001594:	e1a02005 	mov	r2, r5                                        
a0001598:	e59f0084 	ldr	r0, [pc, #132]	; a0001624 <rtems_filesystem_initialize+0x120>
a000159c:	e58d5000 	str	r5, [sp]                                      
a00015a0:	eb000075 	bl	a000177c <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root        = loc;                                 
a00015a4:	e596c000 	ldr	ip, [r6]                                      
a00015a8:	e1a07004 	mov	r7, r4                                        
a00015ac:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a00015b0:	e28cc018 	add	ip, ip, #24                                   
a00015b4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00015b8:	e5973000 	ldr	r3, [r7]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00015bc:	e1a02005 	mov	r2, r5                                        
a00015c0:	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;                                 
a00015c4:	e58c3000 	str	r3, [ip]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00015c8:	e59f0054 	ldr	r0, [pc, #84]	; a0001624 <rtems_filesystem_initialize+0x120>
a00015cc:	e1a03004 	mov	r3, r4                                        
a00015d0:	e58d5000 	str	r5, [sp]                                      
a00015d4:	eb000068 	bl	a000177c <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current     = loc;                                 
a00015d8:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a00015dc:	e596c000 	ldr	ip, [r6]                                      
a00015e0:	e28cc004 	add	ip, ip, #4                                    
a00015e4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00015e8:	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);                                      
a00015ec:	e59f0034 	ldr	r0, [pc, #52]	; a0001628 <rtems_filesystem_initialize+0x124>
a00015f0:	e59f1034 	ldr	r1, [pc, #52]	; a000162c <rtems_filesystem_initialize+0x128>
  /* 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;                                 
a00015f4:	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);                                      
a00015f8:	eb00018e 	bl	a0001c38 <mkdir>                               
  if ( status != 0 )                                                  
a00015fc:	e1500005 	cmp	r0, r5                                        
    rtems_fatal_error_occurred( 0xABCD0003 );                         
a0001600:	159f0028 	ldrne	r0, [pc, #40]	; a0001630 <rtems_filesystem_initialize+0x12c>
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
a0001604:	1affffd4 	bne	a000155c <rtems_filesystem_initialize+0x58>   
   *  it will be mounted onto is created.  Moreover, if it is going to
   *  use a device, then it is REALLY unfair to attempt this          
   *  before device drivers are initialized.  So we return via a base 
   *  filesystem image and nothing auto-mounted at this point.        
   */                                                                 
}                                                                     
a0001608:	e28dd01c 	add	sp, sp, #28                                   
a000160c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a0001610:	a0017598 	.word	0xa0017598                                  
a0001614:	a0017b0c 	.word	0xa0017b0c                                  
a0001618:	abcd0001 	.word	0xabcd0001                                  
a000161c:	a00173c8 	.word	0xa00173c8                                  
a0001620:	abcd0002 	.word	0xabcd0002                                  
a0001624:	a001837b 	.word	0xa001837b                                  
a0001628:	a001837d 	.word	0xa001837d                                  
a000162c:	000001ff 	.word	0x000001ff                                  
a0001630:	abcd0003 	.word	0xabcd0003                                  
                                                                      
a0023ab4 <rtems_filesystem_nodes_equal>:                              
);                                                                    
                                                                      
bool rtems_filesystem_nodes_equal(                                    
  const rtems_filesystem_location_info_t   *loc1,                     
  const rtems_filesystem_location_info_t   *loc2                      
){                                                                    
a0023ab4:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0023ab8:	e5910000 	ldr	r0, [r1]                                      <== NOT EXECUTED
  return ( loc1->node_access == loc2->node_access );                  
}                                                                     
a0023abc:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
a0023ac0:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0023ac4:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
a0023ac8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a00013d0 <rtems_io_lookup_name>:                                      
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
a00013d0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
a00013d4:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a00013d8:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a00013dc:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
a00013e0:	eb002dc7 	bl	a000cb04 <strlen>                              <== NOT EXECUTED
a00013e4:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a00013e8:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a00013ec:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00013f0:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a00013f4:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
a00013f8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00013fc:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0001400:	eb0000dd 	bl	a000177c <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a0001404:	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 );
a0001408:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
a000140c:	e59d8004 	ldr	r8, [sp, #4]                                  <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a0001410:	e5923010 	ldr	r3, [r2, #16]                                 <== NOT EXECUTED
a0001414:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001418:	1a000009 	bne	a0001444 <rtems_io_lookup_name+0x74>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
a000141c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0001420:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001424:	0a000001 	beq	a0001430 <rtems_io_lookup_name+0x60>          <== NOT EXECUTED
a0001428:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000142c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001430:	eb0029c2 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0001434:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001438:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000143c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001440:	ea000023 	b	a00014d4 <rtems_io_lookup_name+0x104>           <== NOT EXECUTED
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
a0001444:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001448:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
a000144c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0001450:	03500002 	cmpeq	r0, #2                                      <== NOT EXECUTED
a0001454:	03a0a000 	moveq	sl, #0                                      <== NOT EXECUTED
a0001458:	13a0a001 	movne	sl, #1                                      <== NOT EXECUTED
a000145c:	e59d7010 	ldr	r7, [sp, #16]                                 <== NOT EXECUTED
a0001460:	0a000007 	beq	a0001484 <rtems_io_lookup_name+0xb4>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
a0001464:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0001468:	0a000016 	beq	a00014c8 <rtems_io_lookup_name+0xf8>          <== NOT EXECUTED
a000146c:	e597301c 	ldr	r3, [r7, #28]                                 <== NOT EXECUTED
a0001470:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001474:	0a000013 	beq	a00014c8 <rtems_io_lookup_name+0xf8>          <== NOT EXECUTED
a0001478:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000147c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0001480:	ea000010 	b	a00014c8 <rtems_io_lookup_name+0xf8>            <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
a0001484:	e5856000 	str	r6, [r5]                                      <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
a0001488:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000148c:	eb002d9c 	bl	a000cb04 <strlen>                              <== NOT EXECUTED
a0001490:	e5850004 	str	r0, [r5, #4]                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
a0001494:	e5983050 	ldr	r3, [r8, #80]	; 0x50                          <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0001498:	e3570000 	cmp	r7, #0                                        <== 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;     
a000149c:	e5853008 	str	r3, [r5, #8]                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
a00014a0:	e5983054 	ldr	r3, [r8, #84]	; 0x54                          <== NOT EXECUTED
a00014a4:	e585300c 	str	r3, [r5, #12]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00014a8:	0a000008 	beq	a00014d0 <rtems_io_lookup_name+0x100>         <== NOT EXECUTED
a00014ac:	e597301c 	ldr	r3, [r7, #28]                                 <== NOT EXECUTED
a00014b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00014b4:	0a000005 	beq	a00014d0 <rtems_io_lookup_name+0x100>         <== NOT EXECUTED
a00014b8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00014bc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00014c0:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a00014c4:	ea000002 	b	a00014d4 <rtems_io_lookup_name+0x104>           <== NOT EXECUTED
a00014c8:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
a00014cc:	ea000000 	b	a00014d4 <rtems_io_lookup_name+0x104>           <== NOT EXECUTED
a00014d0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00014d4:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a00014d8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      
a0001904 <rtems_libio_init>:                                          
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a0001904:	e92d4011 	push	{r0, r4, lr}                                 
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a0001908:	e59f409c 	ldr	r4, [pc, #156]	; a00019ac <rtems_libio_init+0xa8>
a000190c:	e5940000 	ldr	r0, [r4]                                      
a0001910:	e3500000 	cmp	r0, #0                                        
a0001914:	0a000014 	beq	a000196c <rtems_libio_init+0x68>              
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
a0001918:	e3a01040 	mov	r1, #64	; 0x40                                
a000191c:	eb001d46 	bl	a0008e3c <calloc>                              
a0001920:	e59f3088 	ldr	r3, [pc, #136]	; a00019b0 <rtems_libio_init+0xac>
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a0001924:	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,
a0001928:	e5830000 	str	r0, [r3]                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
a000192c:	0280001a 	addeq	r0, r0, #26                                 
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a0001930:	0a000016 	beq	a0001990 <rtems_libio_init+0x8c>              
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
a0001934:	e59f2078 	ldr	r2, [pc, #120]	; a00019b4 <rtems_libio_init+0xb0>
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
a0001938:	e594c000 	ldr	ip, [r4]                                      
a000193c:	e1a03000 	mov	r3, r0                                        
        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;            
a0001940:	e5820000 	str	r0, [r2]                                      
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
a0001944:	e3a02000 	mov	r2, #0                                        
a0001948:	ea000000 	b	a0001950 <rtems_libio_init+0x4c>                
		iop->data1 = iop + 1;                                               
a000194c:	e503300c 	str	r3, [r3, #-12]                                
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
a0001950:	e2822001 	add	r2, r2, #1                                    
a0001954:	e152000c 	cmp	r2, ip                                        
		iop->data1 = iop + 1;                                               
a0001958:	e1a01003 	mov	r1, r3                                        
                                                    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++)         
a000195c:	e2833040 	add	r3, r3, #64	; 0x40                            
a0001960:	3afffff9 	bcc	a000194c <rtems_libio_init+0x48>              
		iop->data1 = iop + 1;                                               
	iop->data1 = NULL;                                                   
a0001964:	e3a03000 	mov	r3, #0                                        
a0001968:	e5813034 	str	r3, [r1, #52]	; 0x34                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
a000196c:	e59fc044 	ldr	ip, [pc, #68]	; a00019b8 <rtems_libio_init+0xb4>
a0001970:	e59f0044 	ldr	r0, [pc, #68]	; a00019bc <rtems_libio_init+0xb8>
a0001974:	e3a01001 	mov	r1, #1                                        
a0001978:	e3a02054 	mov	r2, #84	; 0x54                                
a000197c:	e3a03000 	mov	r3, #0                                        
a0001980:	e58dc000 	str	ip, [sp]                                      
a0001984:	eb000b67 	bl	a0004728 <rtems_semaphore_create>              
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
a0001988:	e3500000 	cmp	r0, #0                                        
a000198c:	0a000000 	beq	a0001994 <rtems_libio_init+0x90>              
    rtems_fatal_error_occurred( rc );                                 
a0001990:	eb000d8a 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
a0001994:	e59f3024 	ldr	r3, [pc, #36]	; a00019c0 <rtems_libio_init+0xbc>
a0001998:	e5933000 	ldr	r3, [r3]                                      
a000199c:	e3530000 	cmp	r3, #0                                        
a00019a0:	0a000000 	beq	a00019a8 <rtems_libio_init+0xa4>              
     (* rtems_fs_init_helper)();                                      
a00019a4:	e12fff33 	blx	r3                                            
}                                                                     
a00019a8:	e8bd8018 	pop	{r3, r4, pc}                                  
a00019ac:	a00173c0 	.word	0xa00173c0                                  
a00019b0:	a0018bfc 	.word	0xa0018bfc                                  
a00019b4:	a0018c00 	.word	0xa0018c00                                  
a00019b8:	a0018c04 	.word	0xa0018c04                                  
a00019bc:	4c42494f 	.word	0x4c42494f                                  
a00019c0:	a00173bc 	.word	0xa00173bc                                  
                                                                      
a00232f8 <rtems_libio_set_private_env>:                               
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
a00232f8:	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);                         
a00232fc:	e3a00000 	mov	r0, #0                                        
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
a0023300:	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);                         
a0023304:	e1a01000 	mov	r1, r0                                        
a0023308:	e28d2018 	add	r2, sp, #24                                   
a002330c:	eb000536 	bl	a00247ec <rtems_task_ident>                    
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a0023310:	e2508000 	subs	r8, r0, #0                                   
a0023314:	1a00003f 	bne	a0023418 <rtems_libio_set_private_env+0x120>  
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
a0023318:	e59f4104 	ldr	r4, [pc, #260]	; a0023424 <rtems_libio_set_private_env+0x12c>
a002331c:	e59f3104 	ldr	r3, [pc, #260]	; a0023428 <rtems_libio_set_private_env+0x130>
a0023320:	e5942000 	ldr	r2, [r4]                                      
a0023324:	e1520003 	cmp	r2, r3                                        
a0023328:	1a00000f 	bne	a002336c <rtems_libio_set_private_env+0x74>   
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
a002332c:	e2800048 	add	r0, r0, #72	; 0x48                            
a0023330:	ebff8681 	bl	a0004d3c <malloc>                              
   if (!tmp)                                                          
a0023334:	e2505000 	subs	r5, r0, #0                                   
a0023338:	03a0801a 	moveq	r8, #26                                     
a002333c:	0a000035 	beq	a0023418 <rtems_libio_set_private_env+0x120>  
                                                                      
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_envôa
a0023340:	e1a00008 	mov	r0, r8                                        
a0023344:	e1a01004 	mov	r1, r4                                        
a0023348:	e59f20dc 	ldr	r2, [pc, #220]	; a002342c <rtems_libio_set_private_env+0x134>
a002334c:	eb00061d 	bl	a0024bc8 <rtems_task_variable_add>             
   if (sc != RTEMS_SUCCESSFUL) {                                      
a0023350:	e2506000 	subs	r6, r0, #0                                   
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
a0023354:	05845000 	streq	r5, [r4]                                    
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_envôa
   if (sc != RTEMS_SUCCESSFUL) {                                      
a0023358:	0a000003 	beq	a002336c <rtems_libio_set_private_env+0x74>   
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
a002335c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0023360:	ebff84f5 	bl	a000473c <free>                                <== NOT EXECUTED
a0023364:	e1a08006 	mov	r8, r6                                        <== NOT EXECUTED
     return sc;                                                       
a0023368:	ea00002a 	b	a0023418 <rtems_libio_set_private_env+0x120>    <== NOT EXECUTED
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
a002336c:	e59f60b0 	ldr	r6, [pc, #176]	; a0023424 <rtems_libio_set_private_env+0x12c>
a0023370:	e59f10b0 	ldr	r1, [pc, #176]	; a0023428 <rtems_libio_set_private_env+0x130>
a0023374:	e3a02048 	mov	r2, #72	; 0x48                                
a0023378:	e5967000 	ldr	r7, [r6]                                      
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a002337c:	e28d4004 	add	r4, sp, #4                                    
a0023380:	e3a05000 	mov	r5, #0                                        
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
a0023384:	e1a00007 	mov	r0, r7                                        
a0023388:	eb006052 	bl	a003b4d8 <memcpy>                              
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
a002338c:	e59f309c 	ldr	r3, [pc, #156]	; a0023430 <rtems_libio_set_private_env+0x138>
   }                                                                  
   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*/
a0023390:	e1a0c007 	mov	ip, r7                                        
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
a0023394:	e1a07004 	mov	r7, r4                                        
                                                                      
  *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;                         
a0023398:	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*/
a002339c:	e59d3018 	ldr	r3, [sp, #24]                                 
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
a00233a0:	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*/
a00233a4:	e48c3018 	str	r3, [ip], #24                                 
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
a00233a8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00233ac:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00233b0:	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);                 
a00233b4:	e3a01001 	mov	r1, #1                                        
a00233b8:	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;                         
a00233bc:	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);                 
a00233c0:	e59f006c 	ldr	r0, [pc, #108]	; a0023434 <rtems_libio_set_private_env+0x13c>
a00233c4:	e1a03004 	mov	r3, r4                                        
a00233c8:	e58d5000 	str	r5, [sp]                                      
a00233cc:	ebff84ac 	bl	a0004684 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root    = loc;                                     
a00233d0:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a00233d4:	e596c000 	ldr	ip, [r6]                                      
a00233d8:	e28cc018 	add	ip, ip, #24                                   
a00233dc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00233e0:	e5973000 	ldr	r3, [r7]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00233e4:	e1a02005 	mov	r2, r5                                        
a00233e8:	e3a01001 	mov	r1, #1                                        
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
a00233ec:	e58c3000 	str	r3, [ip]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00233f0:	e59f003c 	ldr	r0, [pc, #60]	; a0023434 <rtems_libio_set_private_env+0x13c>
a00233f4:	e1a03004 	mov	r3, r4                                        
a00233f8:	e58d5000 	str	r5, [sp]                                      
a00233fc:	ebff84a0 	bl	a0004684 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current = loc;                                     
a0023400:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0023404:	e596c000 	ldr	ip, [r6]                                      
a0023408:	e28cc004 	add	ip, ip, #4                                    
a002340c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0023410:	e5973000 	ldr	r3, [r7]                                      
a0023414:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0023418:	e1a00008 	mov	r0, r8                                        
a002341c:	e28dd01c 	add	sp, sp, #28                                   
a0023420:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
a0023424:	a0052628 	.word	0xa0052628                                  
a0023428:	a005fdb8 	.word	0xa005fdb8                                  
a002342c:	a00231ec 	.word	0xa00231ec                                  
a0023430:	a005fda0 	.word	0xa005fda0                                  
a0023434:	a0056ace 	.word	0xa0056ace                                  
                                                                      
a0023254 <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) {   
a0023254:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
a0023258:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  rtems_status_code  sc;                                              
  rtems_user_env_t * shared_user_env;                                 
  rtems_id           current_task_id;                                 
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,¤t_task_id);                 
a002325c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0023260:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0023264:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0023268:	eb00055f 	bl	a00247ec <rtems_task_ident>                    <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a002326c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0023270:	1a00001b 	bne	a00232e4 <rtems_libio_share_private_env+0x90> <== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
a0023274:	e59f1070 	ldr	r1, [pc, #112]	; a00232ec <rtems_libio_share_private_env+0x98><== NOT EXECUTED
a0023278:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a002327c:	e5914000 	ldr	r4, [r1]                                      <== NOT EXECUTED
a0023280:	e5942000 	ldr	r2, [r4]                                      <== NOT EXECUTED
a0023284:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0023288:	1a000004 	bne	a00232a0 <rtems_libio_share_private_env+0x4c> <== NOT EXECUTED
   /* kill the current user env & task_var*/                          
	rtems_user_env_t 	*tmp = rtems_current_user_env;                     
   sc = rtems_task_variable_delete(RTEMS_SELF,(void*)&rtems_current_user_env);
a002328c:	eb000676 	bl	a0024c6c <rtems_task_variable_delete>          <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
a0023290:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0023294:	1a000012 	bne	a00232e4 <rtems_libio_share_private_env+0x90> <== NOT EXECUTED
   free_user_env(tmp);                                                
a0023298:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a002329c:	ebffffd2 	bl	a00231ec <free_user_env>                       <== NOT EXECUTED
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
a00232a0:	e59f4044 	ldr	r4, [pc, #68]	; a00232ec <rtems_libio_share_private_env+0x98><== NOT EXECUTED
a00232a4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00232a8:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
a00232ac:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00232b0:	eb00068a 	bl	a0024ce0 <rtems_task_variable_get>             <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
a00232b4:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a00232b8:	1a000006 	bne	a00232d8 <rtems_libio_share_private_env+0x84> <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
a00232bc:	e59f202c 	ldr	r2, [pc, #44]	; a00232f0 <rtems_libio_share_private_env+0x9c><== NOT EXECUTED
a00232c0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00232c4:	eb00063f 	bl	a0024bc8 <rtems_task_variable_add>             <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
a00232c8:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
a00232cc:	059d2004 	ldreq	r2, [sp, #4]                                <== NOT EXECUTED
a00232d0:	05842000 	streq	r2, [r4]                                    <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
  if (sc != RTEMS_SUCCESSFUL)                                         
a00232d4:	0a000002 	beq	a00232e4 <rtems_libio_share_private_env+0x90> <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
a00232d8:	e59f1014 	ldr	r1, [pc, #20]	; a00232f4 <rtems_libio_share_private_env+0xa0><== NOT EXECUTED
a00232dc:	e59f2008 	ldr	r2, [pc, #8]	; a00232ec <rtems_libio_share_private_env+0x98><== NOT EXECUTED
a00232e0:	e5821000 	str	r1, [r2]                                      <== NOT EXECUTED
  return sc;                                                          
}                                                                     
a00232e4:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a00232e8:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
a00232ec:	a0052628 	.word	0xa0052628                                  
a00232f0:	a00231ec 	.word	0xa00231ec                                  
a00232f4:	a005fdb8 	.word	0xa005fdb8                                  
                                                                      
a0004e3c <rtems_malloc_statistics_at_free>:                           
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
a0004e3c:	e92d4801 	push	{r0, fp, lr}                                 <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
a0004e40:	e59f3038 	ldr	r3, [pc, #56]	; a0004e80 <rtems_malloc_statistics_at_free+0x44><== NOT EXECUTED
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
a0004e44:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
a0004e48:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0004e4c:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a0004e50:	eb00140d 	bl	a0009e8c <_Protected_heap_Get_block_size>      <== NOT EXECUTED
a0004e54:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004e58:	0a000007 	beq	a0004e7c <rtems_malloc_statistics_at_free+0x40><== NOT EXECUTED
    MSBUMP(lifetime_freed, size);                                     
a0004e5c:	e59f3020 	ldr	r3, [pc, #32]	; a0004e84 <rtems_malloc_statistics_at_free+0x48><== NOT EXECUTED
a0004e60:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a0004e64:	e283c024 	add	ip, r3, #36	; 0x24                            <== NOT EXECUTED
a0004e68:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
a0004e6c:	e09b1000 	adds	r1, fp, r0                                   <== NOT EXECUTED
a0004e70:	e2ac2000 	adc	r2, ip, #0                                    <== NOT EXECUTED
a0004e74:	e5831024 	str	r1, [r3, #36]	; 0x24                          <== NOT EXECUTED
a0004e78:	e5832028 	str	r2, [r3, #40]	; 0x28                          <== NOT EXECUTED
  }                                                                   
}                                                                     
a0004e7c:	e8bd8808 	pop	{r3, fp, pc}                                  <== NOT EXECUTED
a0004e80:	a005231c 	.word	0xa005231c                                  
a0004e84:	a005fd74 	.word	0xa005fd74                                  
                                                                      
a0004e88 <rtems_malloc_statistics_at_malloc>:                         
{                                                                     
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
a0004e88:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
a0004e8c:	e92d4071 	push	{r0, r4, r5, r6, lr}                         <== NOT EXECUTED
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
a0004e90:	0a000013 	beq	a0004ee4 <rtems_malloc_statistics_at_malloc+0x5c><== NOT EXECUTED
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
a0004e94:	e59f304c 	ldr	r3, [pc, #76]	; a0004ee8 <rtems_malloc_statistics_at_malloc+0x60><== NOT EXECUTED
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
  uintptr_t actual_size = 0;                                          
a0004e98:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
a0004e9c:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
  uintptr_t actual_size = 0;                                          
a0004ea0:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0004ea4:	e5223004 	str	r3, [r2, #-4]!                                <== NOT EXECUTED
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
a0004ea8:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0004eac:	eb0013f6 	bl	a0009e8c <_Protected_heap_Get_block_size>      <== NOT EXECUTED
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
a0004eb0:	e59f3034 	ldr	r3, [pc, #52]	; a0004eec <rtems_malloc_statistics_at_malloc+0x64><== NOT EXECUTED
a0004eb4:	e59d6000 	ldr	r6, [sp]                                      <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
a0004eb8:	e5932024 	ldr	r2, [r3, #36]	; 0x24                          <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
a0004ebc:	e283501c 	add	r5, r3, #28                                   <== NOT EXECUTED
a0004ec0:	e8950030 	ldm	r5, {r4, r5}                                  <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
a0004ec4:	e593c018 	ldr	ip, [r3, #24]                                 <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
a0004ec8:	e0940006 	adds	r0, r4, r6                                   <== NOT EXECUTED
a0004ecc:	e2a51000 	adc	r1, r5, #0                                    <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
a0004ed0:	e0622000 	rsb	r2, r2, r0                                    <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
a0004ed4:	e583001c 	str	r0, [r3, #28]                                 <== NOT EXECUTED
a0004ed8:	e5831020 	str	r1, [r3, #32]                                 <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
a0004edc:	e152000c 	cmp	r2, ip                                        <== NOT EXECUTED
      s->max_depth = current_depth;                                   
a0004ee0:	85832018 	strhi	r2, [r3, #24]                               <== NOT EXECUTED
}                                                                     
a0004ee4:	e8bd8078 	pop	{r3, r4, r5, r6, pc}                          <== NOT EXECUTED
a0004ee8:	a005231c 	.word	0xa005231c                                  
a0004eec:	a005fd74 	.word	0xa005fd74                                  
                                                                      
a0004ef0 <rtems_malloc_statistics_initialize>:                        
static void rtems_malloc_statistics_initialize( void )                
{                                                                     
  /*                                                                  
   * Zero all the statistics                                          
   */                                                                 
  (void) memset(&rtems_malloc_statistics, 0, sizeof(rtems_malloc_statistics));
a0004ef0:	e59f0008 	ldr	r0, [pc, #8]	; a0004f00 <rtems_malloc_statistics_initialize+0x10><== NOT EXECUTED
a0004ef4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0004ef8:	e3a0202c 	mov	r2, #44	; 0x2c                                <== NOT EXECUTED
a0004efc:	ea00d9fc 	b	a003b6f4 <memset>                               <== NOT EXECUTED
a0004f00:	a005fd74 	.word	0xa005fd74                                  
                                                                      
a000dc10 <rtems_memalign>:                                            
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
a000dc10:	e92d4070 	push	{r4, r5, r6, lr}                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a000dc14:	e2504000 	subs	r4, r0, #0                                   
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
a000dc18:	e1a05001 	mov	r5, r1                                        
a000dc1c:	e1a06002 	mov	r6, r2                                        
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a000dc20:	0a00001d 	beq	a000dc9c <rtems_memalign+0x8c>                
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
a000dc24:	e3a03000 	mov	r3, #0                                        
a000dc28:	e5843000 	str	r3, [r4]                                      
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a000dc2c:	e59f3070 	ldr	r3, [pc, #112]	; a000dca4 <rtems_memalign+0x94>
a000dc30:	e5933000 	ldr	r3, [r3]                                      
a000dc34:	e3530003 	cmp	r3, #3                                        
a000dc38:	1a000002 	bne	a000dc48 <rtems_memalign+0x38>                
a000dc3c:	ebffd450 	bl	a0002d84 <malloc_is_system_state_OK>           
a000dc40:	e3500000 	cmp	r0, #0                                        
a000dc44:	0a000014 	beq	a000dc9c <rtems_memalign+0x8c>                
                                                                      
  /*                                                                  
   *                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a000dc48:	ebffd464 	bl	a0002de0 <malloc_deferred_frees_process>       
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
    _Protected_heap_Allocate_aligned_with_boundary( heap, size, alignment, 0 );
a000dc4c:	e59f3054 	ldr	r3, [pc, #84]	; a000dca8 <rtems_memalign+0x98>
a000dc50:	e1a02005 	mov	r2, r5                                        
a000dc54:	e1a01006 	mov	r1, r6                                        
a000dc58:	e5930000 	ldr	r0, [r3]                                      
a000dc5c:	e3a03000 	mov	r3, #0                                        
a000dc60:	ebffe772 	bl	a0007a30 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
a000dc64:	e2505000 	subs	r5, r0, #0                                   
a000dc68:	1a000001 	bne	a000dc74 <rtems_memalign+0x64>                
a000dc6c:	e280000c 	add	r0, r0, #12                                   
a000dc70:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a000dc74:	e59f3030 	ldr	r3, [pc, #48]	; a000dcac <rtems_memalign+0x9c>
a000dc78:	e5933000 	ldr	r3, [r3]                                      
a000dc7c:	e3530000 	cmp	r3, #0                                        
a000dc80:	0a000002 	beq	a000dc90 <rtems_memalign+0x80>                
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
a000dc84:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000dc88:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a000dc8c:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
     */                                                               
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
a000dc90:	e5845000 	str	r5, [r4]                                      
a000dc94:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
a000dc98:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000dc9c:	e3a00016 	mov	r0, #22                                       
}                                                                     
a000dca0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000dca4:	a001e790 	.word	0xa001e790                                  
a000dca8:	a001c87c 	.word	0xa001c87c                                  
a000dcac:	a001e028 	.word	0xa001e028                                  
                                                                      
a0006464 <rtems_panic>:                                               
                                                                      
void rtems_panic(                                                     
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
a0006464:	e92d000f 	push	{r0, r1, r2, r3}                             <== NOT EXECUTED
a0006468:	e92d4001 	push	{r0, lr}                                     <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
a000646c:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
a0006470:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0006474:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
a0006478:	e3a00202 	mov	r0, #536870912	; 0x20000000                   <== NOT EXECUTED
    ...                                                               
  )                                                                   
{                                                                     
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
a000647c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
a0006480:	ebffff8d 	bl	a00062bc <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
a0006484:	e8bd4008 	pop	{r3, lr}                                      <== NOT EXECUTED
a0006488:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
a000648c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a000a438 <rtems_pipe_initialize>:                                     
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
  if (!rtems_pipe_configured)                                         
a000a438:	e59f304c 	ldr	r3, [pc, #76]	; a000a48c <rtems_pipe_initialize+0x54>
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
a000a43c:	e92d4001 	push	{r0, lr}                                     
  if (!rtems_pipe_configured)                                         
a000a440:	e5d33000 	ldrb	r3, [r3]                                     
a000a444:	e3530000 	cmp	r3, #0                                        
a000a448:	0a00000e 	beq	a000a488 <rtems_pipe_initialize+0x50>         
    return;                                                           
                                                                      
  if (rtems_pipe_semaphore)                                           
a000a44c:	e59fc03c 	ldr	ip, [pc, #60]	; a000a490 <rtems_pipe_initialize+0x58><== NOT EXECUTED
a000a450:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
a000a454:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a458:	1a00000a 	bne	a000a488 <rtems_pipe_initialize+0x50>         <== NOT EXECUTED
    return;                                                           
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create(                                        
a000a45c:	e59f0030 	ldr	r0, [pc, #48]	; a000a494 <rtems_pipe_initialize+0x5c><== NOT EXECUTED
a000a460:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000a464:	e3a02054 	mov	r2, #84	; 0x54                                <== NOT EXECUTED
a000a468:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000a46c:	ebffe8ad 	bl	a0004728 <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)                                         
a000a470:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a474:	0a000000 	beq	a000a47c <rtems_pipe_initialize+0x44>         <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
a000a478:	ebffead0 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
a000a47c:	ebffe7ad 	bl	a0004338 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
  rtems_pipe_no = now;                                                
a000a480:	e59f3010 	ldr	r3, [pc, #16]	; a000a498 <rtems_pipe_initialize+0x60><== NOT EXECUTED
a000a484:	e1c300b0 	strh	r0, [r3]                                     <== NOT EXECUTED
}                                                                     
a000a488:	e8bd8008 	pop	{r3, pc}                                      
a000a48c:	a0018844 	.word	0xa0018844                                  
a000a490:	a001897c 	.word	0xa001897c                                  
a000a494:	50495045 	.word	0x50495045                                  
a000a498:	a0018982 	.word	0xa0018982                                  
                                                                      
a0033a40 <rtems_rate_monotonic_period>:                               
                                                                      
rtems_status_code rtems_rate_monotonic_period(                        
  rtems_id       id,                                                  
  rtems_interval length                                               
)                                                                     
{                                                                     
a0033a40:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     
a0033a44:	e1a05000 	mov	r5, r0                                        
a0033a48:	e1a04001 	mov	r4, r1                                        
a0033a4c:	e59f0168 	ldr	r0, [pc, #360]	; a0033bbc <rtems_rate_monotonic_period+0x17c>
a0033a50:	e1a01005 	mov	r1, r5                                        
a0033a54:	e1a0200d 	mov	r2, sp                                        
a0033a58:	ebff586b 	bl	a0009c0c <_Objects_Get>                        
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
a0033a5c:	e59d3000 	ldr	r3, [sp]                                      
a0033a60:	e1a06000 	mov	r6, r0                                        
a0033a64:	e3530000 	cmp	r3, #0                                        
a0033a68:	1a000050 	bne	a0033bb0 <rtems_rate_monotonic_period+0x170>  
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
a0033a6c:	e59f314c 	ldr	r3, [pc, #332]	; a0033bc0 <rtems_rate_monotonic_period+0x180>
a0033a70:	e5902040 	ldr	r2, [r0, #64]	; 0x40                          
a0033a74:	e5933000 	ldr	r3, [r3]                                      
a0033a78:	e1520003 	cmp	r2, r3                                        
a0033a7c:	0a000002 	beq	a0033a8c <rtems_rate_monotonic_period+0x4c>   
        _Thread_Enable_dispatch();                                    
a0033a80:	ebff5aae 	bl	a000a540 <_Thread_Enable_dispatch>             
a0033a84:	e3a04017 	mov	r4, #23                                       
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
a0033a88:	ea000049 	b	a0033bb4 <rtems_rate_monotonic_period+0x174>    
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
a0033a8c:	e3540000 	cmp	r4, #0                                        
a0033a90:	1a000004 	bne	a0033aa8 <rtems_rate_monotonic_period+0x68>   
        switch ( the_period->state ) {                                
a0033a94:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a0033a98:	e3530004 	cmp	r3, #4                                        
a0033a9c:	959f2120 	ldrls	r2, [pc, #288]	; a0033bc4 <rtems_rate_monotonic_period+0x184>
a0033aa0:	97924103 	ldrls	r4, [r2, r3, lsl #2]                        
a0033aa4:	ea00003f 	b	a0033ba8 <rtems_rate_monotonic_period+0x168>    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0033aa8:	e10f7000 	mrs	r7, CPSR                                      
a0033aac:	e3873080 	orr	r3, r7, #128	; 0x80                           
a0033ab0:	e129f003 	msr	CPSR_fc, r3                                   
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      switch ( the_period->state ) {                                  
a0033ab4:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a0033ab8:	e3530002 	cmp	r3, #2                                        
a0033abc:	0a000014 	beq	a0033b14 <rtems_rate_monotonic_period+0xd4>   
a0033ac0:	e3530004 	cmp	r3, #4                                        
a0033ac4:	0a00002d 	beq	a0033b80 <rtems_rate_monotonic_period+0x140>  
a0033ac8:	e3530000 	cmp	r3, #0                                        
a0033acc:	1a000037 	bne	a0033bb0 <rtems_rate_monotonic_period+0x170>  
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0033ad0:	e129f007 	msr	CPSR_fc, r7                                   
          _ISR_Enable( level );                                       
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
a0033ad4:	ebffff58 	bl	a003383c <_Rate_monotonic_Initiate_statistics> 
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
a0033ad8:	e3a03002 	mov	r3, #2                                        
a0033adc:	e5863038 	str	r3, [r6, #56]	; 0x38                          
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a0033ae0:	e59f30e0 	ldr	r3, [pc, #224]	; a0033bc8 <rtems_rate_monotonic_period+0x188>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0033ae4:	e3a07000 	mov	r7, #0                                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a0033ae8:	e586401c 	str	r4, [r6, #28]                                 
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
a0033aec:	e586403c 	str	r4, [r6, #60]	; 0x3c                          
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a0033af0:	e586302c 	str	r3, [r6, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a0033af4:	e5865030 	str	r5, [r6, #48]	; 0x30                          
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a0033af8:	e2861010 	add	r1, r6, #16                                   
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0033afc:	e5867018 	str	r7, [r6, #24]                                 
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
a0033b00:	e5867034 	str	r7, [r6, #52]	; 0x34                          
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a0033b04:	e59f00c0 	ldr	r0, [pc, #192]	; a0033bcc <rtems_rate_monotonic_period+0x18c>
a0033b08:	ebff5e8a 	bl	a000b538 <_Watchdog_Insert>                    
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
a0033b0c:	e1a04007 	mov	r4, r7                                        
a0033b10:	ea000024 	b	a0033ba8 <rtems_rate_monotonic_period+0x168>    
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
a0033b14:	ebffff93 	bl	a0033968 <_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;       
a0033b18:	e3a03001 	mov	r3, #1                                        
          the_period->next_length = length;                           
a0033b1c:	e586403c 	str	r4, [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;       
a0033b20:	e5863038 	str	r3, [r6, #56]	; 0x38                          
a0033b24:	e129f007 	msr	CPSR_fc, r7                                   
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
a0033b28:	e59f2090 	ldr	r2, [pc, #144]	; a0033bc0 <rtems_rate_monotonic_period+0x180>
a0033b2c:	e5963008 	ldr	r3, [r6, #8]                                  
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a0033b30:	e3a01901 	mov	r1, #16384	; 0x4000                           
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
a0033b34:	e5920000 	ldr	r0, [r2]                                      
a0033b38:	e5803020 	str	r3, [r0, #32]                                 
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a0033b3c:	ebff5cae 	bl	a000adfc <_Thread_Set_state>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0033b40:	e10f2000 	mrs	r2, CPSR                                      
a0033b44:	e3823080 	orr	r3, r2, #128	; 0x80                           
a0033b48:	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;                
a0033b4c:	e3a01002 	mov	r1, #2                                        
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
            local_state = the_period->state;                          
a0033b50:	e5963038 	ldr	r3, [r6, #56]	; 0x38                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
a0033b54:	e5861038 	str	r1, [r6, #56]	; 0x38                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0033b58:	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 ) 
a0033b5c:	e3530003 	cmp	r3, #3                                        
a0033b60:	1a000003 	bne	a0033b74 <rtems_rate_monotonic_period+0x134>  
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a0033b64:	e59f3054 	ldr	r3, [pc, #84]	; a0033bc0 <rtems_rate_monotonic_period+0x180><== NOT EXECUTED
a0033b68:	e3a01901 	mov	r1, #16384	; 0x4000                           <== NOT EXECUTED
a0033b6c:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a0033b70:	ebff5977 	bl	a000a154 <_Thread_Clear_state>                 <== NOT EXECUTED
                                                                      
          _Thread_Enable_dispatch();                                  
a0033b74:	ebff5a71 	bl	a000a540 <_Thread_Enable_dispatch>             
a0033b78:	e3a04000 	mov	r4, #0                                        
          return RTEMS_SUCCESSFUL;                                    
a0033b7c:	ea00000c 	b	a0033bb4 <rtems_rate_monotonic_period+0x174>    
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
a0033b80:	ebffff78 	bl	a0033968 <_Rate_monotonic_Update_statistics>   
a0033b84:	e129f007 	msr	CPSR_fc, r7                                   
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
a0033b88:	e3a03002 	mov	r3, #2                                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a0033b8c:	e586401c 	str	r4, [r6, #28]                                 
          the_period->next_length = length;                           
a0033b90:	e586403c 	str	r4, [r6, #60]	; 0x3c                          
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
a0033b94:	e5863038 	str	r3, [r6, #56]	; 0x38                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a0033b98:	e2861010 	add	r1, r6, #16                                   
a0033b9c:	e59f0028 	ldr	r0, [pc, #40]	; a0033bcc <rtems_rate_monotonic_period+0x18c>
a0033ba0:	ebff5e64 	bl	a000b538 <_Watchdog_Insert>                    
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
a0033ba4:	e3a04006 	mov	r4, #6                                        
a0033ba8:	ebff5a64 	bl	a000a540 <_Thread_Enable_dispatch>             
          return RTEMS_TIMEOUT;                                       
a0033bac:	ea000000 	b	a0033bb4 <rtems_rate_monotonic_period+0x174>    
a0033bb0:	e3a04004 	mov	r4, #4                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0033bb4:	e1a00004 	mov	r0, r4                                        
a0033bb8:	e8bd80f8 	pop	{r3, r4, r5, r6, r7, pc}                      
a0033bbc:	a0060344 	.word	0xa0060344                                  
a0033bc0:	a005ff80 	.word	0xa005ff80                                  
a0033bc4:	a005574c 	.word	0xa005574c                                  
a0033bc8:	a0033bd0 	.word	0xa0033bd0                                  
a0033bcc:	a005ffa0 	.word	0xa005ffa0                                  
                                                                      
a0002f28 <rtems_stack_checker_is_blown>:                              
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a0002f28:	e59f3084 	ldr	r3, [pc, #132]	; a0002fb4 <rtems_stack_checker_is_blown+0x8c>
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a0002f2c:	e92d4810 	push	{r4, fp, lr}                                 
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a0002f30:	e5933000 	ldr	r3, [r3]                                      
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a0002f34:	e28db008 	add	fp, sp, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0002f38:	e59300c4 	ldr	r0, [r3, #196]	; 0xc4                         
a0002f3c:	e15b0000 	cmp	fp, r0                                        
a0002f40:	33a04000 	movcc	r4, #0                                      
a0002f44:	3a000004 	bcc	a0002f5c <rtems_stack_checker_is_blown+0x34>  
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
a0002f48:	e59340c0 	ldr	r4, [r3, #192]	; 0xc0                         
a0002f4c:	e0804004 	add	r4, r0, r4                                    
a0002f50:	e15b0004 	cmp	fp, r4                                        
a0002f54:	83a04000 	movhi	r4, #0                                      
a0002f58:	93a04001 	movls	r4, #1                                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
a0002f5c:	e59f3054 	ldr	r3, [pc, #84]	; a0002fb8 <rtems_stack_checker_is_blown+0x90>
a0002f60:	e5933000 	ldr	r3, [r3]                                      
a0002f64:	e3530000 	cmp	r3, #0                                        
a0002f68:	03a01001 	moveq	r1, #1                                      
a0002f6c:	0a000005 	beq	a0002f88 <rtems_stack_checker_is_blown+0x60>  
    pattern_ok = (!memcmp(                                            
a0002f70:	e59f1044 	ldr	r1, [pc, #68]	; a0002fbc <rtems_stack_checker_is_blown+0x94>
a0002f74:	e2800008 	add	r0, r0, #8                                    
a0002f78:	e3a02010 	mov	r2, #16                                       
a0002f7c:	eb00e12b 	bl	a003b430 <memcmp>                              
a0002f80:	e2701001 	rsbs	r1, r0, #1                                   
a0002f84:	33a01000 	movcc	r1, #0                                      
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
a0002f88:	e3540000 	cmp	r4, #0                                        
a0002f8c:	0a000003 	beq	a0002fa0 <rtems_stack_checker_is_blown+0x78>  
a0002f90:	e3510000 	cmp	r1, #0                                        
a0002f94:	0a000001 	beq	a0002fa0 <rtems_stack_checker_is_blown+0x78>  
a0002f98:	e3a00000 	mov	r0, #0                                        
a0002f9c:	e8bd8810 	pop	{r4, fp, pc}                                  
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
a0002fa0:	e59f300c 	ldr	r3, [pc, #12]	; a0002fb4 <rtems_stack_checker_is_blown+0x8c><== NOT EXECUTED
a0002fa4:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a0002fa8:	ebffffb2 	bl	a0002e78 <Stack_check_report_blown_task>       <== NOT EXECUTED
a0002fac:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
  return true;                                                        
}                                                                     
a0002fb0:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
a0002fb4:	a005ff80 	.word	0xa005ff80                                  
a0002fb8:	a005d06c 	.word	0xa005d06c                                  
a0002fbc:	a005fd44 	.word	0xa005fd44                                  
                                                                      
a0002e68 <rtems_stack_checker_report_usage>:                          
                                                                      
void rtems_stack_checker_report_usage( void )                         
{                                                                     
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
a0002e68:	e59f1004 	ldr	r1, [pc, #4]	; a0002e74 <rtems_stack_checker_report_usage+0xc><== NOT EXECUTED
a0002e6c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0002e70:	eaffffe5 	b	a0002e0c <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
a0002e74:	a000585c 	.word	0xa000585c                                  
                                                                      
a0002e0c <rtems_stack_checker_report_usage_with_plugin>:              
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a0002e0c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  print_context = context;                                            
a0002e10:	e59f4040 	ldr	r4, [pc, #64]	; a0002e58 <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                                        
)                                                                     
{                                                                     
a0002e14:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a0002e18:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
a0002e1c:	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;                                            
a0002e20:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
a0002e24:	e59f1030 	ldr	r1, [pc, #48]	; a0002e5c <rtems_stack_checker_report_usage_with_plugin+0x50><== NOT EXECUTED
a0002e28:	e12fff35 	blx	r5                                            <== NOT EXECUTED
  (*print)( context,                                                  
a0002e2c:	e59f102c 	ldr	r1, [pc, #44]	; a0002e60 <rtems_stack_checker_report_usage_with_plugin+0x54><== NOT EXECUTED
a0002e30:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002e34:	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 );   
a0002e38:	e59f0024 	ldr	r0, [pc, #36]	; a0002e64 <rtems_stack_checker_report_usage_with_plugin+0x58><== NOT EXECUTED
a0002e3c:	eb001a05 	bl	a0009658 <rtems_iterate_over_all_threads>      <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
a0002e40:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002e44:	ebffffa3 	bl	a0002cd8 <Stack_check_Dump_threads_usage>      <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
a0002e48:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  print_handler = NULL;                                               
a0002e4c:	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;                                               
a0002e50:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
  print_handler = NULL;                                               
                                                                      
}                                                                     
a0002e54:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
a0002e58:	a005d06c 	.word	0xa005d06c                                  
a0002e5c:	a0056910 	.word	0xa0056910                                  
a0002e60:	a0056927 	.word	0xa0056927                                  
a0002e64:	a0002cd8 	.word	0xa0002cd8                                  
                                                                      
a0018e44 <rtems_string_to_pointer>:                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
a0018e44:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a0018e48:	e2514000 	subs	r4, r1, #0                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
a0018e4c:	e1a05000 	mov	r5, r0                                        
a0018e50:	e1a06002 	mov	r6, r2                                        
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a0018e54:	03a00009 	moveq	r0, #9                                      
a0018e58:	0a000018 	beq	a0018ec0 <rtems_string_to_pointer+0x7c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a0018e5c:	eb007d6c 	bl	a0038414 <__errno>                             
a0018e60:	e3a03000 	mov	r3, #0                                        
a0018e64:	e5803000 	str	r3, [r0]                                      
  *n    = 0;                                                          
a0018e68:	e5843000 	str	r3, [r4]                                      
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
a0018e6c:	e1a00005 	mov	r0, r5                                        
a0018e70:	e1a0100d 	mov	r1, sp                                        
a0018e74:	e3a02010 	mov	r2, #16                                       
a0018e78:	eb009cfb 	bl	a004026c <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 )                                                       
a0018e7c:	e3560000 	cmp	r6, #0                                        
    *endptr = end;                                                    
a0018e80:	159d3000 	ldrne	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 );                         
a0018e84:	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;                                                    
a0018e88:	15863000 	strne	r3, [r6]                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
a0018e8c:	e59d3000 	ldr	r3, [sp]                                      
a0018e90:	e1530005 	cmp	r3, r5                                        
a0018e94:	03a0000b 	moveq	r0, #11                                     
a0018e98:	0a000008 	beq	a0018ec0 <rtems_string_to_pointer+0x7c>       
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
a0018e9c:	e3770001 	cmn	r7, #1                                        
a0018ea0:	1a000004 	bne	a0018eb8 <rtems_string_to_pointer+0x74>       
a0018ea4:	eb007d5a 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0018ea8:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0018eac:	e3530022 	cmp	r3, #34	; 0x22                                <== NOT EXECUTED
a0018eb0:	03a0000a 	moveq	r0, #10                                     <== NOT EXECUTED
a0018eb4:	0a000001 	beq	a0018ec0 <rtems_string_to_pointer+0x7c>       <== NOT EXECUTED
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
a0018eb8:	e5847000 	str	r7, [r4]                                      
a0018ebc:	e3a00000 	mov	r0, #0                                        
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0018ec0:	e8bd80f8 	pop	{r3, r4, r5, r6, r7, pc}                      
                                                                      
a0003a6c <rtems_termios_baud_to_index>:                               
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003a6c:	e3500009 	cmp	r0, #9                                        
a0003a70:	012fff1e 	bxeq	lr                                           
a0003a74:	ca000016 	bgt	a0003ad4 <rtems_termios_baud_to_index+0x68>   
a0003a78:	e3500004 	cmp	r0, #4                                        
a0003a7c:	012fff1e 	bxeq	lr                                           
a0003a80:	ca00000a 	bgt	a0003ab0 <rtems_termios_baud_to_index+0x44>   
a0003a84:	e3500001 	cmp	r0, #1                                        
a0003a88:	012fff1e 	bxeq	lr                                           
a0003a8c:	ca000002 	bgt	a0003a9c <rtems_termios_baud_to_index+0x30>   
a0003a90:	e3500000 	cmp	r0, #0                                        
a0003a94:	012fff1e 	bxeq	lr                                           
a0003a98:	ea000030 	b	a0003b60 <rtems_termios_baud_to_index+0xf4>     
a0003a9c:	e3500002 	cmp	r0, #2                                        <== NOT EXECUTED
a0003aa0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003aa4:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
a0003aa8:	1a00002c 	bne	a0003b60 <rtems_termios_baud_to_index+0xf4>   <== NOT EXECUTED
a0003aac:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0003ab0:	e3500006 	cmp	r0, #6                                        <== NOT EXECUTED
a0003ab4:	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;                          
a0003ab8:	b3a00005 	movlt	r0, #5                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003abc:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a0003ac0:	e3500007 	cmp	r0, #7                                        <== NOT EXECUTED
a0003ac4:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003ac8:	e3500008 	cmp	r0, #8                                        <== NOT EXECUTED
a0003acc:	1a000023 	bne	a0003b60 <rtems_termios_baud_to_index+0xf4>   <== NOT EXECUTED
a0003ad0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0003ad4:	e350000e 	cmp	r0, #14                                       <== NOT EXECUTED
a0003ad8:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003adc:	ca000008 	bgt	a0003b04 <rtems_termios_baud_to_index+0x98>   <== NOT EXECUTED
a0003ae0:	e350000b 	cmp	r0, #11                                       <== NOT EXECUTED
a0003ae4:	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;                          
a0003ae8:	b3a0000a 	movlt	r0, #10                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003aec:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a0003af0:	e350000c 	cmp	r0, #12                                       <== NOT EXECUTED
a0003af4:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003af8:	e350000d 	cmp	r0, #13                                       <== NOT EXECUTED
a0003afc:	1a000017 	bne	a0003b60 <rtems_termios_baud_to_index+0xf4>   <== NOT EXECUTED
a0003b00:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0003b04:	e59f305c 	ldr	r3, [pc, #92]	; a0003b68 <rtems_termios_baud_to_index+0xfc><== NOT EXECUTED
a0003b08:	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;                          
a0003b0c:	03a00011 	moveq	r0, #17                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003b10:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003b14:	ca000005 	bgt	a0003b30 <rtems_termios_baud_to_index+0xc4>   <== NOT EXECUTED
a0003b18:	e350000f 	cmp	r0, #15                                       <== NOT EXECUTED
a0003b1c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003b20:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0003b24:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0003b28:	1a00000c 	bne	a0003b60 <rtems_termios_baud_to_index+0xf4>   <== NOT EXECUTED
a0003b2c:	ea000007 	b	a0003b50 <rtems_termios_baud_to_index+0xe4>     <== NOT EXECUTED
a0003b30:	e59f3034 	ldr	r3, [pc, #52]	; a0003b6c <rtems_termios_baud_to_index+0x100><== NOT EXECUTED
a0003b34:	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;                          
a0003b38:	03a00012 	moveq	r0, #18                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003b3c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003b40:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0003b44:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0003b48:	1a000004 	bne	a0003b60 <rtems_termios_baud_to_index+0xf4>   <== NOT EXECUTED
a0003b4c:	ea000001 	b	a0003b58 <rtems_termios_baud_to_index+0xec>     <== NOT EXECUTED
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
a0003b50:	e3a00010 	mov	r0, #16                                       <== NOT EXECUTED
    case B57600:    baud_index = 16;  break;                          
a0003b54:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
a0003b58:	e3a00013 	mov	r0, #19                                       <== NOT EXECUTED
    case B460800:   baud_index = 19;  break;                          
a0003b5c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0003b60:	e3e00000 	mvn	r0, #0                                        
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
a0003b64:	e12fff1e 	bx	lr                                             
a0003b68:	00001002 	.word	0x00001002                                  
a0003b6c:	00001003 	.word	0x00001003                                  
                                                                      
a00025d0 <rtems_termios_bufsize>:                                     
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
a00025d0:	e59f3008 	ldr	r3, [pc, #8]	; a00025e0 <rtems_termios_bufsize+0x10><== NOT EXECUTED
a00025d4:	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;                                            
}                                                                     
a00025d8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00025dc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a00025e0:	a0017584 	.word	0xa0017584                                  
                                                                      
a00039e0 <rtems_termios_close>:                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00039e0:	e59f217c 	ldr	r2, [pc, #380]	; a0003b64 <rtems_termios_close+0x184>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00039e4:	e5903000 	ldr	r3, [r0]                                      
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00039e8:	e3a01000 	mov	r1, #0                                        
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
a00039ec:	e92d4030 	push	{r4, r5, lr}                                 
a00039f0:	e1a05000 	mov	r5, r0                                        
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00039f4:	e5920000 	ldr	r0, [r2]                                      
a00039f8:	e1a02001 	mov	r2, r1                                        
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00039fc:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003a00:	eb0003da 	bl	a0004970 <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003a04:	e3500000 	cmp	r0, #0                                        
a0003a08:	1a000021 	bne	a0003a94 <rtems_termios_close+0xb4>           
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
a0003a0c:	e5943008 	ldr	r3, [r4, #8]                                  
a0003a10:	e2433001 	sub	r3, r3, #1                                    
a0003a14:	e3530000 	cmp	r3, #0                                        
a0003a18:	e5843008 	str	r3, [r4, #8]                                  
a0003a1c:	1a00004b 	bne	a0003b50 <rtems_termios_close+0x170>          
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
a0003a20:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a0003a24:	e59f313c 	ldr	r3, [pc, #316]	; a0003b68 <rtems_termios_close+0x188>
a0003a28:	e0833282 	add	r3, r3, r2, lsl #5                            
a0003a2c:	e5931004 	ldr	r1, [r3, #4]                                  
a0003a30:	e3510000 	cmp	r1, #0                                        
a0003a34:	0a000002 	beq	a0003a44 <rtems_termios_close+0x64>           
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
a0003a38:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003a3c:	e12fff31 	blx	r1                                            <== NOT EXECUTED
a0003a40:	ea000006 	b	a0003a60 <rtems_termios_close+0x80>             <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
			sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003a44:	e5940018 	ldr	r0, [r4, #24]                                 
a0003a48:	e1a02001 	mov	r2, r1                                        
a0003a4c:	eb0003c7 	bl	a0004970 <rtems_semaphore_obtain>              
			if (sc != RTEMS_SUCCESSFUL) {                                      
a0003a50:	e3500000 	cmp	r0, #0                                        
a0003a54:	1a00000e 	bne	a0003a94 <rtems_termios_close+0xb4>           
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
a0003a58:	e1a00004 	mov	r0, r4                                        
a0003a5c:	ebfffe08 	bl	a0003284 <drainOutput>                         
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
a0003a60:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0003a64:	e3530002 	cmp	r3, #2                                        
a0003a68:	1a00000a 	bne	a0003a98 <rtems_termios_close+0xb8>           
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
a0003a6c:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
a0003a70:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003a74:	eb0002a9 	bl	a0004520 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
a0003a78:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003a7c:	1a000004 	bne	a0003a94 <rtems_termios_close+0xb4>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
a0003a80:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
a0003a84:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003a88:	eb0002a4 	bl	a0004520 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
a0003a8c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003a90:	0a000000 	beq	a0003a98 <rtems_termios_close+0xb8>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
a0003a94:	eb000549 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
		}                                                                   
		if (tty->device.lastClose)                                          
a0003a98:	e594309c 	ldr	r3, [r4, #156]	; 0x9c                         
a0003a9c:	e3530000 	cmp	r3, #0                                        
a0003aa0:	0a000003 	beq	a0003ab4 <rtems_termios_close+0xd4>           
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
a0003aa4:	e1a02005 	mov	r2, r5                                        
a0003aa8:	e594000c 	ldr	r0, [r4, #12]                                 
a0003aac:	e5941010 	ldr	r1, [r4, #16]                                 
a0003ab0:	e12fff33 	blx	r3                                            
		if (tty->forw == NULL) {                                            
a0003ab4:	e894000c 	ldm	r4, {r2, r3}                                  
a0003ab8:	e3520000 	cmp	r2, #0                                        
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
a0003abc:	15823004 	strne	r3, [r2, #4]                                
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
		if (tty->forw == NULL) {                                            
a0003ac0:	1a000003 	bne	a0003ad4 <rtems_termios_close+0xf4>           
			rtems_termios_ttyTail = tty->back;                                 
a0003ac4:	e59f10a0 	ldr	r1, [pc, #160]	; a0003b6c <rtems_termios_close+0x18c>
			if ( rtems_termios_ttyTail != NULL ) {                             
a0003ac8:	e3530000 	cmp	r3, #0                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
		if (tty->forw == NULL) {                                            
			rtems_termios_ttyTail = tty->back;                                 
a0003acc:	e5813000 	str	r3, [r1]                                      
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
a0003ad0:	15832000 	strne	r2, [r3]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a0003ad4:	e5942004 	ldr	r2, [r4, #4]                                  
a0003ad8:	e5943000 	ldr	r3, [r4]                                      
a0003adc:	e3520000 	cmp	r2, #0                                        
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
a0003ae0:	15823000 	strne	r3, [r2]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a0003ae4:	1a000003 	bne	a0003af8 <rtems_termios_close+0x118>          
			rtems_termios_ttyHead = tty->forw;                                 
a0003ae8:	e59f1080 	ldr	r1, [pc, #128]	; a0003b70 <rtems_termios_close+0x190>
			if ( rtems_termios_ttyHead != NULL ) {                             
a0003aec:	e3530000 	cmp	r3, #0                                        
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
a0003af0:	e5813000 	str	r3, [r1]                                      
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
a0003af4:	15832004 	strne	r2, [r3, #4]                                
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
a0003af8:	e5940014 	ldr	r0, [r4, #20]                                 
a0003afc:	eb000374 	bl	a00048d4 <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->osem);                                 
a0003b00:	e5940018 	ldr	r0, [r4, #24]                                 
a0003b04:	eb000372 	bl	a00048d4 <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
a0003b08:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
a0003b0c:	eb000370 	bl	a00048d4 <rtems_semaphore_delete>              
		if ((tty->device.pollRead == NULL) ||                               
a0003b10:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a0003b14:	e3530000 	cmp	r3, #0                                        
a0003b18:	0a000002 	beq	a0003b28 <rtems_termios_close+0x148>          
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
a0003b1c:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0003b20:	e3530002 	cmp	r3, #2                                        
a0003b24:	1a000001 	bne	a0003b30 <rtems_termios_close+0x150>          
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
a0003b28:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a0003b2c:	eb000368 	bl	a00048d4 <rtems_semaphore_delete>              <== NOT EXECUTED
		free (tty->rawInBuf.theBuf);                                        
a0003b30:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
a0003b34:	ebfff73e 	bl	a0001834 <free>                                
		free (tty->rawOutBuf.theBuf);                                       
a0003b38:	e594007c 	ldr	r0, [r4, #124]	; 0x7c                         
a0003b3c:	ebfff73c 	bl	a0001834 <free>                                
		free (tty->cbuf);                                                   
a0003b40:	e594001c 	ldr	r0, [r4, #28]                                 
a0003b44:	ebfff73a 	bl	a0001834 <free>                                
		free (tty);                                                         
a0003b48:	e1a00004 	mov	r0, r4                                        
a0003b4c:	ebfff738 	bl	a0001834 <free>                                
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
a0003b50:	e59f300c 	ldr	r3, [pc, #12]	; a0003b64 <rtems_termios_close+0x184>
a0003b54:	e5930000 	ldr	r0, [r3]                                      
a0003b58:	eb0003ca 	bl	a0004a88 <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
a0003b5c:	e3a00000 	mov	r0, #0                                        
a0003b60:	e8bd8030 	pop	{r4, r5, pc}                                  
a0003b64:	a0018c4c 	.word	0xa0018c4c                                  
a0003b68:	a0018870 	.word	0xa0018870                                  
a0003b6c:	a0018c50 	.word	0xa0018c50                                  
a0003b70:	a0018c54 	.word	0xa0018c54                                  
                                                                      
a00027d8 <rtems_termios_dequeue_characters>:                          
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a00027d8:	e590c090 	ldr	ip, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a00027dc:	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)                
{                                                                     
a00027e0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a00027e4:	e08c1001 	add	r1, ip, r1                                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a00027e8:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a00027ec:	e5801090 	str	r1, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a00027f0:	1a000005 	bne	a000280c <rtems_termios_dequeue_characters+0x34><== NOT EXECUTED
		/*                                                                  
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
a00027f4:	e59000c8 	ldr	r0, [r0, #200]	; 0xc8                         <== NOT EXECUTED
a00027f8:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00027fc:	eb000747 	bl	a0004520 <rtems_event_send>                    <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
a0002800:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002804:	0a00000b 	beq	a0002838 <rtems_termios_dequeue_characters+0x60><== NOT EXECUTED
			rtems_fatal_error_occurred (sc);                                   
a0002808:	eb0009ec 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
a000280c:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
a0002810:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
a0002814:	1a000005 	bne	a0002830 <rtems_termios_dequeue_characters+0x58><== NOT EXECUTED
		/*                                                                  
		 * call any line discipline start function                          
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_start != NULL) {            
a0002818:	e59f3020 	ldr	r3, [pc, #32]	; a0002840 <rtems_termios_dequeue_characters+0x68><== NOT EXECUTED
a000281c:	e59330b4 	ldr	r3, [r3, #180]	; 0xb4                         <== NOT EXECUTED
a0002820:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002824:	0a000003 	beq	a0002838 <rtems_termios_dequeue_characters+0x60><== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
a0002828:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000282c:	ea000001 	b	a0002838 <rtems_termios_dequeue_characters+0x60><== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
a0002830:	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);                       
a0002834:	eaffff6d 	b	a00025f0 <rtems_termios_refill_transmitter>     <== NOT EXECUTED
	}                                                                    
}                                                                     
a0002838:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000283c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
a0002840:	a0018870 	.word	0xa0018870                                  
                                                                      
a0002844 <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) 
{                                                                     
a0002844:	e92d4ff7 	push	{r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr}<== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
a0002848:	e59f32b0 	ldr	r3, [pc, #688]	; a0002b00 <rtems_termios_enqueue_raw_characters+0x2bc><== 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) 
{                                                                     
a000284c:	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) {              
a0002850:	e59000cc 	ldr	r0, [r0, #204]	; 0xcc                         <== 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) 
{                                                                     
a0002854:	e1a0b001 	mov	fp, r1                                        <== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
a0002858:	e0830280 	add	r0, r3, r0, lsl #5                            <== NOT EXECUTED
a000285c:	e5906010 	ldr	r6, [r0, #16]                                 <== NOT EXECUTED
a0002860:	e3560000 	cmp	r6, #0                                        <== 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);      
a0002864:	11a05002 	movne	r5, r2                                      <== NOT EXECUTED
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
a0002868:	11a07003 	movne	r7, r3                                      <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a000286c:	13a06000 	movne	r6, #0                                      <== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
a0002870:	1a00000e 	bne	a00028b0 <rtems_termios_enqueue_raw_characters+0x6c><== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a0002874:	e1a08002 	mov	r8, r2                                        <== NOT EXECUTED
a0002878:	e2843030 	add	r3, r4, #48	; 0x30                            <== NOT EXECUTED
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
			(tty->rawOutBufState == rob_idle)) {                               
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
		      (*tty->device.write)(tty->minor,                              
a000287c:	e284204a 	add	r2, r4, #74	; 0x4a                            <== NOT EXECUTED
a0002880:	e58d2008 	str	r2, [sp, #8]                                  <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a0002884:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
a0002888:	e1a09006 	mov	r9, r6                                        <== NOT EXECUTED
a000288c:	e1a05006 	mov	r5, r6                                        <== NOT EXECUTED
a0002890:	ea00008f 	b	a0002ad4 <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
a0002894:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a0002898:	e7db0006 	ldrb	r0, [fp, r6]                                 <== NOT EXECUTED
a000289c:	e2455001 	sub	r5, r5, #1                                    <== NOT EXECUTED
a00028a0:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
a00028a4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a00028a8:	e593f010 	ldr	pc, [r3, #16]                                 <== NOT EXECUTED
a00028ac:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
a00028b0:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
a00028b4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
a00028b8:	1afffff5 	bne	a0002894 <rtems_termios_enqueue_raw_characters+0x50><== NOT EXECUTED
	  }                                                                  
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
a00028bc:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a00028c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00028c4:	1a00008a 	bne	a0002af4 <rtems_termios_enqueue_raw_characters+0x2b0><== NOT EXECUTED
a00028c8:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a00028cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00028d0:	0a000087 	beq	a0002af4 <rtems_termios_enqueue_raw_characters+0x2b0><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a00028d4:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a00028d8:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a00028dc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
a00028e0:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a00028e4:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a00028e8:	ea000082 	b	a0002af8 <rtems_termios_enqueue_raw_characters+0x2b4><== NOT EXECUTED
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
a00028ec:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
a00028f0:	e7dba006 	ldrb	sl, [fp, r6]                                 <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
a00028f4:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a00028f8:	0a00000f 	beq	a000293c <rtems_termios_enqueue_raw_characters+0xf8><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
a00028fc:	e5d4204a 	ldrb	r2, [r4, #74]	; 0x4a                         <== NOT EXECUTED
a0002900:	e5d43049 	ldrb	r3, [r4, #73]	; 0x49                         <== NOT EXECUTED
a0002904:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
a0002908:	1a000007 	bne	a000292c <rtems_termios_enqueue_raw_characters+0xe8><== NOT EXECUTED
	      if (c == tty->termios.c_cc[VSTART]) {                          
a000290c:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
a0002910:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a0002914:	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;                       
a0002918:	02233010 	eoreq	r3, r3, #16                                 <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a000291c:	13833010 	orrne	r3, r3, #16                                 <== NOT EXECUTED
a0002920:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
a0002924:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
a0002928:	ea000005 	b	a0002944 <rtems_termios_enqueue_raw_characters+0x100><== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
a000292c:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
a0002930:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
a0002934:	03c33010 	biceq	r3, r3, #16                                 <== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
a0002938:	0afffff8 	beq	a0002920 <rtems_termios_enqueue_raw_characters+0xdc><== NOT EXECUTED
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
a000293c:	e3590000 	cmp	r9, #0                                        <== NOT EXECUTED
a0002940:	0a000015 	beq	a000299c <rtems_termios_enqueue_raw_characters+0x158><== NOT EXECUTED
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
a0002944:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002948:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
a000294c:	e3530020 	cmp	r3, #32                                       <== NOT EXECUTED
a0002950:	1a00005d 	bne	a0002acc <rtems_termios_enqueue_raw_characters+0x288><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002954:	e10f7000 	mrs	r7, CPSR                                      <== NOT EXECUTED
a0002958:	e3873080 	orr	r3, r7, #128	; 0x80                           <== NOT EXECUTED
a000295c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
a0002960:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0002964:	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;                                   
a0002968:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a000296c:	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;                                   
a0002970:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0002974:	0a000006 	beq	a0002994 <rtems_termios_enqueue_raw_characters+0x150><== NOT EXECUTED
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
a0002978:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
a000297c:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002980:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0002984:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002988:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
a000298c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0002990:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002994:	e129f007 	msr	CPSR_fc, r7                                   <== NOT EXECUTED
a0002998:	ea00004b 	b	a0002acc <rtems_termios_enqueue_raw_characters+0x288><== NOT EXECUTED
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
a000299c:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
a00029a0:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a00029a4:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a00029a8:	eb004a6b 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
a00029ac:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00029b0:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
a00029b4:	e3823080 	orr	r3, r2, #128	; 0x80                           <== NOT EXECUTED
a00029b8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a00029bc:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
a00029c0:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a00029c4:	e5940064 	ldr	r0, [r4, #100]	; 0x64                         <== NOT EXECUTED
a00029c8:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a00029cc:	e0630000 	rsb	r0, r3, r0                                    <== NOT EXECUTED
a00029d0:	e0800007 	add	r0, r0, r7                                    <== NOT EXECUTED
a00029d4:	eb004a60 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
a00029d8:	e59430c0 	ldr	r3, [r4, #192]	; 0xc0                         <== NOT EXECUTED
a00029dc:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00029e0:	9a000025 	bls	a0002a7c <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
a00029e4:	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)           
a00029e8:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a00029ec:	1a000022 	bne	a0002a7c <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
a00029f0:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
a00029f4:	e59f3108 	ldr	r3, [pc, #264]	; a0002b04 <rtems_termios_enqueue_raw_characters+0x2c0><== 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;                                     
a00029f8:	e3822001 	orr	r2, r2, #1                                    <== NOT EXECUTED
a00029fc:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
a0002a00:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002a04:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0002a08:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
a0002a0c:	1a00000e 	bne	a0002a4c <rtems_termios_enqueue_raw_characters+0x208><== NOT EXECUTED
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
a0002a10:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002a14:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0002a18:	1a000002 	bne	a0002a28 <rtems_termios_enqueue_raw_characters+0x1e4><== NOT EXECUTED
			(tty->rawOutBufState == rob_idle)) {                               
a0002a1c:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a0002a20:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002a24:	1a000014 	bne	a0002a7c <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
a0002a28:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
a0002a2c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0002a30:	e59d1008 	ldr	r1, [sp, #8]                                  <== 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;                                 
a0002a34:	e3833002 	orr	r3, r3, #2                                    <== NOT EXECUTED
a0002a38:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
a0002a3c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002a40:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0002a44:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0002a48:	ea00000b 	b	a0002a7c <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
a0002a4c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002a50:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
a0002a54:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
a0002a58:	1a000007 	bne	a0002a7c <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
a0002a5c:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a0002a60:	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;                                   
a0002a64:	e3822004 	orr	r2, r2, #4                                    <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a0002a68:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
a0002a6c:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a0002a70:	0a000001 	beq	a0002a7c <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
		      tty->device.stopRemoteTx(tty->minor);                         
a0002a74:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0002a78:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002a7c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0002a80:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
a0002a84:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0002a88:	e1570003 	cmp	r7, r3                                        <== NOT EXECUTED
		        dropped++;                                                  
a0002a8c:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
a0002a90:	0a00000d 	beq	a0002acc <rtems_termios_enqueue_raw_characters+0x288><== NOT EXECUTED
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
a0002a94:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0002a98:	e7c3a007 	strb	sl, [r3, r7]                                 <== NOT EXECUTED
		        tty->rawInBuf.Tail = newTail;                               
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
a0002a9c:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
		        tty->rawInBuf.Tail = newTail;                               
a0002aa0:	e5847060 	str	r7, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
a0002aa4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002aa8:	1a000007 	bne	a0002acc <rtems_termios_enqueue_raw_characters+0x288><== NOT EXECUTED
a0002aac:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a0002ab0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002ab4:	0a000004 	beq	a0002acc <rtems_termios_enqueue_raw_characters+0x288><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a0002ab8:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
a0002abc:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a0002ac0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
a0002ac4:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002ac8:	e58420e4 	str	r2, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0002acc:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a0002ad0:	e2488001 	sub	r8, r8, #1                                    <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
a0002ad4:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a0002ad8:	1affff83 	bne	a00028ec <rtems_termios_enqueue_raw_characters+0xa8><== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
a0002adc:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
a0002ae0:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
a0002ae4:	e0833005 	add	r3, r3, r5                                    <== NOT EXECUTED
a0002ae8:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
a0002aec:	eb0007e5 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
	return dropped;                                                      
a0002af0:	ea000000 	b	a0002af8 <rtems_termios_enqueue_raw_characters+0x2b4><== NOT EXECUTED
a0002af4:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
}                                                                     
a0002af8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0002afc:	e8bd8ffe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}<== NOT EXECUTED
a0002b00:	a0018870 	.word	0xa0018870                                  
a0002b04:	00000402 	.word	0x00000402                                  
                                                                      
a0002590 <rtems_termios_initialize>:                                  
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
a0002590:	e59fc030 	ldr	ip, [pc, #48]	; a00025c8 <rtems_termios_initialize+0x38>
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
a0002594:	e92d4001 	push	{r0, lr}                                     
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
a0002598:	e59c3000 	ldr	r3, [ip]                                      
a000259c:	e3530000 	cmp	r3, #0                                        
a00025a0:	1a000007 	bne	a00025c4 <rtems_termios_initialize+0x34>      
    sc = rtems_semaphore_create (                                     
a00025a4:	e59f0020 	ldr	r0, [pc, #32]	; a00025cc <rtems_termios_initialize+0x3c>
a00025a8:	e3a01001 	mov	r1, #1                                        
a00025ac:	e3a02054 	mov	r2, #84	; 0x54                                
a00025b0:	e58dc000 	str	ip, [sp]                                      
a00025b4:	eb00085b 	bl	a0004728 <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)                                       
a00025b8:	e3500000 	cmp	r0, #0                                        
a00025bc:	0a000000 	beq	a00025c4 <rtems_termios_initialize+0x34>      
      rtems_fatal_error_occurred (sc);                                
a00025c0:	eb000a7e 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  }                                                                   
}                                                                     
a00025c4:	e8bd8008 	pop	{r3, pc}                                      
a00025c8:	a0018c4c 	.word	0xa0018c4c                                  
a00025cc:	54526d69 	.word	0x54526d69                                  
                                                                      
a0003648 <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;                    
a0003648:	e5903000 	ldr	r3, [r0]                                      
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a000364c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
a0003650:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
a0003654:	e3a01000 	mov	r1, #0                                        
a0003658:	e580100c 	str	r1, [r0, #12]                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a000365c:	e1a05000 	mov	r5, r0                                        
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003660:	e1a02001 	mov	r2, r1                                        
a0003664:	e5940018 	ldr	r0, [r4, #24]                                 
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
a0003668:	e5957008 	ldr	r7, [r5, #8]                                  
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a000366c:	eb0004bf 	bl	a0004970 <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL) {                                        
a0003670:	e2506000 	subs	r6, r0, #0                                   
a0003674:	1a0000d3 	bne	a00039c8 <rtems_termios_ioctl+0x380>          
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
a0003678:	e5953004 	ldr	r3, [r5, #4]                                  
a000367c:	e3530004 	cmp	r3, #4                                        
a0003680:	0a0000a9 	beq	a000392c <rtems_termios_ioctl+0x2e4>          
a0003684:	8a000005 	bhi	a00036a0 <rtems_termios_ioctl+0x58>           
a0003688:	e3530002 	cmp	r3, #2                                        
a000368c:	0a000028 	beq	a0003734 <rtems_termios_ioctl+0xec>           
a0003690:	8a00009e 	bhi	a0003910 <rtems_termios_ioctl+0x2c8>          
a0003694:	e3530001 	cmp	r3, #1                                        
a0003698:	1a000010 	bne	a00036e0 <rtems_termios_ioctl+0x98>           
a000369c:	ea00001a 	b	a000370c <rtems_termios_ioctl+0xc4>             
a00036a0:	e59f232c 	ldr	r2, [pc, #812]	; a00039d4 <rtems_termios_ioctl+0x38c><== NOT EXECUTED
a00036a4:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00036a8:	0a0000b9 	beq	a0003994 <rtems_termios_ioctl+0x34c>          <== NOT EXECUTED
a00036ac:	8a000002 	bhi	a00036bc <rtems_termios_ioctl+0x74>           <== NOT EXECUTED
a00036b0:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
a00036b4:	1a000009 	bne	a00036e0 <rtems_termios_ioctl+0x98>           <== NOT EXECUTED
a00036b8:	ea000097 	b	a000391c <rtems_termios_ioctl+0x2d4>            <== NOT EXECUTED
a00036bc:	e59f2314 	ldr	r2, [pc, #788]	; a00039d8 <rtems_termios_ioctl+0x390><== NOT EXECUTED
a00036c0:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
a00036c4:	05953008 	ldreq	r3, [r5, #8]                                <== NOT EXECUTED
a00036c8:	059420cc 	ldreq	r2, [r4, #204]	; 0xcc                       <== NOT EXECUTED
a00036cc:	05832000 	streq	r2, [r3]                                    <== NOT EXECUTED
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL) {                                        
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
a00036d0:	0a0000ba 	beq	a00039c0 <rtems_termios_ioctl+0x378>          <== NOT EXECUTED
a00036d4:	e2822105 	add	r2, r2, #1073741825	; 0x40000001              <== NOT EXECUTED
a00036d8:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00036dc:	0a000096 	beq	a000393c <rtems_termios_ioctl+0x2f4>          <== NOT EXECUTED
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
a00036e0:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a00036e4:	e59f32f0 	ldr	r3, [pc, #752]	; a00039dc <rtems_termios_ioctl+0x394><== NOT EXECUTED
a00036e8:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a00036ec:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a00036f0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00036f4:	03a0600a 	moveq	r6, #10                                     <== NOT EXECUTED
a00036f8:	0a0000b0 	beq	a00039c0 <rtems_termios_ioctl+0x378>          <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
a00036fc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003700:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003704:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003708:	ea00009f 	b	a000398c <rtems_termios_ioctl+0x344>            <== NOT EXECUTED
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
a000370c:	e5957008 	ldr	r7, [r5, #8]                                  
a0003710:	e284c030 	add	ip, r4, #48	; 0x30                            
a0003714:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0003718:	e1a0e007 	mov	lr, r7                                        
a000371c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0003720:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0003724:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0003728:	e59c3000 	ldr	r3, [ip]                                      
a000372c:	e58e3000 	str	r3, [lr]                                      
		break;                                                              
a0003730:	ea0000a2 	b	a00039c0 <rtems_termios_ioctl+0x378>            
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
a0003734:	e595e008 	ldr	lr, [r5, #8]                                  
a0003738:	e284c030 	add	ip, r4, #48	; 0x30                            
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
a000373c:	e59470b8 	ldr	r7, [r4, #184]	; 0xb8                         
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
a0003740:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0003744:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0003748:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000374c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0003750:	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) &&                                 
a0003754:	e3170c02 	tst	r7, #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;                     
a0003758:	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) &&                                 
a000375c:	0a000019 	beq	a00037c8 <rtems_termios_ioctl+0x180>          
a0003760:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
a0003764:	e3130b01 	tst	r3, #1024	; 0x400                             
a0003768:	1a000016 	bne	a00037c8 <rtems_termios_ioctl+0x180>          
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
a000376c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003770:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a0003774:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
a0003778:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a000377c:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003780:	0a000010 	beq	a00037c8 <rtems_termios_ioctl+0x180>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003784:	e10f7000 	mrs	r7, CPSR                                      <== NOT EXECUTED
a0003788:	e3873080 	orr	r3, r7, #128	; 0x80                           <== NOT EXECUTED
a000378c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a0003790:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0003794:	e5942094 	ldr	r2, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a0003798:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a000379c:	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;                                    
a00037a0:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a00037a4:	0a000006 	beq	a00037c4 <rtems_termios_ioctl+0x17c>          <== NOT EXECUTED
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
a00037a8:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
a00037ac:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a00037b0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00037b4:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a00037b8:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
a00037bc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a00037c0:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00037c4:	e129f007 	msr	CPSR_fc, r7                                   <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
a00037c8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
a00037cc:	e3130b01 	tst	r3, #1024	; 0x400                             
a00037d0:	0a000008 	beq	a00037f8 <rtems_termios_ioctl+0x1b0>          
a00037d4:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          <== NOT EXECUTED
a00037d8:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
a00037dc:	1a000005 	bne	a00037f8 <rtems_termios_ioctl+0x1b0>          <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
a00037e0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00037e4:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
a00037e8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
a00037ec:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00037f0:	e3c33002 	bic	r3, r3, #2                                    <== NOT EXECUTED
a00037f4:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
a00037f8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
a00037fc:	e3130c01 	tst	r3, #256	; 0x100                              
a0003800:	0a000010 	beq	a0003848 <rtems_termios_ioctl+0x200>          
a0003804:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          <== NOT EXECUTED
a0003808:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000380c:	ba00000d 	blt	a0003848 <rtems_termios_ioctl+0x200>          <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
a0003810:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003814:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0003818:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
a000381c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003820:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a0003824:	0a000004 	beq	a000383c <rtems_termios_ioctl+0x1f4>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
a0003828:	e59430b0 	ldr	r3, [r4, #176]	; 0xb0                         <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
a000382c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003830:	0a000001 	beq	a000383c <rtems_termios_ioctl+0x1f4>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
a0003834:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003838:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
a000383c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003840:	e3c33004 	bic	r3, r3, #4                                    <== NOT EXECUTED
a0003844:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
a0003848:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          
		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) {                                
a000384c:	e594703c 	ldr	r7, [r4, #60]	; 0x3c                          
                                                                      
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
a0003850:	e3530000 	cmp	r3, #0                                        
    tty->flow_ctrl |= FL_MDRTS;                                       
a0003854:	b59430b8 	ldrlt	r3, [r4, #184]	; 0xb8                       
a0003858:	b3833c01 	orrlt	r3, r3, #256	; 0x100                        
a000385c:	b58430b8 	strlt	r3, [r4, #184]	; 0xb8                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
a0003860:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
a0003864:	e3130a01 	tst	r3, #4096	; 0x1000                            
    tty->flow_ctrl |= FL_MDXOF;                                       
a0003868:	159430b8 	ldrne	r3, [r4, #184]	; 0xb8                       
a000386c:	13833b01 	orrne	r3, r3, #1024	; 0x400                       
a0003870:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
a0003874:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
a0003878:	e3130b01 	tst	r3, #1024	; 0x400                             
    tty->flow_ctrl |= FL_MDXON;                                       
a000387c:	159430b8 	ldrne	r3, [r4, #184]	; 0xb8                       
a0003880:	13833c02 	orrne	r3, r3, #512	; 0x200                        
a0003884:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       
		tty->termios = *(struct termios *)args->buffer;                     
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
a0003888:	e2177002 	ands	r7, r7, #2                                   
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
a000388c:	13a03000 	movne	r3, #0                                      
		tty->termios = *(struct termios *)args->buffer;                     
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
a0003890:	1a000014 	bne	a00038e8 <rtems_termios_ioctl+0x2a0>          
			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;             
a0003894:	e5d48046 	ldrb	r8, [r4, #70]	; 0x46                         <== NOT EXECUTED
a0003898:	eb00029e 	bl	a0004318 <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] *                       
a000389c:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
a00038a0:	e0000098 	mul	r0, r8, r0                                    <== NOT EXECUTED
a00038a4:	eb004618 	bl	a001510c <__aeabi_uidiv>                       <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a00038a8:	e5d43046 	ldrb	r3, [r4, #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] *                       
a00038ac:	e5840054 	str	r0, [r4, #84]	; 0x54                          <== NOT EXECUTED
a00038b0:	e5d42047 	ldrb	r2, [r4, #71]	; 0x47                         <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a00038b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00038b8:	0a000006 	beq	a00038d8 <rtems_termios_ioctl+0x290>          <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
a00038bc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00038c0:	01a02000 	moveq	r2, r0                                      <== NOT EXECUTED
a00038c4:	13a02000 	movne	r2, #0                                      <== NOT EXECUTED
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
a00038c8:	e584706c 	str	r7, [r4, #108]	; 0x6c                         <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
a00038cc:	e5842074 	str	r2, [r4, #116]	; 0x74                         <== NOT EXECUTED
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
a00038d0:	e5840070 	str	r0, [r4, #112]	; 0x70                         <== NOT EXECUTED
a00038d4:	ea000006 	b	a00038f4 <rtems_termios_ioctl+0x2ac>            <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
a00038d8:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
a00038dc:	03a03001 	moveq	r3, #1                                      <== NOT EXECUTED
a00038e0:	0584306c 	streq	r3, [r4, #108]	; 0x6c                       <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
a00038e4:	0a000002 	beq	a00038f4 <rtems_termios_ioctl+0x2ac>          <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
a00038e8:	e5843074 	str	r3, [r4, #116]	; 0x74                         
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
a00038ec:	e584306c 	str	r3, [r4, #108]	; 0x6c                         
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
a00038f0:	e5843070 	str	r3, [r4, #112]	; 0x70                         
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
a00038f4:	e59430a8 	ldr	r3, [r4, #168]	; 0xa8                         
a00038f8:	e3530000 	cmp	r3, #0                                        
a00038fc:	0a00002f 	beq	a00039c0 <rtems_termios_ioctl+0x378>          
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
a0003900:	e5940010 	ldr	r0, [r4, #16]                                 
a0003904:	e2841030 	add	r1, r4, #48	; 0x30                            
a0003908:	e12fff33 	blx	r3                                            
a000390c:	ea00002b 	b	a00039c0 <rtems_termios_ioctl+0x378>            
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
a0003910:	e1a00004 	mov	r0, r4                                        
a0003914:	ebfffe5a 	bl	a0003284 <drainOutput>                         
		break;                                                              
a0003918:	ea000028 	b	a00039c0 <rtems_termios_ioctl+0x378>            
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
a000391c:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a0003920:	e58420d4 	str	r2, [r4, #212]	; 0xd4                         <== NOT EXECUTED
a0003924:	e58430d8 	str	r3, [r4, #216]	; 0xd8                         <== NOT EXECUTED
		break;                                                              
a0003928:	ea000024 	b	a00039c0 <rtems_termios_ioctl+0x378>            <== NOT EXECUTED
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
a000392c:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a0003930:	e58420dc 	str	r2, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a0003934:	e58430e0 	str	r3, [r4, #224]	; 0xe0                         <== NOT EXECUTED
		break;                                                              
a0003938:	ea000020 	b	a00039c0 <rtems_termios_ioctl+0x378>            <== NOT EXECUTED
#if 1 /* FIXME */                                                     
	case TIOCSETD:                                                       
		/*                                                                  
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
a000393c:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a0003940:	e59f3094 	ldr	r3, [pc, #148]	; a00039dc <rtems_termios_ioctl+0x394><== NOT EXECUTED
a0003944:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a0003948:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a000394c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003950:	0a000002 	beq	a0003960 <rtems_termios_ioctl+0x318>          <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
a0003954:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003958:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000395c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
a0003960:	e5953008 	ldr	r3, [r5, #8]                                  <== NOT EXECUTED
a0003964:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
a0003968:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000396c:	e58430d0 	str	r3, [r4, #208]	; 0xd0                         <== NOT EXECUTED
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
a0003970:	e59f3064 	ldr	r3, [pc, #100]	; a00039dc <rtems_termios_ioctl+0x394><== 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);                                  
a0003974:	e58420cc 	str	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
a0003978:	e7933282 	ldr	r3, [r3, r2, lsl #5]                          <== NOT EXECUTED
a000397c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003980:	0a00000e 	beq	a00039c0 <rtems_termios_ioctl+0x378>          <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
a0003984:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003988:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000398c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0003990:	ea00000a 	b	a00039c0 <rtems_termios_ioctl+0x378>            <== NOT EXECUTED
		*(int*)(args->buffer)=tty->t_line;                                  
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
a0003994:	e5942060 	ldr	r2, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0003998:	e594305c 	ldr	r3, [r4, #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;           
a000399c:	e5940020 	ldr	r0, [r4, #32]                                 <== NOT EXECUTED
a00039a0:	e5941024 	ldr	r1, [r4, #36]	; 0x24                          <== NOT EXECUTED
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
		if ( rawnc < 0 )                                                    
a00039a4:	e0523003 	subs	r3, r2, r3                                   <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
a00039a8:	45942064 	ldrmi	r2, [r4, #100]	; 0x64                       <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
a00039ac:	e0611000 	rsb	r1, r1, r0                                    <== NOT EXECUTED
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
		if ( rawnc < 0 )                                                    
			rawnc += tty->rawInBuf.Size;                                       
a00039b0:	40833002 	addmi	r3, r3, r2                                  <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
a00039b4:	e5952008 	ldr	r2, [r5, #8]                                  <== NOT EXECUTED
a00039b8:	e0813003 	add	r3, r1, r3                                    <== NOT EXECUTED
a00039bc:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
a00039c0:	e5940018 	ldr	r0, [r4, #24]                                 
a00039c4:	eb00042f 	bl	a0004a88 <rtems_semaphore_release>             
	args->ioctl_return = sc;                                             
a00039c8:	e585600c 	str	r6, [r5, #12]                                 
	return sc;                                                           
}                                                                     
a00039cc:	e1a00006 	mov	r0, r6                                        
a00039d0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
a00039d4:	4004667f 	.word	0x4004667f                                  
a00039d8:	4004741a 	.word	0x4004741a                                  
a00039dc:	a0018870 	.word	0xa0018870                                  
                                                                      
a0003b74 <rtems_termios_open>:                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003b74:	e92d4ff7 	push	{r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr}
a0003b78:	e1a08002 	mov	r8, r2                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003b7c:	e59f23d4 	ldr	r2, [pc, #980]	; a0003f58 <rtems_termios_open+0x3e4>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003b80:	e1a0a001 	mov	sl, r1                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003b84:	e3a01000 	mov	r1, #0                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003b88:	e1a0b000 	mov	fp, r0                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003b8c:	e5920000 	ldr	r0, [r2]                                      
a0003b90:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003b94:	e58d3008 	str	r3, [sp, #8]                                  
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003b98:	eb000374 	bl	a0004970 <rtems_semaphore_obtain>              
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003b9c:	e2506000 	subs	r6, r0, #0                                   
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
a0003ba0:	059f33b4 	ldreq	r3, [pc, #948]	; a0003f5c <rtems_termios_open+0x3e8>
a0003ba4:	05935000 	ldreq	r5, [r3]                                    
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003ba8:	0a000007 	beq	a0003bcc <rtems_termios_open+0x58>            
a0003bac:	ea0000df 	b	a0003f30 <rtems_termios_open+0x3bc>             <== NOT EXECUTED
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
		if ((tty->major == major) && (tty->minor == minor))                 
a0003bb0:	e595300c 	ldr	r3, [r5, #12]                                 
a0003bb4:	e153000b 	cmp	r3, fp                                        
a0003bb8:	1a000002 	bne	a0003bc8 <rtems_termios_open+0x54>            
a0003bbc:	e5953010 	ldr	r3, [r5, #16]                                 
a0003bc0:	e153000a 	cmp	r3, sl                                        
a0003bc4:	0a0000b8 	beq	a0003eac <rtems_termios_open+0x338>           
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
a0003bc8:	e5955000 	ldr	r5, [r5]                                      
a0003bcc:	e3550000 	cmp	r5, #0                                        
a0003bd0:	1afffff6 	bne	a0003bb0 <rtems_termios_open+0x3c>            
a0003bd4:	ea0000d7 	b	a0003f38 <rtems_termios_open+0x3c4>             
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
a0003bd8:	e59f7380 	ldr	r7, [pc, #896]	; a0003f60 <rtems_termios_open+0x3ec>
a0003bdc:	e5973004 	ldr	r3, [r7, #4]                                  
a0003be0:	e5853064 	str	r3, [r5, #100]	; 0x64                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
a0003be4:	e5950064 	ldr	r0, [r5, #100]	; 0x64                         
a0003be8:	ebfff7d2 	bl	a0001b38 <malloc>                              
		if (tty->rawInBuf.theBuf == NULL) {                                 
a0003bec:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
a0003bf0:	e5850058 	str	r0, [r5, #88]	; 0x58                          
		if (tty->rawInBuf.theBuf == NULL) {                                 
a0003bf4:	0a00000f 	beq	a0003c38 <rtems_termios_open+0xc4>            
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
a0003bf8:	e5973008 	ldr	r3, [r7, #8]                                  
a0003bfc:	e5853088 	str	r3, [r5, #136]	; 0x88                         
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
a0003c00:	e5950088 	ldr	r0, [r5, #136]	; 0x88                         
a0003c04:	ebfff7cb 	bl	a0001b38 <malloc>                              
		if (tty->rawOutBuf.theBuf == NULL) {                                
a0003c08:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
a0003c0c:	e585007c 	str	r0, [r5, #124]	; 0x7c                         
		if (tty->rawOutBuf.theBuf == NULL) {                                
a0003c10:	0a000006 	beq	a0003c30 <rtems_termios_open+0xbc>            
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
a0003c14:	e5970000 	ldr	r0, [r7]                                      
a0003c18:	ebfff7c6 	bl	a0001b38 <malloc>                              
		if (tty->cbuf == NULL) {                                            
a0003c1c:	e3500000 	cmp	r0, #0                                        
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
a0003c20:	e585001c 	str	r0, [r5, #28]                                 
		if (tty->cbuf == NULL) {                                            
a0003c24:	1a000007 	bne	a0003c48 <rtems_termios_open+0xd4>            
		        free((void *)(tty->rawOutBuf.theBuf));                      
a0003c28:	e595007c 	ldr	r0, [r5, #124]	; 0x7c                         <== NOT EXECUTED
a0003c2c:	ebfff700 	bl	a0001834 <free>                                <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
a0003c30:	e5950058 	ldr	r0, [r5, #88]	; 0x58                          <== NOT EXECUTED
a0003c34:	ebfff6fe 	bl	a0001834 <free>                                <== NOT EXECUTED
		        free(tty);                                                  
a0003c38:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003c3c:	ebfff6fc 	bl	a0001834 <free>                                <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
a0003c40:	e3a0601a 	mov	r6, #26                                       <== NOT EXECUTED
a0003c44:	ea0000b6 	b	a0003f24 <rtems_termios_open+0x3b0>             <== NOT EXECUTED
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
a0003c48:	e59f230c 	ldr	r2, [pc, #780]	; a0003f5c <rtems_termios_open+0x3e8>
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
a0003c4c:	e3a03000 	mov	r3, #0                                        
a0003c50:	e58530d4 	str	r3, [r5, #212]	; 0xd4                         
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
a0003c54:	e5922000 	ldr	r2, [r2]                                      
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
		tty->tty_snd.sw_arg = NULL;                                         
a0003c58:	e58530d8 	str	r3, [r5, #216]	; 0xd8                         
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
a0003c5c:	e5853004 	str	r3, [r5, #4]                                  
		if (rtems_termios_ttyHead != NULL)                                  
a0003c60:	e1520003 	cmp	r2, r3                                        
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
		tty->tty_snd.sw_arg = NULL;                                         
		tty->tty_rcv.sw_pfn = NULL;                                         
a0003c64:	e58530dc 	str	r3, [r5, #220]	; 0xdc                         
		tty->tty_rcv.sw_arg = NULL;                                         
a0003c68:	e58530e0 	str	r3, [r5, #224]	; 0xe0                         
		tty->tty_rcvwakeup  = 0;                                            
a0003c6c:	e58530e4 	str	r3, [r5, #228]	; 0xe4                         
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
a0003c70:	e59f32ec 	ldr	r3, [pc, #748]	; a0003f64 <rtems_termios_open+0x3f0>
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
a0003c74:	15825004 	strne	r5, [r2, #4]                                
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
a0003c78:	e5852000 	str	r2, [r5]                                      
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
a0003c7c:	e5932000 	ldr	r2, [r3]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a0003c80:	e59f72d8 	ldr	r7, [pc, #728]	; a0003f60 <rtems_termios_open+0x3ec>
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
a0003c84:	e584a010 	str	sl, [r4, #16]                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
a0003c88:	e3520000 	cmp	r2, #0                                        
			rtems_termios_ttyTail = tty;                                       
a0003c8c:	05834000 	streq	r4, [r3]                                    
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
a0003c90:	e59f12c4 	ldr	r1, [pc, #708]	; a0003f5c <rtems_termios_open+0x3e8>
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a0003c94:	e5d7300c 	ldrb	r3, [r7, #12]                                
a0003c98:	e59f02c8 	ldr	r0, [pc, #712]	; a0003f68 <rtems_termios_open+0x3f4>
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
a0003c9c:	e5814000 	str	r4, [r1]                                      
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
		tty->major = major;                                                 
a0003ca0:	e584b00c 	str	fp, [r4, #12]                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a0003ca4:	e284c014 	add	ip, r4, #20                                   
a0003ca8:	e1830000 	orr	r0, r3, r0                                    
a0003cac:	e3a01001 	mov	r1, #1                                        
a0003cb0:	e3a03000 	mov	r3, #0                                        
a0003cb4:	e3a02054 	mov	r2, #84	; 0x54                                
a0003cb8:	e58dc000 	str	ip, [sp]                                      
a0003cbc:	eb000299 	bl	a0004728 <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)                                         
a0003cc0:	e2503000 	subs	r3, r0, #0                                   
a0003cc4:	1a000095 	bne	a0003f20 <rtems_termios_open+0x3ac>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
a0003cc8:	e5d7200c 	ldrb	r2, [r7, #12]                                
a0003ccc:	e59f0298 	ldr	r0, [pc, #664]	; a0003f6c <rtems_termios_open+0x3f8>
a0003cd0:	e284c018 	add	ip, r4, #24                                   
a0003cd4:	e3a01001 	mov	r1, #1                                        
a0003cd8:	e1820000 	orr	r0, r2, r0                                    
a0003cdc:	e3a02054 	mov	r2, #84	; 0x54                                
a0003ce0:	e58dc000 	str	ip, [sp]                                      
a0003ce4:	eb00028f 	bl	a0004728 <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)                                         
a0003ce8:	e2501000 	subs	r1, r0, #0                                   
a0003cec:	1a00008b 	bne	a0003f20 <rtems_termios_open+0x3ac>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
a0003cf0:	e5d7300c 	ldrb	r3, [r7, #12]                                
a0003cf4:	e59f0274 	ldr	r0, [pc, #628]	; a0003f70 <rtems_termios_open+0x3fc>
a0003cf8:	e284c08c 	add	ip, r4, #140	; 0x8c                           
a0003cfc:	e3a02020 	mov	r2, #32                                       
a0003d00:	e1830000 	orr	r0, r3, r0                                    
a0003d04:	e1a03001 	mov	r3, r1                                        
a0003d08:	e58dc000 	str	ip, [sp]                                      
a0003d0c:	eb000285 	bl	a0004728 <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)                                         
a0003d10:	e2509000 	subs	r9, r0, #0                                   
a0003d14:	1a000081 	bne	a0003f20 <rtems_termios_open+0x3ac>           
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
a0003d18:	e59de008 	ldr	lr, [sp, #8]                                  
a0003d1c:	e284c098 	add	ip, r4, #152	; 0x98                           
			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;                                     
a0003d20:	e5849094 	str	r9, [r4, #148]	; 0x94                         
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
a0003d24:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0003d28:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0003d2c:	e89e000f 	ldm	lr, {r0, r1, r2, r3}                          
a0003d30:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0003d34:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0003d38:	e3530002 	cmp	r3, #2                                        
a0003d3c:	1a000016 	bne	a0003d9c <rtems_termios_open+0x228>           
			sc = rtems_task_create (                                           
a0003d40:	e5d7300c 	ldrb	r3, [r7, #12]                                <== NOT EXECUTED
a0003d44:	e59f0228 	ldr	r0, [pc, #552]	; a0003f74 <rtems_termios_open+0x400><== NOT EXECUTED
a0003d48:	e284c0c8 	add	ip, r4, #200	; 0xc8                           <== NOT EXECUTED
a0003d4c:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
a0003d50:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
a0003d54:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0003d58:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
a0003d5c:	e88d1200 	stm	sp, {r9, ip}                                  <== NOT EXECUTED
a0003d60:	eb00036f 	bl	a0004b24 <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)                                        
a0003d64:	e250e000 	subs	lr, r0, #0                                   <== NOT EXECUTED
a0003d68:	1a00006c 	bne	a0003f20 <rtems_termios_open+0x3ac>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
a0003d6c:	e5d7300c 	ldrb	r3, [r7, #12]                                <== NOT EXECUTED
a0003d70:	e59f0200 	ldr	r0, [pc, #512]	; a0003f78 <rtems_termios_open+0x404><== NOT EXECUTED
a0003d74:	e284c0c4 	add	ip, r4, #196	; 0xc4                           <== NOT EXECUTED
a0003d78:	e3a01009 	mov	r1, #9                                        <== NOT EXECUTED
a0003d7c:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
a0003d80:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0003d84:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
a0003d88:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
a0003d8c:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0003d90:	eb000363 	bl	a0004b24 <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)                                        
a0003d94:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003d98:	1a000060 	bne	a0003f20 <rtems_termios_open+0x3ac>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
a0003d9c:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a0003da0:	e3530000 	cmp	r3, #0                                        
a0003da4:	0a000002 	beq	a0003db4 <rtems_termios_open+0x240>           
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
a0003da8:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0003dac:	e3530002 	cmp	r3, #2                                        
a0003db0:	1a00000b 	bne	a0003de4 <rtems_termios_open+0x270>           
			sc = rtems_semaphore_create (                                      
a0003db4:	e59f31a4 	ldr	r3, [pc, #420]	; a0003f60 <rtems_termios_open+0x3ec><== NOT EXECUTED
a0003db8:	e59f01bc 	ldr	r0, [pc, #444]	; a0003f7c <rtems_termios_open+0x408><== NOT EXECUTED
a0003dbc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0003dc0:	e5d3300c 	ldrb	r3, [r3, #12]                                <== NOT EXECUTED
a0003dc4:	e284c068 	add	ip, r4, #104	; 0x68                           <== NOT EXECUTED
a0003dc8:	e3a02024 	mov	r2, #36	; 0x24                                <== NOT EXECUTED
a0003dcc:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
a0003dd0:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
a0003dd4:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0003dd8:	eb000252 	bl	a0004728 <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)                                        
a0003ddc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003de0:	1a00004e 	bne	a0003f20 <rtems_termios_open+0x3ac>           <== NOT EXECUTED
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
a0003de4:	e3a0001c 	mov	r0, #28                                       
a0003de8:	e5c40042 	strb	r0, [r4, #66]	; 0x42                         
		tty->termios.c_cc[VERASE] = '\177';                                 
a0003dec:	e2800063 	add	r0, r0, #99	; 0x63                            
a0003df0:	e5c40043 	strb	r0, [r4, #67]	; 0x43                         
		tty->termios.c_cc[VKILL] = '\025';                                  
a0003df4:	e3a00015 	mov	r0, #21                                       
a0003df8:	e5c40044 	strb	r0, [r4, #68]	; 0x44                         
		tty->termios.c_cc[VEOF] = '\004';                                   
a0003dfc:	e3a00004 	mov	r0, #4                                        
a0003e00:	e5c40045 	strb	r0, [r4, #69]	; 0x45                         
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
a0003e04:	e280000d 	add	r0, r0, #13                                   
a0003e08:	e5c40049 	strb	r0, [r4, #73]	; 0x49                         
		tty->termios.c_cc[VSTOP] = '\023';                                  
a0003e0c:	e2800002 	add	r0, r0, #2                                    
		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';                                   
a0003e10:	e3a02000 	mov	r2, #0                                        
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
		tty->termios.c_cc[VSTOP] = '\023';                                  
a0003e14:	e5c4004a 	strb	r0, [r4, #74]	; 0x4a                         
		tty->termios.c_cc[VSUSP] = '\032';                                  
a0003e18:	e2800007 	add	r0, r0, #7                                    
		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;                                                 
a0003e1c:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         
		tty->termios.c_cc[VEOF] = '\004';                                   
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
		tty->termios.c_cc[VSTOP] = '\023';                                  
		tty->termios.c_cc[VSUSP] = '\032';                                  
a0003e20:	e5c4004b 	strb	r0, [r4, #75]	; 0x4b                         
		tty->termios.c_cc[VREPRINT] = '\022';                               
a0003e24:	e3a00012 	mov	r0, #18                                       
		/* 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;                          
a0003e28:	e594c064 	ldr	ip, [r4, #100]	; 0x64                         
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
		tty->termios.c_cc[VSTOP] = '\023';                                  
		tty->termios.c_cc[VSUSP] = '\032';                                  
		tty->termios.c_cc[VREPRINT] = '\022';                               
a0003e2c:	e5c4004d 	strb	r0, [r4, #77]	; 0x4d                         
		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;                          
a0003e30:	e594e064 	ldr	lr, [r4, #100]	; 0x64                         
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
		tty->termios.c_cc[VSTOP] = '\023';                                  
		tty->termios.c_cc[VSUSP] = '\032';                                  
		tty->termios.c_cc[VREPRINT] = '\022';                               
		tty->termios.c_cc[VDISCARD] = '\017';                               
a0003e34:	e3a0000f 	mov	r0, #15                                       
a0003e38:	e5c4004e 	strb	r0, [r4, #78]	; 0x4e                         
		tty->termios.c_cc[VWERASE] = '\027';                                
a0003e3c:	e2800008 	add	r0, r0, #8                                    
a0003e40:	e5c4004f 	strb	r0, [r4, #79]	; 0x4f                         
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
a0003e44:	e3a01003 	mov	r1, #3                                        
		tty->termios.c_cc[VSTOP] = '\023';                                  
		tty->termios.c_cc[VSUSP] = '\032';                                  
		tty->termios.c_cc[VREPRINT] = '\022';                               
		tty->termios.c_cc[VDISCARD] = '\017';                               
		tty->termios.c_cc[VWERASE] = '\027';                                
		tty->termios.c_cc[VLNEXT] = '\026';                                 
a0003e48:	e3a00016 	mov	r0, #22                                       
a0003e4c:	e5c40050 	strb	r0, [r4, #80]	; 0x50                         
		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;                          
a0003e50:	e0000e91 	mul	r0, r1, lr                                    
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0003e54:	e59f3104 	ldr	r3, [pc, #260]	; a0003f60 <rtems_termios_open+0x3ec>
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
a0003e58:	e5c41041 	strb	r1, [r4, #65]	; 0x41                         
		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';                                   
a0003e5c:	e5c4204c 	strb	r2, [r4, #76]	; 0x4c                         
		tty->termios.c_cc[VEOL2] = '\000';                                  
a0003e60:	e5c42051 	strb	r2, [r4, #81]	; 0x51                         
		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;                          
a0003e64:	e1a00120 	lsr	r0, r0, #2                                    
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0003e68:	e5d3200c 	ldrb	r2, [r3, #12]                                
		tty->flow_ctrl = 0;                                                 
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
a0003e6c:	e58400c0 	str	r0, [r4, #192]	; 0xc0                         
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a0003e70:	e59f0108 	ldr	r0, [pc, #264]	; a0003f80 <rtems_termios_open+0x40c>
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0003e74:	e352007a 	cmp	r2, #122	; 0x7a                               
		/* start with no flow control, clear flow control flags */          
		tty->flow_ctrl = 0;                                                 
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
a0003e78:	e1a010ac 	lsr	r1, ip, #1                                    
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a0003e7c:	e5840030 	str	r0, [r4, #48]	; 0x30                          
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
a0003e80:	e59f00fc 	ldr	r0, [pc, #252]	; a0003f84 <rtems_termios_open+0x410>
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0003e84:	e2822001 	add	r2, r2, #1                                    
		/* 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;                          
a0003e88:	e58410bc 	str	r1, [r4, #188]	; 0xbc                         
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
a0003e8c:	e5840034 	str	r0, [r4, #52]	; 0x34                          
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
a0003e90:	e59f00f0 	ldr	r0, [pc, #240]	; a0003f88 <rtems_termios_open+0x414>
a0003e94:	e5840038 	str	r0, [r4, #56]	; 0x38                          
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
a0003e98:	e59f00ec 	ldr	r0, [pc, #236]	; a0003f8c <rtems_termios_open+0x418>
a0003e9c:	e584003c 	str	r0, [r4, #60]	; 0x3c                          
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0003ea0:	e5c3200c 	strb	r2, [r3, #12]                                
			c = 'a';                                                           
a0003ea4:	03a02061 	moveq	r2, #97	; 0x61                              
a0003ea8:	05c3200c 	strbeq	r2, [r3, #12]                              
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
	if (!tty->refcount++) {                                              
a0003eac:	e5953008 	ldr	r3, [r5, #8]                                  
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
a0003eb0:	e5982000 	ldr	r2, [r8]                                      
	if (!tty->refcount++) {                                              
a0003eb4:	e3530000 	cmp	r3, #0                                        
a0003eb8:	e2833001 	add	r3, r3, #1                                    
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
a0003ebc:	e5825034 	str	r5, [r2, #52]	; 0x34                          
	if (!tty->refcount++) {                                              
a0003ec0:	e5853008 	str	r3, [r5, #8]                                  
a0003ec4:	1a000016 	bne	a0003f24 <rtems_termios_open+0x3b0>           
	  if (tty->device.firstOpen)                                         
a0003ec8:	e5953098 	ldr	r3, [r5, #152]	; 0x98                         
a0003ecc:	e3530000 	cmp	r3, #0                                        
a0003ed0:	0a000003 	beq	a0003ee4 <rtems_termios_open+0x370>           
		(*tty->device.firstOpen)(major, minor, arg);                        
a0003ed4:	e1a0000b 	mov	r0, fp                                        
a0003ed8:	e1a0100a 	mov	r1, sl                                        
a0003edc:	e1a02008 	mov	r2, r8                                        
a0003ee0:	e12fff33 	blx	r3                                            
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
a0003ee4:	e59530b4 	ldr	r3, [r5, #180]	; 0xb4                         
a0003ee8:	e3530002 	cmp	r3, #2                                        
a0003eec:	1a00000c 	bne	a0003f24 <rtems_termios_open+0x3b0>           
	    sc = rtems_task_start(tty->rxTaskId,                             
a0003ef0:	e59500c4 	ldr	r0, [r5, #196]	; 0xc4                         <== NOT EXECUTED
a0003ef4:	e59f1094 	ldr	r1, [pc, #148]	; a0003f90 <rtems_termios_open+0x41c><== NOT EXECUTED
a0003ef8:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0003efc:	eb0003ad 	bl	a0004db8 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
a0003f00:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003f04:	1a000005 	bne	a0003f20 <rtems_termios_open+0x3ac>           <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
a0003f08:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0003f0c:	e59500c8 	ldr	r0, [r5, #200]	; 0xc8                         <== NOT EXECUTED
a0003f10:	e59f107c 	ldr	r1, [pc, #124]	; a0003f94 <rtems_termios_open+0x420><== NOT EXECUTED
a0003f14:	eb0003a7 	bl	a0004db8 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
a0003f18:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003f1c:	0a000000 	beq	a0003f24 <rtems_termios_open+0x3b0>           <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
a0003f20:	eb000426 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
a0003f24:	e59f302c 	ldr	r3, [pc, #44]	; a0003f58 <rtems_termios_open+0x3e4>
a0003f28:	e5930000 	ldr	r0, [r3]                                      
a0003f2c:	eb0002d5 	bl	a0004a88 <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
a0003f30:	e1a00006 	mov	r0, r6                                        
a0003f34:	e8bd8ffe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
a0003f38:	e3a00001 	mov	r0, #1                                        
a0003f3c:	e3a010e8 	mov	r1, #232	; 0xe8                               
a0003f40:	eb0013bd 	bl	a0008e3c <calloc>                              
		if (tty == NULL) {                                                  
a0003f44:	e3500000 	cmp	r0, #0                                        
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
a0003f48:	e1a05000 	mov	r5, r0                                        
a0003f4c:	e1a04000 	mov	r4, r0                                        
		if (tty == NULL) {                                                  
a0003f50:	1affff20 	bne	a0003bd8 <rtems_termios_open+0x64>            
a0003f54:	eaffff39 	b	a0003c40 <rtems_termios_open+0xcc>              <== NOT EXECUTED
a0003f58:	a0018c4c 	.word	0xa0018c4c                                  
a0003f5c:	a0018c54 	.word	0xa0018c54                                  
a0003f60:	a0017584 	.word	0xa0017584                                  
a0003f64:	a0018c50 	.word	0xa0018c50                                  
a0003f68:	54526900 	.word	0x54526900                                  
a0003f6c:	54526f00 	.word	0x54526f00                                  
a0003f70:	54527800 	.word	0x54527800                                  
a0003f74:	54785400 	.word	0x54785400                                  
a0003f78:	52785400 	.word	0x52785400                                  
a0003f7c:	54527200 	.word	0x54527200                                  
a0003f80:	00002502 	.word	0x00002502                                  
a0003f84:	00001805 	.word	0x00001805                                  
a0003f88:	000008bd 	.word	0x000008bd                                  
a0003f8c:	0000823b 	.word	0x0000823b                                  
a0003f90:	a0004004 	.word	0xa0004004                                  
a0003f94:	a0003f98 	.word	0xa0003f98                                  
                                                                      
a0002b08 <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) {            
a0002b08:	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)           
{                                                                     
a0002b0c:	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) {            
a0002b10:	e3530000 	cmp	r3, #0                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
a0002b14:	e1a04002 	mov	r4, r2                                        
a0002b18:	e1a0a000 	mov	sl, r0                                        
a0002b1c:	e1a06001 	mov	r6, r1                                        
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
a0002b20:	1a000005 	bne	a0002b3c <rtems_termios_puts+0x34>            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
a0002b24:	e1a01000 	mov	r1, r0                                        
a0002b28:	e1a02006 	mov	r2, r6                                        
a0002b2c:	e5940010 	ldr	r0, [r4, #16]                                 
a0002b30:	e1a0e00f 	mov	lr, pc                                        
a0002b34:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         
		return;                                                             
a0002b38:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
a0002b3c:	e5925080 	ldr	r5, [r2, #128]	; 0x80                         <== NOT EXECUTED
a0002b40:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
			tty->rawOutBufState = rob_wait;                                    
a0002b44:	e3a09002 	mov	r9, #2                                        <== NOT EXECUTED
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
a0002b48:	e3a0b001 	mov	fp, #1                                        <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
a0002b4c:	ea00002f 	b	a0002c10 <rtems_termios_puts+0x108>             <== NOT EXECUTED
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
a0002b50:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
a0002b54:	e2850001 	add	r0, r5, #1                                    <== NOT EXECUTED
a0002b58:	eb0049ff 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
a0002b5c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002b60:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a0002b64:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a0002b68:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
a0002b6c:	ea00000b 	b	a0002ba0 <rtems_termios_puts+0x98>              <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
a0002b70:	e5849094 	str	r9, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002b74:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
a0002b78:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0002b7c:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0002b80:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0002b84:	eb000779 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
a0002b88:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002b8c:	0a000000 	beq	a0002b94 <rtems_termios_puts+0x8c>            <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
a0002b90:	eb00090a 	bl	a0004fc0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002b94:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a0002b98:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a0002b9c:	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) {                            
a0002ba0:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0002ba4:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
a0002ba8:	0afffff0 	beq	a0002b70 <rtems_termios_puts+0x68>            <== NOT EXECUTED
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
a0002bac:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0002bb0:	e7da1007 	ldrb	r1, [sl, r7]                                 <== NOT EXECUTED
a0002bb4:	e594207c 	ldr	r2, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002bb8:	e7c21003 	strb	r1, [r2, r3]                                 <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
a0002bbc:	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;                                      
a0002bc0:	e5845080 	str	r5, [r4, #128]	; 0x80                         <== NOT EXECUTED
		if (tty->rawOutBufState == rob_idle) {                              
a0002bc4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002bc8:	1a00000d 	bne	a0002c04 <rtems_termios_puts+0xfc>            <== NOT EXECUTED
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
a0002bcc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002bd0:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
		    (*tty->device.write)(tty->minor,                                
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
a0002bd4:	159430b8 	ldrne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
a0002bd8:	13833020 	orrne	r3, r3, #32                                 <== NOT EXECUTED
a0002bdc:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
a0002be0:	1a000006 	bne	a0002c00 <rtems_termios_puts+0xf8>            <== NOT EXECUTED
		    (*tty->device.write)(tty->minor,                                
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
a0002be4:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
		    (*tty->device.write)(tty->minor,                                
a0002be8:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002bec:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0002bf0:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002bf4:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
a0002bf8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0002bfc:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
a0002c00:	e584b094 	str	fp, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002c04:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
a0002c08:	e2466001 	sub	r6, r6, #1                                    <== NOT EXECUTED
a0002c0c:	e2877001 	add	r7, r7, #1                                    <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
a0002c10:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0002c14:	1affffcd 	bne	a0002b50 <rtems_termios_puts+0x48>            <== NOT EXECUTED
a0002c18:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      
a00032f4 <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;                    
a00032f4:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a00032f8:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00032fc:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          <== NOT EXECUTED
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
a0003300:	e590300c 	ldr	r3, [r0, #12]                                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003304:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
a0003308:	e5907010 	ldr	r7, [r0, #16]                                 <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a000330c:	e1a05000 	mov	r5, 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);
a0003310:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0003314:	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;                                    
a0003318:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a000331c:	eb000593 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003320:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a0003324:	1a0000c2 	bne	a0003634 <rtems_termios_read+0x340>           <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
a0003328:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a000332c:	e59f3308 	ldr	r3, [pc, #776]	; a000363c <rtems_termios_read+0x348><== NOT EXECUTED
a0003330:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a0003334:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003338:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000333c:	0a000006 	beq	a000335c <rtems_termios_read+0x68>            <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
a0003340:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003344:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003348:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
a000334c:	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);            
a0003350:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
a0003354:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0003358:	ea0000b3 	b	a000362c <rtems_termios_read+0x338>             <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
a000335c:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
a0003360:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0003364:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003368:	1a00009a 	bne	a00035d8 <rtems_termios_read+0x2e4>           <== NOT EXECUTED
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
a000336c:	e59420a0 	ldr	r2, [r4, #160]	; 0xa0                         <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
a0003370:	e5943028 	ldr	r3, [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;                                      
a0003374:	e5846020 	str	r6, [r4, #32]                                 <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
a0003378:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
a000337c:	e584302c 	str	r3, [r4, #44]	; 0x2c                          <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
a0003380:	e5846024 	str	r6, [r4, #36]	; 0x24                          <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
a0003384:	0a00003b 	beq	a0003478 <rtems_termios_read+0x184>           <== NOT EXECUTED
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
a0003388:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         <== NOT EXECUTED
a000338c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003390:	1a000038 	bne	a0003478 <rtems_termios_read+0x184>           <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
a0003394:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003398:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a000339c:	0a00000d 	beq	a00033d8 <rtems_termios_read+0xe4>            <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
a00033a0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00033a4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a00033a8:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (n < 0) {                                                       
a00033ac:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
a00033b0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00033b4:	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) {                                                       
a00033b8:	aa000002 	bge	a00033c8 <rtems_termios_read+0xd4>            <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
a00033bc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a00033c0:	eb000694 	bl	a0004e18 <rtems_task_wake_after>               <== NOT EXECUTED
a00033c4:	eafffff5 	b	a00033a0 <rtems_termios_read+0xac>              <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
a00033c8:	ebffff66 	bl	a0003168 <siproc>                              <== NOT EXECUTED
a00033cc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00033d0:	0afffff2 	beq	a00033a0 <rtems_termios_read+0xac>            <== NOT EXECUTED
a00033d4:	ea00007f 	b	a00035d8 <rtems_termios_read+0x2e4>             <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
a00033d8:	eb0003d6 	bl	a0004338 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
a00033dc:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
a00033e0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00033e4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a00033e8:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (n < 0) {                                                       
a00033ec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00033f0:	aa000013 	bge	a0003444 <rtems_termios_read+0x150>           <== NOT EXECUTED
				if (tty->termios.c_cc[VMIN]) {                                    
a00033f4:	e5d42047 	ldrb	r2, [r4, #71]	; 0x47                         <== NOT EXECUTED
a00033f8:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a00033fc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0003400:	0a000005 	beq	a000341c <rtems_termios_read+0x128>           <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
a0003404:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003408:	0a00000a 	beq	a0003438 <rtems_termios_read+0x144>           <== NOT EXECUTED
a000340c:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0003410:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003414:	0a000007 	beq	a0003438 <rtems_termios_read+0x144>           <== NOT EXECUTED
a0003418:	ea000001 	b	a0003424 <rtems_termios_read+0x130>             <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
a000341c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003420:	0a00006c 	beq	a00035d8 <rtems_termios_read+0x2e4>           <== NOT EXECUTED
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
a0003424:	eb0003c3 	bl	a0004338 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
a0003428:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          <== NOT EXECUTED
a000342c:	e0680000 	rsb	r0, r8, r0                                    <== NOT EXECUTED
a0003430:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0003434:	8a000067 	bhi	a00035d8 <rtems_termios_read+0x2e4>           <== NOT EXECUTED
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
a0003438:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000343c:	eb000675 	bl	a0004e18 <rtems_task_wake_after>               <== NOT EXECUTED
a0003440:	eaffffe6 	b	a00033e0 <rtems_termios_read+0xec>              <== NOT EXECUTED
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
a0003444:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
a0003448:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000344c:	ebffff45 	bl	a0003168 <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
a0003450:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0003454:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003458:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000345c:	aa00005d 	bge	a00035d8 <rtems_termios_read+0x2e4>           <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
a0003460:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003464:	0affffdd 	beq	a00033e0 <rtems_termios_read+0xec>            <== NOT EXECUTED
a0003468:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a000346c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003470:	0affffda 	beq	a00033e0 <rtems_termios_read+0xec>            <== NOT EXECUTED
a0003474:	eaffffd7 	b	a00033d8 <rtems_termios_read+0xe4>              <== 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;         
a0003478:	e5948074 	ldr	r8, [r4, #116]	; 0x74                         <== NOT EXECUTED
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
a000347c:	e284b049 	add	fp, r4, #73	; 0x49                            <== NOT EXECUTED
a0003480:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a0003484:	e59f91b4 	ldr	r9, [pc, #436]	; a0003640 <rtems_termios_read+0x34c><== NOT EXECUTED
a0003488:	ea000041 	b	a0003594 <rtems_termios_read+0x2a0>             <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
a000348c:	e594005c 	ldr	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003490:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003494:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a0003498:	eb0047af 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
a000349c:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a00034a0:	e7d38000 	ldrb	r8, [r3, r0]                                 <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
a00034a4:	e584005c 	str	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
a00034a8:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a00034ac:	e5942064 	ldr	r2, [r4, #100]	; 0x64                         <== NOT EXECUTED
a00034b0:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a00034b4:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a00034b8:	e0600003 	rsb	r0, r0, r3                                    <== NOT EXECUTED
a00034bc:	eb0047a6 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
a00034c0:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         <== NOT EXECUTED
a00034c4:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00034c8:	2a00001f 	bcs	a000354c <rtems_termios_read+0x258>           <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
a00034cc:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a00034d0:	e59f316c 	ldr	r3, [pc, #364]	; a0003644 <rtems_termios_read+0x350><== NOT EXECUTED
a00034d4:	e59f1168 	ldr	r1, [pc, #360]	; a0003644 <rtems_termios_read+0x350><== 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;                                   
a00034d8:	e3c22001 	bic	r2, r2, #1                                    <== NOT EXECUTED
a00034dc:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a00034e0:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00034e4:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a00034e8:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
a00034ec:	1a00000b 	bne	a0003520 <rtems_termios_read+0x22c>           <== NOT EXECUTED
a00034f0:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a00034f4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00034f8:	0a000002 	beq	a0003508 <rtems_termios_read+0x214>           <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
a00034fc:	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))                  
a0003500:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003504:	0a000005 	beq	a0003520 <rtems_termios_read+0x22c>           <== 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,                               
a0003508:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a000350c:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a0003510:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0003514:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0003518:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a000351c:	ea00000a 	b	a000354c <rtems_termios_read+0x258>             <== NOT EXECUTED
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
a0003520:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003524:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0003528:	0a000007 	beq	a000354c <rtems_termios_read+0x258>           <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
a000352c:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a0003530:	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;                                 
a0003534:	e3c22004 	bic	r2, r2, #4                                    <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a0003538:	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;                                 
a000353c:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a0003540:	0a000001 	beq	a000354c <rtems_termios_read+0x258>           <== NOT EXECUTED
			      tty->device.startRemoteTx(tty->minor);                       
a0003544:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003548:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
a000354c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003550:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0003554:	0a000005 	beq	a0003570 <rtems_termios_read+0x27c>           <== NOT EXECUTED
				if  (siproc (c, tty))                                             
a0003558:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000355c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003560:	ebffff00 	bl	a0003168 <siproc>                              <== NOT EXECUTED
a0003564:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003568:	1a000007 	bne	a000358c <rtems_termios_read+0x298>           <== NOT EXECUTED
a000356c:	ea000007 	b	a0003590 <rtems_termios_read+0x29c>             <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
a0003570:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0003574:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003578:	ebfffefa 	bl	a0003168 <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
a000357c:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0003580:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003584:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003588:	ba000000 	blt	a0003590 <rtems_termios_read+0x29c>           <== NOT EXECUTED
a000358c:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			timeout = tty->rawInBufSemaphoreTimeout;                           
a0003590:	e5948070 	ldr	r8, [r4, #112]	; 0x70                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a0003594:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003598:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a000359c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00035a0:	0a000004 	beq	a00035b8 <rtems_termios_read+0x2c4>           <== NOT EXECUTED
a00035a4:	e5993000 	ldr	r3, [r9]                                      <== NOT EXECUTED
a00035a8:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a00035ac:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a00035b0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00035b4:	baffffb4 	blt	a000348c <rtems_termios_read+0x198>           <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
a00035b8:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a00035bc:	0a000005 	beq	a00035d8 <rtems_termios_read+0x2e4>           <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
a00035c0:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a00035c4:	e594106c 	ldr	r1, [r4, #108]	; 0x6c                         <== NOT EXECUTED
a00035c8:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a00035cc:	eb0004e7 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
a00035d0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00035d4:	0affffee 	beq	a0003594 <rtems_termios_read+0x2a0>           <== NOT EXECUTED
{                                                                     
	rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;         
	rtems_status_code sc;                                                
	int               wait = (int)1;                                     
                                                                      
	while ( wait ) {                                                     
a00035d8:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a00035dc:	ea000006 	b	a00035fc <rtems_termios_read+0x308>             <== NOT EXECUTED
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
a00035e0:	e594101c 	ldr	r1, [r4, #28]                                 <== NOT EXECUTED
		count--;                                                            
a00035e4:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
a00035e8:	e7d12002 	ldrb	r2, [r1, r2]                                 <== NOT EXECUTED
a00035ec:	e59d1000 	ldr	r1, [sp]                                      <== NOT EXECUTED
a00035f0:	e7c12003 	strb	r2, [r1, r3]                                 <== NOT EXECUTED
a00035f4:	e5840024 	str	r0, [r4, #36]	; 0x24                          <== NOT EXECUTED
		count--;                                                            
a00035f8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a00035fc:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0003600:	0a000004 	beq	a0003618 <rtems_termios_read+0x324>           <== NOT EXECUTED
a0003604:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
a0003608:	e5941020 	ldr	r1, [r4, #32]                                 <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
a000360c:	e2820001 	add	r0, r2, #1                                    <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a0003610:	e1520001 	cmp	r2, r1                                        <== NOT EXECUTED
a0003614:	bafffff1 	blt	a00035e0 <rtems_termios_read+0x2ec>           <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
a0003618:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
a000361c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0003620:	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;                             
a0003624:	e0677003 	rsb	r7, r7, r3                                    <== NOT EXECUTED
a0003628:	e5857018 	str	r7, [r5, #24]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
a000362c:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a0003630:	eb000514 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
	return sc;                                                           
}                                                                     
a0003634:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0003638:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      <== NOT EXECUTED
a000363c:	a0018870 	.word	0xa0018870                                  
a0003640:	a0017584 	.word	0xa0017584                                  
a0003644:	00000202 	.word	0x00000202                                  
                                                                      
a00025f0 <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))          
a00025f0:	e59020b8 	ldr	r2, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a00025f4:	e59f31d4 	ldr	r3, [pc, #468]	; a00027d0 <rtems_termios_refill_transmitter+0x1e0><== 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)      
{                                                                     
a00025f8:	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))          
a00025fc:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0002600:	e59f21cc 	ldr	r2, [pc, #460]	; a00027d4 <rtems_termios_refill_transmitter+0x1e4><== 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)      
{                                                                     
a0002604:	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))          
a0002608:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a000260c:	1a00000e 	bne	a000264c <rtems_termios_refill_transmitter+0x5c><== NOT EXECUTED
	    == (FL_MDXOF | FL_IREQXOF)) {                                    
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
a0002610:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
a0002614:	e2422b01 	sub	r2, r2, #1024	; 0x400                         <== NOT EXECUTED
a0002618:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a000261c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0002620:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002624:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0002628:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a000262c:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
a0002630:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
a0002634:	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--;                                                    
a0002638:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
a000263c:	e3811002 	orr	r1, r1, #2                                    <== NOT EXECUTED
a0002640:	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--;                                                    
a0002644:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
a0002648:	ea000011 	b	a0002694 <rtems_termios_refill_transmitter+0xa4><== NOT EXECUTED
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
a000264c:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a0002650:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
a0002654:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0002658:	1a000010 	bne	a00026a0 <rtems_termios_refill_transmitter+0xb0><== NOT EXECUTED
		 * FIXME: this .write call will generate another                    
		 * dequeue callback. This will advance the "Tail" in the data       
		 * buffer, although the corresponding data is not yet out!          
		 * Therefore the dequeue "length" should be reduced by 1            
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
a000265c:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
a0002660:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002664:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a0002668:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a000266c:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0002670:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0002674:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0002678:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
a000267c:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
a0002680:	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--;                                                    
a0002684:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
a0002688:	e3c11002 	bic	r1, r1, #2                                    <== NOT EXECUTED
a000268c:	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--;                                                    
a0002690:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002694:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a0002698:	e3a05001 	mov	r5, #1                                        <== NOT EXECUTED
a000269c:	ea000049 	b	a00027c8 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
a00026a0:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
a00026a4:	e5903084 	ldr	r3, [r0, #132]	; 0x84                         <== NOT EXECUTED
a00026a8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00026ac:	1a000006 	bne	a00026cc <rtems_termios_refill_transmitter+0xdc><== NOT EXECUTED
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
a00026b0:	e5903094 	ldr	r3, [r0, #148]	; 0x94                         <== NOT EXECUTED
a00026b4:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a00026b8:	1a000001 	bne	a00026c4 <rtems_termios_refill_transmitter+0xd4><== NOT EXECUTED
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
a00026bc:	e590008c 	ldr	r0, [r0, #140]	; 0x8c                         <== NOT EXECUTED
a00026c0:	eb0008f0 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
a00026c4:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
a00026c8:	ea00003e 	b	a00027c8 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00026cc:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00026d0:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00026d4:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
a00026d8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
a00026dc:	e5900090 	ldr	r0, [r0, #144]	; 0x90                         <== NOT EXECUTED
	  tty->t_dqlen = 0;                                                  
a00026e0:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00026e4:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
a00026e8:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a00026ec:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
a00026f0:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
a00026f4:	eb004b18 	bl	a001535c <__umodsi3>                           <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
a00026f8:	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;       
a00026fc:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
a0002700:	e5840084 	str	r0, [r4, #132]	; 0x84                         <== NOT EXECUTED
	  if (tty->rawOutBufState == rob_wait) {                             
a0002704:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0002708:	1a000001 	bne	a0002714 <rtems_termios_refill_transmitter+0x124><== NOT EXECUTED
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
a000270c:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0002710:	eb0008dc 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
a0002714:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0002718:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
a000271c:	1a000009 	bne	a0002748 <rtems_termios_refill_transmitter+0x158><== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
a0002720:	e59430d4 	ldr	r3, [r4, #212]	; 0xd4                         <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
a0002724:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
a0002728:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
a000272c:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a0002730:	01a05003 	moveq	r5, r3                                      <== NOT EXECUTED
a0002734:	0a000022 	beq	a00027c4 <rtems_termios_refill_transmitter+0x1d4><== NOT EXECUTED
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
a0002738:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a000273c:	e59410d8 	ldr	r1, [r4, #216]	; 0xd8                         <== NOT EXECUTED
a0002740:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0002744:	ea00001e 	b	a00027c4 <rtems_termios_refill_transmitter+0x1d4><== NOT EXECUTED
	    }                                                                
	  }                                                                  
	  /* check, whether output should stop due to received XOFF */       
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
a0002748:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a000274c:	e2033e21 	and	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a0002750:	e3530e21 	cmp	r3, #528	; 0x210                              <== NOT EXECUTED
a0002754:	1a00000a 	bne	a0002784 <rtems_termios_refill_transmitter+0x194><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002758:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a000275c:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0002760:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		   ==                (FL_MDXON | FL_ORCVXOF)) {                     
		  /* Buffer not empty, but output stops due to XOFF */              
		  /* set flag, that output has been stopped */                      
		  rtems_interrupt_disable(level);                                   
		  tty->flow_ctrl |= FL_OSTOP;                                       
a0002764:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
a0002768:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000276c:	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;                                       
a0002770:	e3822020 	orr	r2, r2, #32                                   <== NOT EXECUTED
a0002774:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002778:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a000277c:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
a0002780:	ea00000f 	b	a00027c4 <rtems_termios_refill_transmitter+0x1d4><== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
a0002784:	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,                                 
a0002788:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a000278c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
a0002790:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
		    nToSend = tty->rawOutBuf.Size - newTail;                        
a0002794:	85945088 	ldrhi	r5, [r4, #136]	; 0x88                       <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
a0002798:	95945080 	ldrls	r5, [r4, #128]	; 0x80                       <== NOT EXECUTED
	    /* when flow control XON or XOF, don't send blocks of data     */
	    /* to allow fast reaction on incoming flow ctrl and low latency*/
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
a000279c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
a00027a0:	e0811006 	add	r1, r1, r6                                    <== NOT EXECUTED
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
		    nToSend = tty->rawOutBuf.Size - newTail;                        
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
a00027a4:	e0665005 	rsb	r5, r6, r5                                    <== NOT EXECUTED
	    /* when flow control XON or XOF, don't send blocks of data     */
	    /* to allow fast reaction on incoming flow ctrl and low latency*/
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
a00027a8:	e3130c06 	tst	r3, #1536	; 0x600                             <== NOT EXECUTED
a00027ac:	13a05001 	movne	r5, #1                                      <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
a00027b0:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a00027b4:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    (*tty->device.write)(tty->minor,                                 
a00027b8:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a00027bc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a00027c0:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
a00027c4:	e5846084 	str	r6, [r4, #132]	; 0x84                         <== NOT EXECUTED
	}                                                                    
	return nToSend;                                                      
}                                                                     
a00027c8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00027cc:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
a00027d0:	00000403 	.word	0x00000403                                  
a00027d4:	00000401 	.word	0x00000401                                  
                                                                      
a0004004 <rtems_termios_rxdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
a0004004:	e92d40f3 	push	{r0, r1, r4, r5, r6, r7, lr}                 <== NOT EXECUTED
a0004008:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
a000400c:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
a0004010:	e28d6007 	add	r6, sp, #7                                    <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
a0004014:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a0004018:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a000401c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0004020:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a0004024:	eb0000e1 	bl	a00043b0 <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) {                
a0004028:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000402c:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0004030:	0a000003 	beq	a0004044 <rtems_termios_rxdaemon+0x40>        <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
a0004034:	e58450c4 	str	r5, [r4, #196]	; 0xc4                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
a0004038:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000403c:	eb00030a 	bl	a0004c6c <rtems_task_delete>                   <== NOT EXECUTED
a0004040:	eafffff3 	b	a0004014 <rtems_termios_rxdaemon+0x10>          <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
a0004044:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0004048:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a000404c:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (c != EOF) {                                                    
a0004050:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
a0004054:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
a0004058:	0affffed 	beq	a0004014 <rtems_termios_rxdaemon+0x10>        <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
a000405c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0004060:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0004064:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
a0004068:	e5cd3007 	strb	r3, [sp, #7]                                 <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
a000406c:	ebfff9f4 	bl	a0002844 <rtems_termios_enqueue_raw_characters><== NOT EXECUTED
a0004070:	eaffffe7 	b	a0004014 <rtems_termios_rxdaemon+0x10>          <== NOT EXECUTED
                                                                      
a00025e4 <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);               
a00025e4:	e59000c4 	ldr	r0, [r0, #196]	; 0xc4                         <== NOT EXECUTED
a00025e8:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a00025ec:	ea0007cb 	b	a0004520 <rtems_event_send>                     <== NOT EXECUTED
                                                                      
a0003f98 <rtems_termios_txdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
a0003f98:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
a0003f9c:	e59f705c 	ldr	r7, [pc, #92]	; a0004000 <rtems_termios_txdaemon+0x68><== NOT EXECUTED
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
a0003fa0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
a0003fa4:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
a0003fa8:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a0003fac:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0003fb0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0003fb4:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a0003fb8:	eb0000fc 	bl	a00043b0 <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) {                
a0003fbc:	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);                   
a0003fc0:	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) {                
a0003fc4:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0003fc8:	0a000003 	beq	a0003fdc <rtems_termios_txdaemon+0x44>        <== NOT EXECUTED
			tty->txTaskId = 0;                                                 
a0003fcc:	e58450c8 	str	r5, [r4, #200]	; 0xc8                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
a0003fd0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003fd4:	eb000324 	bl	a0004c6c <rtems_task_delete>                   <== NOT EXECUTED
a0003fd8:	eafffff2 	b	a0003fa8 <rtems_termios_txdaemon+0x10>          <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
a0003fdc:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a0003fe0:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
a0003fe4:	e5933014 	ldr	r3, [r3, #20]                                 <== NOT EXECUTED
a0003fe8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003fec:	0a000000 	beq	a0003ff4 <rtems_termios_txdaemon+0x5c>        <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
a0003ff0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
a0003ff4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003ff8:	ebfff97c 	bl	a00025f0 <rtems_termios_refill_transmitter>    <== NOT EXECUTED
a0003ffc:	eaffffe9 	b	a0003fa8 <rtems_termios_txdaemon+0x10>          <== NOT EXECUTED
a0004000:	a0018870 	.word	0xa0018870                                  
                                                                      
a00031c8 <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;                    
a00031c8:	e5903000 	ldr	r3, [r0]                                      
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a00031cc:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00031d0:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00031d4:	e3a01000 	mov	r1, #0                                        
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a00031d8:	e1a04000 	mov	r4, r0                                        
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00031dc:	e1a02001 	mov	r2, r1                                        
a00031e0:	e5950018 	ldr	r0, [r5, #24]                                 
a00031e4:	eb0005e1 	bl	a0004970 <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
a00031e8:	e2506000 	subs	r6, r0, #0                                   
a00031ec:	1a000021 	bne	a0003278 <rtems_termios_write+0xb0>           
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
a00031f0:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         
a00031f4:	e59f3084 	ldr	r3, [pc, #132]	; a0003280 <rtems_termios_write+0xb8>
a00031f8:	e0833282 	add	r3, r3, r2, lsl #5                            
a00031fc:	e593300c 	ldr	r3, [r3, #12]                                 
a0003200:	e3530000 	cmp	r3, #0                                        
a0003204:	0a000004 	beq	a000321c <rtems_termios_write+0x54>           
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
a0003208:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000320c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003210:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003214:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0003218:	ea000014 	b	a0003270 <rtems_termios_write+0xa8>             <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
a000321c:	e5953034 	ldr	r3, [r5, #52]	; 0x34                          
a0003220:	e3130001 	tst	r3, #1                                        
		uint32_t   count = args->count;                                     
a0003224:	15948010 	ldrne	r8, [r4, #16]                               
		char      *buffer = args->buffer;                                   
a0003228:	1594a00c 	ldrne	sl, [r4, #12]                               
a000322c:	11a07006 	movne	r7, r6                                      
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
		rtems_semaphore_release (tty->osem);                                
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
a0003230:	1a000004 	bne	a0003248 <rtems_termios_write+0x80>           
a0003234:	ea000007 	b	a0003258 <rtems_termios_write+0x90>             <== NOT EXECUTED
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
			oproc (*buffer++, tty);                                            
a0003238:	e7da0007 	ldrb	r0, [sl, r7]                                 
a000323c:	ebfffe76 	bl	a0002c1c <oproc>                               
a0003240:	e2877001 	add	r7, r7, #1                                    
a0003244:	e2488001 	sub	r8, r8, #1                                    
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
a0003248:	e3580000 	cmp	r8, #0                                        
			oproc (*buffer++, tty);                                            
a000324c:	e1a01005 	mov	r1, r5                                        
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
a0003250:	1afffff8 	bne	a0003238 <rtems_termios_write+0x70>           
a0003254:	ea000003 	b	a0003268 <rtems_termios_write+0xa0>             
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
a0003258:	e594000c 	ldr	r0, [r4, #12]                                 <== NOT EXECUTED
a000325c:	e5941010 	ldr	r1, [r4, #16]                                 <== NOT EXECUTED
a0003260:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0003264:	ebfffe27 	bl	a0002b08 <rtems_termios_puts>                  <== NOT EXECUTED
		args->bytes_moved = args->count;                                    
a0003268:	e5943010 	ldr	r3, [r4, #16]                                 
a000326c:	e5843018 	str	r3, [r4, #24]                                 
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
a0003270:	e5950018 	ldr	r0, [r5, #24]                                 
a0003274:	eb000603 	bl	a0004a88 <rtems_semaphore_release>             
	return sc;                                                           
}                                                                     
a0003278:	e1a00006 	mov	r0, r6                                        
a000327c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a0003280:	a0018870 	.word	0xa0018870                                  
                                                                      
a00062bc <rtems_verror>:                                              
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
a00062bc:	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)                               
a00062c0:	e2107202 	ands	r7, r0, #536870912	; 0x20000000              <== NOT EXECUTED
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
a00062c4:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a00062c8:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
a00062cc:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
a00062d0:	0a00000d 	beq	a000630c <rtems_verror+0x50>                  <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
a00062d4:	e59f3164 	ldr	r3, [pc, #356]	; a0006440 <rtems_verror+0x184><== NOT EXECUTED
a00062d8:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a00062dc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00062e0:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a00062e4:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
a00062e8:	0a000003 	beq	a00062fc <rtems_verror+0x40>                  <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a00062ec:	e59f3150 	ldr	r3, [pc, #336]	; a0006444 <rtems_verror+0x188><== NOT EXECUTED
a00062f0:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a00062f4:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a00062f8:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
a00062fc:	e59f313c 	ldr	r3, [pc, #316]	; a0006440 <rtems_verror+0x184><== NOT EXECUTED
a0006300:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0006304:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0006308:	ca00004a 	bgt	a0006438 <rtems_verror+0x17c>                 <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
a000630c:	e59f3134 	ldr	r3, [pc, #308]	; a0006448 <rtems_verror+0x18c><== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
a0006310:	e3c68207 	bic	r8, r6, #1879048192	; 0x70000000              <== NOT EXECUTED
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
a0006314:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0006318:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a000631c:	eb003077 	bl	a0012500 <fflush>                              <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
a0006320:	e2165101 	ands	r5, r6, #1073741824	; 0x40000000             <== NOT EXECUTED
a0006324:	0a000001 	beq	a0006330 <rtems_verror+0x74>                  <== NOT EXECUTED
        local_errno = errno;                                          
a0006328:	eb002f81 	bl	a0012134 <__errno>                             <== NOT EXECUTED
a000632c:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
a0006330:	e59fa110 	ldr	sl, [pc, #272]	; a0006448 <rtems_verror+0x18c><== NOT EXECUTED
a0006334:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0006338:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a000633c:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
a0006340:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006344:	eb00488e 	bl	a0018584 <vfprintf>                            <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006348:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
a000634c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006350:	0a000008 	beq	a0006378 <rtems_verror+0xbc>                  <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
a0006354:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
a0006358:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000635c:	e593800c 	ldr	r8, [r3, #12]                                 <== NOT EXECUTED
a0006360:	ebffffd1 	bl	a00062ac <rtems_status_text>                   <== NOT EXECUTED
a0006364:	e59f10e0 	ldr	r1, [pc, #224]	; a000644c <rtems_verror+0x190><== NOT EXECUTED
a0006368:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a000636c:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006370:	eb003120 	bl	a00127f8 <fprintf>                             <== NOT EXECUTED
a0006374:	e0844000 	add	r4, r4, r0                                    <== NOT EXECUTED
                                                                      
    if (local_errno)                                                  
a0006378:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a000637c:	0a000015 	beq	a00063d8 <rtems_verror+0x11c>                 <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
a0006380:	da00000d 	ble	a00063bc <rtems_verror+0x100>                 <== NOT EXECUTED
a0006384:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0006388:	eb00342d 	bl	a0013444 <strerror>                            <== NOT EXECUTED
a000638c:	e5d03000 	ldrb	r3, [r0]                                     <== NOT EXECUTED
a0006390:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006394:	0a000008 	beq	a00063bc <rtems_verror+0x100>                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
a0006398:	e59f30a8 	ldr	r3, [pc, #168]	; a0006448 <rtems_verror+0x18c><== NOT EXECUTED
a000639c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00063a0:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a00063a4:	e593800c 	ldr	r8, [r3, #12]                                 <== NOT EXECUTED
a00063a8:	eb003425 	bl	a0013444 <strerror>                            <== NOT EXECUTED
a00063ac:	e59f109c 	ldr	r1, [pc, #156]	; a0006450 <rtems_verror+0x194><== NOT EXECUTED
a00063b0:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a00063b4:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a00063b8:	ea000004 	b	a00063d0 <rtems_verror+0x114>                   <== NOT EXECUTED
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
a00063bc:	e59f3084 	ldr	r3, [pc, #132]	; a0006448 <rtems_verror+0x18c><== NOT EXECUTED
a00063c0:	e59f108c 	ldr	r1, [pc, #140]	; a0006454 <rtems_verror+0x198><== NOT EXECUTED
a00063c4:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a00063c8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a00063cc:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a00063d0:	eb003108 	bl	a00127f8 <fprintf>                             <== NOT EXECUTED
a00063d4:	e0844000 	add	r4, r4, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
a00063d8:	e59f8068 	ldr	r8, [pc, #104]	; a0006448 <rtems_verror+0x18c><== NOT EXECUTED
a00063dc:	e59f1074 	ldr	r1, [pc, #116]	; a0006458 <rtems_verror+0x19c><== NOT EXECUTED
a00063e0:	e5983000 	ldr	r3, [r8]                                      <== NOT EXECUTED
a00063e4:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a00063e8:	eb003102 	bl	a00127f8 <fprintf>                             <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
a00063ec:	e5983000 	ldr	r3, [r8]                                      <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
a00063f0:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
a00063f4:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a00063f8:	eb003040 	bl	a0012500 <fflush>                              <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
a00063fc:	e3160203 	tst	r6, #805306368	; 0x30000000                   <== NOT EXECUTED
a0006400:	1a000001 	bne	a000640c <rtems_verror+0x150>                 <== 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");                           
a0006404:	e08a0004 	add	r0, sl, r4                                    <== NOT EXECUTED
a0006408:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
a000640c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0006410:	0a000004 	beq	a0006428 <rtems_verror+0x16c>                 <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
a0006414:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006418:	e59f103c 	ldr	r1, [pc, #60]	; a000645c <rtems_verror+0x1a0> <== NOT EXECUTED
a000641c:	eb00001b 	bl	a0006490 <rtems_error>                         <== NOT EXECUTED
            _exit(local_errno);                                       
a0006420:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0006424:	eb0002d0 	bl	a0006f6c <_exit>                               <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
a0006428:	e59f1030 	ldr	r1, [pc, #48]	; a0006460 <rtems_verror+0x1a4> <== NOT EXECUTED
a000642c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006430:	eb000016 	bl	a0006490 <rtems_error>                         <== NOT EXECUTED
            abort();                                                  
a0006434:	eb002f35 	bl	a0012110 <abort>                               <== NOT EXECUTED
a0006438:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
a000643c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
a0006440:	a0023b14 	.word	0xa0023b14                                  
a0006444:	a0023c8c 	.word	0xa0023c8c                                  
a0006448:	a0020f74 	.word	0xa0020f74                                  
a000644c:	a002274f 	.word	0xa002274f                                  
a0006450:	a002275d 	.word	0xa002275d                                  
a0006454:	a002276a 	.word	0xa002276a                                  
a0006458:	a0022a91 	.word	0xa0022a91                                  
a000645c:	a002277e 	.word	0xa002277e                                  
a0006460:	a0022793 	.word	0xa0022793                                  
                                                                      
a0022240 <scanInt>:                                                   
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a0022240:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0022244:	e59fb0d8 	ldr	fp, [pc, #216]	; a0022324 <scanInt+0xe4>      
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a0022248:	e59f90d8 	ldr	r9, [pc, #216]	; a0022328 <scanInt+0xe8>      
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a002224c:	e3a04000 	mov	r4, #0                                        
a0022250:	e1a05000 	mov	r5, r0                                        
a0022254:	e58d1000 	str	r1, [sp]                                      
a0022258:	e3e08102 	mvn	r8, #-2147483648	; 0x80000000                 
a002225c:	e1a07004 	mov	r7, r4                                        
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0022260:	e3a0a00a 	mov	sl, #10                                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0022264:	e5953004 	ldr	r3, [r5, #4]                                  
a0022268:	e2433001 	sub	r3, r3, #1                                    
a002226c:	e3530000 	cmp	r3, #0                                        
a0022270:	e5853004 	str	r3, [r5, #4]                                  
a0022274:	a5953000 	ldrge	r3, [r5]                                    
a0022278:	a4d36001 	ldrbge	r6, [r3], #1                               
a002227c:	a5853000 	strge	r3, [r5]                                    
a0022280:	aa000003 	bge	a0022294 <scanInt+0x54>                       
a0022284:	e59b0000 	ldr	r0, [fp]                                      <== NOT EXECUTED
a0022288:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a002228c:	eb006d5f 	bl	a003d810 <__srget_r>                           <== NOT EXECUTED
a0022290:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    if (c == ':')                                                     
a0022294:	e356003a 	cmp	r6, #58	; 0x3a                                
a0022298:	0a000019 	beq	a0022304 <scanInt+0xc4>                       
      break;                                                          
    if (sign == 0) {                                                  
a002229c:	e3540000 	cmp	r4, #0                                        
a00222a0:	1a000004 	bne	a00222b8 <scanInt+0x78>                       
      if (c == '-') {                                                 
a00222a4:	e356002d 	cmp	r6, #45	; 0x2d                                
        sign = -1;                                                    
        limit++;                                                      
a00222a8:	02888001 	addeq	r8, r8, #1                                  
a00222ac:	03e04000 	mvneq	r4, #0                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
a00222b0:	0affffeb 	beq	a0022264 <scanInt+0x24>                       
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
a00222b4:	e3a04001 	mov	r4, #1                                        
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a00222b8:	e5993000 	ldr	r3, [r9]                                      
a00222bc:	e0833006 	add	r3, r3, r6                                    
a00222c0:	e5d33001 	ldrb	r3, [r3, #1]                                 
a00222c4:	e3130004 	tst	r3, #4                                        
a00222c8:	0a000013 	beq	a002231c <scanInt+0xdc>                       
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a00222cc:	e1a00008 	mov	r0, r8                                        
a00222d0:	e3a0100a 	mov	r1, #10                                       
a00222d4:	eb00b7d2 	bl	a0050224 <__aeabi_uidiv>                       
a00222d8:	e1570000 	cmp	r7, r0                                        
a00222dc:	8a00000e 	bhi	a002231c <scanInt+0xdc>                       
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
a00222e0:	e2466030 	sub	r6, r6, #48	; 0x30                            
    if ((i > (limit / 10))                                            
a00222e4:	1a000004 	bne	a00222fc <scanInt+0xbc>                       
a00222e8:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a00222ec:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
a00222f0:	eb00b85f 	bl	a0050474 <__umodsi3>                           <== NOT EXECUTED
a00222f4:	e1560000 	cmp	r6, r0                                        <== NOT EXECUTED
a00222f8:	8a000007 	bhi	a002231c <scanInt+0xdc>                       <== NOT EXECUTED
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a00222fc:	e027679a 	mla	r7, sl, r7, r6                                
a0022300:	eaffffd7 	b	a0022264 <scanInt+0x24>                         
  }                                                                   
  if (sign == 0)                                                      
a0022304:	e3540000 	cmp	r4, #0                                        
    return 0;                                                         
  *val = i * sign;                                                    
a0022308:	10030497 	mulne	r3, r7, r4                                  
a002230c:	159d2000 	ldrne	r2, [sp]                                    
a0022310:	13a00001 	movne	r0, #1                                      
a0022314:	15823000 	strne	r3, [r2]                                    
  return 1;                                                           
a0022318:	1a000000 	bne	a0022320 <scanInt+0xe0>                       
a002231c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0022320:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      
a0022324:	a0052dfc 	.word	0xa0052dfc                                  
a0022328:	a0052df0 	.word	0xa0052df0                                  
                                                                      
a002232c <scanString>:                                                
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
a002232c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0022330:	e1a04002 	mov	r4, r2                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a0022334:	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)
{                                                                     
a0022338:	e59d6018 	ldr	r6, [sp, #24]                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a002233c:	e59f70c8 	ldr	r7, [pc, #200]	; a002240c <scanString+0xe0>   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a0022340:	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)
{                                                                     
a0022344:	e1a05000 	mov	r5, r0                                        
a0022348:	e1a08003 	mov	r8, r3                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a002234c:	e5953004 	ldr	r3, [r5, #4]                                  
a0022350:	e2433001 	sub	r3, r3, #1                                    
a0022354:	e3530000 	cmp	r3, #0                                        
a0022358:	e5853004 	str	r3, [r5, #4]                                  
a002235c:	a5953000 	ldrge	r3, [r5]                                    
a0022360:	a4d30001 	ldrbge	r0, [r3], #1                               
a0022364:	a5853000 	strge	r3, [r5]                                    
a0022368:	aa000002 	bge	a0022378 <scanString+0x4c>                    
a002236c:	e5970000 	ldr	r0, [r7]                                      
a0022370:	e1a01005 	mov	r1, r5                                        
a0022374:	eb006d25 	bl	a003d810 <__srget_r>                           
    if (c == ':') {                                                   
a0022378:	e350003a 	cmp	r0, #58	; 0x3a                                
a002237c:	1a000002 	bne	a002238c <scanString+0x60>                    
        if (nlFlag)                                                   
a0022380:	e3560000 	cmp	r6, #0                                        
a0022384:	0a000013 	beq	a00223d8 <scanString+0xac>                    
a0022388:	ea00001d 	b	a0022404 <scanString+0xd8>                      <== NOT EXECUTED
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
a002238c:	e350000a 	cmp	r0, #10                                       
a0022390:	1a000002 	bne	a00223a0 <scanString+0x74>                    
        if (!nlFlag)                                                  
a0022394:	e3560000 	cmp	r6, #0                                        
a0022398:	1a00000e 	bne	a00223d8 <scanString+0xac>                    
a002239c:	ea000018 	b	a0022404 <scanString+0xd8>                      <== NOT EXECUTED
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
a00223a0:	e3700001 	cmn	r0, #1                                        
a00223a4:	0a000016 	beq	a0022404 <scanString+0xd8>                    
      return 0;                                                       
    if (*nleft < 2)                                                   
a00223a8:	e5983000 	ldr	r3, [r8]                                      
a00223ac:	e3530001 	cmp	r3, #1                                        
a00223b0:	9a000013 	bls	a0022404 <scanString+0xd8>                    
      return 0;                                                       
    **bufp = c;                                                       
a00223b4:	e5943000 	ldr	r3, [r4]                                      
a00223b8:	e5c30000 	strb	r0, [r3]                                     
    ++(*bufp);                                                        
a00223bc:	e5942000 	ldr	r2, [r4]                                      
    --(*nleft);                                                       
a00223c0:	e5983000 	ldr	r3, [r8]                                      
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a00223c4:	e2822001 	add	r2, r2, #1                                    
    --(*nleft);                                                       
a00223c8:	e2433001 	sub	r3, r3, #1                                    
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a00223cc:	e5842000 	str	r2, [r4]                                      
    --(*nleft);                                                       
a00223d0:	e5883000 	str	r3, [r8]                                      
  }                                                                   
a00223d4:	eaffffdc 	b	a002234c <scanString+0x20>                      
  **bufp = '\0';                                                      
a00223d8:	e5943000 	ldr	r3, [r4]                                      
a00223dc:	e3a02000 	mov	r2, #0                                        
  ++(*bufp);                                                          
  --(*nleft);                                                         
a00223e0:	e3a00001 	mov	r0, #1                                        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a00223e4:	e5c32000 	strb	r2, [r3]                                     
  ++(*bufp);                                                          
a00223e8:	e5942000 	ldr	r2, [r4]                                      
  --(*nleft);                                                         
a00223ec:	e5983000 	ldr	r3, [r8]                                      
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a00223f0:	e0822000 	add	r2, r2, r0                                    
  --(*nleft);                                                         
a00223f4:	e2433001 	sub	r3, r3, #1                                    
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a00223f8:	e5842000 	str	r2, [r4]                                      
  --(*nleft);                                                         
a00223fc:	e5883000 	str	r3, [r8]                                      
  return 1;                                                           
a0022400:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
a0022404:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0022408:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
a002240c:	a0052dfc 	.word	0xa0052dfc                                  
                                                                      
a0022410 <scangr>:                                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0022410:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0022414:	e24dd014 	sub	sp, sp, #20                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0022418:	e28d6008 	add	r6, sp, #8                                    
a002241c:	e28d5004 	add	r5, sp, #4                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0022420:	e58d2008 	str	r2, [sp, #8]                                  
a0022424:	e58d3004 	str	r3, [sp, #4]                                  
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0022428:	e3a08000 	mov	r8, #0                                        
a002242c:	e1a02006 	mov	r2, r6                                        
a0022430:	e1a03005 	mov	r3, r5                                        
a0022434:	e58d8000 	str	r8, [sp]                                      
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0022438:	e1a07000 	mov	r7, r0                                        
a002243c:	e1a04001 	mov	r4, r1                                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0022440:	ebffffb9 	bl	a002232c <scanString>                          
a0022444:	e1500008 	cmp	r0, r8                                        
a0022448:	0a00003b 	beq	a002253c <scangr+0x12c>                       
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
a002244c:	e1a00007 	mov	r0, r7                                        
a0022450:	e2841004 	add	r1, r4, #4                                    
a0022454:	e1a02006 	mov	r2, r6                                        
a0022458:	e1a03005 	mov	r3, r5                                        
a002245c:	e58d8000 	str	r8, [sp]                                      
a0022460:	ebffffb1 	bl	a002232c <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0022464:	e1500008 	cmp	r0, r8                                        
a0022468:	0a000033 	beq	a002253c <scangr+0x12c>                       
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
a002246c:	e1a00007 	mov	r0, r7                                        
a0022470:	e28d1010 	add	r1, sp, #16                                   
a0022474:	ebffff71 	bl	a0022240 <scanInt>                             
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0022478:	e1500008 	cmp	r0, r8                                        
a002247c:	0a00002e 	beq	a002253c <scangr+0x12c>                       
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
a0022480:	e1a03005 	mov	r3, r5                                        
a0022484:	e1a00007 	mov	r0, r7                                        
a0022488:	e1a02006 	mov	r2, r6                                        
a002248c:	e3a05001 	mov	r5, #1                                        
a0022490:	e28d100c 	add	r1, sp, #12                                   
a0022494:	e58d5000 	str	r5, [sp]                                      
a0022498:	ebffffa3 	bl	a002232c <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a002249c:	e1500008 	cmp	r0, r8                                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
a00224a0:	11dd31b0 	ldrhne	r3, [sp, #16]                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00224a4:	159d000c 	ldrne	r0, [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;                                                
a00224a8:	11c430b8 	strhne	r3, [r4, #8]                               
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a00224ac:	1a000002 	bne	a00224bc <scangr+0xac>                        
a00224b0:	ea000021 	b	a002253c <scangr+0x12c>                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',')                                                    
a00224b4:	e353002c 	cmp	r3, #44	; 0x2c                                
      memcount++;                                                     
a00224b8:	02855001 	addeq	r5, r5, #1                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00224bc:	e7d03008 	ldrb	r3, [r0, r8]                                 
    if(*cp == ',')                                                    
      memcount++;                                                     
a00224c0:	e2888001 	add	r8, r8, #1                                    
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00224c4:	e3530000 	cmp	r3, #0                                        
a00224c8:	1afffff9 	bne	a00224b4 <scangr+0xa4>                        
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
a00224cc:	e59d2004 	ldr	r2, [sp, #4]                                  
a00224d0:	e1a05105 	lsl	r5, r5, #2                                    
a00224d4:	e2855013 	add	r5, r5, #19                                   
a00224d8:	e1520005 	cmp	r2, r5                                        
a00224dc:	3a000016 	bcc	a002253c <scangr+0x12c>                       
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
a00224e0:	e59d1008 	ldr	r1, [sp, #8]                                  
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
a00224e4:	e3a02001 	mov	r2, #1                                        
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
a00224e8:	e1a0c003 	mov	ip, r3                                        
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
a00224ec:	e281100f 	add	r1, r1, #15                                   
a00224f0:	e3c1100f 	bic	r1, r1, #15                                   
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
a00224f4:	e5810000 	str	r0, [r1]                                      
  /*                                                                  
   * 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);            
a00224f8:	e584100c 	str	r1, [r4, #12]                                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
a00224fc:	e59d100c 	ldr	r1, [sp, #12]                                 
a0022500:	e0813002 	add	r3, r1, r2                                    
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0022504:	ea000005 	b	a0022520 <scangr+0x110>                         
    if(*cp == ',') {                                                  
a0022508:	e351002c 	cmp	r1, #44	; 0x2c                                
      *cp = '\0';                                                     
a002250c:	0543c001 	strbeq	ip, [r3, #-1]                              
      grp->gr_mem[memcount++] = cp + 1;                               
a0022510:	0594100c 	ldreq	r1, [r4, #12]                               
a0022514:	07813102 	streq	r3, [r1, r2, lsl #2]                        
a0022518:	02822001 	addeq	r2, r2, #1                                  
a002251c:	e2833001 	add	r3, r3, #1                                    
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0022520:	e5531001 	ldrb	r1, [r3, #-1]                                
a0022524:	e3510000 	cmp	r1, #0                                        
a0022528:	1afffff6 	bne	a0022508 <scangr+0xf8>                        
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
a002252c:	e594300c 	ldr	r3, [r4, #12]                                 
a0022530:	e3a00001 	mov	r0, #1                                        
a0022534:	e7831102 	str	r1, [r3, r2, lsl #2]                          
  return 1;                                                           
a0022538:	ea000000 	b	a0022540 <scangr+0x130>                         
a002253c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0022540:	e28dd014 	add	sp, sp, #20                                   
a0022544:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
a0022588 <scanpw>:                                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0022588:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a002258c:	e24dd014 	sub	sp, sp, #20                                   
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0022590:	e28d7008 	add	r7, sp, #8                                    
a0022594:	e28d6004 	add	r6, sp, #4                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0022598:	e58d2008 	str	r2, [sp, #8]                                  
a002259c:	e58d3004 	str	r3, [sp, #4]                                  
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00225a0:	e3a08000 	mov	r8, #0                                        
a00225a4:	e1a02007 	mov	r2, r7                                        
a00225a8:	e1a03006 	mov	r3, r6                                        
a00225ac:	e58d8000 	str	r8, [sp]                                      
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a00225b0:	e1a05000 	mov	r5, r0                                        
a00225b4:	e1a04001 	mov	r4, r1                                        
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00225b8:	ebffff5b 	bl	a002232c <scanString>                          
a00225bc:	e1500008 	cmp	r0, r8                                        
a00225c0:	0a000038 	beq	a00226a8 <scanpw+0x120>                       
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
a00225c4:	e1a00005 	mov	r0, r5                                        
a00225c8:	e2841004 	add	r1, r4, #4                                    
a00225cc:	e1a02007 	mov	r2, r7                                        
a00225d0:	e1a03006 	mov	r3, r6                                        
a00225d4:	e58d8000 	str	r8, [sp]                                      
a00225d8:	ebffff53 	bl	a002232c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00225dc:	e1500008 	cmp	r0, r8                                        
a00225e0:	0a000030 	beq	a00226a8 <scanpw+0x120>                       
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
a00225e4:	e1a00005 	mov	r0, r5                                        
a00225e8:	e28d1010 	add	r1, sp, #16                                   
a00225ec:	ebffff13 	bl	a0022240 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00225f0:	e1500008 	cmp	r0, r8                                        
a00225f4:	0a00002b 	beq	a00226a8 <scanpw+0x120>                       
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
a00225f8:	e1a00005 	mov	r0, r5                                        
a00225fc:	e28d100c 	add	r1, sp, #12                                   
a0022600:	ebffff0e 	bl	a0022240 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0022604:	e1500008 	cmp	r0, r8                                        
a0022608:	0a000026 	beq	a00226a8 <scanpw+0x120>                       
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
a002260c:	e1a00005 	mov	r0, r5                                        
a0022610:	e284100c 	add	r1, r4, #12                                   
a0022614:	e1a02007 	mov	r2, r7                                        
a0022618:	e1a03006 	mov	r3, r6                                        
a002261c:	e58d8000 	str	r8, [sp]                                      
a0022620:	ebffff41 	bl	a002232c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0022624:	e1500008 	cmp	r0, r8                                        
a0022628:	0a00001e 	beq	a00226a8 <scanpw+0x120>                       
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
a002262c:	e1a00005 	mov	r0, r5                                        
a0022630:	e2841010 	add	r1, r4, #16                                   
a0022634:	e1a02007 	mov	r2, r7                                        
a0022638:	e1a03006 	mov	r3, r6                                        
a002263c:	e58d8000 	str	r8, [sp]                                      
a0022640:	ebffff39 	bl	a002232c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0022644:	e1500008 	cmp	r0, r8                                        
a0022648:	0a000016 	beq	a00226a8 <scanpw+0x120>                       
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
a002264c:	e1a00005 	mov	r0, r5                                        
a0022650:	e2841014 	add	r1, r4, #20                                   
a0022654:	e1a02007 	mov	r2, r7                                        
a0022658:	e1a03006 	mov	r3, r6                                        
a002265c:	e58d8000 	str	r8, [sp]                                      
a0022660:	ebffff31 	bl	a002232c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0022664:	e1500008 	cmp	r0, r8                                        
a0022668:	0a00000e 	beq	a00226a8 <scanpw+0x120>                       
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
a002266c:	e1a00005 	mov	r0, r5                                        
a0022670:	e1a02007 	mov	r2, r7                                        
a0022674:	e1a03006 	mov	r3, r6                                        
a0022678:	e3a05001 	mov	r5, #1                                        
a002267c:	e2841018 	add	r1, r4, #24                                   
a0022680:	e58d5000 	str	r5, [sp]                                      
a0022684:	ebffff28 	bl	a002232c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0022688:	e1500008 	cmp	r0, r8                                        
a002268c:	0a000005 	beq	a00226a8 <scanpw+0x120>                       
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
a0022690:	e1dd30bc 	ldrh	r3, [sp, #12]                                
a0022694:	e1a00005 	mov	r0, r5                                        
a0022698:	e1c430ba 	strh	r3, [r4, #10]                                
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
a002269c:	e1dd31b0 	ldrh	r3, [sp, #16]                                
a00226a0:	e1c430b8 	strh	r3, [r4, #8]                                 
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
a00226a4:	ea000000 	b	a00226ac <scanpw+0x124>                         
a00226a8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a00226ac:	e28dd014 	add	sp, sp, #20                                   
a00226b0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
a00221f8 <setgid>:                                                    
                                                                      
int setgid(                                                           
  gid_t  gid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Gid = gid;                                             
a00221f8:	e59f300c 	ldr	r3, [pc, #12]	; a002220c <setgid+0x14>        <== NOT EXECUTED
a00221fc:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0022200:	e1c303b4 	strh	r0, [r3, #52]	; 0x34                         <== NOT EXECUTED
  return 0;                                                           
}                                                                     
a0022204:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0022208:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a002220c:	a0052628 	.word	0xa0052628                                  
                                                                      
a00227c0 <setgrent>:                                                  
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
a00227c0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  init_etc_passwd_group();                                            
a00227c4:	ebffffca 	bl	a00226f4 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (group_fp != NULL)                                               
a00227c8:	e59f3024 	ldr	r3, [pc, #36]	; a00227f4 <setgrent+0x34>      <== NOT EXECUTED
a00227cc:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a00227d0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00227d4:	0a000000 	beq	a00227dc <setgrent+0x1c>                      <== NOT EXECUTED
    fclose(group_fp);                                                 
a00227d8:	eb00575a 	bl	a0038548 <fclose>                              <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
a00227dc:	e59f0014 	ldr	r0, [pc, #20]	; a00227f8 <setgrent+0x38>      <== NOT EXECUTED
a00227e0:	e59f1014 	ldr	r1, [pc, #20]	; a00227fc <setgrent+0x3c>      <== NOT EXECUTED
a00227e4:	eb00597a 	bl	a0038dd4 <fopen>                               <== NOT EXECUTED
a00227e8:	e59f3004 	ldr	r3, [pc, #4]	; a00227f4 <setgrent+0x34>       <== NOT EXECUTED
a00227ec:	e5830000 	str	r0, [r3]                                      <== NOT EXECUTED
}                                                                     
a00227f0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
a00227f4:	a005f874 	.word	0xa005f874                                  
a00227f8:	a00565f0 	.word	0xa00565f0                                  
a00227fc:	a0057203 	.word	0xa0057203                                  
                                                                      
a0022994 <setpwent>:                                                  
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
a0022994:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  init_etc_passwd_group();                                            
a0022998:	ebffff55 	bl	a00226f4 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (passwd_fp != NULL)                                              
a002299c:	e59f3024 	ldr	r3, [pc, #36]	; a00229c8 <setpwent+0x34>      <== NOT EXECUTED
a00229a0:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
a00229a4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00229a8:	0a000000 	beq	a00229b0 <setpwent+0x1c>                      <== NOT EXECUTED
    fclose(passwd_fp);                                                
a00229ac:	eb0056e5 	bl	a0038548 <fclose>                              <== NOT EXECUTED
  passwd_fp = fopen("/etc/passwd", "r");                              
a00229b0:	e59f0014 	ldr	r0, [pc, #20]	; a00229cc <setpwent+0x38>      <== NOT EXECUTED
a00229b4:	e59f1014 	ldr	r1, [pc, #20]	; a00229d0 <setpwent+0x3c>      <== NOT EXECUTED
a00229b8:	eb005905 	bl	a0038dd4 <fopen>                               <== NOT EXECUTED
a00229bc:	e59f3004 	ldr	r3, [pc, #4]	; a00229c8 <setpwent+0x34>       <== NOT EXECUTED
a00229c0:	e5830004 	str	r0, [r3, #4]                                  <== NOT EXECUTED
}                                                                     
a00229c4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
a00229c8:	a005f874 	.word	0xa005f874                                  
a00229cc:	a0056542 	.word	0xa0056542                                  
a00229d0:	a0057203 	.word	0xa0057203                                  
                                                                      
a0004888 <setuid>:                                                    
                                                                      
int setuid(                                                           
  uid_t  uid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Uid = uid;                                             
a0004888:	e59f300c 	ldr	r3, [pc, #12]	; a000489c <setuid+0x14>        <== NOT EXECUTED
a000488c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0004890:	e1c303b2 	strh	r0, [r3, #50]	; 0x32                         <== NOT EXECUTED
  return 0;                                                           
}                                                                     
a0004894:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0004898:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a000489c:	a0052628 	.word	0xa0052628                                  
                                                                      
a0003168 <siproc>:                                                    
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a0003168:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
a000316c:	e59f3050 	ldr	r3, [pc, #80]	; a00031c4 <siproc+0x5c>        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
a0003170:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a0003174:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0003178:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
a000317c:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
a0003180:	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)) {
a0003184:	0a00000b 	beq	a00031b8 <siproc+0x50>                        <== NOT EXECUTED
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
a0003188:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000318c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0003190:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a0003194:	eb0005f5 	bl	a0004970 <rtems_semaphore_obtain>              <== NOT EXECUTED
		i = iproc (c, tty);                                                 
a0003198:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000319c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00031a0:	ebffff87 	bl	a0002fc4 <iproc>                               <== NOT EXECUTED
a00031a4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
a00031a8:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a00031ac:	eb000635 	bl	a0004a88 <rtems_semaphore_release>             <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
a00031b0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00031b4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
		i = iproc (c, tty);                                                 
		rtems_semaphore_release (tty->osem);                                
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
a00031b8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
a00031bc:	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);                                                 
a00031c0:	eaffff7f 	b	a0002fc4 <iproc>                                <== NOT EXECUTED
a00031c4:	00000e78 	.word	0x00000e78                                  
                                                                      
a0005a80 <stat>:                                                      
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a0005a80:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0005a84:	e2515000 	subs	r5, r1, #0                                   
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a0005a88:	e24dd018 	sub	sp, sp, #24                                   
a0005a8c:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0005a90:	1a000002 	bne	a0005aa0 <stat+0x20>                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0005a94:	eb00ca5e 	bl	a0038414 <__errno>                             
a0005a98:	e3a0300e 	mov	r3, #14                                       
a0005a9c:	ea000018 	b	a0005b04 <stat+0x84>                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
a0005aa0:	eb00e4d5 	bl	a003edfc <strlen>                              
a0005aa4:	e28d4004 	add	r4, sp, #4                                    
a0005aa8:	e1a01000 	mov	r1, r0                                        
a0005aac:	e3a0c001 	mov	ip, #1                                        
a0005ab0:	e1a00006 	mov	r0, r6                                        
a0005ab4:	e3a02000 	mov	r2, #0                                        
a0005ab8:	e1a03004 	mov	r3, r4                                        
a0005abc:	e58dc000 	str	ip, [sp]                                      
a0005ac0:	ebfffaef 	bl	a0004684 <rtems_filesystem_evaluate_path>      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a0005ac4:	e2501000 	subs	r1, r0, #0                                   
a0005ac8:	1a00000e 	bne	a0005b08 <stat+0x88>                          
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
a0005acc:	e59d300c 	ldr	r3, [sp, #12]                                 
a0005ad0:	e5933018 	ldr	r3, [r3, #24]                                 
a0005ad4:	e3530000 	cmp	r3, #0                                        
a0005ad8:	1a00000c 	bne	a0005b10 <stat+0x90>                          
    rtems_filesystem_freenode( &loc );                                
a0005adc:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0005ae0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0005ae4:	0a000004 	beq	a0005afc <stat+0x7c>                          <== NOT EXECUTED
a0005ae8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0005aec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0005af0:	0a000001 	beq	a0005afc <stat+0x7c>                          <== NOT EXECUTED
a0005af4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0005af8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0005afc:	eb00ca44 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0005b00:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0005b04:	e5803000 	str	r3, [r0]                                      
a0005b08:	e3e05000 	mvn	r5, #0                                        
a0005b0c:	ea000010 	b	a0005b54 <stat+0xd4>                            
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
a0005b10:	e3a02048 	mov	r2, #72	; 0x48                                
a0005b14:	e1a00005 	mov	r0, r5                                        
a0005b18:	eb00d6f5 	bl	a003b6f4 <memset>                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a0005b1c:	e1a01005 	mov	r1, r5                                        
a0005b20:	e59d300c 	ldr	r3, [sp, #12]                                 
a0005b24:	e1a00004 	mov	r0, r4                                        
a0005b28:	e1a0e00f 	mov	lr, pc                                        
a0005b2c:	e593f018 	ldr	pc, [r3, #24]                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0005b30:	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 );                    
a0005b34:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0005b38:	e3530000 	cmp	r3, #0                                        
a0005b3c:	0a000004 	beq	a0005b54 <stat+0xd4>                          
a0005b40:	e593301c 	ldr	r3, [r3, #28]                                 
a0005b44:	e3530000 	cmp	r3, #0                                        
a0005b48:	0a000001 	beq	a0005b54 <stat+0xd4>                          
a0005b4c:	e1a00004 	mov	r0, r4                                        
a0005b50:	e12fff33 	blx	r3                                            
                                                                      
  return status;                                                      
}                                                                     
a0005b54:	e1a00005 	mov	r0, r5                                        
a0005b58:	e28dd018 	add	sp, sp, #24                                   
a0005b5c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0023860 <statvfs>:                                                   
 */                                                                   
extern rtems_chain_control rtems_filesystem_mount_table_control;      
                                                                      
int                                                                   
statvfs (const char *path, struct statvfs *sb)                        
{                                                                     
a0023860:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a0023864:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0023868:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a002386c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
a0023870:	eb006d61 	bl	a003edfc <strlen>                              <== NOT EXECUTED
a0023874:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0023878:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a002387c:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
a0023880:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0023884:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0023888:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a002388c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0023890:	ebff837b 	bl	a0004684 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
a0023894:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
a0023898:	1a000007 	bne	a00238bc <statvfs+0x5c>                       <== NOT EXECUTED
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
a002389c:	e59d6014 	ldr	r6, [sp, #20]                                 <== NOT EXECUTED
  fs_mount_root = &mt_entry->mt_fs_root;                              
a00238a0:	e5963028 	ldr	r3, [r6, #40]	; 0x28                          <== NOT EXECUTED
a00238a4:	e5933044 	ldr	r3, [r3, #68]	; 0x44                          <== NOT EXECUTED
a00238a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00238ac:	1a000004 	bne	a00238c4 <statvfs+0x64>                       <== NOT EXECUTED
                                                                      
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00238b0:	eb0052d7 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a00238b4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00238b8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00238bc:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00238c0:	ea000010 	b	a0023908 <statvfs+0xa8>                         <== NOT EXECUTED
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
a00238c4:	e3a02038 	mov	r2, #56	; 0x38                                <== NOT EXECUTED
a00238c8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00238cc:	eb005f88 	bl	a003b6f4 <memset>                              <== NOT EXECUTED
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
a00238d0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00238d4:	e5963028 	ldr	r3, [r6, #40]	; 0x28                          <== NOT EXECUTED
a00238d8:	e286001c 	add	r0, r6, #28                                   <== NOT EXECUTED
a00238dc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a00238e0:	e593f044 	ldr	pc, [r3, #68]	; 0x44                          <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00238e4:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
a00238e8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00238ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00238f0:	0a000004 	beq	a0023908 <statvfs+0xa8>                       <== NOT EXECUTED
a00238f4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00238f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00238fc:	0a000001 	beq	a0023908 <statvfs+0xa8>                       <== NOT EXECUTED
a0023900:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0023904:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a0023908:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a002390c:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0023910:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
a0023914 <symlink>:                                                   
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
a0023914:	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 );                
a0023918:	e5d13000 	ldrb	r3, [r1]                                     
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
a002391c:	e24dd018 	sub	sp, sp, #24                                   
a0023920:	e1a06001 	mov	r6, r1                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a0023924:	e353002f 	cmp	r3, #47	; 0x2f                                
a0023928:	1353005c 	cmpne	r3, #92	; 0x5c                              
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
a002392c:	e1a04000 	mov	r4, r0                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a0023930:	13a05000 	movne	r5, #0                                      
a0023934:	03a05001 	moveq	r5, #1                                      
a0023938:	0a000001 	beq	a0023944 <symlink+0x30>                       
a002393c:	e3530000 	cmp	r3, #0                                        
a0023940:	1a000005 	bne	a002395c <symlink+0x48>                       
a0023944:	e59f30d4 	ldr	r3, [pc, #212]	; a0023a20 <symlink+0x10c>     
a0023948:	e1a0c00d 	mov	ip, sp                                        
a002394c:	e3a05001 	mov	r5, #1                                        
a0023950:	e593e000 	ldr	lr, [r3]                                      
a0023954:	e28ee018 	add	lr, lr, #24                                   
a0023958:	ea000003 	b	a002396c <symlink+0x58>                         
a002395c:	e59f30bc 	ldr	r3, [pc, #188]	; a0023a20 <symlink+0x10c>     
a0023960:	e1a0c00d 	mov	ip, sp                                        
a0023964:	e593e000 	ldr	lr, [r3]                                      
a0023968:	e28ee004 	add	lr, lr, #4                                    
a002396c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0023970:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0023974:	e59e3000 	ldr	r3, [lr]                                      
a0023978:	e58c3000 	str	r3, [ip]                                      
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
a002397c:	e59d300c 	ldr	r3, [sp, #12]                                 
a0023980:	e5933004 	ldr	r3, [r3, #4]                                  
a0023984:	e3530000 	cmp	r3, #0                                        
a0023988:	0a00000f 	beq	a00239cc <symlink+0xb8>                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
a002398c:	e0860005 	add	r0, r6, r5                                    
a0023990:	e1a0100d 	mov	r1, sp                                        
a0023994:	e28d2014 	add	r2, sp, #20                                   
a0023998:	e12fff33 	blx	r3                                            
  if ( result != 0 )                                                  
a002399c:	e3500000 	cmp	r0, #0                                        
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
a00239a0:	e1a0700d 	mov	r7, sp                                        
  if ( result != 0 )                                                  
a00239a4:	1a00000b 	bne	a00239d8 <symlink+0xc4>                       
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
a00239a8:	e59d200c 	ldr	r2, [sp, #12]                                 
a00239ac:	e5923038 	ldr	r3, [r2, #56]	; 0x38                          
a00239b0:	e3530000 	cmp	r3, #0                                        
a00239b4:	1a000009 	bne	a00239e0 <symlink+0xcc>                       
    rtems_filesystem_freenode( &loc );                                
a00239b8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00239bc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00239c0:	0a000001 	beq	a00239cc <symlink+0xb8>                       <== NOT EXECUTED
a00239c4:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a00239c8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00239cc:	eb005290 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a00239d0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00239d4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00239d8:	e3e04000 	mvn	r4, #0                                        
a00239dc:	ea00000c 	b	a0023a14 <symlink+0x100>                        
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
a00239e0:	e1a01004 	mov	r1, r4                                        
a00239e4:	e1a0000d 	mov	r0, sp                                        
a00239e8:	e59d2014 	ldr	r2, [sp, #20]                                 
a00239ec:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00239f0:	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);      
a00239f4:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00239f8:	e3530000 	cmp	r3, #0                                        
a00239fc:	0a000004 	beq	a0023a14 <symlink+0x100>                      
a0023a00:	e593301c 	ldr	r3, [r3, #28]                                 
a0023a04:	e3530000 	cmp	r3, #0                                        
a0023a08:	0a000001 	beq	a0023a14 <symlink+0x100>                      
a0023a0c:	e1a0000d 	mov	r0, sp                                        
a0023a10:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0023a14:	e1a00004 	mov	r0, r4                                        
a0023a18:	e28dd018 	add	sp, sp, #24                                   
a0023a1c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a0023a20:	a0052628 	.word	0xa0052628                                  
                                                                      
a000fae4 <tcsetattr>:                                                 
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
  switch (opt) {                                                      
a000fae4:	e3510000 	cmp	r1, #0                                        
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
a000fae8:	e92d4030 	push	{r4, r5, lr}                                 
a000faec:	e1a04002 	mov	r4, r2                                        
a000faf0:	e1a05000 	mov	r5, r0                                        
  switch (opt) {                                                      
a000faf4:	0a00000a 	beq	a000fb24 <tcsetattr+0x40>                     
a000faf8:	e3510001 	cmp	r1, #1                                        <== NOT EXECUTED
a000fafc:	0a000003 	beq	a000fb10 <tcsetattr+0x2c>                     <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000fb00:	eb000edb 	bl	a0013674 <__errno>                             <== NOT EXECUTED
a000fb04:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000fb08:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000fb0c:	ea000009 	b	a000fb38 <tcsetattr+0x54>                       <== NOT EXECUTED
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
a000fb10:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a000fb14:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000fb18:	eb000b93 	bl	a001296c <ioctl>                               <== NOT EXECUTED
a000fb1c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000fb20:	ba000004 	blt	a000fb38 <tcsetattr+0x54>                     <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a000fb24:	e1a00005 	mov	r0, r5                                        
a000fb28:	e1a02004 	mov	r2, r4                                        
a000fb2c:	e3a01002 	mov	r1, #2                                        
  }                                                                   
}                                                                     
a000fb30:	e8bd4030 	pop	{r4, r5, lr}                                  
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a000fb34:	ea000b8c 	b	a001296c <ioctl>                                
  }                                                                   
}                                                                     
a000fb38:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000fb3c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
a000b850 <unlink>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
a000b850:	e92d4070 	push	{r4, r5, r6, lr}                             
a000b854:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
a000b858:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
a000b85c:	ebffd780 	bl	a0001664 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a000b860:	e2505000 	subs	r5, r0, #0                                   
a000b864:	1a000015 	bne	a000b8c0 <unlink+0x70>                        
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
a000b868:	e5d63000 	ldrb	r3, [r6]                                     
a000b86c:	e353002f 	cmp	r3, #47	; 0x2f                                
a000b870:	1353005c 	cmpne	r3, #92	; 0x5c                              
a000b874:	0a000001 	beq	a000b880 <unlink+0x30>                        
a000b878:	e3530000 	cmp	r3, #0                                        
a000b87c:	1a000005 	bne	a000b898 <unlink+0x48>                        
a000b880:	e59f3228 	ldr	r3, [pc, #552]	; a000bab0 <unlink+0x260>      
a000b884:	e28dc018 	add	ip, sp, #24                                   
a000b888:	e3a04000 	mov	r4, #0                                        
a000b88c:	e593e000 	ldr	lr, [r3]                                      
a000b890:	e28ee018 	add	lr, lr, #24                                   
a000b894:	ea000004 	b	a000b8ac <unlink+0x5c>                          
a000b898:	e59f3210 	ldr	r3, [pc, #528]	; a000bab0 <unlink+0x260>      
a000b89c:	e28dc018 	add	ip, sp, #24                                   
a000b8a0:	e1a04005 	mov	r4, r5                                        
a000b8a4:	e593e000 	ldr	lr, [r3]                                      
a000b8a8:	e28ee004 	add	lr, lr, #4                                    
a000b8ac:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000b8b0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000b8b4:	e59e3000 	ldr	r3, [lr]                                      
a000b8b8:	e58c3000 	str	r3, [ip]                                      
a000b8bc:	ea000009 	b	a000b8e8 <unlink+0x98>                          
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
a000b8c0:	e3a0c000 	mov	ip, #0                                        
a000b8c4:	e1a00006 	mov	r0, r6                                        
a000b8c8:	e1a01005 	mov	r1, r5                                        
a000b8cc:	e3a02002 	mov	r2, #2                                        
a000b8d0:	e28d3018 	add	r3, sp, #24                                   
a000b8d4:	e58dc000 	str	ip, [sp]                                      
a000b8d8:	ebffd7a7 	bl	a000177c <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
a000b8dc:	e3500000 	cmp	r0, #0                                        
a000b8e0:	1a00006e 	bne	a000baa0 <unlink+0x250>                       
a000b8e4:	e3a04001 	mov	r4, #1                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000b8e8:	e28dc004 	add	ip, sp, #4                                    
a000b8ec:	e28de018 	add	lr, sp, #24                                   
a000b8f0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000b8f4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000b8f8:	e59e3000 	ldr	r3, [lr]                                      
  name = path + parentpathlen;                                        
a000b8fc:	e0865005 	add	r5, r6, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000b900:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000b904:	e58c3000 	str	r3, [ip]                                      
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000b908:	eb00047d 	bl	a000cb04 <strlen>                              
a000b90c:	e1a01000 	mov	r1, r0                                        
a000b910:	e1a00005 	mov	r0, r5                                        
a000b914:	ebffd746 	bl	a0001634 <rtems_filesystem_prefix_separators>  
a000b918:	e0856000 	add	r6, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a000b91c:	e1a00006 	mov	r0, r6                                        
a000b920:	eb000477 	bl	a000cb04 <strlen>                              
a000b924:	e28d5004 	add	r5, sp, #4                                    
a000b928:	e3a0c000 	mov	ip, #0                                        
a000b92c:	e1a01000 	mov	r1, r0                                        
a000b930:	e1a0200c 	mov	r2, ip                                        
a000b934:	e1a00006 	mov	r0, r6                                        
a000b938:	e1a03005 	mov	r3, r5                                        
a000b93c:	e58dc000 	str	ip, [sp]                                      
a000b940:	ebffd757 	bl	a00016a4 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a000b944:	e3500000 	cmp	r0, #0                                        
a000b948:	0a00000a 	beq	a000b978 <unlink+0x128>                       
    if ( free_parentloc )                                             
a000b94c:	e3540000 	cmp	r4, #0                                        
a000b950:	0a000052 	beq	a000baa0 <unlink+0x250>                       
      rtems_filesystem_freenode( &parentloc );                        
a000b954:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000b958:	e3530000 	cmp	r3, #0                                        
a000b95c:	0a00004f 	beq	a000baa0 <unlink+0x250>                       
a000b960:	e593301c 	ldr	r3, [r3, #28]                                 
a000b964:	e3530000 	cmp	r3, #0                                        
a000b968:	0a00004c 	beq	a000baa0 <unlink+0x250>                       
a000b96c:	e28d0018 	add	r0, sp, #24                                   
a000b970:	e12fff33 	blx	r3                                            
a000b974:	ea000049 	b	a000baa0 <unlink+0x250>                         
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a000b978:	e59d2010 	ldr	r2, [sp, #16]                                 
a000b97c:	e5923010 	ldr	r3, [r2, #16]                                 
a000b980:	e3530000 	cmp	r3, #0                                        
a000b984:	0a00001b 	beq	a000b9f8 <unlink+0x1a8>                       
    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 ) {
a000b988:	e1a00005 	mov	r0, r5                                        
a000b98c:	e12fff33 	blx	r3                                            
a000b990:	e3500001 	cmp	r0, #1                                        
a000b994:	e59d2010 	ldr	r2, [sp, #16]                                 
a000b998:	1a000013 	bne	a000b9ec <unlink+0x19c>                       
    rtems_filesystem_freenode( &loc );                                
a000b99c:	e3520000 	cmp	r2, #0                                        
a000b9a0:	0a000004 	beq	a000b9b8 <unlink+0x168>                       
a000b9a4:	e592301c 	ldr	r3, [r2, #28]                                 
a000b9a8:	e3530000 	cmp	r3, #0                                        
a000b9ac:	0a000001 	beq	a000b9b8 <unlink+0x168>                       
a000b9b0:	e1a00005 	mov	r0, r5                                        
a000b9b4:	e12fff33 	blx	r3                                            
    if ( free_parentloc )                                             
a000b9b8:	e3540000 	cmp	r4, #0                                        
a000b9bc:	0a000007 	beq	a000b9e0 <unlink+0x190>                       
      rtems_filesystem_freenode( &parentloc );                        
a000b9c0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000b9c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b9c8:	0a000004 	beq	a000b9e0 <unlink+0x190>                       <== NOT EXECUTED
a000b9cc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000b9d0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b9d4:	0a000001 	beq	a000b9e0 <unlink+0x190>                       <== NOT EXECUTED
a000b9d8:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a000b9dc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a000b9e0:	eb000056 	bl	a000bb40 <__errno>                             
a000b9e4:	e3a03015 	mov	r3, #21                                       
a000b9e8:	ea000013 	b	a000ba3c <unlink+0x1ec>                         
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
a000b9ec:	e592300c 	ldr	r3, [r2, #12]                                 
a000b9f0:	e3530000 	cmp	r3, #0                                        
a000b9f4:	1a000012 	bne	a000ba44 <unlink+0x1f4>                       
    rtems_filesystem_freenode( &loc );                                
a000b9f8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a000b9fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ba00:	0a000001 	beq	a000ba0c <unlink+0x1bc>                       <== NOT EXECUTED
a000ba04:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000ba08:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_parentloc )                                             
a000ba0c:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a000ba10:	0a000007 	beq	a000ba34 <unlink+0x1e4>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
a000ba14:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000ba18:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ba1c:	0a000004 	beq	a000ba34 <unlink+0x1e4>                       <== NOT EXECUTED
a000ba20:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000ba24:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ba28:	0a000001 	beq	a000ba34 <unlink+0x1e4>                       <== NOT EXECUTED
a000ba2c:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
a000ba30:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000ba34:	eb000041 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a000ba38:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000ba3c:	e5803000 	str	r3, [r0]                                      
a000ba40:	ea000016 	b	a000baa0 <unlink+0x250>                         
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
a000ba44:	e28d0018 	add	r0, sp, #24                                   
a000ba48:	e1a01005 	mov	r1, r5                                        
a000ba4c:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000ba50:	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 );                  
a000ba54:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000ba58:	e3530000 	cmp	r3, #0                                        
a000ba5c:	0a000004 	beq	a000ba74 <unlink+0x224>                       
a000ba60:	e593301c 	ldr	r3, [r3, #28]                                 
a000ba64:	e3530000 	cmp	r3, #0                                        
a000ba68:	0a000001 	beq	a000ba74 <unlink+0x224>                       
a000ba6c:	e1a00005 	mov	r0, r5                                        
a000ba70:	e12fff33 	blx	r3                                            
  if ( free_parentloc )                                               
a000ba74:	e3540000 	cmp	r4, #0                                        
a000ba78:	0a000009 	beq	a000baa4 <unlink+0x254>                       
    rtems_filesystem_freenode( &parentloc );                          
a000ba7c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000ba80:	e3530000 	cmp	r3, #0                                        
a000ba84:	0a000006 	beq	a000baa4 <unlink+0x254>                       
a000ba88:	e593301c 	ldr	r3, [r3, #28]                                 
a000ba8c:	e3530000 	cmp	r3, #0                                        
a000ba90:	0a000003 	beq	a000baa4 <unlink+0x254>                       
a000ba94:	e28d0018 	add	r0, sp, #24                                   
a000ba98:	e12fff33 	blx	r3                                            
a000ba9c:	ea000000 	b	a000baa4 <unlink+0x254>                         
a000baa0:	e3e06000 	mvn	r6, #0                                        
                                                                      
  return result;                                                      
}                                                                     
a000baa4:	e1a00006 	mov	r0, r6                                        
a000baa8:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
a000baac:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000bab0:	a0017598 	.word	0xa0017598                                  
                                                                      
a0023b08 <unmount>:                                                   
 */                                                                   
                                                                      
int unmount(                                                          
  const char *path                                                    
)                                                                     
{                                                                     
a0023b08:	e92d4030 	push	{r4, r5, lr}                                 
a0023b0c:	e24dd018 	sub	sp, sp, #24                                   
a0023b10:	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 ) )
a0023b14:	eb006cb8 	bl	a003edfc <strlen>                              
a0023b18:	e28d4004 	add	r4, sp, #4                                    
a0023b1c:	e1a01000 	mov	r1, r0                                        
a0023b20:	e3a0c001 	mov	ip, #1                                        
a0023b24:	e1a00005 	mov	r0, r5                                        
a0023b28:	e3a02000 	mov	r2, #0                                        
a0023b2c:	e1a03004 	mov	r3, r4                                        
a0023b30:	e58dc000 	str	ip, [sp]                                      
a0023b34:	ebff82d2 	bl	a0004684 <rtems_filesystem_evaluate_path>      
a0023b38:	e3500000 	cmp	r0, #0                                        
a0023b3c:	1a000057 	bne	a0023ca0 <unmount+0x198>                      
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
a0023b40:	e59d5014 	ldr	r5, [sp, #20]                                 
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
a0023b44:	e59d2004 	ldr	r2, [sp, #4]                                  
a0023b48:	e59d3010 	ldr	r3, [sp, #16]                                 
a0023b4c:	e595101c 	ldr	r1, [r5, #28]                                 
a0023b50:	e1510002 	cmp	r1, r2                                        
a0023b54:	0a000009 	beq	a0023b80 <unmount+0x78>                       
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( !rtems_filesystem_nodes_equal( fs_root_loc, &loc) ){           
    rtems_filesystem_freenode( &loc );                                
a0023b58:	e3530000 	cmp	r3, #0                                        
a0023b5c:	0a000004 	beq	a0023b74 <unmount+0x6c>                       
a0023b60:	e593301c 	ldr	r3, [r3, #28]                                 
a0023b64:	e3530000 	cmp	r3, #0                                        
a0023b68:	0a000001 	beq	a0023b74 <unmount+0x6c>                       
a0023b6c:	e1a00004 	mov	r0, r4                                        
a0023b70:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0023b74:	eb005226 	bl	a0038414 <__errno>                             
a0023b78:	e3a0300d 	mov	r3, #13                                       
a0023b7c:	ea000023 	b	a0023c10 <unmount+0x108>                        
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0023b80:	e3530000 	cmp	r3, #0                                        
a0023b84:	0a000004 	beq	a0023b9c <unmount+0x94>                       
a0023b88:	e593301c 	ldr	r3, [r3, #28]                                 
a0023b8c:	e3530000 	cmp	r3, #0                                        
a0023b90:	0a000001 	beq	a0023b9c <unmount+0x94>                       
a0023b94:	e1a00004 	mov	r0, r4                                        
a0023b98:	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;                            
a0023b9c:	e5953014 	ldr	r3, [r5, #20]                                 
a0023ba0:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0023ba4:	e3530000 	cmp	r3, #0                                        
a0023ba8:	0a000003 	beq	a0023bbc <unmount+0xb4>                       
  fs_root_loc  = &mt_entry->mt_fs_root;                               
a0023bac:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a0023bb0:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
a0023bb4:	e3530000 	cmp	r3, #0                                        
a0023bb8:	1a000002 	bne	a0023bc8 <unmount+0xc0>                       
                                                                      
  if ( !fs_mount_loc->ops->unmount_h )                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( !fs_root_loc->ops->fsunmount_me_h )                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0023bbc:	eb005214 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0023bc0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0023bc4:	ea000011 	b	a0023c10 <unmount+0x108>                        <== NOT EXECUTED
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
a0023bc8:	e59f30f0 	ldr	r3, [pc, #240]	; a0023cc0 <unmount+0x1b8>     
a0023bcc:	e5933000 	ldr	r3, [r3]                                      
a0023bd0:	e5933014 	ldr	r3, [r3, #20]                                 
a0023bd4:	e1530005 	cmp	r3, r5                                        
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a0023bd8:	159f20e4 	ldrne	r2, [pc, #228]	; a0023cc4 <unmount+0x1bc>   
a0023bdc:	14923004 	ldrne	r3, [r2], #4                                
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
a0023be0:	1a000005 	bne	a0023bfc <unmount+0xf4>                       
a0023be4:	ea000007 	b	a0023c08 <unmount+0x100>                        
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
a0023be8:	e5930018 	ldr	r0, [r3, #24]                                 
a0023bec:	e595102c 	ldr	r1, [r5, #44]	; 0x2c                          
a0023bf0:	e1500001 	cmp	r0, r1                                        
a0023bf4:	0a000003 	beq	a0023c08 <unmount+0x100>                      
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
a0023bf8:	e5933000 	ldr	r3, [r3]                                      
a0023bfc:	e1530002 	cmp	r3, r2                                        
a0023c00:	1afffff8 	bne	a0023be8 <unmount+0xe0>                       
a0023c04:	ea000028 	b	a0023cac <unmount+0x1a4>                        
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
    rtems_set_errno_and_return_minus_one( EBUSY );                    
a0023c08:	eb005201 	bl	a0038414 <__errno>                             
a0023c0c:	e3a03010 	mov	r3, #16                                       
a0023c10:	e5803000 	str	r3, [r0]                                      
a0023c14:	ea000021 	b	a0023ca0 <unmount+0x198>                        
   * Allow the file system being unmounted on to do its cleanup.      
   * If it fails it will set the errno to the approprate value        
   * and the fileystem will not be modified.                          
   */                                                                 
                                                                      
  if (( fs_mount_loc->ops->unmount_h )( mt_entry ) != 0 )             
a0023c18:	e5953014 	ldr	r3, [r5, #20]                                 
a0023c1c:	e1a00005 	mov	r0, r5                                        
a0023c20:	e1a0e00f 	mov	lr, pc                                        
a0023c24:	e593f028 	ldr	pc, [r3, #40]	; 0x28                          
a0023c28:	e2504000 	subs	r4, r0, #0                                   
a0023c2c:	1a00001b 	bne	a0023ca0 <unmount+0x198>                      
   *  NOTE:  Fatal error is called in a case which should never happen
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
a0023c30:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a0023c34:	e1a00005 	mov	r0, r5                                        
a0023c38:	e1a0e00f 	mov	lr, pc                                        
a0023c3c:	e593f02c 	ldr	pc, [r3, #44]	; 0x2c                          
a0023c40:	e3500000 	cmp	r0, #0                                        
a0023c44:	0a000007 	beq	a0023c68 <unmount+0x160>                      
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
a0023c48:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0023c4c:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
a0023c50:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
a0023c54:	e593f020 	ldr	pc, [r3, #32]                                 <== NOT EXECUTED
a0023c58:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0023c5c:	0a00000f 	beq	a0023ca0 <unmount+0x198>                      <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
a0023c60:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0023c64:	ebff937a 	bl	a0008a54 <rtems_fatal_error_occurred>          <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a0023c68:	e1a00005 	mov	r0, r5                                        
a0023c6c:	ebff942d 	bl	a0008d28 <_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 );                          
a0023c70:	e5953014 	ldr	r3, [r5, #20]                                 
a0023c74:	e3530000 	cmp	r3, #0                                        
a0023c78:	0a000004 	beq	a0023c90 <unmount+0x188>                      
a0023c7c:	e593301c 	ldr	r3, [r3, #28]                                 
a0023c80:	e3530000 	cmp	r3, #0                                        
a0023c84:	0a000001 	beq	a0023c90 <unmount+0x188>                      
a0023c88:	e2850008 	add	r0, r5, #8                                    
a0023c8c:	e12fff33 	blx	r3                                            
  free( mt_entry );                                                   
a0023c90:	e1a00005 	mov	r0, r5                                        
a0023c94:	ebff82a8 	bl	a000473c <free>                                
a0023c98:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
a0023c9c:	ea000000 	b	a0023ca4 <unmount+0x19c>                        
a0023ca0:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a0023ca4:	e28dd018 	add	sp, sp, #24                                   
a0023ca8:	e8bd8030 	pop	{r4, r5, pc}                                  
   *  Run the file descriptor table to determine if there are any file
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
a0023cac:	e1a00005 	mov	r0, r5                                        
a0023cb0:	ebff835e 	bl	a0004a30 <rtems_libio_is_open_files_in_fs>     
a0023cb4:	e3500001 	cmp	r0, #1                                        
a0023cb8:	1affffd6 	bne	a0023c18 <unmount+0x110>                      
a0023cbc:	eaffffd1 	b	a0023c08 <unmount+0x100>                        
a0023cc0:	a0052628 	.word	0xa0052628                                  
a0023cc4:	a005fda0 	.word	0xa005fda0                                  
                                                                      
a0023cc8 <utime>:                                                     
                                                                      
int utime(                                                            
  const char           *path,                                         
  const struct utimbuf *times                                         
)                                                                     
{                                                                     
a0023cc8:	e92d4070 	push	{r4, r5, r6, lr}                             
a0023ccc:	e24dd018 	sub	sp, sp, #24                                   
a0023cd0:	e1a05001 	mov	r5, r1                                        
a0023cd4:	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 ) )
a0023cd8:	eb006c47 	bl	a003edfc <strlen>                              
a0023cdc:	e28d4004 	add	r4, sp, #4                                    
a0023ce0:	e1a01000 	mov	r1, r0                                        
a0023ce4:	e3a0c001 	mov	ip, #1                                        
a0023ce8:	e1a00006 	mov	r0, r6                                        
a0023cec:	e3a02000 	mov	r2, #0                                        
a0023cf0:	e1a03004 	mov	r3, r4                                        
a0023cf4:	e58dc000 	str	ip, [sp]                                      
a0023cf8:	ebff8261 	bl	a0004684 <rtems_filesystem_evaluate_path>      
a0023cfc:	e3500000 	cmp	r0, #0                                        
a0023d00:	1a00000b 	bne	a0023d34 <utime+0x6c>                         
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
a0023d04:	e59d2010 	ldr	r2, [sp, #16]                                 
a0023d08:	e5923030 	ldr	r3, [r2, #48]	; 0x30                          
a0023d0c:	e3530000 	cmp	r3, #0                                        
a0023d10:	1a000009 	bne	a0023d3c <utime+0x74>                         
    rtems_filesystem_freenode( &temp_loc );                           
a0023d14:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0023d18:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0023d1c:	0a000001 	beq	a0023d28 <utime+0x60>                         <== NOT EXECUTED
a0023d20:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0023d24:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0023d28:	eb0051b9 	bl	a0038414 <__errno>                             <== NOT EXECUTED
a0023d2c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0023d30:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0023d34:	e3e05000 	mvn	r5, #0                                        
a0023d38:	ea00000b 	b	a0023d6c <utime+0xa4>                           
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
a0023d3c:	e8950006 	ldm	r5, {r1, r2}                                  
a0023d40:	e1a00004 	mov	r0, r4                                        
a0023d44:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0023d48:	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 );
a0023d4c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0023d50:	e3530000 	cmp	r3, #0                                        
a0023d54:	0a000004 	beq	a0023d6c <utime+0xa4>                         
a0023d58:	e593301c 	ldr	r3, [r3, #28]                                 
a0023d5c:	e3530000 	cmp	r3, #0                                        
a0023d60:	0a000001 	beq	a0023d6c <utime+0xa4>                         
a0023d64:	e1a00004 	mov	r0, r4                                        
a0023d68:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0023d6c:	e1a00005 	mov	r0, r5                                        
a0023d70:	e28dd018 	add	sp, sp, #24                                   
a0023d74:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0016d40 <write>:                                                     
)                                                                     
{                                                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016d40:	e59f30b0 	ldr	r3, [pc, #176]	; a0016df8 <write+0xb8>        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0016d44:	e92d4070 	push	{r4, r5, r6, lr}                             
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016d48:	e5933000 	ldr	r3, [r3]                                      
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0016d4c:	e1a05001 	mov	r5, r1                                        
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016d50:	e1500003 	cmp	r0, r3                                        
a0016d54:	2a000005 	bcs	a0016d70 <write+0x30>                         
  iop = rtems_libio_iop( fd );                                        
a0016d58:	e59f309c 	ldr	r3, [pc, #156]	; a0016dfc <write+0xbc>        
a0016d5c:	e5934000 	ldr	r4, [r3]                                      
a0016d60:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0016d64:	e5943014 	ldr	r3, [r4, #20]                                 
a0016d68:	e3130c01 	tst	r3, #256	; 0x100                              
a0016d6c:	1a000002 	bne	a0016d7c <write+0x3c>                         
a0016d70:	ebffd372 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0016d74:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0016d78:	ea000010 	b	a0016dc0 <write+0x80>                           <== NOT EXECUTED
  rtems_libio_check_buffer( buffer );                                 
a0016d7c:	e3510000 	cmp	r1, #0                                        
a0016d80:	0a000005 	beq	a0016d9c <write+0x5c>                         
  rtems_libio_check_count( count );                                   
a0016d84:	e3520000 	cmp	r2, #0                                        
a0016d88:	1a000001 	bne	a0016d94 <write+0x54>                         
a0016d8c:	e1a00002 	mov	r0, r2                                        
a0016d90:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0016d94:	e3130004 	tst	r3, #4                                        
a0016d98:	1a000002 	bne	a0016da8 <write+0x68>                         
a0016d9c:	ebffd367 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0016da0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0016da4:	ea000005 	b	a0016dc0 <write+0x80>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
a0016da8:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0016dac:	e593300c 	ldr	r3, [r3, #12]                                 
a0016db0:	e3530000 	cmp	r3, #0                                        
a0016db4:	1a000004 	bne	a0016dcc <write+0x8c>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0016db8:	ebffd360 	bl	a000bb40 <__errno>                             <== NOT EXECUTED
a0016dbc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0016dc0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0016dc4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0016dc8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
a0016dcc:	e1a00004 	mov	r0, r4                                        
a0016dd0:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0016dd4:	e3500000 	cmp	r0, #0                                        
a0016dd8:	da000005 	ble	a0016df4 <write+0xb4>                         
    iop->offset += rc;                                                
a0016ddc:	e284600c 	add	r6, r4, #12                                   
a0016de0:	e8960060 	ldm	r6, {r5, r6}                                  
a0016de4:	e0952000 	adds	r2, r5, r0                                   
a0016de8:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
a0016dec:	e584200c 	str	r2, [r4, #12]                                 
a0016df0:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
a0016df4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0016df8:	a00173c0 	.word	0xa00173c0                                  
a0016dfc:	a0018bfc 	.word	0xa0018bfc                                  
                                                                      
a0005964 <writev>:                                                    
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005964:	e59f3164 	ldr	r3, [pc, #356]	; a0005ad0 <writev+0x16c>      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0005968:	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 );                                         
a000596c:	e5933000 	ldr	r3, [r3]                                      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0005970:	e1a08002 	mov	r8, r2                                        
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005974:	e1500003 	cmp	r0, r3                                        
a0005978:	2a000005 	bcs	a0005994 <writev+0x30>                        
  iop = rtems_libio_iop( fd );                                        
a000597c:	e59f3150 	ldr	r3, [pc, #336]	; a0005ad4 <writev+0x170>      
a0005980:	e5936000 	ldr	r6, [r3]                                      
a0005984:	e0866300 	add	r6, r6, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0005988:	e5963014 	ldr	r3, [r6, #20]                                 
a000598c:	e3130c01 	tst	r3, #256	; 0x100                              
a0005990:	1a000002 	bne	a00059a0 <writev+0x3c>                        
a0005994:	eb002188 	bl	a000dfbc <__errno>                             
a0005998:	e3a03009 	mov	r3, #9                                        
a000599c:	ea000026 	b	a0005a3c <writev+0xd8>                          
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a00059a0:	e3130004 	tst	r3, #4                                        
a00059a4:	0a000022 	beq	a0005a34 <writev+0xd0>                        
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a00059a8:	e3510000 	cmp	r1, #0                                        
a00059ac:	0a000020 	beq	a0005a34 <writev+0xd0>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a00059b0:	e3520000 	cmp	r2, #0                                        
a00059b4:	da00001e 	ble	a0005a34 <writev+0xd0>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a00059b8:	e3520b01 	cmp	r2, #1024	; 0x400                             
a00059bc:	ca00001c 	bgt	a0005a34 <writev+0xd0>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
a00059c0:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
a00059c4:	e593300c 	ldr	r3, [r3, #12]                                 
a00059c8:	e3530000 	cmp	r3, #0                                        
a00059cc:	1a000002 	bne	a00059dc <writev+0x78>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00059d0:	eb002179 	bl	a000dfbc <__errno>                             <== NOT EXECUTED
a00059d4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00059d8:	ea000017 	b	a0005a3c <writev+0xd8>                          <== NOT EXECUTED
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a00059dc:	e59fc0f4 	ldr	ip, [pc, #244]	; a0005ad8 <writev+0x174>      
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00059e0:	e3a03000 	mov	r3, #0                                        
a00059e4:	e1a05001 	mov	r5, r1                                        
a00059e8:	e1a02001 	mov	r2, r1                                        
a00059ec:	e3a07001 	mov	r7, #1                                        
a00059f0:	e1a04003 	mov	r4, r3                                        
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
                                                                      
    if ( !iov[v].iov_base )                                           
a00059f4:	e5921000 	ldr	r1, [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++ ) {                    
a00059f8:	e2833001 	add	r3, r3, #1                                    
                                                                      
    if ( !iov[v].iov_base )                                           
a00059fc:	e3510000 	cmp	r1, #0                                        
a0005a00:	0a00000b 	beq	a0005a34 <writev+0xd0>                        
      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 )                                             
a0005a04:	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++ ) {                    
a0005a08:	e2822008 	add	r2, r2, #8                                    
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0005a0c:	e0841000 	add	r1, r4, r0                                    
    if ( total < old || total > SSIZE_MAX )                           
a0005a10:	e1510004 	cmp	r1, r4                                        
a0005a14:	a3a04000 	movge	r4, #0                                      
a0005a18:	b3a04001 	movlt	r4, #1                                      
a0005a1c:	e151000c 	cmp	r1, ip                                        
a0005a20:	c3844001 	orrgt	r4, r4, #1                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
a0005a24:	e3500000 	cmp	r0, #0                                        
a0005a28:	13a07000 	movne	r7, #0                                      
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a0005a2c:	e3540000 	cmp	r4, #0                                        
a0005a30:	0a000003 	beq	a0005a44 <writev+0xe0>                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0005a34:	eb002160 	bl	a000dfbc <__errno>                             
a0005a38:	e3a03016 	mov	r3, #22                                       
a0005a3c:	e5803000 	str	r3, [r0]                                      
a0005a40:	ea000010 	b	a0005a88 <writev+0x124>                         
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
a0005a44:	e1530008 	cmp	r3, r8                                        
a0005a48:	b1a04001 	movlt	r4, r1                                      
a0005a4c:	baffffe8 	blt	a00059f4 <writev+0x90>                        
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
a0005a50:	e3570000 	cmp	r7, #0                                        
a0005a54:	1a00001b 	bne	a0005ac8 <writev+0x164>                       
a0005a58:	e1a04007 	mov	r4, r7                                        
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a0005a5c:	e5952004 	ldr	r2, [r5, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0005a60:	e2877001 	add	r7, r7, #1                                    
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a0005a64:	e3520000 	cmp	r2, #0                                        
a0005a68:	0a000013 	beq	a0005abc <writev+0x158>                       
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
a0005a6c:	e5951000 	ldr	r1, [r5]                                      
a0005a70:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
a0005a74:	e1a00006 	mov	r0, r6                                        
a0005a78:	e1a0e00f 	mov	lr, pc                                        
a0005a7c:	e593f00c 	ldr	pc, [r3, #12]                                 
                                                                      
    if ( bytes < 0 )                                                  
a0005a80:	e3500000 	cmp	r0, #0                                        
a0005a84:	aa000001 	bge	a0005a90 <writev+0x12c>                       
a0005a88:	e3e04000 	mvn	r4, #0                                        
a0005a8c:	ea00000d 	b	a0005ac8 <writev+0x164>                         
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a0005a90:	0a000006 	beq	a0005ab0 <writev+0x14c>                       
      iop->offset += bytes;                                           
a0005a94:	e286c00c 	add	ip, r6, #12                                   
a0005a98:	e89c1800 	ldm	ip, {fp, ip}                                  
a0005a9c:	e09b2000 	adds	r2, fp, r0                                   
a0005aa0:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
a0005aa4:	e586200c 	str	r2, [r6, #12]                                 
a0005aa8:	e5863010 	str	r3, [r6, #16]                                 
      total       += bytes;                                           
a0005aac:	e0844000 	add	r4, r4, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0005ab0:	e5953004 	ldr	r3, [r5, #4]                                  
a0005ab4:	e1500003 	cmp	r0, r3                                        
a0005ab8:	1a000002 	bne	a0005ac8 <writev+0x164>                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0005abc:	e1570008 	cmp	r7, r8                                        
a0005ac0:	e2855008 	add	r5, r5, #8                                    
a0005ac4:	baffffe4 	blt	a0005a5c <writev+0xf8>                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0005ac8:	e1a00004 	mov	r0, r4                                        
a0005acc:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
a0005ad0:	a001b0a0 	.word	0xa001b0a0                                  
a0005ad4:	a001dd30 	.word	0xa001dd30                                  
a0005ad8:	00007fff 	.word	0x00007fff