RTEMS 4.11
Annotated Report
Sat Jul 17 02:47:51 2010

a00092b4 <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 ) {                                              
a00092b4:	e5903000 	ldr	r3, [r0]                                      
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a00092b8:	e5902010 	ldr	r2, [r0, #16]                                 
  switch( node->type ) {                                              
a00092bc:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a00092c0:	e5922034 	ldr	r2, [r2, #52]	; 0x34                          
  switch( node->type ) {                                              
a00092c4:	e2433001 	sub	r3, r3, #1                                    
a00092c8:	e3530006 	cmp	r3, #6                                        
a00092cc:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a00092d0:	ea000008 	b	a00092f8 <IMFS_Set_handlers+0x44>               <== NOT EXECUTED
a00092d4:	a0009320 	.word	0xa0009320                                  <== NOT EXECUTED
a00092d8:	a0009330 	.word	0xa0009330                                  <== NOT EXECUTED
a00092dc:	a0009310 	.word	0xa0009310                                  <== NOT EXECUTED
a00092e0:	a0009310 	.word	0xa0009310                                  <== NOT EXECUTED
a00092e4:	a0009300 	.word	0xa0009300                                  <== NOT EXECUTED
a00092e8:	a0009300 	.word	0xa0009300                                  <== NOT EXECUTED
a00092ec:	a00092f0 	.word	0xa00092f0                                  <== NOT EXECUTED
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
a00092f0:	e5923010 	ldr	r3, [r2, #16]                                 
a00092f4:	e5803008 	str	r3, [r0, #8]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a00092f8:	e3a00000 	mov	r0, #0                                        
a00092fc:	e12fff1e 	bx	lr                                             
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
a0009300:	e5923008 	ldr	r3, [r2, #8]                                  
a0009304:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009308:	e3a00000 	mov	r0, #0                                        
a000930c:	e12fff1e 	bx	lr                                             
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
a0009310:	e59f3028 	ldr	r3, [pc, #40]	; a0009340 <IMFS_Set_handlers+0x8c>
a0009314:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009318:	e3a00000 	mov	r0, #0                                        
a000931c:	e12fff1e 	bx	lr                                             
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
a0009320:	e592300c 	ldr	r3, [r2, #12]                                 
a0009324:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009328:	e3a00000 	mov	r0, #0                                        
a000932c:	e12fff1e 	bx	lr                                             
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
a0009330:	e59f300c 	ldr	r3, [pc, #12]	; a0009344 <IMFS_Set_handlers+0x90>
a0009334:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009338:	e3a00000 	mov	r0, #0                                        
a000933c:	e12fff1e 	bx	lr                                             
                                                                      

a000903c <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
a000903c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0009040:	e1a01801 	lsl	r1, r1, #16                                   
a0009044:	e1a02802 	lsl	r2, r2, #16                                   
a0009048:	e24dd008 	sub	sp, sp, #8                                    
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
a000904c:	e5904000 	ldr	r4, [r0]                                      
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
a0009050:	e1a07821 	lsr	r7, r1, #16                                   
a0009054:	e1a06822 	lsr	r6, r2, #16                                   
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
a0009058:	eb0003e4 	bl	a0009ff0 <geteuid>                             
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
a000905c:	e1d453bc 	ldrh	r5, [r4, #60]	; 0x3c                         
a0009060:	e3500000 	cmp	r0, #0                                        
a0009064:	11550000 	cmpne	r5, r0                                      
a0009068:	03a05000 	moveq	r5, #0                                      
a000906c:	13a05001 	movne	r5, #1                                      
a0009070:	1a000009 	bne	a000909c <IMFS_chown+0x60>                    
    rtems_set_errno_and_return_minus_one( EPERM );                    
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
a0009074:	e1c473bc 	strh	r7, [r4, #60]	; 0x3c                         
  jnode->st_gid = group;                                              
a0009078:	e1c463be 	strh	r6, [r4, #62]	; 0x3e                         
                                                                      
  IMFS_update_ctime( jnode );                                         
a000907c:	e1a0000d 	mov	r0, sp                                        
a0009080:	e1a01005 	mov	r1, r5                                        
a0009084:	ebffe3ce 	bl	a0001fc4 <gettimeofday>                        
a0009088:	e59d3000 	ldr	r3, [sp]                                      
                                                                      
  return 0;                                                           
a000908c:	e1a00005 	mov	r0, r5                                        
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
a0009090:	e5843048 	str	r3, [r4, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a0009094:	e28dd008 	add	sp, sp, #8                                    
a0009098:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
a000909c:	eb001267 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a00090a0:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a00090a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00090a8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00090ac:	eafffff8 	b	a0009094 <IMFS_chown+0x58>                      <== NOT EXECUTED
                                                                      

a0009130 <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
a0009130:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
a0009134:	e3500000 	cmp	r0, #0                                        
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
a0009138:	e1a04001 	mov	r4, r1                                        
a000913c:	e59d7018 	ldr	r7, [sp, #24]                                 
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
a0009140:	01a08000 	moveq	r8, r0                                      
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
a0009144:	0a000026 	beq	a00091e4 <IMFS_create_node+0xb4>              
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  fs_info = parent_loc->mt_entry->fs_info;                            
a0009148:	e5901010 	ldr	r1, [r0, #16]                                 
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
a000914c:	e3540007 	cmp	r4, #7                                        
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
a0009150:	e5906000 	ldr	r6, [r0]                                      
  fs_info = parent_loc->mt_entry->fs_info;                            
a0009154:	e5915034 	ldr	r5, [r1, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
a0009158:	0a000023 	beq	a00091ec <IMFS_create_node+0xbc>              
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
a000915c:	e1a01002 	mov	r1, r2                                        
a0009160:	e59f2104 	ldr	r2, [pc, #260]	; a000926c <IMFS_create_node+0x13c>
a0009164:	e1a00004 	mov	r0, r4                                        
a0009168:	e5922000 	ldr	r2, [r2]                                      
a000916c:	e592202c 	ldr	r2, [r2, #44]	; 0x2c                          
a0009170:	e1c32002 	bic	r2, r3, r2                                    
a0009174:	ebffffcd 	bl	a00090b0 <IMFS_allocate_node>                  
  if ( !node )                                                        
a0009178:	e2508000 	subs	r8, r0, #0                                   
a000917c:	0a000018 	beq	a00091e4 <IMFS_create_node+0xb4>              
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
a0009180:	e2444001 	sub	r4, r4, #1                                    
a0009184:	e3540006 	cmp	r4, #6                                        
a0009188:	979ff104 	ldrls	pc, [pc, r4, lsl #2]                        
a000918c:	ea00000c 	b	a00091c4 <IMFS_create_node+0x94>                <== NOT EXECUTED
a0009190:	a00091ac 	.word	0xa00091ac                                  <== NOT EXECUTED
a0009194:	a000925c 	.word	0xa000925c                                  <== NOT EXECUTED
a0009198:	a0009208 	.word	0xa0009208                                  <== NOT EXECUTED
a000919c:	a0009208 	.word	0xa0009208                                  <== NOT EXECUTED
a00091a0:	a000922c 	.word	0xa000922c                                  <== NOT EXECUTED
a00091a4:	a0009214 	.word	0xa0009214                                  <== NOT EXECUTED
a00091a8:	a0009250 	.word	0xa0009250                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a00091ac:	e2882054 	add	r2, r8, #84	; 0x54                            
    case IMFS_DIRECTORY:                                              
      rtems_chain_initialize_empty(&node->info.directory.Entries);    
a00091b0:	e2883050 	add	r3, r8, #80	; 0x50                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a00091b4:	e5882050 	str	r2, [r8, #80]	; 0x50                          
  the_chain->permanent_null = NULL;                                   
a00091b8:	e3a02000 	mov	r2, #0                                        
a00091bc:	e5882054 	str	r2, [r8, #84]	; 0x54                          
  the_chain->last           = _Chain_Head(the_chain);                 
a00091c0:	e5883058 	str	r3, [r8, #88]	; 0x58                          
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
                                                                      
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
a00091c4:	e5953004 	ldr	r3, [r5, #4]                                  
a00091c8:	e2860050 	add	r0, r6, #80	; 0x50                            
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
                                                                      
  node->Parent = parent;                                              
a00091cc:	e5886008 	str	r6, [r8, #8]                                  
  node->st_ino = ++fs_info->ino_count;                                
a00091d0:	e2833001 	add	r3, r3, #1                                    
a00091d4:	e5853004 	str	r3, [r5, #4]                                  
a00091d8:	e1a01008 	mov	r1, r8                                        
a00091dc:	e5883038 	str	r3, [r8, #56]	; 0x38                          
a00091e0:	ebfff350 	bl	a0005f28 <_Chain_Append>                       
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
a00091e4:	e1a00008 	mov	r0, r8                                        
a00091e8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
a00091ec:	e5950010 	ldr	r0, [r5, #16]                                 
a00091f0:	e59f1078 	ldr	r1, [pc, #120]	; a0009270 <IMFS_create_node+0x140>
a00091f4:	e1500001 	cmp	r0, r1                                        
       fs_info->fifo_handlers == &rtems_filesystem_handlers_default ) 
    return NULL;                                                      
a00091f8:	03a08000 	moveq	r8, #0                                      
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
a00091fc:	1affffd6 	bne	a000915c <IMFS_create_node+0x2c>              
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
a0009200:	e1a00008 	mov	r0, r8                                        
a0009204:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    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;                 
a0009208:	e5973000 	ldr	r3, [r7]                                      
a000920c:	e5883050 	str	r3, [r8, #80]	; 0x50                          
      break;                                                          
a0009210:	eaffffeb 	b	a00091c4 <IMFS_create_node+0x94>                
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
a0009214:	e3a03000 	mov	r3, #0                                        
a0009218:	e3a04000 	mov	r4, #0                                        
a000921c:	e5883050 	str	r3, [r8, #80]	; 0x50                          
a0009220:	e5884054 	str	r4, [r8, #84]	; 0x54                          
      node->info.linearfile.direct    = 0;                            
a0009224:	e3a03000 	mov	r3, #0                                        
a0009228:	e5883058 	str	r3, [r8, #88]	; 0x58                          
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
a000922c:	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;                            
a0009230:	e3a01000 	mov	r1, #0                                        
a0009234:	e3a02000 	mov	r2, #0                                        
a0009238:	e5881050 	str	r1, [r8, #80]	; 0x50                          
a000923c:	e5882054 	str	r2, [r8, #84]	; 0x54                          
      node->info.file.indirect        = 0;                            
a0009240:	e5883058 	str	r3, [r8, #88]	; 0x58                          
      node->info.file.doubly_indirect = 0;                            
a0009244:	e588305c 	str	r3, [r8, #92]	; 0x5c                          
      node->info.file.triply_indirect = 0;                            
a0009248:	e5883060 	str	r3, [r8, #96]	; 0x60                          
      break;                                                          
a000924c:	eaffffdc 	b	a00091c4 <IMFS_create_node+0x94>                
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
a0009250:	e3a03000 	mov	r3, #0                                        
a0009254:	e5883050 	str	r3, [r8, #80]	; 0x50                          
      break;                                                          
a0009258:	eaffffd9 	b	a00091c4 <IMFS_create_node+0x94>                
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
a000925c:	e897000c 	ldm	r7, {r2, r3}                                  
a0009260:	e5882050 	str	r2, [r8, #80]	; 0x50                          
      node->info.device.minor = info->device.minor;                   
a0009264:	e5883054 	str	r3, [r8, #84]	; 0x54                          
      break;                                                          
a0009268:	eaffffd5 	b	a00091c4 <IMFS_create_node+0x94>                
                                                                      

a00093f8 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
a00093f8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
a00093fc:	e5936000 	ldr	r6, [r3]                                      
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
a0009400:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0009404:	e1a07003 	mov	r7, r3                                        
a0009408:	e1a0a000 	mov	sl, r0                                        
a000940c:	e1a04001 	mov	r4, r1                                        
a0009410:	e58d2000 	str	r2, [sp]                                      
  int                                 i = 0;                          
a0009414:	e3a05000 	mov	r5, #0                                        
a0009418:	e28d8004 	add	r8, sp, #4                                    
a000941c:	e28d903c 	add	r9, sp, #60	; 0x3c                            
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
a0009420:	e1a02008 	mov	r2, r8                                        
a0009424:	e1a03009 	mov	r3, r9                                        
a0009428:	e08a0005 	add	r0, sl, r5                                    
a000942c:	e1a01004 	mov	r1, r4                                        
a0009430:	eb0001ed 	bl	a0009bec <IMFS_get_token>                      
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0009434:	e5973000 	ldr	r3, [r7]                                      
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
a0009438:	e1a0b000 	mov	fp, r0                                        
    pathnamelen -= len;                                               
a000943c:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0009440:	e3530000 	cmp	r3, #0                                        
a0009444:	0a00004e 	beq	a0009584 <IMFS_eval_path+0x18c>               
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
a0009448:	e3500000 	cmp	r0, #0                                        
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
a000944c:	e0624004 	rsb	r4, r2, r4                                    
    i += len;                                                         
a0009450:	e0855002 	add	r5, r5, r2                                    
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
a0009454:	1a00000f 	bne	a0009498 <IMFS_eval_path+0xa0>                
   *  new fs root node and let let the mounted filesystem set the handlers.
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
a0009458:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a000945c:	e3520001 	cmp	r2, #1                                        
a0009460:	0a00006a 	beq	a0009610 <IMFS_eval_path+0x218>               
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a0009464:	e1a00007 	mov	r0, r7                                        
a0009468:	ebffff91 	bl	a00092b4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a000946c:	e59d1000 	ldr	r1, [sp]                                      
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a0009470:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a0009474:	e1a00007 	mov	r0, r7                                        
a0009478:	ebffffb2 	bl	a0009348 <IMFS_evaluate_permission>            
a000947c:	e3500000 	cmp	r0, #0                                        
a0009480:	1a000036 	bne	a0009560 <IMFS_eval_path+0x168>               
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0009484:	eb00116d 	bl	a000da40 <__errno>                             
a0009488:	e3a0300d 	mov	r3, #13                                       
a000948c:	e5803000 	str	r3, [r0]                                      
a0009490:	e3e06000 	mvn	r6, #0                                        
a0009494:	ea000031 	b	a0009560 <IMFS_eval_path+0x168>                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
a0009498:	e596104c 	ldr	r1, [r6, #76]	; 0x4c                          
a000949c:	e3510001 	cmp	r1, #1                                        
a00094a0:	0a000031 	beq	a000956c <IMFS_eval_path+0x174>               
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
a00094a4:	e35b0003 	cmp	fp, #3                                        
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
a00094a8:	e1a06003 	mov	r6, r3                                        
                                                                      
    switch( type ) {                                                  
a00094ac:	0a000006 	beq	a00094cc <IMFS_eval_path+0xd4>                
a00094b0:	e35b0004 	cmp	fp, #4                                        
a00094b4:	0a000025 	beq	a0009550 <IMFS_eval_path+0x158>               
a00094b8:	e35b0002 	cmp	fp, #2                                        
a00094bc:	0a000013 	beq	a0009510 <IMFS_eval_path+0x118>               
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
a00094c0:	e35b0004 	cmp	fp, #4                                        
a00094c4:	1affffd5 	bne	a0009420 <IMFS_eval_path+0x28>                
a00094c8:	eaffffe2 	b	a0009458 <IMFS_eval_path+0x60>                  <== NOT EXECUTED
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
a00094cc:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a00094d0:	e3530003 	cmp	r3, #3                                        
a00094d4:	0a00002f 	beq	a0009598 <IMFS_eval_path+0x1a0>               
                                                                      
          node = pathloc->node_access;                                
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
a00094d8:	e3530004 	cmp	r3, #4                                        
a00094dc:	0a000055 	beq	a0009638 <IMFS_eval_path+0x240>               
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
a00094e0:	e3530001 	cmp	r3, #1                                        
a00094e4:	1a00004e 	bne	a0009624 <IMFS_eval_path+0x22c>               
        /*                                                            
         *  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 ) {                   
a00094e8:	e596e05c 	ldr	lr, [r6, #92]	; 0x5c                          
a00094ec:	e35e0000 	cmp	lr, #0                                        
a00094f0:	1a000049 	bne	a000961c <IMFS_eval_path+0x224>               
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a00094f4:	e1a00006 	mov	r0, r6                                        
a00094f8:	e1a01008 	mov	r1, r8                                        
a00094fc:	eb000193 	bl	a0009b50 <IMFS_find_match_in_dir>              
        if ( !node )                                                  
a0009500:	e2506000 	subs	r6, r0, #0                                   
a0009504:	0a00001e 	beq	a0009584 <IMFS_eval_path+0x18c>               
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
a0009508:	e5876000 	str	r6, [r7]                                      
a000950c:	eaffffc3 	b	a0009420 <IMFS_eval_path+0x28>                  
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
a0009510:	e59f1148 	ldr	r1, [pc, #328]	; a0009660 <IMFS_eval_path+0x268>
a0009514:	e5912000 	ldr	r2, [r1]                                      
a0009518:	e5922018 	ldr	r2, [r2, #24]                                 
a000951c:	e1520003 	cmp	r2, r3                                        
a0009520:	0affffbe 	beq	a0009420 <IMFS_eval_path+0x28>                
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
a0009524:	e597e010 	ldr	lr, [r7, #16]                                 
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
a0009528:	e59e201c 	ldr	r2, [lr, #28]                                 
a000952c:	e1520003 	cmp	r2, r3                                        
a0009530:	0a000020 	beq	a00095b8 <IMFS_eval_path+0x1c0>               
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
a0009534:	e5936008 	ldr	r6, [r3, #8]                                  
a0009538:	e3560000 	cmp	r6, #0                                        
a000953c:	1afffff1 	bne	a0009508 <IMFS_eval_path+0x110>               
            rtems_set_errno_and_return_minus_one( ENOENT );           
a0009540:	eb00113e 	bl	a000da40 <__errno>                             
a0009544:	e3e06000 	mvn	r6, #0                                        
a0009548:	e580b000 	str	fp, [r0]                                      
a000954c:	ea000003 	b	a0009560 <IMFS_eval_path+0x168>                 
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a0009550:	eb00113a 	bl	a000da40 <__errno>                             
a0009554:	e3a0305b 	mov	r3, #91	; 0x5b                                
a0009558:	e5803000 	str	r3, [r0]                                      
a000955c:	e3e06000 	mvn	r6, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0009560:	e1a00006 	mov	r0, r6                                        
a0009564:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0009568:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
a000956c:	e1a00007 	mov	r0, r7                                        
a0009570:	ebffff74 	bl	a0009348 <IMFS_evaluate_permission>            
a0009574:	e3500000 	cmp	r0, #0                                        
a0009578:	0affffc1 	beq	a0009484 <IMFS_eval_path+0x8c>                
a000957c:	e5973000 	ldr	r3, [r7]                                      
a0009580:	eaffffc7 	b	a00094a4 <IMFS_eval_path+0xac>                  
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
a0009584:	eb00112d 	bl	a000da40 <__errno>                             
a0009588:	e3a03002 	mov	r3, #2                                        
a000958c:	e5803000 	str	r3, [r0]                                      
a0009590:	e3e06000 	mvn	r6, #0                                        
a0009594:	eafffff1 	b	a0009560 <IMFS_eval_path+0x168>                 
         *  If we are at a link follow it.                            
         */                                                           
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
a0009598:	e1a00007 	mov	r0, r7                                        
a000959c:	e3a01000 	mov	r1, #0                                        
a00095a0:	ebffff7b 	bl	a0009394 <IMFS_evaluate_hard_link>             
                                                                      
          node = pathloc->node_access;                                
a00095a4:	e5976000 	ldr	r6, [r7]                                      
          if ( !node )                                                
a00095a8:	e3560000 	cmp	r6, #0                                        
a00095ac:	0a00001c 	beq	a0009624 <IMFS_eval_path+0x22c>               
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
a00095b0:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
a00095b4:	eaffffc9 	b	a00094e0 <IMFS_eval_path+0xe8>                  
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
a00095b8:	e28ee008 	add	lr, lr, #8                                    
   *  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;              
a00095bc:	e28d6028 	add	r6, sp, #40	; 0x28                            
a00095c0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00095c4:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
      *pathloc = newloc;                                              
a00095c8:	e28dc028 	add	ip, sp, #40	; 0x28                            
a00095cc:	e8bc000f 	ldm	ip!, {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;              
a00095d0:	e59ec000 	ldr	ip, [lr]                                      
      *pathloc = newloc;                                              
a00095d4:	e1a0e007 	mov	lr, r7                                        
a00095d8:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a00095dc:	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;                                              
a00095e0:	e58ec000 	str	ip, [lr]                                      
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a00095e4:	e597300c 	ldr	r3, [r7, #12]                                 
a00095e8:	e0610005 	rsb	r0, r1, r5                                    
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a00095ec:	e586c000 	str	ip, [r6]                                      
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a00095f0:	e08a0000 	add	r0, sl, r0                                    
a00095f4:	e593c000 	ldr	ip, [r3]                                      
a00095f8:	e0841001 	add	r1, r4, r1                                    
a00095fc:	e59d2000 	ldr	r2, [sp]                                      
a0009600:	e1a03007 	mov	r3, r7                                        
a0009604:	e12fff3c 	blx	ip                                            
a0009608:	e1a06000 	mov	r6, r0                                        
a000960c:	eaffffd3 	b	a0009560 <IMFS_eval_path+0x168>                 
   *                                                                  
   *  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 ) {                       
a0009610:	e593e05c 	ldr	lr, [r3, #92]	; 0x5c                          
a0009614:	e35e0000 	cmp	lr, #0                                        
a0009618:	0affff91 	beq	a0009464 <IMFS_eval_path+0x6c>                
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a000961c:	e28ee01c 	add	lr, lr, #28                                   
a0009620:	eaffffe5 	b	a00095bc <IMFS_eval_path+0x1c4>                 
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
a0009624:	eb001105 	bl	a000da40 <__errno>                             
a0009628:	e3a03014 	mov	r3, #20                                       
a000962c:	e5803000 	str	r3, [r0]                                      
a0009630:	e3e06000 	mvn	r6, #0                                        
a0009634:	eaffffc9 	b	a0009560 <IMFS_eval_path+0x168>                 
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a0009638:	e1a00007 	mov	r0, r7                                        
a000963c:	e3a01000 	mov	r1, #0                                        
a0009640:	eb000007 	bl	a0009664 <IMFS_evaluate_sym_link>              
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
a0009644:	e3700001 	cmn	r0, #1                                        
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a0009648:	e1a06000 	mov	r6, r0                                        
                                                                      
          node = pathloc->node_access;                                
a000964c:	e5973000 	ldr	r3, [r7]                                      
          if ( result == -1 )                                         
a0009650:	0affffc2 	beq	a0009560 <IMFS_eval_path+0x168>               
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
a0009654:	e1a06003 	mov	r6, r3                                        
a0009658:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
a000965c:	eaffff9f 	b	a00094e0 <IMFS_eval_path+0xe8>                  
                                                                      

a00097f8 <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 */ ) {
a00097f8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a00097fc:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0009800:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
a0009804:	e5915000 	ldr	r5, [r1]                                      
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
a0009808:	e1a0a000 	mov	sl, r0                                        
a000980c:	e58d2000 	str	r2, [sp]                                      
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a0009810:	eb00147a 	bl	a000ea00 <strlen>                              
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
  int                                 i = 0;                          
a0009814:	e3a07000 	mov	r7, #0                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a0009818:	e1a04000 	mov	r4, r0                                        
a000981c:	e28d8004 	add	r8, sp, #4                                    
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
a0009820:	e1a01004 	mov	r1, r4                                        
a0009824:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0009828:	e08a0007 	add	r0, sl, r7                                    
a000982c:	e1a02008 	mov	r2, r8                                        
a0009830:	eb0000ed 	bl	a0009bec <IMFS_get_token>                      
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0009834:	e5963000 	ldr	r3, [r6]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a0009838:	e59db03c 	ldr	fp, [sp, #60]	; 0x3c                          
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
a000983c:	e1a09000 	mov	r9, r0                                        
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0009840:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a0009844:	e06b4004 	rsb	r4, fp, r4                                    
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0009848:	0a000035 	beq	a0009924 <IMFS_evaluate_for_make+0x12c>       
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
a000984c:	e3500000 	cmp	r0, #0                                        
a0009850:	1a000006 	bne	a0009870 <IMFS_evaluate_for_make+0x78>        
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
a0009854:	eb001079 	bl	a000da40 <__errno>                             
a0009858:	e3a03011 	mov	r3, #17                                       
a000985c:	e5803000 	str	r3, [r0]                                      
a0009860:	e3e05000 	mvn	r5, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0009864:	e1a00005 	mov	r0, r5                                        
a0009868:	e28dd040 	add	sp, sp, #64	; 0x40                            
a000986c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
a0009870:	e595104c 	ldr	r1, [r5, #76]	; 0x4c                          
a0009874:	e3510001 	cmp	r1, #1                                        
a0009878:	0a000044 	beq	a0009990 <IMFS_evaluate_for_make+0x198>       
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
a000987c:	e087700b 	add	r7, r7, fp                                    
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
a0009880:	e1a05003 	mov	r5, r3                                        
                                                                      
    switch( type ) {                                                  
a0009884:	e3590004 	cmp	r9, #4                                        
a0009888:	979ff109 	ldrls	pc, [pc, r9, lsl #2]                        
a000988c:	eaffffe3 	b	a0009820 <IMFS_evaluate_for_make+0x28>          <== NOT EXECUTED
a0009890:	a0009854 	.word	0xa0009854                                  <== NOT EXECUTED
a0009894:	a0009820 	.word	0xa0009820                                  <== NOT EXECUTED
a0009898:	a00098f4 	.word	0xa00098f4                                  <== NOT EXECUTED
a000989c:	a00098a4 	.word	0xa00098a4                                  <== NOT EXECUTED
a00098a0:	a0009938 	.word	0xa0009938                                  <== NOT EXECUTED
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
a00098a4:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a00098a8:	e3530003 	cmp	r3, #3                                        
a00098ac:	0a00006a 	beq	a0009a5c <IMFS_evaluate_for_make+0x264>       
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
a00098b0:	e3530004 	cmp	r3, #4                                        
a00098b4:	0a000068 	beq	a0009a5c <IMFS_evaluate_for_make+0x264>       
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
a00098b8:	e3550000 	cmp	r5, #0                                        
a00098bc:	0a00005f 	beq	a0009a40 <IMFS_evaluate_for_make+0x248>       
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
a00098c0:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a00098c4:	e3530001 	cmp	r3, #1                                        
a00098c8:	1a00005c 	bne	a0009a40 <IMFS_evaluate_for_make+0x248>       
	/*                                                                   
	 * 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 ) {                   
a00098cc:	e595c05c 	ldr	ip, [r5, #92]	; 0x5c                          
a00098d0:	e35c0000 	cmp	ip, #0                                        
a00098d4:	1a00005e 	bne	a0009a54 <IMFS_evaluate_for_make+0x25c>       
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a00098d8:	e1a00005 	mov	r0, r5                                        
a00098dc:	e1a01008 	mov	r1, r8                                        
a00098e0:	eb00009a 	bl	a0009b50 <IMFS_find_match_in_dir>              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
a00098e4:	e2505000 	subs	r5, r0, #0                                   
a00098e8:	0a000017 	beq	a000994c <IMFS_evaluate_for_make+0x154>       
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
a00098ec:	e5865000 	str	r5, [r6]                                      
a00098f0:	eaffffca 	b	a0009820 <IMFS_evaluate_for_make+0x28>          
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a00098f4:	e59f1180 	ldr	r1, [pc, #384]	; a0009a7c <IMFS_evaluate_for_make+0x284>
a00098f8:	e5912000 	ldr	r2, [r1]                                      
a00098fc:	e5922018 	ldr	r2, [r2, #24]                                 
a0009900:	e1530002 	cmp	r3, r2                                        
a0009904:	0affffc5 	beq	a0009820 <IMFS_evaluate_for_make+0x28>        
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
a0009908:	e596c010 	ldr	ip, [r6, #16]                                 
a000990c:	e59c201c 	ldr	r2, [ip, #28]                                 
a0009910:	e1530002 	cmp	r3, r2                                        
a0009914:	0a000023 	beq	a00099a8 <IMFS_evaluate_for_make+0x1b0>       
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
a0009918:	e5935008 	ldr	r5, [r3, #8]                                  
a000991c:	e3550000 	cmp	r5, #0                                        
a0009920:	1afffff1 	bne	a00098ec <IMFS_evaluate_for_make+0xf4>        
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
    if ( !IMFS_is_separator( path[ i ] ) )                            
      rtems_set_errno_and_return_minus_one( ENOENT );                 
a0009924:	eb001045 	bl	a000da40 <__errno>                             
a0009928:	e3a03002 	mov	r3, #2                                        
a000992c:	e5803000 	str	r3, [r0]                                      
a0009930:	e3e05000 	mvn	r5, #0                                        
a0009934:	eaffffca 	b	a0009864 <IMFS_evaluate_for_make+0x6c>          
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a0009938:	eb001040 	bl	a000da40 <__errno>                             
a000993c:	e3a0305b 	mov	r3, #91	; 0x5b                                
a0009940:	e5803000 	str	r3, [r0]                                      
a0009944:	e3e05000 	mvn	r5, #0                                        
a0009948:	eaffffc5 	b	a0009864 <IMFS_evaluate_for_make+0x6c>          
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
a000994c:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          
a0009950:	e59d1000 	ldr	r1, [sp]                                      
  /*                                                                  
   * 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++) {                                      
a0009954:	e08a4007 	add	r4, sl, r7                                    
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
a0009958:	e0633007 	rsb	r3, r3, r7                                    
a000995c:	e08a3003 	add	r3, sl, r3                                    
a0009960:	e5813000 	str	r3, [r1]                                      
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
a0009964:	e7da0007 	ldrb	r0, [sl, r7]                                 
a0009968:	e3500000 	cmp	r0, #0                                        
a000996c:	1a000003 	bne	a0009980 <IMFS_evaluate_for_make+0x188>       
a0009970:	ea000021 	b	a00099fc <IMFS_evaluate_for_make+0x204>         
a0009974:	e5f40001 	ldrb	r0, [r4, #1]!                                
a0009978:	e3500000 	cmp	r0, #0                                        
a000997c:	0a00001e 	beq	a00099fc <IMFS_evaluate_for_make+0x204>       
    if ( !IMFS_is_separator( path[ i ] ) )                            
a0009980:	ebffe515 	bl	a0002ddc <rtems_filesystem_is_separator>       
a0009984:	e3500000 	cmp	r0, #0                                        
a0009988:	1afffff9 	bne	a0009974 <IMFS_evaluate_for_make+0x17c>       
a000998c:	eaffffe4 	b	a0009924 <IMFS_evaluate_for_make+0x12c>         
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
a0009990:	e1a00006 	mov	r0, r6                                        
a0009994:	ebfffe6b 	bl	a0009348 <IMFS_evaluate_permission>            
a0009998:	e3500000 	cmp	r0, #0                                        
a000999c:	0a000022 	beq	a0009a2c <IMFS_evaluate_for_make+0x234>       
a00099a0:	e5963000 	ldr	r3, [r6]                                      
a00099a4:	eaffffb4 	b	a000987c <IMFS_evaluate_for_make+0x84>          
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a00099a8:	e28cc008 	add	ip, ip, #8                                    
	 * 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;           
a00099ac:	e28d4028 	add	r4, sp, #40	; 0x28                            
a00099b0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a00099b4:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
a00099b8:	e28de028 	add	lr, sp, #40	; 0x28                            
a00099bc:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00099c0:	e1a0e006 	mov	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;           
a00099c4:	e59cc000 	ldr	ip, [ip]                                      
          *pathloc = newloc;                                          
a00099c8:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a00099cc:	e59d003c 	ldr	r0, [sp, #60]	; 0x3c                          
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
a00099d0:	e58ec000 	str	ip, [lr]                                      
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a00099d4:	e596300c 	ldr	r3, [r6, #12]                                 
a00099d8:	e0600007 	rsb	r0, r0, r7                                    
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a00099dc:	e584c000 	str	ip, [r4]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a00099e0:	e5933004 	ldr	r3, [r3, #4]                                  
a00099e4:	e08a0000 	add	r0, sl, r0                                    
a00099e8:	e1a01006 	mov	r1, r6                                        
a00099ec:	e59d2000 	ldr	r2, [sp]                                      
a00099f0:	e12fff33 	blx	r3                                            
a00099f4:	e1a05000 	mov	r5, r0                                        
a00099f8:	eaffff99 	b	a0009864 <IMFS_evaluate_for_make+0x6c>          
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a00099fc:	e1a00006 	mov	r0, r6                                        
a0009a00:	ebfffe2b 	bl	a00092b4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
a0009a04:	e5963000 	ldr	r3, [r6]                                      
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a0009a08:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
a0009a0c:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a0009a10:	e3530001 	cmp	r3, #1                                        
a0009a14:	1a000009 	bne	a0009a40 <IMFS_evaluate_for_make+0x248>       
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
a0009a18:	e1a00006 	mov	r0, r6                                        
a0009a1c:	e3a01003 	mov	r1, #3                                        
a0009a20:	ebfffe48 	bl	a0009348 <IMFS_evaluate_permission>            
a0009a24:	e3500000 	cmp	r0, #0                                        
a0009a28:	1affff8d 	bne	a0009864 <IMFS_evaluate_for_make+0x6c>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0009a2c:	eb001003 	bl	a000da40 <__errno>                             
a0009a30:	e3a0300d 	mov	r3, #13                                       
a0009a34:	e5803000 	str	r3, [r0]                                      
a0009a38:	e3e05000 	mvn	r5, #0                                        
a0009a3c:	eaffff88 	b	a0009864 <IMFS_evaluate_for_make+0x6c>          
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0009a40:	eb000ffe 	bl	a000da40 <__errno>                             
a0009a44:	e3a03014 	mov	r3, #20                                       
a0009a48:	e5803000 	str	r3, [r0]                                      
a0009a4c:	e3e05000 	mvn	r5, #0                                        
a0009a50:	eaffff83 	b	a0009864 <IMFS_evaluate_for_make+0x6c>          
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a0009a54:	e28cc01c 	add	ip, ip, #28                                   
a0009a58:	eaffffd3 	b	a00099ac <IMFS_evaluate_for_make+0x1b4>         
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a0009a5c:	e1a00006 	mov	r0, r6                                        
a0009a60:	e3a01000 	mov	r1, #0                                        
a0009a64:	ebffff2e 	bl	a0009724 <IMFS_evaluate_link>                  
                                                                      
          if ( result == -1 )                                         
a0009a68:	e3700001 	cmn	r0, #1                                        
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a0009a6c:	e1a05000 	mov	r5, r0                                        
                                                                      
          if ( result == -1 )                                         
a0009a70:	0affff7b 	beq	a0009864 <IMFS_evaluate_for_make+0x6c>        
a0009a74:	e5965000 	ldr	r5, [r6]                                      
a0009a78:	eaffff8e 	b	a00098b8 <IMFS_evaluate_for_make+0xc0>          
                                                                      

a0009394 <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;
a0009394:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0009398:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a000939c:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a00093a0:	e1a04000 	mov	r4, r0                                        
a00093a4:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a00093a8:	e3520003 	cmp	r2, #3                                        
a00093ac:	1a00000e 	bne	a00093ec <IMFS_evaluate_hard_link+0x58>       
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
a00093b0:	e5933050 	ldr	r3, [r3, #80]	; 0x50                          
a00093b4:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
a00093b8:	ebffffbd 	bl	a00092b4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a00093bc:	e1a00004 	mov	r0, r4                                        
a00093c0:	e1a01005 	mov	r1, r5                                        
a00093c4:	ebffffdf 	bl	a0009348 <IMFS_evaluate_permission>            
a00093c8:	e3500000 	cmp	r0, #0                                        
a00093cc:	0a000001 	beq	a00093d8 <IMFS_evaluate_hard_link+0x44>       
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
a00093d0:	e3a00000 	mov	r0, #0                                        
}                                                                     
a00093d4:	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 );                   
a00093d8:	eb001198 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a00093dc:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a00093e0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00093e4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00093e8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    rtems_fatal_error_occurred (0xABCD0000);                          
a00093ec:	e3a0032b 	mov	r0, #-1409286144	; 0xac000000                 <== NOT EXECUTED
a00093f0:	e2400833 	sub	r0, r0, #3342336	; 0x330000                   <== NOT EXECUTED
a00093f4:	ebfff201 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0009664 <IMFS_evaluate_sym_link>: int IMFS_evaluate_sym_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
a0009664:	e92d4070 	push	{r4, r5, r6, lr}                             
  IMFS_jnode_t                     *jnode  = node->node_access;       
a0009668:	e5906000 	ldr	r6, [r0]                                      
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a000966c:	e24dd004 	sub	sp, sp, #4                                    
a0009670:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
a0009674:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0009678:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
a000967c:	e3530004 	cmp	r3, #4                                        
a0009680:	1a000024 	bne	a0009718 <IMFS_evaluate_sym_link+0xb4>        
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
a0009684:	e5963008 	ldr	r3, [r6, #8]                                  
a0009688:	e3530000 	cmp	r3, #0                                        
a000968c:	0a00001e 	beq	a000970c <IMFS_evaluate_sym_link+0xa8>        
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a0009690:	e5960050 	ldr	r0, [r6, #80]	; 0x50                          
a0009694:	e1a0100d 	mov	r1, sp                                        
a0009698:	e1a02004 	mov	r2, r4                                        
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
a000969c:	e5843000 	str	r3, [r4]                                      
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a00096a0:	eb0003bf 	bl	a000a5a4 <rtems_filesystem_get_sym_start_loc>  
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
a00096a4:	e59d3000 	ldr	r3, [sp]                                      
a00096a8:	e5966050 	ldr	r6, [r6, #80]	; 0x50                          
a00096ac:	e0866003 	add	r6, r6, r3                                    
a00096b0:	e1a00006 	mov	r0, r6                                        
a00096b4:	eb0014d1 	bl	a000ea00 <strlen>                              
a00096b8:	e1a02005 	mov	r2, r5                                        
a00096bc:	e1a01000 	mov	r1, r0                                        
a00096c0:	e1a03004 	mov	r3, r4                                        
a00096c4:	e1a00006 	mov	r0, r6                                        
a00096c8:	ebffff4a 	bl	a00093f8 <IMFS_eval_path>                      
a00096cc:	e1a06000 	mov	r6, r0                                        
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
a00096d0:	e1a00004 	mov	r0, r4                                        
a00096d4:	ebfffef6 	bl	a00092b4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a00096d8:	e1a00004 	mov	r0, r4                                        
a00096dc:	e1a01005 	mov	r1, r5                                        
a00096e0:	ebffff18 	bl	a0009348 <IMFS_evaluate_permission>            
a00096e4:	e3500000 	cmp	r0, #0                                        
a00096e8:	0a000002 	beq	a00096f8 <IMFS_evaluate_sym_link+0x94>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a00096ec:	e1a00006 	mov	r0, r6                                        
a00096f0:	e28dd004 	add	sp, sp, #4                                    
a00096f4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
a00096f8:	eb0010d0 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a00096fc:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a0009700:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009704:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0009708:	eafffff7 	b	a00096ec <IMFS_evaluate_sym_link+0x88>          <== NOT EXECUTED
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
    rtems_fatal_error_occurred( 0xBAD00000 );                         
a000970c:	e3a004ba 	mov	r0, #-1174405120	; 0xba000000                 <== NOT EXECUTED
a0009710:	e280060d 	add	r0, r0, #13631488	; 0xd00000                  <== NOT EXECUTED
a0009714:	ebfff139 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
a0009718:	e3a0032b 	mov	r0, #-1409286144	; 0xac000000                 <== NOT EXECUTED
a000971c:	e2400833 	sub	r0, r0, #3342336	; 0x330000                   <== NOT EXECUTED
a0009720:	ebfff136 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000d034 <IMFS_fchmod>: int IMFS_fchmod( rtems_filesystem_location_info_t *loc, mode_t mode ) {
a000d034:	e92d4070 	push	{r4, r5, r6, lr}                             
a000d038:	e24dd008 	sub	sp, sp, #8                                    
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
a000d03c:	e5904000 	ldr	r4, [r0]                                      
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
a000d040:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
a000d044:	ebfff3e9 	bl	a0009ff0 <geteuid>                             
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
a000d048:	e1d453bc 	ldrh	r5, [r4, #60]	; 0x3c                         
a000d04c:	e3500000 	cmp	r0, #0                                        
a000d050:	11550000 	cmpne	r5, r0                                      
a000d054:	03a05000 	moveq	r5, #0                                      
a000d058:	13a05001 	movne	r5, #1                                      
a000d05c:	1a00000d 	bne	a000d098 <IMFS_fchmod+0x64>                   
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a000d060:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a000d064:	e1a06a06 	lsl	r6, r6, #20                                   
                                                                      
  IMFS_update_ctime( jnode );                                         
a000d068:	e1a0000d 	mov	r0, sp                                        
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a000d06c:	e3c33eff 	bic	r3, r3, #4080	; 0xff0                         
a000d070:	e3c3300f 	bic	r3, r3, #15                                   
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a000d074:	e1836a26 	orr	r6, r3, r6, lsr #20                           
a000d078:	e5846030 	str	r6, [r4, #48]	; 0x30                          
                                                                      
  IMFS_update_ctime( jnode );                                         
a000d07c:	e1a01005 	mov	r1, r5                                        
a000d080:	ebffd3cf 	bl	a0001fc4 <gettimeofday>                        
a000d084:	e59d3000 	ldr	r3, [sp]                                      
                                                                      
  return 0;                                                           
a000d088:	e1a00005 	mov	r0, r5                                        
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
a000d08c:	e5843048 	str	r3, [r4, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a000d090:	e28dd008 	add	sp, sp, #8                                    
a000d094:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
a000d098:	eb000268 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a000d09c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000d0a0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d0a4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d0a8:	eafffff8 	b	a000d090 <IMFS_fchmod+0x5c>                     <== NOT EXECUTED
                                                                      

a0002338 <IMFS_fifo_close>: } int IMFS_fifo_close( rtems_libio_t *iop ) {
a0002338:	e92d4070 	push	{r4, r5, r6, lr}                             
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
a000233c:	e5905018 	ldr	r5, [r0, #24]                                 
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a0002340:	e1a01000 	mov	r1, r0                                        
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0002344:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a0002348:	e2850050 	add	r0, r5, #80	; 0x50                            
a000234c:	eb00254d 	bl	a000b888 <pipe_release>                        
                                                                      
  if (err == 0) {                                                     
a0002350:	e2506000 	subs	r6, r0, #0                                   
a0002354:	0a000002 	beq	a0002364 <IMFS_fifo_close+0x2c>               
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    IMFS_check_node_remove(jnode);                                    
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0002358:	ba000008 	blt	a0002380 <IMFS_fifo_close+0x48>               <== NOT EXECUTED
}                                                                     
a000235c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002360:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (err == 0) {                                                     
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
a0002364:	e5943014 	ldr	r3, [r4, #20]                                 
    IMFS_check_node_remove(jnode);                                    
a0002368:	e1a00005 	mov	r0, r5                                        
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (err == 0) {                                                     
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
a000236c:	e3c33c01 	bic	r3, r3, #256	; 0x100                          
a0002370:	e5843014 	str	r3, [r4, #20]                                 
    IMFS_check_node_remove(jnode);                                    
a0002374:	eb0001a4 	bl	a0002a0c <IMFS_check_node_remove>              
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a0002378:	e1a00006 	mov	r0, r6                                        
a000237c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  if (err == 0) {                                                     
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    IMFS_check_node_remove(jnode);                                    
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0002380:	eb003517 	bl	a000f7e4 <__errno>                             <== NOT EXECUTED
a0002384:	e2666000 	rsb	r6, r6, #0                                    <== NOT EXECUTED
a0002388:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
a000238c:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0002390:	eafffff1 	b	a000235c <IMFS_fifo_close+0x24>                 <== NOT EXECUTED
                                                                      

a0009a80 <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 ) {
a0009a80:	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;     
a0009a84:	e1a0c000 	mov	ip, r0                                        
a0009a88:	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                 
)                                                                     
{                                                                     
a0009a8c:	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;                                   
a0009a90:	e1a0600d 	mov	r6, sp                                        
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
a0009a94:	e1a0e000 	mov	lr, r0                                        
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
a0009a98:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0009a9c:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
a0009aa0:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
a0009aa4:	e3a01000 	mov	r1, #0                                        
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
a0009aa8:	e1a0500d 	mov	r5, sp                                        
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
a0009aac:	e58e101c 	str	r1, [lr, #28]                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
a0009ab0:	e5862000 	str	r2, [r6]                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a0009ab4:	e1a0000d 	mov	r0, sp                                        
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
a0009ab8:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
a0009abc:	e58d4000 	str	r4, [sp]                                      
     IMFS_Set_handlers( &loc );                                       
a0009ac0:	ebfffdfb 	bl	a00092b4 <IMFS_Set_handlers>                   
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
a0009ac4:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0009ac8:	e2842054 	add	r2, r4, #84	; 0x54                            
a0009acc:	e3530001 	cmp	r3, #1                                        
a0009ad0:	1a000010 	bne	a0009b18 <IMFS_fsunmount+0x98>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
a0009ad4:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a0009ad8:	e1530002 	cmp	r3, r2                                        
a0009adc:	0a000014 	beq	a0009b34 <IMFS_fsunmount+0xb4>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
a0009ae0:	e3540000 	cmp	r4, #0                                        
a0009ae4:	0a000008 	beq	a0009b0c <IMFS_fsunmount+0x8c>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
a0009ae8:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a0009aec:	e3530001 	cmp	r3, #1                                        
a0009af0:	1affffef 	bne	a0009ab4 <IMFS_fsunmount+0x34>                
         if ( jnode_has_children( jnode ) )                           
a0009af4:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a0009af8:	e2842054 	add	r2, r4, #84	; 0x54                            
a0009afc:	e1530002 	cmp	r3, r2                                        
a0009b00:	0affffeb 	beq	a0009ab4 <IMFS_fsunmount+0x34>                
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
a0009b04:	e2534000 	subs	r4, r3, #0                                   
a0009b08:	1affffe9 	bne	a0009ab4 <IMFS_fsunmount+0x34>                
                                                                      
   return 0;                                                          
a0009b0c:	e1a00004 	mov	r0, r4                                        
}                                                                     
a0009b10:	e28dd014 	add	sp, sp, #20                                   
a0009b14:	e8bd8070 	pop	{r4, r5, r6, pc}                              
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
        result = IMFS_unlink( NULL, &loc );                           
a0009b18:	e1a0100d 	mov	r1, sp                                        
a0009b1c:	e3a00000 	mov	r0, #0                                        
a0009b20:	ebffdf97 	bl	a0001984 <IMFS_unlink>                         
        if (result != 0)                                              
a0009b24:	e3500000 	cmp	r0, #0                                        
a0009b28:	1a000006 	bne	a0009b48 <IMFS_fsunmount+0xc8>                
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
a0009b2c:	e1a04006 	mov	r4, r6                                        
a0009b30:	eaffffea 	b	a0009ae0 <IMFS_fsunmount+0x60>                  
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
a0009b34:	e3a00000 	mov	r0, #0                                        
a0009b38:	e1a0100d 	mov	r1, sp                                        
a0009b3c:	ebffdf90 	bl	a0001984 <IMFS_unlink>                         
        if (result != 0)                                              
a0009b40:	e3500000 	cmp	r0, #0                                        
a0009b44:	0afffff8 	beq	a0009b2c <IMFS_fsunmount+0xac>                
          return -1;                                                  
a0009b48:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0009b4c:	eaffffef 	b	a0009b10 <IMFS_fsunmount+0x90>                  <== NOT EXECUTED
                                                                      

a0001534 <IMFS_initialize_support>: const rtems_filesystem_operations_table *op_table, const rtems_filesystem_file_handlers_r *memfile_handlers, const rtems_filesystem_file_handlers_r *directory_handlers, const rtems_filesystem_file_handlers_r *fifo_handlers ) {
a0001534:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0001538:	e1a08001 	mov	r8, r1                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
a000153c:	e59f10d4 	ldr	r1, [pc, #212]	; a0001618 <IMFS_initialize_support+0xe4>
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
a0001540:	e1a04000 	mov	r4, r0                                        
a0001544:	e1a0a002 	mov	sl, r2                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
a0001548:	e5911000 	ldr	r1, [r1]                                      
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
a000154c:	e1a07003 	mov	r7, r3                                        
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
a0001550:	e3510010 	cmp	r1, #16                                       
a0001554:	0a000007 	beq	a0001578 <IMFS_initialize_support+0x44>       
a0001558:	e3a02005 	mov	r2, #5                                        
a000155c:	e3a03020 	mov	r3, #32                                       
a0001560:	e1510003 	cmp	r1, r3                                        
a0001564:	0a000003 	beq	a0001578 <IMFS_initialize_support+0x44>       
a0001568:	e2522001 	subs	r2, r2, #1                                   
a000156c:	e1a03083 	lsl	r3, r3, #1                                    
a0001570:	1afffffa 	bne	a0001560 <IMFS_initialize_support+0x2c>       
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
a0001574:	e3a01080 	mov	r1, #128	; 0x80                               <== NOT EXECUTED
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
a0001578:	e59f509c 	ldr	r5, [pc, #156]	; a000161c <IMFS_initialize_support+0xe8>
a000157c:	e5851000 	str	r1, [r5]                                      
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
a0001580:	eb001f3b 	bl	a0009274 <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;
a0001584:	e59fe094 	ldr	lr, [pc, #148]	; a0001620 <IMFS_initialize_support+0xec>
a0001588:	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();
a000158c:	e584001c 	str	r0, [r4, #28]                                 
a0001590:	e1a06000 	mov	r6, r0                                        
  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;
a0001594:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0001598:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000159c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00015a0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00015a4:	e89e000f 	ldm	lr, {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;    
a00015a8:	e5847024 	str	r7, [r4, #36]	; 0x24                          
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
a00015ac:	e88c000f 	stm	ip, {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;              
a00015b0:	e5848028 	str	r8, [r4, #40]	; 0x28                          
  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 ) );                    
a00015b4:	e3a00001 	mov	r0, #1                                        
a00015b8:	e3a01014 	mov	r1, #20                                       
a00015bc:	eb0001be 	bl	a0001cbc <calloc>                              
  if ( !fs_info ) {                                                   
a00015c0:	e3500000 	cmp	r0, #0                                        
a00015c4:	0a00000c 	beq	a00015fc <IMFS_initialize_support+0xc8>       
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a00015c8:	e5952004 	ldr	r2, [r5, #4]                                  
  fs_info->ino_count             = 1;                                 
a00015cc:	e3a03001 	mov	r3, #1                                        
  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;                                   
a00015d0:	e5840034 	str	r0, [r4, #52]	; 0x34                          
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a00015d4:	e0821003 	add	r1, r2, r3                                    
a00015d8:	e5802000 	str	r2, [r0]                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
a00015dc:	e59d201c 	ldr	r2, [sp, #28]                                 
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
a00015e0:	e9800408 	stmib	r0, {r3, sl}                                
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
a00015e4:	e580700c 	str	r7, [r0, #12]                                 
  fs_info->fifo_handlers         = fifo_handlers;                     
a00015e8:	e5802010 	str	r2, [r0, #16]                                 
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a00015ec:	e5851004 	str	r1, [r5, #4]                                  
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
a00015f0:	e5863038 	str	r3, [r6, #56]	; 0x38                          
                                                                      
  return 0;                                                           
a00015f4:	e3a00000 	mov	r0, #0                                        
}                                                                     
a00015f8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
a00015fc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0001600:	eb00023a 	bl	a0001ef0 <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a0001604:	eb00310d 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001608:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a000160c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001610:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001614:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a0001624 <IMFS_link>: int i; /* * Verify this node can be linked to. */ info.hard_link.link_node = to_loc->node_access;
a0001624:	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 */            
)                                                                     
{                                                                     
a0001628:	e92d4070 	push	{r4, r5, r6, lr}                             
a000162c:	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 )               
a0001630:	e1d323b4 	ldrh	r2, [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 */            
)                                                                     
{                                                                     
a0001634:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0001638:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
a000163c:	e3520007 	cmp	r2, #7                                        
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a0001640:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
a0001644:	8a00001e 	bhi	a00016c4 <IMFS_link+0xa0>                     
    rtems_set_errno_and_return_minus_one( EMLINK );                   
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
a0001648:	e1a00006 	mov	r0, r6                                        
a000164c:	eb0034eb 	bl	a000ea00 <strlen>                              
a0001650:	e28d4004 	add	r4, sp, #4                                    
a0001654:	e1a01000 	mov	r1, r0                                        
a0001658:	e1a02004 	mov	r2, r4                                        
a000165c:	e28d3044 	add	r3, sp, #68	; 0x44                            
a0001660:	e1a00006 	mov	r0, r6                                        
a0001664:	eb002160 	bl	a0009bec <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(                                        
a0001668:	e28d2028 	add	r2, sp, #40	; 0x28                            
a000166c:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a0001670:	e58d2000 	str	r2, [sp]                                      
a0001674:	e3a01003 	mov	r1, #3                                        
a0001678:	e1a00005 	mov	r0, r5                                        
a000167c:	e1a02004 	mov	r2, r4                                        
a0001680:	e2433001 	sub	r3, r3, #1                                    
a0001684:	eb001ea9 	bl	a0009130 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a0001688:	e3500000 	cmp	r0, #0                                        
a000168c:	0a000011 	beq	a00016d8 <IMFS_link+0xb4>                     
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
a0001690:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
  IMFS_update_ctime( info.hard_link.link_node );                      
a0001694:	e28d003c 	add	r0, sp, #60	; 0x3c                            
a0001698:	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++;                               
a000169c:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a00016a0:	e2822001 	add	r2, r2, #1                                    
a00016a4:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
a00016a8:	eb000245 	bl	a0001fc4 <gettimeofday>                        
a00016ac:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
a00016b0:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
                                                                      
  return 0;                                                           
a00016b4:	e3a00000 	mov	r0, #0                                        
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
  IMFS_update_ctime( info.hard_link.link_node );                      
a00016b8:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a00016bc:	e28dd048 	add	sp, sp, #72	; 0x48                            
a00016c0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
    rtems_set_errno_and_return_minus_one( EMLINK );                   
a00016c4:	eb0030dd 	bl	a000da40 <__errno>                             
a00016c8:	e3a0301f 	mov	r3, #31                                       
a00016cc:	e5803000 	str	r3, [r0]                                      
a00016d0:	e3e00000 	mvn	r0, #0                                        
a00016d4:	eafffff8 	b	a00016bc <IMFS_link+0x98>                       
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a00016d8:	eb0030d8 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a00016dc:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00016e0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00016e4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00016e8:	eafffff3 	b	a00016bc <IMFS_link+0x98>                       <== NOT EXECUTED
                                                                      

a000c37c <IMFS_memfile_addblock>: MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
a000c37c:	e92d4030 	push	{r4, r5, lr}                                 
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
a000c380:	e3a02001 	mov	r2, #1                                        
a000c384:	ebfffee3 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      
  if ( *block_entry_ptr )                                             
a000c388:	e5904000 	ldr	r4, [r0]                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
a000c38c:	e1a05000 	mov	r5, r0                                        
  if ( *block_entry_ptr )                                             
a000c390:	e3540000 	cmp	r4, #0                                        
a000c394:	0a000001 	beq	a000c3a0 <IMFS_memfile_addblock+0x24>         
    return 0;                                                         
a000c398:	e3a00000 	mov	r0, #0                                        
a000c39c:	e8bd8030 	pop	{r4, r5, pc}                                  
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
a000c3a0:	ebfffecf 	bl	a000bee4 <memfile_alloc_block>                 
  if ( !memory )                                                      
a000c3a4:	e3500000 	cmp	r0, #0                                        
a000c3a8:	0a000002 	beq	a000c3b8 <IMFS_memfile_addblock+0x3c>         
    return 1;                                                         
  *block_entry_ptr = memory;                                          
a000c3ac:	e5850000 	str	r0, [r5]                                      
                                                                      
  return 0;                                                           
a000c3b0:	e1a00004 	mov	r0, r4                                        
a000c3b4:	e8bd8030 	pop	{r4, r5, pc}                                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
    return 1;                                                         
a000c3b8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
  *block_entry_ptr = memory;                                          
                                                                      
  return 0;                                                           
}                                                                     
a000c3bc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000c5b4 <IMFS_memfile_extend>: #if defined(RTEMS_DEBUG) assert( the_jnode ); assert( the_jnode->type == IMFS_MEMORY_FILE ); #endif if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )
a000c5b4:	e59f3128 	ldr	r3, [pc, #296]	; a000c6e4 <IMFS_memfile_extend+0x130>
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000c5b8:	e92d4df0 	push	{r4, r5, r6, r7, r8, sl, fp, lr}             
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a000c5bc:	e593b000 	ldr	fp, [r3]                                      
a000c5c0:	e3a03000 	mov	r3, #0                                        
a000c5c4:	e1530002 	cmp	r3, r2                                        
a000c5c8:	e1a0312b 	lsr	r3, fp, #2                                    
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000c5cc:	e1a06002 	mov	r6, r2                                        
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a000c5d0:	e0223393 	mla	r2, r3, r3, r3                                
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000c5d4:	e24dd004 	sub	sp, sp, #4                                    
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a000c5d8:	e0233392 	mla	r3, r2, r3, r3                                
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000c5dc:	e1a04000 	mov	r4, r0                                        
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a000c5e0:	e2433001 	sub	r3, r3, #1                                    
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000c5e4:	e1a08001 	mov	r8, r1                                        
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a000c5e8:	e003039b 	mul	r3, fp, r3                                    
a000c5ec:	da000034 	ble	a000c6c4 <IMFS_memfile_extend+0x110>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
a000c5f0:	e5947054 	ldr	r7, [r4, #84]	; 0x54                          
a000c5f4:	e594a050 	ldr	sl, [r4, #80]	; 0x50                          
a000c5f8:	e1560007 	cmp	r6, r7                                        
a000c5fc:	da000027 	ble	a000c6a0 <IMFS_memfile_extend+0xec>           
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a000c600:	e1a0cfcb 	asr	ip, fp, #31                                   
a000c604:	e1a0300c 	mov	r3, ip                                        
a000c608:	e1a0200b 	mov	r2, fp                                        
a000c60c:	e1a00008 	mov	r0, r8                                        
a000c610:	e1a01006 	mov	r1, r6                                        
a000c614:	e58dc000 	str	ip, [sp]                                      
a000c618:	eb001331 	bl	a00112e4 <__divdi3>                            
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a000c61c:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a000c620:	e1a05000 	mov	r5, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a000c624:	e1a01007 	mov	r1, r7                                        
a000c628:	e1a0000a 	mov	r0, sl                                        
a000c62c:	e1a0200b 	mov	r2, fp                                        
a000c630:	e1a0300c 	mov	r3, ip                                        
a000c634:	eb00132a 	bl	a00112e4 <__divdi3>                            
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a000c638:	e1550000 	cmp	r5, r0                                        
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a000c63c:	e1a0a000 	mov	sl, r0                                        
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a000c640:	3a00001b 	bcc	a000c6b4 <IMFS_memfile_extend+0x100>          
a000c644:	e1a07000 	mov	r7, r0                                        
a000c648:	ea000002 	b	a000c658 <IMFS_memfile_extend+0xa4>             
a000c64c:	e2877001 	add	r7, r7, #1                                    
a000c650:	e1550007 	cmp	r5, r7                                        
a000c654:	3a000016 	bcc	a000c6b4 <IMFS_memfile_extend+0x100>          
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
a000c658:	e1a01007 	mov	r1, r7                                        
a000c65c:	e1a00004 	mov	r0, r4                                        
a000c660:	ebffff45 	bl	a000c37c <IMFS_memfile_addblock>               
a000c664:	e3500000 	cmp	r0, #0                                        
a000c668:	0afffff7 	beq	a000c64c <IMFS_memfile_extend+0x98>           
a000c66c:	ea000003 	b	a000c680 <IMFS_memfile_extend+0xcc>             <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
a000c670:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c674:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
a000c678:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
a000c67c:	ebffffc1 	bl	a000c588 <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-- ) {                        
a000c680:	e15a0007 	cmp	sl, r7                                        <== NOT EXECUTED
a000c684:	9afffff9 	bls	a000c670 <IMFS_memfile_extend+0xbc>           <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
a000c688:	eb0004ec 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a000c68c:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000c690:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000c694:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
a000c698:	e28dd004 	add	sp, sp, #4                                    
a000c69c:	e8bd8df0 	pop	{r4, r5, r6, r7, r8, sl, fp, pc}              
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
a000c6a0:	1a000001 	bne	a000c6ac <IMFS_memfile_extend+0xf8>           
a000c6a4:	e158000a 	cmp	r8, sl                                        
a000c6a8:	8affffd4 	bhi	a000c600 <IMFS_memfile_extend+0x4c>           
    return 0;                                                         
a000c6ac:	e3a00000 	mov	r0, #0                                        
a000c6b0:	eafffff8 	b	a000c698 <IMFS_memfile_extend+0xe4>             
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
a000c6b4:	e5848050 	str	r8, [r4, #80]	; 0x50                          
a000c6b8:	e5846054 	str	r6, [r4, #84]	; 0x54                          
  return 0;                                                           
a000c6bc:	e3a00000 	mov	r0, #0                                        
a000c6c0:	eafffff4 	b	a000c698 <IMFS_memfile_extend+0xe4>             
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a000c6c4:	1a000001 	bne	a000c6d0 <IMFS_memfile_extend+0x11c>          
a000c6c8:	e1530001 	cmp	r3, r1                                        
a000c6cc:	8affffc7 	bhi	a000c5f0 <IMFS_memfile_extend+0x3c>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000c6d0:	eb0004da 	bl	a000da40 <__errno>                             
a000c6d4:	e3a03016 	mov	r3, #22                                       
a000c6d8:	e5803000 	str	r3, [r0]                                      
a000c6dc:	e3e00000 	mvn	r0, #0                                        
a000c6e0:	eaffffec 	b	a000c698 <IMFS_memfile_extend+0xe4>             
                                                                      

a000bf18 <IMFS_memfile_get_block_pointer>: /* * Is the block number in the simple indirect portion? */ if ( my_block <= LAST_INDIRECT ) {
a000bf18:	e59f31f8 	ldr	r3, [pc, #504]	; a000c118 <IMFS_memfile_get_block_pointer+0x200>
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000bf1c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
a000bf20:	e5935000 	ldr	r5, [r3]                                      
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000bf24:	e24dd004 	sub	sp, sp, #4                                    
a000bf28:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
a000bf2c:	e1a05125 	lsr	r5, r5, #2                                    
a000bf30:	e2453001 	sub	r3, r5, #1                                    
a000bf34:	e1510003 	cmp	r1, r3                                        
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000bf38:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
a000bf3c:	8a000007 	bhi	a000bf60 <IMFS_memfile_get_block_pointer+0x48>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
a000bf40:	e3520000 	cmp	r2, #0                                        
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
a000bf44:	e5900058 	ldr	r0, [r0, #88]	; 0x58                          
                                                                      
    if ( malloc_it ) {                                                
a000bf48:	0a00001c 	beq	a000bfc0 <IMFS_memfile_get_block_pointer+0xa8>
                                                                      
      if ( !p ) {                                                     
a000bf4c:	e3500000 	cmp	r0, #0                                        
a000bf50:	0a000041 	beq	a000c05c <IMFS_memfile_get_block_pointer+0x144>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
a000bf54:	e0800101 	add	r0, r0, r1, lsl #2                            
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a000bf58:	e28dd004 	add	sp, sp, #4                                    
a000bf5c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
a000bf60:	e0275595 	mla	r7, r5, r5, r5                                
a000bf64:	e2473001 	sub	r3, r7, #1                                    
a000bf68:	e1510003 	cmp	r1, r3                                        
a000bf6c:	8a000016 	bhi	a000bfcc <IMFS_memfile_get_block_pointer+0xb4>
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
a000bf70:	e0657001 	rsb	r7, r5, r1                                    
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bf74:	e1a00007 	mov	r0, r7                                        
a000bf78:	e1a01005 	mov	r1, r5                                        
a000bf7c:	eb0014a4 	bl	a0011214 <__umodsi3>                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bf80:	e1a01005 	mov	r1, r5                                        
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bf84:	e1a08000 	mov	r8, r0                                        
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bf88:	e1a00007 	mov	r0, r7                                        
a000bf8c:	eb00145a 	bl	a00110fc <__aeabi_uidiv>                       
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
a000bf90:	e3560000 	cmp	r6, #0                                        
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bf94:	e1a05000 	mov	r5, r0                                        
                                                                      
    p = info->doubly_indirect;                                        
a000bf98:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          
    if ( malloc_it ) {                                                
a000bf9c:	0a00003f 	beq	a000c0a0 <IMFS_memfile_get_block_pointer+0x188>
                                                                      
      if ( !p ) {                                                     
a000bfa0:	e3530000 	cmp	r3, #0                                        
a000bfa4:	0a000045 	beq	a000c0c0 <IMFS_memfile_get_block_pointer+0x1a8>
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
a000bfa8:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          
a000bfac:	e0835105 	add	r5, r3, r5, lsl #2                            
      if ( !p1 ) {                                                    
a000bfb0:	e3500000 	cmp	r0, #0                                        
a000bfb4:	0a00002f 	beq	a000c078 <IMFS_memfile_get_block_pointer+0x160>
#if 0                                                                 
fprintf(stdout, "(d %d %d %d %d %p %p) ", block, my_block, doubly,    
                                       singly, p, &p[singly] );       
fflush(stdout);                                                       
#endif                                                                
    return (block_p *)&p[ singly ];                                   
a000bfb8:	e0800108 	add	r0, r0, r8, lsl #2                            
a000bfbc:	eaffffe5 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
a000bfc0:	e3500000 	cmp	r0, #0                                        
a000bfc4:	1affffe2 	bne	a000bf54 <IMFS_memfile_get_block_pointer+0x3c>
a000bfc8:	eaffffe2 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  <== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
a000bfcc:	e0235597 	mla	r3, r7, r5, r5                                
a000bfd0:	e2433001 	sub	r3, r3, #1                                    
a000bfd4:	e1510003 	cmp	r1, r3                                        
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
a000bfd8:	83a00000 	movhi	r0, #0                                      
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
a000bfdc:	8affffdd 	bhi	a000bf58 <IMFS_memfile_get_block_pointer+0x40>
    my_block -= FIRST_TRIPLY_INDIRECT;                                
a000bfe0:	e0677001 	rsb	r7, r7, r1                                    
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bfe4:	e1a00007 	mov	r0, r7                                        
a000bfe8:	e1a01005 	mov	r1, r5                                        
a000bfec:	eb001488 	bl	a0011214 <__umodsi3>                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bff0:	e1a01005 	mov	r1, r5                                        
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bff4:	e1a0a000 	mov	sl, r0                                        
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000bff8:	e1a00007 	mov	r0, r7                                        
a000bffc:	eb00143e 	bl	a00110fc <__aeabi_uidiv>                       
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000c000:	e1a01005 	mov	r1, r5                                        
                                                                      
  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;                     
a000c004:	e1a08000 	mov	r8, r0                                        
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000c008:	eb00143b 	bl	a00110fc <__aeabi_uidiv>                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000c00c:	e1a01005 	mov	r1, r5                                        
  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;                       
a000c010:	e1a07000 	mov	r7, r0                                        
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000c014:	e1a00008 	mov	r0, r8                                        
a000c018:	eb00147d 	bl	a0011214 <__umodsi3>                           
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
a000c01c:	e3560000 	cmp	r6, #0                                        
    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;                               
a000c020:	e1a05000 	mov	r5, r0                                        
                                                                      
    p = info->triply_indirect;                                        
a000c024:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          
                                                                      
    if ( malloc_it ) {                                                
a000c028:	0a000029 	beq	a000c0d4 <IMFS_memfile_get_block_pointer+0x1bc>
      if ( !p ) {                                                     
a000c02c:	e3500000 	cmp	r0, #0                                        
a000c030:	0a000033 	beq	a000c104 <IMFS_memfile_get_block_pointer+0x1ec>
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
a000c034:	e7903107 	ldr	r3, [r0, r7, lsl #2]                          
a000c038:	e0807107 	add	r7, r0, r7, lsl #2                            
      if ( !p1 ) {                                                    
a000c03c:	e3530000 	cmp	r3, #0                                        
a000c040:	0a00002a 	beq	a000c0f0 <IMFS_memfile_get_block_pointer+0x1d8>
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
a000c044:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          
a000c048:	e0835105 	add	r5, r3, r5, lsl #2                            
      if ( !p2 ) {                                                    
a000c04c:	e3500000 	cmp	r0, #0                                        
a000c050:	0a00000d 	beq	a000c08c <IMFS_memfile_get_block_pointer+0x174>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c054:	e080010a 	add	r0, r0, sl, lsl #2                            
a000c058:	eaffffbe 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000c05c:	e58d1000 	str	r1, [sp]                                      
a000c060:	ebffff9f 	bl	a000bee4 <memfile_alloc_block>                 
        if ( !p )                                                     
a000c064:	e3500000 	cmp	r0, #0                                        
a000c068:	e59d1000 	ldr	r1, [sp]                                      
           return 0;                                                  
        info->indirect = p;                                           
a000c06c:	15840058 	strne	r0, [r4, #88]	; 0x58                        
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
a000c070:	1affffb7 	bne	a000bf54 <IMFS_memfile_get_block_pointer+0x3c>
a000c074:	eaffffb7 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  <== NOT EXECUTED
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
a000c078:	ebffff99 	bl	a000bee4 <memfile_alloc_block>                 
        if ( !p1 )                                                    
a000c07c:	e3500000 	cmp	r0, #0                                        
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
a000c080:	15850000 	strne	r0, [r5]                                    
#if 0                                                                 
fprintf(stdout, "(d %d %d %d %d %p %p) ", block, my_block, doubly,    
                                       singly, p, &p[singly] );       
fflush(stdout);                                                       
#endif                                                                
    return (block_p *)&p[ singly ];                                   
a000c084:	10800108 	addne	r0, r0, r8, lsl #2                          
a000c088:	eaffffb2 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
a000c08c:	ebffff94 	bl	a000bee4 <memfile_alloc_block>                 
        if ( !p2 )                                                    
a000c090:	e3500000 	cmp	r0, #0                                        
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
a000c094:	15850000 	strne	r0, [r5]                                    
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c098:	1080010a 	addne	r0, r0, sl, lsl #2                          
a000c09c:	eaffffad 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a000c0a0:	e3530000 	cmp	r3, #0                                        
a000c0a4:	1a000001 	bne	a000c0b0 <IMFS_memfile_get_block_pointer+0x198>
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
           return 0;                                                  
a000c0a8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a000c0ac:	eaffffa9 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  <== NOT EXECUTED
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
a000c0b0:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          
    if ( !p )                                                         
a000c0b4:	e3500000 	cmp	r0, #0                                        
#if 0                                                                 
fprintf(stdout, "(d %d %d %d %d %p %p) ", block, my_block, doubly,    
                                       singly, p, &p[singly] );       
fflush(stdout);                                                       
#endif                                                                
    return (block_p *)&p[ singly ];                                   
a000c0b8:	10800108 	addne	r0, r0, r8, lsl #2                          
a000c0bc:	eaffffa5 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000c0c0:	ebffff87 	bl	a000bee4 <memfile_alloc_block>                 
        if ( !p )                                                     
a000c0c4:	e2503000 	subs	r3, r0, #0                                   
a000c0c8:	0afffff6 	beq	a000c0a8 <IMFS_memfile_get_block_pointer+0x190>
           return 0;                                                  
        info->doubly_indirect = p;                                    
a000c0cc:	e584305c 	str	r3, [r4, #92]	; 0x5c                          
a000c0d0:	eaffffb4 	b	a000bfa8 <IMFS_memfile_get_block_pointer+0x90>  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a000c0d4:	e3500000 	cmp	r0, #0                                        
a000c0d8:	0affff9e 	beq	a000bf58 <IMFS_memfile_get_block_pointer+0x40>
                                                                      
#if 0                                                                 
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
a000c0dc:	e7900107 	ldr	r0, [r0, r7, lsl #2]                          
    if ( !p1 )                                                        
a000c0e0:	e3500000 	cmp	r0, #0                                        
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c0e4:	17900105 	ldrne	r0, [r0, r5, lsl #2]                        
a000c0e8:	1080010a 	addne	r0, r0, sl, lsl #2                          
a000c0ec:	eaffff99 	b	a000bf58 <IMFS_memfile_get_block_pointer+0x40>  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
a000c0f0:	ebffff7b 	bl	a000bee4 <memfile_alloc_block>                 
        if ( !p1 )                                                    
a000c0f4:	e2503000 	subs	r3, r0, #0                                   
a000c0f8:	0affffea 	beq	a000c0a8 <IMFS_memfile_get_block_pointer+0x190>
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
a000c0fc:	e5873000 	str	r3, [r7]                                      
a000c100:	eaffffcf 	b	a000c044 <IMFS_memfile_get_block_pointer+0x12c> 
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000c104:	ebffff76 	bl	a000bee4 <memfile_alloc_block>                 
        if ( !p )                                                     
a000c108:	e3500000 	cmp	r0, #0                                        
a000c10c:	0affff91 	beq	a000bf58 <IMFS_memfile_get_block_pointer+0x40>
           return 0;                                                  
        info->triply_indirect = p;                                    
a000c110:	e5840060 	str	r0, [r4, #96]	; 0x60                          
a000c114:	eaffffc6 	b	a000c034 <IMFS_memfile_get_block_pointer+0x11c> 
                                                                      

a000c11c <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
a000c11c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  if ( !dest )                                                        
a000c120:	e253b000 	subs	fp, r3, #0                                   
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a000c124:	e24dd014 	sub	sp, sp, #20                                   
a000c128:	e1a09000 	mov	r9, r0                                        
a000c12c:	e1a07001 	mov	r7, r1                                        
a000c130:	e1a08002 	mov	r8, r2                                        
a000c134:	e59d5038 	ldr	r5, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  if ( !dest )                                                        
a000c138:	0a00007c 	beq	a000c330 <IMFS_memfile_read+0x214>            
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a000c13c:	e3550000 	cmp	r5, #0                                        
a000c140:	0a00007a 	beq	a000c330 <IMFS_memfile_read+0x214>            
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000c144:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
a000c148:	e3530006 	cmp	r3, #6                                        
a000c14c:	0a00005c 	beq	a000c2c4 <IMFS_memfile_read+0x1a8>            
   *  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 )                        
a000c150:	e5902054 	ldr	r2, [r0, #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;                                         
a000c154:	e1a03001 	mov	r3, r1                                        
  if ( last_byte > the_jnode->info.file.size )                        
a000c158:	e3a01000 	mov	r1, #0                                        
a000c15c:	e1510002 	cmp	r1, r2                                        
a000c160:	e5902050 	ldr	r2, [r0, #80]	; 0x50                          
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
a000c164:	e0851007 	add	r1, r5, r7                                    
  if ( last_byte > the_jnode->info.file.size )                        
a000c168:	da00003d 	ble	a000c264 <IMFS_memfile_read+0x148>            
    my_length = the_jnode->info.file.size - start;                    
a000c16c:	e0635002 	rsb	r5, r3, r2                                    
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000c170:	e59f61cc 	ldr	r6, [pc, #460]	; a000c344 <IMFS_memfile_read+0x228>
a000c174:	e1a00007 	mov	r0, r7                                        
a000c178:	e1a01008 	mov	r1, r8                                        
a000c17c:	e5964000 	ldr	r4, [r6]                                      
a000c180:	e1a02004 	mov	r2, r4                                        
a000c184:	e1a03fc2 	asr	r3, r2, #31                                   
a000c188:	e98d000c 	stmib	sp, {r2, r3}                                
a000c18c:	eb00158e 	bl	a00117cc <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000c190:	e99d000c 	ldmib	sp, {r2, r3}                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000c194:	e1a0a000 	mov	sl, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000c198:	e1a01008 	mov	r1, r8                                        
a000c19c:	e1a00007 	mov	r0, r7                                        
a000c1a0:	eb00144f 	bl	a00112e4 <__divdi3>                            
  if ( start_offset )  {                                              
a000c1a4:	e35a0000 	cmp	sl, #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;                       
a000c1a8:	e1a07000 	mov	r7, r0                                        
  if ( start_offset )  {                                              
a000c1ac:	01a0800b 	moveq	r8, fp                                      
a000c1b0:	0a000014 	beq	a000c208 <IMFS_memfile_read+0xec>             
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000c1b4:	e1a00009 	mov	r0, r9                                        
a000c1b8:	e1a01007 	mov	r1, r7                                        
a000c1bc:	e3a02000 	mov	r2, #0                                        
a000c1c0:	ebffff54 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000c1c4:	e3500000 	cmp	r0, #0                                        
a000c1c8:	0a000023 	beq	a000c25c <IMFS_memfile_read+0x140>            
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
a000c1cc:	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;            
a000c1d0:	e06a3004 	rsb	r3, sl, r4                                    
a000c1d4:	e1550003 	cmp	r5, r3                                        
a000c1d8:	31a03005 	movcc	r3, r5                                      
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
a000c1dc:	e081100a 	add	r1, r1, sl                                    
a000c1e0:	e1a02003 	mov	r2, r3                                        
a000c1e4:	e1a0000b 	mov	r0, fp                                        
a000c1e8:	e58d3000 	str	r3, [sp]                                      
a000c1ec:	eb000841 	bl	a000e2f8 <memcpy>                              
    dest += to_copy;                                                  
a000c1f0:	e59d3000 	ldr	r3, [sp]                                      
    block++;                                                          
    my_length -= to_copy;                                             
a000c1f4:	e5964000 	ldr	r4, [r6]                                      
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
    block++;                                                          
a000c1f8:	e2877001 	add	r7, r7, #1                                    
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
a000c1fc:	e08b8003 	add	r8, fp, r3                                    
    block++;                                                          
    my_length -= to_copy;                                             
a000c200:	e0635005 	rsb	r5, r3, r5                                    
    copied += to_copy;                                                
a000c204:	e1a0a003 	mov	sl, r3                                        
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c208:	e1550004 	cmp	r5, r4                                        
a000c20c:	2a000008 	bcs	a000c234 <IMFS_memfile_read+0x118>            
a000c210:	ea000017 	b	a000c274 <IMFS_memfile_read+0x158>              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a000c214:	e5931000 	ldr	r1, [r3]                                      
a000c218:	eb000836 	bl	a000e2f8 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c21c:	e5963000 	ldr	r3, [r6]                                      
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
a000c220:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
a000c224:	e2877001 	add	r7, r7, #1                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c228:	e1530005 	cmp	r3, r5                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a000c22c:	e08aa004 	add	sl, sl, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c230:	8a00000f 	bhi	a000c274 <IMFS_memfile_read+0x158>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000c234:	e3a02000 	mov	r2, #0                                        
a000c238:	e1a01007 	mov	r1, r7                                        
a000c23c:	e1a00009 	mov	r0, r9                                        
a000c240:	ebffff34 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000c244:	e2503000 	subs	r3, r0, #0                                   
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a000c248:	e1a02004 	mov	r2, r4                                        
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
a000c24c:	e0645005 	rsb	r5, r4, r5                                    
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a000c250:	e1a00008 	mov	r0, r8                                        
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
a000c254:	1affffee 	bne	a000c214 <IMFS_memfile_read+0xf8>             
  #endif                                                              
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
a000c258:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
a000c25c:	e28dd014 	add	sp, sp, #20                                   
a000c260:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
a000c264:	1affffc1 	bne	a000c170 <IMFS_memfile_read+0x54>             
a000c268:	e1510002 	cmp	r1, r2                                        
a000c26c:	9affffbf 	bls	a000c170 <IMFS_memfile_read+0x54>             
a000c270:	eaffffbd 	b	a000c16c <IMFS_memfile_read+0x50>               
                                                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );               
  #endif                                                              
                                                                      
  if ( my_length ) {                                                  
a000c274:	e3550000 	cmp	r5, #0                                        
a000c278:	0a00000a 	beq	a000c2a8 <IMFS_memfile_read+0x18c>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000c27c:	e1a00009 	mov	r0, r9                                        
a000c280:	e1a01007 	mov	r1, r7                                        
a000c284:	e3a02000 	mov	r2, #0                                        
a000c288:	ebffff22 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000c28c:	e2503000 	subs	r3, r0, #0                                   
a000c290:	0afffff0 	beq	a000c258 <IMFS_memfile_read+0x13c>            
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
a000c294:	e1a00008 	mov	r0, r8                                        
a000c298:	e5931000 	ldr	r1, [r3]                                      
a000c29c:	e1a02005 	mov	r2, r5                                        
a000c2a0:	eb000814 	bl	a000e2f8 <memcpy>                              
    copied += my_length;                                              
a000c2a4:	e08aa005 	add	sl, sl, r5                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000c2a8:	e28d000c 	add	r0, sp, #12                                   
a000c2ac:	e3a01000 	mov	r1, #0                                        
a000c2b0:	ebffd743 	bl	a0001fc4 <gettimeofday>                        
a000c2b4:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  return copied;                                                      
a000c2b8:	e1a0000a 	mov	r0, sl                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000c2bc:	e5893040 	str	r3, [r9, #64]	; 0x40                          
                                                                      
  return copied;                                                      
a000c2c0:	eaffffe5 	b	a000c25c <IMFS_memfile_read+0x140>              
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a000c2c4:	e2804050 	add	r4, r0, #80	; 0x50                            
a000c2c8:	e8940018 	ldm	r4, {r3, r4}                                  
a000c2cc:	e1a00003 	mov	r0, r3                                        
a000c2d0:	e1a01004 	mov	r1, r4                                        
a000c2d4:	e3a02000 	mov	r2, #0                                        
a000c2d8:	e0500007 	subs	r0, r0, r7                                   
a000c2dc:	e0c11008 	sbc	r1, r1, r8                                    
a000c2e0:	e1520001 	cmp	r2, r1                                        
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
a000c2e4:	e5992058 	ldr	r2, [r9, #88]	; 0x58                          
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a000c2e8:	da00000b 	ble	a000c31c <IMFS_memfile_read+0x200>            
      my_length = the_jnode->info.linearfile.size - start;            
a000c2ec:	e067a003 	rsb	sl, r7, r3                                    
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
a000c2f0:	e0821007 	add	r1, r2, r7                                    
a000c2f4:	e1a0000b 	mov	r0, fp                                        
a000c2f8:	e1a0200a 	mov	r2, sl                                        
a000c2fc:	eb0007fd 	bl	a000e2f8 <memcpy>                              
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000c300:	e28d000c 	add	r0, sp, #12                                   
a000c304:	e3a01000 	mov	r1, #0                                        
a000c308:	ebffd72d 	bl	a0001fc4 <gettimeofday>                        
a000c30c:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  return copied;                                                      
a000c310:	e1a0000a 	mov	r0, sl                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000c314:	e5893040 	str	r3, [r9, #64]	; 0x40                          
a000c318:	eaffffcf 	b	a000c25c <IMFS_memfile_read+0x140>              
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a000c31c:	1a000001 	bne	a000c328 <IMFS_memfile_read+0x20c>            
a000c320:	e1550000 	cmp	r5, r0                                        
a000c324:	8afffff0 	bhi	a000c2ec <IMFS_memfile_read+0x1d0>            
a000c328:	e1a0a005 	mov	sl, r5                                        <== NOT EXECUTED
a000c32c:	eaffffef 	b	a000c2f0 <IMFS_memfile_read+0x1d4>              <== NOT EXECUTED
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000c330:	eb0005c2 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a000c334:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000c338:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000c33c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000c340:	eaffffc5 	b	a000c25c <IMFS_memfile_read+0x140>              <== NOT EXECUTED
                                                                      

a000c43c <IMFS_memfile_remove>: */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
a000c43c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  /*                                                                  
   *  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;                                 
a000c440:	e59f613c 	ldr	r6, [pc, #316]	; a000c584 <IMFS_memfile_remove+0x148>
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
a000c444:	e5903058 	ldr	r3, [r0, #88]	; 0x58                          
 */                                                                   
                                                                      
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
a000c448:	e1a0a000 	mov	sl, r0                                        
  /*                                                                  
   *  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;                                 
a000c44c:	e5967000 	ldr	r7, [r6]                                      
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
a000c450:	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;                                 
a000c454:	e1a07127 	lsr	r7, r7, #2                                    
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
a000c458:	0a000002 	beq	a000c468 <IMFS_memfile_remove+0x2c>           
    memfile_free_blocks_in_table( &info->indirect, to_free );         
a000c45c:	e2800058 	add	r0, r0, #88	; 0x58                            
a000c460:	e1a01007 	mov	r1, r7                                        
a000c464:	ebffffdd 	bl	a000c3e0 <memfile_free_blocks_in_table>        
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
a000c468:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          
a000c46c:	e3530000 	cmp	r3, #0                                        
a000c470:	0a000015 	beq	a000c4cc <IMFS_memfile_remove+0x90>           
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a000c474:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a000c478:	e1b02122 	lsrs	r2, r2, #2                                   <== NOT EXECUTED
a000c47c:	0a00000f 	beq	a000c4c0 <IMFS_memfile_remove+0x84>           <== NOT EXECUTED
a000c480:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000c484:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a000c488:	ea000000 	b	a000c490 <IMFS_memfile_remove+0x54>             <== NOT EXECUTED
a000c48c:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
a000c490:	e7930102 	ldr	r0, [r3, r2, lsl #2]                          <== NOT EXECUTED
a000c494:	e1a02102 	lsl	r2, r2, #2                                    <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a000c498:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
a000c49c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
a000c4a0:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c4a4:	e0830002 	add	r0, r3, r2                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
a000c4a8:	0a000000 	beq	a000c4b0 <IMFS_memfile_remove+0x74>           <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
a000c4ac:	ebffffcb 	bl	a000c3e0 <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++ ) {                  
a000c4b0:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c4b4:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000c4b8:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a000c4bc:	3afffff2 	bcc	a000c48c <IMFS_memfile_remove+0x50>           <== 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 );  
a000c4c0:	e28a005c 	add	r0, sl, #92	; 0x5c                            <== NOT EXECUTED
a000c4c4:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c4c8:	ebffffc4 	bl	a000c3e0 <memfile_free_blocks_in_table>        <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
a000c4cc:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          
a000c4d0:	e3500000 	cmp	r0, #0                                        
a000c4d4:	0a000028 	beq	a000c57c <IMFS_memfile_remove+0x140>          
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a000c4d8:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c4dc:	e1b03123 	lsrs	r3, r3, #2                                   <== NOT EXECUTED
a000c4e0:	0a000022 	beq	a000c570 <IMFS_memfile_remove+0x134>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a000c4e4:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000c4e8:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
a000c4ec:	13a09000 	movne	r9, #0                                      <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000c4f0:	11a08009 	movne	r8, r9                                      <== NOT EXECUTED
a000c4f4:	0a00001d 	beq	a000c570 <IMFS_memfile_remove+0x134>          <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
a000c4f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c4fc:	0a00000e 	beq	a000c53c <IMFS_memfile_remove+0x100>          <== NOT EXECUTED
a000c500:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000c504:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
        if ( p[j] ) {                                                 
a000c508:	e7953100 	ldr	r3, [r5, r0, lsl #2]                          <== NOT EXECUTED
a000c50c:	e1a00100 	lsl	r0, r0, #2                                    <== NOT EXECUTED
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
a000c510:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
        if ( p[j] ) {                                                 
a000c514:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
a000c518:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c51c:	e0850000 	add	r0, r5, r0                                    <== NOT EXECUTED
    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++ ) {                
        if ( p[j] ) {                                                 
a000c520:	0a000000 	beq	a000c528 <IMFS_memfile_remove+0xec>           <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
a000c524:	ebffffad 	bl	a000c3e0 <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++ ) {                
a000c528:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c52c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000c530:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a000c534:	3afffff3 	bcc	a000c508 <IMFS_memfile_remove+0xcc>           <== NOT EXECUTED
a000c538:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
a000c53c:	e0800009 	add	r0, r0, r9                                    <== NOT EXECUTED
a000c540:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c544:	ebffffa5 	bl	a000c3e0 <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++ ) {                  
a000c548:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c54c:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
a000c550:	e1a03123 	lsr	r3, r3, #2                                    <== NOT EXECUTED
a000c554:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a000c558:	9a000004 	bls	a000c570 <IMFS_memfile_remove+0x134>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a000c55c:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000c560:	e1a09108 	lsl	r9, r8, #2                                    <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
a000c564:	e7905108 	ldr	r5, [r0, r8, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000c568:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a000c56c:	1affffe1 	bne	a000c4f8 <IMFS_memfile_remove+0xbc>           <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
a000c570:	e28a0060 	add	r0, sl, #96	; 0x60                            <== NOT EXECUTED
a000c574:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c578:	ebffff98 	bl	a000c3e0 <memfile_free_blocks_in_table>        <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000c57c:	e3a00000 	mov	r0, #0                                        
a000c580:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

a000c588 <IMFS_memfile_remove_block>: MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
a000c588:	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 );  
a000c58c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000c590:	ebfffe60 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      <== NOT EXECUTED
  #if defined(RTEMS_DEBUG)                                            
    assert( block_ptr );                                              
  #endif                                                              
                                                                      
  if ( block_ptr ) {                                                  
a000c594:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000c598:	0a000003 	beq	a000c5ac <IMFS_memfile_remove_block+0x24>     <== NOT EXECUTED
    ptr = *block_ptr;                                                 
    *block_ptr = 0;                                                   
a000c59c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
  #if defined(RTEMS_DEBUG)                                            
    assert( block_ptr );                                              
  #endif                                                              
                                                                      
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
a000c5a0:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    *block_ptr = 0;                                                   
a000c5a4:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    memfile_free_block( ptr );                                        
a000c5a8:	ebffff84 	bl	a000c3c0 <memfile_free_block>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
a000c5ac:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000c5b0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000c6e8 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
a000c6e8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  if ( !source )                                                      
a000c6ec:	e2538000 	subs	r8, r3, #0                                   
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a000c6f0:	e24dd010 	sub	sp, sp, #16                                   
a000c6f4:	e1a09000 	mov	r9, r0                                        
a000c6f8:	e1a06001 	mov	r6, r1                                        
a000c6fc:	e1a07002 	mov	r7, r2                                        
a000c700:	e59db034 	ldr	fp, [sp, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  if ( !source )                                                      
a000c704:	0a000064 	beq	a000c89c <IMFS_memfile_write+0x1b4>           
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a000c708:	e35b0000 	cmp	fp, #0                                        
a000c70c:	0a000062 	beq	a000c89c <IMFS_memfile_write+0x1b4>           
   *  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 ) {                      
a000c710:	e5903054 	ldr	r3, [r0, #84]	; 0x54                          
  /*                                                                  
   *  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;                                         
a000c714:	e08b1001 	add	r1, fp, r1                                    
  if ( last_byte > the_jnode->info.file.size ) {                      
a000c718:	e3530000 	cmp	r3, #0                                        
a000c71c:	ba000040 	blt	a000c824 <IMFS_memfile_write+0x13c>           
a000c720:	0a00003c 	beq	a000c818 <IMFS_memfile_write+0x130>           
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000c724:	e59f5184 	ldr	r5, [pc, #388]	; a000c8b0 <IMFS_memfile_write+0x1c8>
a000c728:	e1a00006 	mov	r0, r6                                        
a000c72c:	e1a01007 	mov	r1, r7                                        
a000c730:	e5954000 	ldr	r4, [r5]                                      
a000c734:	e1a02004 	mov	r2, r4                                        
a000c738:	e1a03fc2 	asr	r3, r2, #31                                   
a000c73c:	e88d000c 	stm	sp, {r2, r3}                                  
a000c740:	eb001421 	bl	a00117cc <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000c744:	e89d000c 	ldm	sp, {r2, r3}                                  
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000c748:	e1a0a000 	mov	sl, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000c74c:	e1a01007 	mov	r1, r7                                        
a000c750:	e1a00006 	mov	r0, r6                                        
a000c754:	eb0012e2 	bl	a00112e4 <__divdi3>                            
  if ( start_offset )  {                                              
a000c758:	e35a0000 	cmp	sl, #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;                       
a000c75c:	e1a07000 	mov	r7, r0                                        
  if ( start_offset )  {                                              
a000c760:	01a0600b 	moveq	r6, fp                                      
a000c764:	1a000016 	bne	a000c7c4 <IMFS_memfile_write+0xdc>            
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c768:	e1560004 	cmp	r6, r4                                        
a000c76c:	2a000008 	bcs	a000c794 <IMFS_memfile_write+0xac>            
a000c770:	ea000035 	b	a000c84c <IMFS_memfile_write+0x164>             
    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 );                       
a000c774:	e5900000 	ldr	r0, [r0]                                      
a000c778:	eb0006de 	bl	a000e2f8 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c77c:	e5953000 	ldr	r3, [r5]                                      
      return copied;                                                  
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
    src += to_copy;                                                   
a000c780:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
a000c784:	e2877001 	add	r7, r7, #1                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c788:	e1530006 	cmp	r3, r6                                        
 *                                                                    
 *  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(                            
a000c78c:	e08aa004 	add	sl, sl, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000c790:	8a00002d 	bhi	a000c84c <IMFS_memfile_write+0x164>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000c794:	e1a01007 	mov	r1, r7                                        
a000c798:	e3a02000 	mov	r2, #0                                        
a000c79c:	e1a00009 	mov	r0, r9                                        
a000c7a0:	ebfffddc 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000c7a4:	e3500000 	cmp	r0, #0                                        
      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 );                       
a000c7a8:	e1a01008 	mov	r1, r8                                        
a000c7ac:	e1a02004 	mov	r2, r4                                        
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
a000c7b0:	e0646006 	rsb	r6, r4, r6                                    
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
a000c7b4:	1affffee 	bne	a000c774 <IMFS_memfile_write+0x8c>            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
a000c7b8:	e1a0000a 	mov	r0, sl                                        
a000c7bc:	e28dd010 	add	sp, sp, #16                                   
a000c7c0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000c7c4:	e1a00009 	mov	r0, r9                                        
a000c7c8:	e1a01007 	mov	r1, r7                                        
a000c7cc:	e3a02000 	mov	r2, #0                                        
a000c7d0:	ebfffdd0 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000c7d4:	e3500000 	cmp	r0, #0                                        
      return copied;                                                  
a000c7d8:	01a0a000 	moveq	sl, r0                                      
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
a000c7dc:	0afffff5 	beq	a000c7b8 <IMFS_memfile_write+0xd0>            
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a000c7e0:	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;            
a000c7e4:	e06a4004 	rsb	r4, sl, r4                                    
a000c7e8:	e154000b 	cmp	r4, fp                                        
a000c7ec:	21a0400b 	movcs	r4, fp                                      
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a000c7f0:	e080000a 	add	r0, r0, sl                                    
a000c7f4:	e1a01008 	mov	r1, r8                                        
a000c7f8:	e1a02004 	mov	r2, r4                                        
a000c7fc:	eb0006bd 	bl	a000e2f8 <memcpy>                              
    src += to_copy;                                                   
a000c800:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
    my_length -= to_copy;                                             
a000c804:	e064600b 	rsb	r6, r4, fp                                    
    copied += to_copy;                                                
a000c808:	e1a0a004 	mov	sl, r4                                        
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
a000c80c:	e2877001 	add	r7, r7, #1                                    
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a000c810:	e5954000 	ldr	r4, [r5]                                      
a000c814:	eaffffd3 	b	a000c768 <IMFS_memfile_write+0x80>              
   *  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 ) {                      
a000c818:	e5903050 	ldr	r3, [r0, #80]	; 0x50                          
a000c81c:	e1530001 	cmp	r3, r1                                        
a000c820:	2affffbf 	bcs	a000c724 <IMFS_memfile_write+0x3c>            
    status = IMFS_memfile_extend( the_jnode, last_byte );             
a000c824:	e1a00009 	mov	r0, r9                                        
a000c828:	e3a02000 	mov	r2, #0                                        
a000c82c:	ebffff60 	bl	a000c5b4 <IMFS_memfile_extend>                 
    if ( status )                                                     
a000c830:	e3500000 	cmp	r0, #0                                        
a000c834:	0affffba 	beq	a000c724 <IMFS_memfile_write+0x3c>            
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a000c838:	eb000480 	bl	a000da40 <__errno>                             
a000c83c:	e3a0301c 	mov	r3, #28                                       
a000c840:	e5803000 	str	r3, [r0]                                      
a000c844:	e3e0a000 	mvn	sl, #0                                        
a000c848:	eaffffda 	b	a000c7b8 <IMFS_memfile_write+0xd0>              
  #if defined(RTEMS_DEBUG)                                            
    assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );               
  #endif                                                              
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
a000c84c:	e3560000 	cmp	r6, #0                                        
a000c850:	0a00000a 	beq	a000c880 <IMFS_memfile_write+0x198>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000c854:	e1a00009 	mov	r0, r9                                        
a000c858:	e1a01007 	mov	r1, r7                                        
a000c85c:	e3a02000 	mov	r2, #0                                        
a000c860:	ebfffdac 	bl	a000bf18 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000c864:	e3500000 	cmp	r0, #0                                        
a000c868:	0affffd2 	beq	a000c7b8 <IMFS_memfile_write+0xd0>            
      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 );                     
a000c86c:	e5900000 	ldr	r0, [r0]                                      
a000c870:	e1a01008 	mov	r1, r8                                        
a000c874:	e1a02006 	mov	r2, r6                                        
a000c878:	eb00069e 	bl	a000e2f8 <memcpy>                              
    my_length = 0;                                                    
    copied += to_copy;                                                
a000c87c:	e08aa006 	add	sl, sl, r6                                    
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
a000c880:	e28d0008 	add	r0, sp, #8                                    
a000c884:	e3a01000 	mov	r1, #0                                        
a000c888:	ebffd5cd 	bl	a0001fc4 <gettimeofday>                        
a000c88c:	e59d3008 	ldr	r3, [sp, #8]                                  
a000c890:	e5893044 	str	r3, [r9, #68]	; 0x44                          
a000c894:	e5893048 	str	r3, [r9, #72]	; 0x48                          
                                                                      
  return copied;                                                      
a000c898:	eaffffc6 	b	a000c7b8 <IMFS_memfile_write+0xd0>              
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000c89c:	eb000467 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a000c8a0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000c8a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000c8a8:	e3e0a000 	mvn	sl, #0                                        <== NOT EXECUTED
a000c8ac:	eaffffc1 	b	a000c7b8 <IMFS_memfile_write+0xd0>              <== NOT EXECUTED
                                                                      

a00016ec <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
a00016ec:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a00016f0:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a00016f4:	e1a04001 	mov	r4, r1                                        
a00016f8:	e1a08000 	mov	r8, r0                                        
a00016fc:	e1a07002 	mov	r7, r2                                        
a0001700:	e1a06003 	mov	r6, 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 );        
a0001704:	eb0034bd 	bl	a000ea00 <strlen>                              
a0001708:	e28d5004 	add	r5, sp, #4                                    
a000170c:	e1a01000 	mov	r1, r0                                        
a0001710:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0001714:	e1a00008 	mov	r0, r8                                        
a0001718:	e1a02005 	mov	r2, r5                                        
a000171c:	eb002132 	bl	a0009bec <IMFS_get_token>                      
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
a0001720:	e2043a0f 	and	r3, r4, #61440	; 0xf000                       
a0001724:	e3530901 	cmp	r3, #16384	; 0x4000                           
a0001728:	0a00001c 	beq	a00017a0 <IMFS_mknod+0xb4>                    
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
a000172c:	e3530902 	cmp	r3, #32768	; 0x8000                           
a0001730:	0a000018 	beq	a0001798 <IMFS_mknod+0xac>                    
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
a0001734:	e3530a06 	cmp	r3, #24576	; 0x6000                           
a0001738:	13530a02 	cmpne	r3, #8192	; 0x2000                          
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
a000173c:	058d7028 	streq	r7, [sp, #40]	; 0x28                        
a0001740:	058d602c 	streq	r6, [sp, #44]	; 0x2c                        
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
a0001744:	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) ) {                        
a0001748:	1a00000a 	bne	a0001778 <IMFS_mknod+0x8c>                    
  new_node = IMFS_create_node(                                        
    pathloc,                                                          
    type,                                                             
    new_name,                                                         
    mode,                                                             
    &info                                                             
a000174c:	e28d3028 	add	r3, sp, #40	; 0x28                            
   *        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(                                        
a0001750:	e58d3000 	str	r3, [sp]                                      
a0001754:	e59d0058 	ldr	r0, [sp, #88]	; 0x58                          
a0001758:	e1a02005 	mov	r2, r5                                        
a000175c:	e1a03004 	mov	r3, r4                                        
a0001760:	eb001e72 	bl	a0009130 <IMFS_create_node>                    
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a0001764:	e3500000 	cmp	r0, #0                                        
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
a0001768:	13a00000 	movne	r0, #0                                      
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a000176c:	0a00000d 	beq	a00017a8 <IMFS_mknod+0xbc>                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
}                                                                     
a0001770:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0001774:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
a0001778:	e3530a01 	cmp	r3, #4096	; 0x1000                            
    type = IMFS_FIFO;                                                 
a000177c:	03a01007 	moveq	r1, #7                                      
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
a0001780:	0afffff1 	beq	a000174c <IMFS_mknod+0x60>                    
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001784:	eb0030ad 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001788:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000178c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001790:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001794:	eafffff5 	b	a0001770 <IMFS_mknod+0x84>                      <== NOT EXECUTED
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
a0001798:	e3a01005 	mov	r1, #5                                        
a000179c:	eaffffea 	b	a000174c <IMFS_mknod+0x60>                      
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
a00017a0:	e3a01001 	mov	r1, #1                                        
a00017a4:	eaffffe8 	b	a000174c <IMFS_mknod+0x60>                      
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a00017a8:	eb0030a4 	bl	a000da40 <__errno>                             
a00017ac:	e3a0300c 	mov	r3, #12                                       
a00017b0:	e5803000 	str	r3, [r0]                                      
a00017b4:	e3e00000 	mvn	r0, #0                                        
a00017b8:	eaffffec 	b	a0001770 <IMFS_mknod+0x84>                      
                                                                      

a00017bc <IMFS_mount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
a00017bc:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a00017c0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a00017c4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a00017c8:	e3520001 	cmp	r2, #1                                        
a00017cc:	1a000002 	bne	a00017dc <IMFS_mount+0x20>                    
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
a00017d0:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
  return 0;                                                           
a00017d4:	e3a00000 	mov	r0, #0                                        
}                                                                     
a00017d8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a00017dc:	eb003097 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a00017e0:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a00017e4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00017e8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00017ec:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a00037b8 <IMFS_print_jnode>: */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
a00037b8:	e92d4030 	push	{r4, r5, lr}                                 
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
  #endif                                                              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
a00037bc:	e59f50f8 	ldr	r5, [pc, #248]	; a00038bc <IMFS_print_jnode+0x104>
 */                                                                   
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
a00037c0:	e1a04000 	mov	r4, r0                                        
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
  #endif                                                              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
a00037c4:	e280000c 	add	r0, r0, #12                                   
a00037c8:	e5953000 	ldr	r3, [r5]                                      
a00037cc:	e5931008 	ldr	r1, [r3, #8]                                  
a00037d0:	eb0037fc 	bl	a00117c8 <fputs>                               
  switch( the_jnode->type ) {                                         
a00037d4:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
a00037d8:	e2423001 	sub	r3, r2, #1                                    
a00037dc:	e3530006 	cmp	r3, #6                                        
a00037e0:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a00037e4:	ea000023 	b	a0003878 <IMFS_print_jnode+0xc0>                <== NOT EXECUTED
a00037e8:	a000388c 	.word	0xa000388c                                  <== NOT EXECUTED
a00037ec:	a00038a0 	.word	0xa00038a0                                  <== NOT EXECUTED
a00037f0:	a0003804 	.word	0xa0003804                                  <== NOT EXECUTED
a00037f4:	a0003804 	.word	0xa0003804                                  <== NOT EXECUTED
a00037f8:	a000383c 	.word	0xa000383c                                  <== NOT EXECUTED
a00037fc:	a000385c 	.word	0xa000385c                                  <== NOT EXECUTED
a0003800:	a0003820 	.word	0xa0003820                                  <== NOT EXECUTED
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
a0003804:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003808:	e59f00b0 	ldr	r0, [pc, #176]	; a00038c0 <IMFS_print_jnode+0x108><== NOT EXECUTED
a000380c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003810:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003814:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
a0003818:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
a000381c:	ea003b1a 	b	a001248c <fwrite>                               <== NOT EXECUTED
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
a0003820:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003824:	e59f0098 	ldr	r0, [pc, #152]	; a00038c4 <IMFS_print_jnode+0x10c><== NOT EXECUTED
a0003828:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000382c:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003830:	e3a02012 	mov	r2, #18                                       <== NOT EXECUTED
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
a0003834:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
a0003838:	ea003b13 	b	a001248c <fwrite>                               <== NOT EXECUTED
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
a000383c:	e5953000 	ldr	r3, [r5]                                      
a0003840:	e59f1080 	ldr	r1, [pc, #128]	; a00038c8 <IMFS_print_jnode+0x110>
a0003844:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0003848:	e5930008 	ldr	r0, [r3, #8]                                  
a000384c:	eb003788 	bl	a0011674 <fprintf>                             
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
a0003850:	e59f0074 	ldr	r0, [pc, #116]	; a00038cc <IMFS_print_jnode+0x114>
}                                                                     
a0003854:	e8bd4030 	pop	{r4, r5, lr}                                  
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
a0003858:	ea003f06 	b	a0013478 <puts>                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
a000385c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003860:	e59f1068 	ldr	r1, [pc, #104]	; a00038d0 <IMFS_print_jnode+0x118><== NOT EXECUTED
a0003864:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0003868:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a000386c:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0003870:	eb00377f 	bl	a0011674 <fprintf>                             <== NOT EXECUTED
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
a0003874:	eafffff5 	b	a0003850 <IMFS_print_jnode+0x98>                <== NOT EXECUTED
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
a0003878:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a000387c:	e59f1050 	ldr	r1, [pc, #80]	; a00038d4 <IMFS_print_jnode+0x11c><== NOT EXECUTED
a0003880:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
a0003884:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
a0003888:	ea003779 	b	a0011674 <fprintf>                              <== NOT EXECUTED
  #endif                                                              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
a000388c:	e5953000 	ldr	r3, [r5]                                      
a0003890:	e3a0002f 	mov	r0, #47	; 0x2f                                
a0003894:	e5931008 	ldr	r1, [r3, #8]                                  
a0003898:	eb003795 	bl	a00116f4 <fputc>                               
      break;                                                          
a000389c:	eaffffeb 	b	a0003850 <IMFS_print_jnode+0x98>                
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
a00038a0:	e5953000 	ldr	r3, [r5]                                      
a00038a4:	e59f102c 	ldr	r1, [pc, #44]	; a00038d8 <IMFS_print_jnode+0x120>
a00038a8:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a00038ac:	e5930008 	ldr	r0, [r3, #8]                                  
a00038b0:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a00038b4:	eb00376e 	bl	a0011674 <fprintf>                             
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
a00038b8:	eaffffe4 	b	a0003850 <IMFS_print_jnode+0x98>                
                                                                      

a00017fc <IMFS_readlink>: ) { IMFS_jnode_t *node; int i; node = loc->node_access;
a00017fc:	e5903000 	ldr	r3, [r0]                                      
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
a0001800:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
a0001804:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
a0001808:	e3500004 	cmp	r0, #4                                        
a000180c:	1a000017 	bne	a0001870 <IMFS_readlink+0x74>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0001810:	e3520000 	cmp	r2, #0                                        
a0001814:	0a000011 	beq	a0001860 <IMFS_readlink+0x64>                 
a0001818:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000181c:	e5d0c000 	ldrb	ip, [r0]                                     
a0001820:	e35c0000 	cmp	ip, #0                                        
a0001824:	13a04000 	movne	r4, #0                                      
a0001828:	11a00004 	movne	r0, r4                                      
a000182c:	1a000004 	bne	a0001844 <IMFS_readlink+0x48>                 
a0001830:	ea00000c 	b	a0001868 <IMFS_readlink+0x6c>                   <== NOT EXECUTED
a0001834:	e593c050 	ldr	ip, [r3, #80]	; 0x50                          
a0001838:	e7dcc000 	ldrb	ip, [ip, r0]                                 
a000183c:	e35c0000 	cmp	ip, #0                                        
a0001840:	0a000005 	beq	a000185c <IMFS_readlink+0x60>                 
a0001844:	e2800001 	add	r0, r0, #1                                    
a0001848:	e1520000 	cmp	r2, r0                                        
    buf[i] = node->info.sym_link.name[i];                             
a000184c:	e7c1c004 	strb	ip, [r1, r4]                                 
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0001850:	e1a04000 	mov	r4, r0                                        
a0001854:	8afffff6 	bhi	a0001834 <IMFS_readlink+0x38>                 
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
a0001858:	e8bd8010 	pop	{r4, pc}                                      
a000185c:	e8bd8010 	pop	{r4, pc}                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0001860:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0001864:	eafffffb 	b	a0001858 <IMFS_readlink+0x5c>                   <== NOT EXECUTED
a0001868:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
a000186c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001870:	eb003072 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001874:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001878:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000187c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001880:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0009d9c <IMFS_stat>: { IMFS_fs_info_t *fs_info; IMFS_jnode_t *the_jnode; IMFS_device_t *io; the_jnode = loc->node_access;
a0009d9c:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a0009da0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
a0009da4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0009da8:	e2422002 	sub	r2, r2, #2                                    
a0009dac:	e3520005 	cmp	r2, #5                                        
a0009db0:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a0009db4:	ea000027 	b	a0009e58 <IMFS_stat+0xbc>                       <== NOT EXECUTED
a0009db8:	a0009e44 	.word	0xa0009e44                                  <== NOT EXECUTED
a0009dbc:	a0009e58 	.word	0xa0009e58                                  <== NOT EXECUTED
a0009dc0:	a0009dd0 	.word	0xa0009dd0                                  <== NOT EXECUTED
a0009dc4:	a0009e6c 	.word	0xa0009e6c                                  <== NOT EXECUTED
a0009dc8:	a0009e6c 	.word	0xa0009e6c                                  <== NOT EXECUTED
a0009dcc:	a0009dd0 	.word	0xa0009dd0                                  <== NOT EXECUTED
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
a0009dd0:	e3a04000 	mov	r4, #0                                        
a0009dd4:	e3a05000 	mov	r5, #0                                        
a0009dd8:	e5814020 	str	r4, [r1, #32]                                 
a0009ddc:	e5815024 	str	r5, [r1, #36]	; 0x24                          
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
a0009de0:	e5902010 	ldr	r2, [r0, #16]                                 
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a0009de4:	e5936030 	ldr	r6, [r3, #48]	; 0x30                          
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
a0009de8:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a0009dec:	e5922034 	ldr	r2, [r2, #52]	; 0x34                          
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a0009df0:	e5935038 	ldr	r5, [r3, #56]	; 0x38                          
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a0009df4:	e5934040 	ldr	r4, [r3, #64]	; 0x40                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a0009df8:	e5927000 	ldr	r7, [r2]                                      
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a0009dfc:	e3a02cff 	mov	r2, #65280	; 0xff00                           
a0009e00:	e28220fe 	add	r2, r2, #254	; 0xfe                           
  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;                              
a0009e04:	e593c044 	ldr	ip, [r3, #68]	; 0x44                          
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a0009e08:	e1d383b4 	ldrh	r8, [r3, #52]	; 0x34                         
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
a0009e0c:	e5812000 	str	r2, [r1]                                      
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
a0009e10:	e1d323bc 	ldrh	r2, [r3, #60]	; 0x3c                         
  buf->st_gid   = the_jnode->st_gid;                                  
a0009e14:	e1d333be 	ldrh	r3, [r3, #62]	; 0x3e                         
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a0009e18:	e1c181b0 	strh	r8, [r1, #16]                                
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
a0009e1c:	e5810038 	str	r0, [r1, #56]	; 0x38                          
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
a0009e20:	e1c121b2 	strh	r2, [r1, #18]                                
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
a0009e24:	e5817004 	str	r7, [r1, #4]                                  
                                                                      
  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;                                  
a0009e28:	e1c131b4 	strh	r3, [r1, #20]                                
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a0009e2c:	e581600c 	str	r6, [r1, #12]                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a0009e30:	e5815008 	str	r5, [r1, #8]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a0009e34:	e5814028 	str	r4, [r1, #40]	; 0x28                          
  buf->st_mtime = the_jnode->stat_mtime;                              
a0009e38:	e581c030 	str	ip, [r1, #48]	; 0x30                          
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
a0009e3c:	e3a00000 	mov	r0, #0                                        
}                                                                     
a0009e40:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
a0009e44:	e593c054 	ldr	ip, [r3, #84]	; 0x54                          
a0009e48:	e5932050 	ldr	r2, [r3, #80]	; 0x50                          
a0009e4c:	e581c01c 	str	ip, [r1, #28]                                 
a0009e50:	e5812018 	str	r2, [r1, #24]                                 
      break;                                                          
a0009e54:	eaffffe1 	b	a0009de0 <IMFS_stat+0x44>                       
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
a0009e58:	eb000ef8 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0009e5c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0009e60:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009e64:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0009e68:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
a0009e6c:	e2835050 	add	r5, r3, #80	; 0x50                            
a0009e70:	e8950030 	ldm	r5, {r4, r5}                                  
a0009e74:	e5814020 	str	r4, [r1, #32]                                 
a0009e78:	e5815024 	str	r5, [r1, #36]	; 0x24                          
      break;                                                          
a0009e7c:	eaffffd7 	b	a0009de0 <IMFS_stat+0x44>                       
                                                                      

a00018ec <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
a00018ec:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a00018f0:	e1a06000 	mov	r6, r0                                        
a00018f4:	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 );     
a00018f8:	e1a00002 	mov	r0, r2                                        
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
a00018fc:	e1a07002 	mov	r7, r2                                        
a0001900:	e1a05001 	mov	r5, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
a0001904:	eb00343d 	bl	a000ea00 <strlen>                              
a0001908:	e28d4004 	add	r4, sp, #4                                    
a000190c:	e1a01000 	mov	r1, r0                                        
a0001910:	e1a02004 	mov	r2, r4                                        
a0001914:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0001918:	e1a00007 	mov	r0, r7                                        
a000191c:	eb0020b2 	bl	a0009bec <IMFS_get_token>                      
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
a0001920:	e1a00005 	mov	r0, r5                                        
a0001924:	eb003421 	bl	a000e9b0 <strdup>                              
  if (info.sym_link.name == NULL) {                                   
a0001928:	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);                             
a000192c:	e58d0028 	str	r0, [sp, #40]	; 0x28                          
  if (info.sym_link.name == NULL) {                                   
a0001930:	0a00000e 	beq	a0001970 <IMFS_symlink+0x84>                  
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
a0001934:	e28d2028 	add	r2, sp, #40	; 0x28                            
a0001938:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a000193c:	e58d2000 	str	r2, [sp]                                      
a0001940:	e3a01004 	mov	r1, #4                                        
a0001944:	e1a00006 	mov	r0, r6                                        
a0001948:	e1a02004 	mov	r2, r4                                        
a000194c:	e2433001 	sub	r3, r3, #1                                    
a0001950:	eb001df6 	bl	a0009130 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
a0001954:	e3500000 	cmp	r0, #0                                        
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
a0001958:	13a00000 	movne	r0, #0                                      
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
a000195c:	0a000001 	beq	a0001968 <IMFS_symlink+0x7c>                  
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0001960:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0001964:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
a0001968:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          <== NOT EXECUTED
a000196c:	eb00015f 	bl	a0001ef0 <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a0001970:	eb003032 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001974:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0001978:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000197c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001980:	eafffff6 	b	a0001960 <IMFS_symlink+0x74>                    <== NOT EXECUTED
                                                                      

a0001984 <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
a0001984:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
a0001988:	e5915000 	ldr	r5, [r1]                                      
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a000198c:	e24dd01c 	sub	sp, sp, #28                                   
a0001990:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a0001994:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a0001998:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a000199c:	e3530003 	cmp	r3, #3                                        
a00019a0:	0a000006 	beq	a00019c0 <IMFS_unlink+0x3c>                   
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
a00019a4:	e5943008 	ldr	r3, [r4, #8]                                  
a00019a8:	e1a00006 	mov	r0, r6                                        
a00019ac:	e1a01004 	mov	r1, r4                                        
a00019b0:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a00019b4:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a00019b8:	e28dd01c 	add	sp, sp, #28                                   
a00019bc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
a00019c0:	e595e050 	ldr	lr, [r5, #80]	; 0x50                          
a00019c4:	e35e0000 	cmp	lr, #0                                        
a00019c8:	0a00001f 	beq	a0001a4c <IMFS_unlink+0xc8>                   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
a00019cc:	e1a0c00d 	mov	ip, sp                                        
a00019d0:	e1a07001 	mov	r7, r1                                        
a00019d4:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a00019d8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00019dc:	e5973000 	ldr	r3, [r7]                                      
    the_link.node_access = node->info.hard_link.link_node;            
a00019e0:	e28d801c 	add	r8, sp, #28                                   
    IMFS_Set_handlers( &the_link );                                   
a00019e4:	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;                                                  
a00019e8:	e58c3000 	str	r3, [ip]                                      
    the_link.node_access = node->info.hard_link.link_node;            
a00019ec:	e528e01c 	str	lr, [r8, #-28]!                               
    IMFS_Set_handlers( &the_link );                                   
a00019f0:	eb001e2f 	bl	a00092b4 <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)               
a00019f4:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a00019f8:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a00019fc:	e3520001 	cmp	r2, #1                                        
a0001a00:	0a000008 	beq	a0001a28 <IMFS_unlink+0xa4>                   
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
a0001a04:	e2422001 	sub	r2, r2, #1                                    
a0001a08:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
        IMFS_update_ctime( node->info.hard_link.link_node );          
a0001a0c:	e28d0014 	add	r0, sp, #20                                   
a0001a10:	e3a01000 	mov	r1, #0                                        
a0001a14:	eb00016a 	bl	a0001fc4 <gettimeofday>                        
a0001a18:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a0001a1c:	e59d2014 	ldr	r2, [sp, #20]                                 
a0001a20:	e5832048 	str	r2, [r3, #72]	; 0x48                          
a0001a24:	eaffffde 	b	a00019a4 <IMFS_unlink+0x20>                     
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
a0001a28:	e59d3008 	ldr	r3, [sp, #8]                                  
a0001a2c:	e1a00006 	mov	r0, r6                                        
a0001a30:	e1a0100d 	mov	r1, sp                                        
a0001a34:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0001a38:	e12fff33 	blx	r3                                            
        if ( result != 0 )                                            
a0001a3c:	e3500000 	cmp	r0, #0                                        
a0001a40:	0affffd7 	beq	a00019a4 <IMFS_unlink+0x20>                   
            return -1;                                                
a0001a44:	e3e00000 	mvn	r0, #0                                        
a0001a48:	eaffffda 	b	a00019b8 <IMFS_unlink+0x34>                     
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0001a4c:	eb002ffb 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001a50:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001a54:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001a58:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001a5c:	eaffffd5 	b	a00019b8 <IMFS_unlink+0x34>                     <== NOT EXECUTED
                                                                      

a0001a60 <IMFS_unmount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
a0001a60:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a0001a64:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0001a68:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0001a6c:	e3520001 	cmp	r2, #1                                        
a0001a70:	1a000005 	bne	a0001a8c <IMFS_unmount+0x2c>                  
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
a0001a74:	e593205c 	ldr	r2, [r3, #92]	; 0x5c                          
a0001a78:	e3520000 	cmp	r2, #0                                        
a0001a7c:	0a000007 	beq	a0001aa0 <IMFS_unmount+0x40>                  
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
a0001a80:	e3a00000 	mov	r0, #0                                        
a0001a84:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
                                                                      
  return 0;                                                           
}                                                                     
a0001a88:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0001a8c:	eb002feb 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001a90:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0001a94:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001a98:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001a9c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
a0001aa0:	eb002fe6 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001aa4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001aa8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001aac:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001ab0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000127c <Stack_check_Initialize>: Stack_check_Dope_stack(&Stack_check_Interrupt_stack); } #endif Stack_check_Initialized = 1; }
a000127c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0016ae4 <_CORE_message_queue_Broadcast>: { Thread_Control *the_thread; uint32_t number_broadcasted; Thread_Wait_information *waitp; if ( size > the_message_queue->maximum_message_size ) {
a0016ae4:	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                    
)                                                                     
{                                                                     
a0016ae8:	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 ) {             
a0016aec:	e1530002 	cmp	r3, r2                                        
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
a0016af0:	e1a07000 	mov	r7, r0                                        
a0016af4:	e1a05002 	mov	r5, r2                                        
a0016af8:	e1a08001 	mov	r8, r1                                        
a0016afc:	e59da020 	ldr	sl, [sp, #32]                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0016b00:	3a000013 	bcc	a0016b54 <_CORE_message_queue_Broadcast+0x70> 
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
a0016b04:	e5906048 	ldr	r6, [r0, #72]	; 0x48                          
a0016b08:	e3560000 	cmp	r6, #0                                        
a0016b0c:	0a000009 	beq	a0016b38 <_CORE_message_queue_Broadcast+0x54> 
    *count = 0;                                                       
a0016b10:	e3a00000 	mov	r0, #0                                        
a0016b14:	e58a0000 	str	r0, [sl]                                      
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
a0016b18:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
a0016b1c:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a0016b20:	e1a01008 	mov	r1, r8                                        
a0016b24:	e1a02005 	mov	r2, r5                                        
a0016b28:	eb00248f 	bl	a001fd6c <memcpy>                              
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a0016b2c:	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;                                          
a0016b30:	e2866001 	add	r6, r6, #1                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a0016b34:	e5835000 	str	r5, [r3]                                      
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
a0016b38:	e1a00007 	mov	r0, r7                                        
a0016b3c:	eb000a67 	bl	a00194e0 <_Thread_queue_Dequeue>               
a0016b40:	e2504000 	subs	r4, r0, #0                                   
a0016b44:	1afffff4 	bne	a0016b1c <_CORE_message_queue_Broadcast+0x38> 
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
a0016b48:	e58a6000 	str	r6, [sl]                                      
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
a0016b4c:	e1a00004 	mov	r0, r4                                        
a0016b50:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
a0016b54:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
a0016b58:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a000b450 <_Chain_Initialize>: count = number_nodes; current = _Chain_Head( the_chain ); the_chain->permanent_null = NULL; next = starting_address; while ( count-- ) {
a000b450:	e3520000 	cmp	r2, #0                                        
  Chain_Node *current;                                                
  Chain_Node *next;                                                   
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
a000b454:	e3a0c000 	mov	ip, #0                                        
  Chain_Control *the_chain,                                           
  void           *starting_address,                                   
  size_t         number_nodes,                                        
  size_t         node_size                                            
)                                                                     
{                                                                     
a000b458:	e92d0070 	push	{r4, r5, r6}                                 
  Chain_Node *current;                                                
  Chain_Node *next;                                                   
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
a000b45c:	e580c004 	str	ip, [r0, #4]                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) the_chain;                                   
a000b460:	e1a04000 	mov	r4, r0                                        
  next                      = starting_address;                       
a000b464:	11a05002 	movne	r5, r2                                      
a000b468:	11a0c001 	movne	ip, r1                                      
  while ( count-- ) {                                                 
a000b46c:	1a000002 	bne	a000b47c <_Chain_Initialize+0x2c>             
a000b470:	ea000008 	b	a000b498 <_Chain_Initialize+0x48>               <== NOT EXECUTED
a000b474:	e1a0400c 	mov	r4, ip                                        
    current->next  = next;                                            
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
a000b478:	e1a0c006 	mov	ip, r6                                        
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
a000b47c:	e2555001 	subs	r5, r5, #1                                   
    current->next  = next;                                            
a000b480:	e584c000 	str	ip, [r4]                                      
    next->previous = current;                                         
a000b484:	e58c4004 	str	r4, [ip, #4]                                  
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
a000b488:	e08c6003 	add	r6, ip, r3                                    
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
a000b48c:	1afffff8 	bne	a000b474 <_Chain_Initialize+0x24>             
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
a000b490:	e2422001 	sub	r2, r2, #1                                    
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
a000b494:	e0241293 	mla	r4, r3, r2, r1                                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000b498:	e2803004 	add	r3, r0, #4                                    
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
  current->next    = _Chain_Tail( the_chain );                        
a000b49c:	e5843000 	str	r3, [r4]                                      
  the_chain->last  = current;                                         
a000b4a0:	e5804008 	str	r4, [r0, #8]                                  
}                                                                     
a000b4a4:	e8bd0070 	pop	{r4, r5, r6}                                  
a000b4a8:	e12fff1e 	bx	lr                                             
                                                                      

a000b68c <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
a000b68c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000b690:	e1a08002 	mov	r8, r2                                        
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
a000b694:	e5902010 	ldr	r2, [r0, #16]                                 
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000b698:	e24dd01c 	sub	sp, sp, #28                                   
a000b69c:	e1a05001 	mov	r5, r1                                        
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000b6a0:	e2911004 	adds	r1, r1, #4                                   
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000b6a4:	e1a07000 	mov	r7, r0                                        
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000b6a8:	e58d1000 	str	r1, [sp]                                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000b6ac:	e1a0b003 	mov	fp, r3                                        
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000b6b0:	e5909008 	ldr	r9, [r0, #8]                                  
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
a000b6b4:	e58d200c 	str	r2, [sp, #12]                                 
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000b6b8:	2a000073 	bcs	a000b88c <_Heap_Allocate_aligned_with_boundary+0x200>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
a000b6bc:	e3530000 	cmp	r3, #0                                        
a000b6c0:	1a00006f 	bne	a000b884 <_Heap_Allocate_aligned_with_boundary+0x1f8>
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000b6c4:	e1570009 	cmp	r7, r9                                        
a000b6c8:	0a00006f 	beq	a000b88c <_Heap_Allocate_aligned_with_boundary+0x200>
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
a000b6cc:	e59d300c 	ldr	r3, [sp, #12]                                 
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
a000b6d0:	e2651004 	rsb	r1, r5, #4                                    
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000b6d4:	e3a06000 	mov	r6, #0                                        
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
a000b6d8:	e2833007 	add	r3, r3, #7                                    
a000b6dc:	e58d3010 	str	r3, [sp, #16]                                 
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
a000b6e0:	e58d1014 	str	r1, [sp, #20]                                 
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
a000b6e4:	e599a004 	ldr	sl, [r9, #4]                                  
a000b6e8:	e59d2000 	ldr	r2, [sp]                                      
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
a000b6ec:	e2866001 	add	r6, r6, #1                                    
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
a000b6f0:	e152000a 	cmp	r2, sl                                        
a000b6f4:	2a00004f 	bcs	a000b838 <_Heap_Allocate_aligned_with_boundary+0x1ac>
      if ( alignment == 0 ) {                                         
a000b6f8:	e3580000 	cmp	r8, #0                                        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
a000b6fc:	02894008 	addeq	r4, r9, #8                                  
a000b700:	0a00004a 	beq	a000b830 <_Heap_Allocate_aligned_with_boundary+0x1a4>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000b704:	e5973014 	ldr	r3, [r7, #20]                                 
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000b708:	e59d1014 	ldr	r1, [sp, #20]                                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
a000b70c:	e59d2010 	ldr	r2, [sp, #16]                                 
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a000b710:	e3caa001 	bic	sl, sl, #1                                    
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
a000b714:	e089a00a 	add	sl, r9, sl                                    
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000b718:	e081400a 	add	r4, r1, sl                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000b71c:	e58d3004 	str	r3, [sp, #4]                                  
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
a000b720:	e0633002 	rsb	r3, r3, r2                                    
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000b724:	e1a00004 	mov	r0, r4                                        
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
a000b728:	e083a00a 	add	sl, r3, sl                                    
a000b72c:	e1a01008 	mov	r1, r8                                        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
a000b730:	e2893008 	add	r3, r9, #8                                    
a000b734:	e58d3008 	str	r3, [sp, #8]                                  
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000b738:	eb0016b5 	bl	a0011214 <__umodsi3>                           
a000b73c:	e0604004 	rsb	r4, r0, r4                                    
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
a000b740:	e15a0004 	cmp	sl, r4                                        
a000b744:	2a000003 	bcs	a000b758 <_Heap_Allocate_aligned_with_boundary+0xcc>
a000b748:	e1a0000a 	mov	r0, sl                                        
a000b74c:	e1a01008 	mov	r1, r8                                        
a000b750:	eb0016af 	bl	a0011214 <__umodsi3>                           
a000b754:	e060400a 	rsb	r4, r0, sl                                    
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
a000b758:	e35b0000 	cmp	fp, #0                                        
a000b75c:	0a000025 	beq	a000b7f8 <_Heap_Allocate_aligned_with_boundary+0x16c>
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
a000b760:	e084a005 	add	sl, r4, r5                                    
a000b764:	e1a0000a 	mov	r0, sl                                        
a000b768:	e1a0100b 	mov	r1, fp                                        
a000b76c:	eb0016a8 	bl	a0011214 <__umodsi3>                           
a000b770:	e060000a 	rsb	r0, r0, sl                                    
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
a000b774:	e1540000 	cmp	r4, r0                                        
a000b778:	23a03000 	movcs	r3, #0                                      
a000b77c:	33a03001 	movcc	r3, #1                                      
a000b780:	e15a0000 	cmp	sl, r0                                        
a000b784:	93a03000 	movls	r3, #0                                      
a000b788:	e3530000 	cmp	r3, #0                                        
a000b78c:	0a000019 	beq	a000b7f8 <_Heap_Allocate_aligned_with_boundary+0x16c>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
a000b790:	e59d1008 	ldr	r1, [sp, #8]                                  
a000b794:	e081a005 	add	sl, r1, r5                                    
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
a000b798:	e15a0000 	cmp	sl, r0                                        
a000b79c:	958d6018 	strls	r6, [sp, #24]                               
a000b7a0:	9a000002 	bls	a000b7b0 <_Heap_Allocate_aligned_with_boundary+0x124>
a000b7a4:	ea000023 	b	a000b838 <_Heap_Allocate_aligned_with_boundary+0x1ac>
a000b7a8:	e15a0000 	cmp	sl, r0                                        
a000b7ac:	8a000038 	bhi	a000b894 <_Heap_Allocate_aligned_with_boundary+0x208>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
a000b7b0:	e0654000 	rsb	r4, r5, r0                                    
a000b7b4:	e1a01008 	mov	r1, r8                                        
a000b7b8:	e1a00004 	mov	r0, r4                                        
a000b7bc:	eb001694 	bl	a0011214 <__umodsi3>                           
a000b7c0:	e0604004 	rsb	r4, r0, r4                                    
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
a000b7c4:	e0846005 	add	r6, r4, r5                                    
a000b7c8:	e1a00006 	mov	r0, r6                                        
a000b7cc:	e1a0100b 	mov	r1, fp                                        
a000b7d0:	eb00168f 	bl	a0011214 <__umodsi3>                           
a000b7d4:	e0600006 	rsb	r0, r0, r6                                    
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
a000b7d8:	e1560000 	cmp	r6, r0                                        
a000b7dc:	93a06000 	movls	r6, #0                                      
a000b7e0:	83a06001 	movhi	r6, #1                                      
a000b7e4:	e1540000 	cmp	r4, r0                                        
a000b7e8:	23a06000 	movcs	r6, #0                                      
a000b7ec:	e3560000 	cmp	r6, #0                                        
a000b7f0:	1affffec 	bne	a000b7a8 <_Heap_Allocate_aligned_with_boundary+0x11c>
a000b7f4:	e59d6018 	ldr	r6, [sp, #24]                                 
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
a000b7f8:	e59d2008 	ldr	r2, [sp, #8]                                  
a000b7fc:	e1520004 	cmp	r2, r4                                        
a000b800:	8a00000c 	bhi	a000b838 <_Heap_Allocate_aligned_with_boundary+0x1ac>
a000b804:	e59d100c 	ldr	r1, [sp, #12]                                 
a000b808:	e1a00004 	mov	r0, r4                                        
a000b80c:	eb001680 	bl	a0011214 <__umodsi3>                           
a000b810:	e3e0a007 	mvn	sl, #7                                        
a000b814:	e069a00a 	rsb	sl, r9, sl                                    
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
a000b818:	e59d1004 	ldr	r1, [sp, #4]                                  
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
a000b81c:	e08aa004 	add	sl, sl, r4                                    
a000b820:	e060300a 	rsb	r3, r0, sl                                    
a000b824:	e15a0000 	cmp	sl, r0                                        
a000b828:	11510003 	cmpne	r1, r3                                      
a000b82c:	8a000001 	bhi	a000b838 <_Heap_Allocate_aligned_with_boundary+0x1ac>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
a000b830:	e3540000 	cmp	r4, #0                                        
a000b834:	1a000004 	bne	a000b84c <_Heap_Allocate_aligned_with_boundary+0x1c0>
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
a000b838:	e5999008 	ldr	r9, [r9, #8]                                  
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000b83c:	e1570009 	cmp	r7, r9                                        
a000b840:	1affffa7 	bne	a000b6e4 <_Heap_Allocate_aligned_with_boundary+0x58>
a000b844:	e3a00000 	mov	r0, #0                                        
a000b848:	ea000008 	b	a000b870 <_Heap_Allocate_aligned_with_boundary+0x1e4>
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
a000b84c:	e597304c 	ldr	r3, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000b850:	e1a00007 	mov	r0, r7                                        
a000b854:	e1a01009 	mov	r1, r9                                        
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
a000b858:	e0833006 	add	r3, r3, r6                                    
a000b85c:	e587304c 	str	r3, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000b860:	e1a02004 	mov	r2, r4                                        
a000b864:	e1a03005 	mov	r3, r5                                        
a000b868:	ebffebbe 	bl	a0006768 <_Heap_Block_allocate>                
a000b86c:	e1a00004 	mov	r0, r4                                        
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
a000b870:	e5973044 	ldr	r3, [r7, #68]	; 0x44                          
a000b874:	e1530006 	cmp	r3, r6                                        
    stats->max_search = search_count;                                 
a000b878:	35876044 	strcc	r6, [r7, #68]	; 0x44                        
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000b87c:	e28dd01c 	add	sp, sp, #28                                   
a000b880:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
a000b884:	e1550003 	cmp	r5, r3                                        
a000b888:	9a000006 	bls	a000b8a8 <_Heap_Allocate_aligned_with_boundary+0x21c>
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000b88c:	e3a00000 	mov	r0, #0                                        
a000b890:	eafffff9 	b	a000b87c <_Heap_Allocate_aligned_with_boundary+0x1f0>
                                                                      
    if ( alloc_begin != 0 ) {                                         
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
a000b894:	e5999008 	ldr	r9, [r9, #8]                                  <== NOT EXECUTED
a000b898:	e59d6018 	ldr	r6, [sp, #24]                                 <== NOT EXECUTED
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000b89c:	e1570009 	cmp	r7, r9                                        <== NOT EXECUTED
a000b8a0:	1affff8f 	bne	a000b6e4 <_Heap_Allocate_aligned_with_boundary+0x58><== NOT EXECUTED
a000b8a4:	eaffffe6 	b	a000b844 <_Heap_Allocate_aligned_with_boundary+0x1b8><== NOT EXECUTED
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
a000b8a8:	e3580000 	cmp	r8, #0                                        
a000b8ac:	01a08002 	moveq	r8, r2                                      
a000b8b0:	eaffff83 	b	a000b6c4 <_Heap_Allocate_aligned_with_boundary+0x38>
                                                                      

a000b8b4 <_Heap_Free>: #include <rtems/system.h> #include <rtems/score/sysstate.h> #include <rtems/score/heap.h> bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
a000b8b4:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a000b8b8:	e1a04000 	mov	r4, r0                                        
a000b8bc:	e1a05001 	mov	r5, r1                                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000b8c0:	e1a00001 	mov	r0, r1                                        
a000b8c4:	e5941010 	ldr	r1, [r4, #16]                                 
a000b8c8:	eb001651 	bl	a0011214 <__umodsi3>                           
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
a000b8cc:	e5943020 	ldr	r3, [r4, #32]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000b8d0:	e2455008 	sub	r5, r5, #8                                    
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
a000b8d4:	e0605005 	rsb	r5, r0, r5                                    
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a000b8d8:	e1550003 	cmp	r5, r3                                        
a000b8dc:	3a000030 	bcc	a000b9a4 <_Heap_Free+0xf0>                    
a000b8e0:	e5941024 	ldr	r1, [r4, #36]	; 0x24                          
a000b8e4:	e1550001 	cmp	r5, r1                                        
a000b8e8:	8a00002d 	bhi	a000b9a4 <_Heap_Free+0xf0>                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000b8ec:	e595c004 	ldr	ip, [r5, #4]                                  
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a000b8f0:	e3cc6001 	bic	r6, ip, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a000b8f4:	e0852006 	add	r2, r5, r6                                    
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a000b8f8:	e1530002 	cmp	r3, r2                                        
a000b8fc:	8a000028 	bhi	a000b9a4 <_Heap_Free+0xf0>                    
a000b900:	e1510002 	cmp	r1, r2                                        
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
a000b904:	33a00000 	movcc	r0, #0                                      
a000b908:	3a000027 	bcc	a000b9ac <_Heap_Free+0xf8>                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000b90c:	e5927004 	ldr	r7, [r2, #4]                                  
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
a000b910:	e2170001 	ands	r0, r7, #1                                   
a000b914:	0a000024 	beq	a000b9ac <_Heap_Free+0xf8>                    
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
a000b918:	e1510002 	cmp	r1, r2                                        
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a000b91c:	e3c77001 	bic	r7, r7, #1                                    
a000b920:	03a08000 	moveq	r8, #0                                      
a000b924:	0a000004 	beq	a000b93c <_Heap_Free+0x88>                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000b928:	e0820007 	add	r0, r2, r7                                    
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a000b92c:	e5900004 	ldr	r0, [r0, #4]                                  
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
a000b930:	e3100001 	tst	r0, #1                                        
a000b934:	13a08000 	movne	r8, #0                                      
a000b938:	03a08001 	moveq	r8, #1                                      
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
a000b93c:	e21c0001 	ands	r0, ip, #1                                   
a000b940:	1a00001a 	bne	a000b9b0 <_Heap_Free+0xfc>                    
    uintptr_t const prev_size = block->prev_size;                     
a000b944:	e595c000 	ldr	ip, [r5]                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a000b948:	e06ca005 	rsb	sl, ip, r5                                    
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a000b94c:	e153000a 	cmp	r3, sl                                        
a000b950:	8a000015 	bhi	a000b9ac <_Heap_Free+0xf8>                    
a000b954:	e151000a 	cmp	r1, sl                                        
a000b958:	3a000013 	bcc	a000b9ac <_Heap_Free+0xf8>                    
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a000b95c:	e59a0004 	ldr	r0, [sl, #4]                                  
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
a000b960:	e2100001 	ands	r0, r0, #1                                   
a000b964:	0a000010 	beq	a000b9ac <_Heap_Free+0xf8>                    
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
a000b968:	e3580000 	cmp	r8, #0                                        
a000b96c:	0a000038 	beq	a000ba54 <_Heap_Free+0x1a0>                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
a000b970:	e5940038 	ldr	r0, [r4, #56]	; 0x38                          
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000b974:	e5923008 	ldr	r3, [r2, #8]                                  
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
a000b978:	e0867007 	add	r7, r6, r7                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000b97c:	e592200c 	ldr	r2, [r2, #12]                                 
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
a000b980:	e087c00c 	add	ip, r7, ip                                    
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
a000b984:	e2400001 	sub	r0, r0, #1                                    
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
a000b988:	e38c1001 	orr	r1, ip, #1                                    
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
a000b98c:	e5823008 	str	r3, [r2, #8]                                  
  next->prev = prev;                                                  
a000b990:	e583200c 	str	r2, [r3, #12]                                 
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
a000b994:	e5840038 	str	r0, [r4, #56]	; 0x38                          
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
a000b998:	e58a1004 	str	r1, [sl, #4]                                  
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
a000b99c:	e78ac00c 	str	ip, [sl, ip]                                  
a000b9a0:	ea00000e 	b	a000b9e0 <_Heap_Free+0x12c>                     
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
a000b9a4:	e3a00000 	mov	r0, #0                                        
a000b9a8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000b9ac:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
a000b9b0:	e3580000 	cmp	r8, #0                                        
a000b9b4:	0a000014 	beq	a000ba0c <_Heap_Free+0x158>                   
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000b9b8:	e5923008 	ldr	r3, [r2, #8]                                  
a000b9bc:	e592200c 	ldr	r2, [r2, #12]                                 
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
a000b9c0:	e0877006 	add	r7, r7, r6                                    
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
a000b9c4:	e3871001 	orr	r1, r7, #1                                    
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
a000b9c8:	e5853008 	str	r3, [r5, #8]                                  
  new_block->prev = prev;                                             
a000b9cc:	e585200c 	str	r2, [r5, #12]                                 
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
a000b9d0:	e5825008 	str	r5, [r2, #8]                                  
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
a000b9d4:	e583500c 	str	r5, [r3, #12]                                 
a000b9d8:	e5851004 	str	r1, [r5, #4]                                  
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
a000b9dc:	e7857007 	str	r7, [r5, r7]                                  
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
a000b9e0:	e5942040 	ldr	r2, [r4, #64]	; 0x40                          
  ++stats->frees;                                                     
a000b9e4:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
  stats->free_size += block_size;                                     
a000b9e8:	e5941030 	ldr	r1, [r4, #48]	; 0x30                          
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
a000b9ec:	e2422001 	sub	r2, r2, #1                                    
  ++stats->frees;                                                     
a000b9f0:	e2833001 	add	r3, r3, #1                                    
  stats->free_size += block_size;                                     
a000b9f4:	e0816006 	add	r6, r1, r6                                    
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
a000b9f8:	e5842040 	str	r2, [r4, #64]	; 0x40                          
  ++stats->frees;                                                     
a000b9fc:	e5843050 	str	r3, [r4, #80]	; 0x50                          
  stats->free_size += block_size;                                     
a000ba00:	e5846030 	str	r6, [r4, #48]	; 0x30                          
                                                                      
  return( true );                                                     
a000ba04:	e3a00001 	mov	r0, #1                                        
a000ba08:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
a000ba0c:	e3863001 	orr	r3, r6, #1                                    
a000ba10:	e5853004 	str	r3, [r5, #4]                                  
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
a000ba14:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          
    if ( stats->max_free_blocks < stats->free_blocks ) {              
a000ba18:	e594c03c 	ldr	ip, [r4, #60]	; 0x3c                          
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
a000ba1c:	e5920004 	ldr	r0, [r2, #4]                                  
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
a000ba20:	e5941008 	ldr	r1, [r4, #8]                                  
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
a000ba24:	e2833001 	add	r3, r3, #1                                    
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
a000ba28:	e3c00001 	bic	r0, r0, #1                                    
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
a000ba2c:	e153000c 	cmp	r3, ip                                        
                                                                      
  new_block->next = next;                                             
a000ba30:	e5851008 	str	r1, [r5, #8]                                  
  new_block->prev = block_before;                                     
a000ba34:	e585400c 	str	r4, [r5, #12]                                 
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
a000ba38:	e5820004 	str	r0, [r2, #4]                                  
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
a000ba3c:	e581500c 	str	r5, [r1, #12]                                 
    next_block->prev_size = block_size;                               
a000ba40:	e7856006 	str	r6, [r5, r6]                                  
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
a000ba44:	e5845008 	str	r5, [r4, #8]                                  
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
a000ba48:	e5843038 	str	r3, [r4, #56]	; 0x38                          
    if ( stats->max_free_blocks < stats->free_blocks ) {              
      stats->max_free_blocks = stats->free_blocks;                    
a000ba4c:	8584303c 	strhi	r3, [r4, #60]	; 0x3c                        
a000ba50:	eaffffe2 	b	a000b9e0 <_Heap_Free+0x12c>                     
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
a000ba54:	e086c00c 	add	ip, r6, ip                                    
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
a000ba58:	e38c3001 	orr	r3, ip, #1                                    
a000ba5c:	e58a3004 	str	r3, [sl, #4]                                  
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
a000ba60:	e5923004 	ldr	r3, [r2, #4]                                  
      next_block->prev_size = size;                                   
a000ba64:	e785c006 	str	ip, [r5, r6]                                  
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
a000ba68:	e3c33001 	bic	r3, r3, #1                                    
a000ba6c:	e5823004 	str	r3, [r2, #4]                                  
a000ba70:	eaffffda 	b	a000b9e0 <_Heap_Free+0x12c>                     
                                                                      

a0012f24 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
a0012f24:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0012f28:	e1a04000 	mov	r4, r0                                        
a0012f2c:	e1a05001 	mov	r5, r1                                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a0012f30:	e1a00001 	mov	r0, r1                                        
a0012f34:	e5941010 	ldr	r1, [r4, #16]                                 
a0012f38:	e1a07002 	mov	r7, r2                                        
a0012f3c:	ebfff8b4 	bl	a0011214 <__umodsi3>                           
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
a0012f40:	e5943020 	ldr	r3, [r4, #32]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a0012f44:	e2456008 	sub	r6, r5, #8                                    
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
a0012f48:	e0600006 	rsb	r0, r0, r6                                    
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0012f4c:	e1500003 	cmp	r0, r3                                        
a0012f50:	3a000012 	bcc	a0012fa0 <_Heap_Size_of_alloc_area+0x7c>      
a0012f54:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          
a0012f58:	e1500002 	cmp	r0, r2                                        
a0012f5c:	8a00000f 	bhi	a0012fa0 <_Heap_Size_of_alloc_area+0x7c>      
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a0012f60:	e5906004 	ldr	r6, [r0, #4]                                  
a0012f64:	e3c66001 	bic	r6, r6, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a0012f68:	e0806006 	add	r6, r0, r6                                    
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0012f6c:	e1530006 	cmp	r3, r6                                        
a0012f70:	8a00000a 	bhi	a0012fa0 <_Heap_Size_of_alloc_area+0x7c>      
a0012f74:	e1520006 	cmp	r2, r6                                        
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
a0012f78:	33a00000 	movcc	r0, #0                                      
a0012f7c:	3a000009 	bcc	a0012fa8 <_Heap_Size_of_alloc_area+0x84>      
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a0012f80:	e5960004 	ldr	r0, [r6, #4]                                  
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
a0012f84:	e2100001 	ands	r0, r0, #1                                   
a0012f88:	0a000006 	beq	a0012fa8 <_Heap_Size_of_alloc_area+0x84>      
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
a0012f8c:	e2655004 	rsb	r5, r5, #4                                    
a0012f90:	e0856006 	add	r6, r5, r6                                    
a0012f94:	e5876000 	str	r6, [r7]                                      
                                                                      
  return true;                                                        
a0012f98:	e3a00001 	mov	r0, #1                                        
a0012f9c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
a0012fa0:	e3a00000 	mov	r0, #0                                        
a0012fa4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
                                                                      
  return true;                                                        
}                                                                     
a0012fa8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a00074b4 <_Heap_Walk>: Heap_Block *const last_block = heap->last_block; Heap_Block *block = first_block; Heap_Walk_printer printer = dump ? _Heap_Walk_print : _Heap_Walk_print_nothing; if ( !_System_state_Is_up( _System_state_Get() ) ) {
a00074b4:	e59f3578 	ldr	r3, [pc, #1400]	; a0007a34 <_Heap_Walk+0x580> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a00074b8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
a00074bc:	e31200ff 	tst	r2, #255	; 0xff                               
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a00074c0:	e5933000 	ldr	r3, [r3]                                      
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
a00074c4:	e59f256c 	ldr	r2, [pc, #1388]	; a0007a38 <_Heap_Walk+0x584> 
a00074c8:	e59f956c 	ldr	r9, [pc, #1388]	; a0007a3c <_Heap_Walk+0x588> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a00074cc:	e1a0a001 	mov	sl, r1                                        
  uintptr_t const page_size = heap->page_size;                        
a00074d0:	e5901010 	ldr	r1, [r0, #16]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
a00074d4:	11a09002 	movne	r9, r2                                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a00074d8:	e3530003 	cmp	r3, #3                                        
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
a00074dc:	e5902014 	ldr	r2, [r0, #20]                                 
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
a00074e0:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a00074e4:	e24dd038 	sub	sp, sp, #56	; 0x38                            
a00074e8:	e1a04000 	mov	r4, r0                                        
  uintptr_t const page_size = heap->page_size;                        
a00074ec:	e58d1024 	str	r1, [sp, #36]	; 0x24                          
  uintptr_t const min_block_size = heap->min_block_size;              
a00074f0:	e58d2028 	str	r2, [sp, #40]	; 0x28                          
  Heap_Block *const first_block = heap->first_block;                  
a00074f4:	e5908020 	ldr	r8, [r0, #32]                                 
  Heap_Block *const last_block = heap->last_block;                    
a00074f8:	e58d302c 	str	r3, [sp, #44]	; 0x2c                          
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a00074fc:	0a000002 	beq	a000750c <_Heap_Walk+0x58>                    
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
a0007500:	e3a00001 	mov	r0, #1                                        
}                                                                     
a0007504:	e28dd038 	add	sp, sp, #56	; 0x38                            
a0007508:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
a000750c:	e594101c 	ldr	r1, [r4, #28]                                 
a0007510:	e5900018 	ldr	r0, [r0, #24]                                 
a0007514:	e5942008 	ldr	r2, [r4, #8]                                  
a0007518:	e594300c 	ldr	r3, [r4, #12]                                 
a000751c:	e59dc028 	ldr	ip, [sp, #40]	; 0x28                          
a0007520:	e58d1008 	str	r1, [sp, #8]                                  
a0007524:	e59d102c 	ldr	r1, [sp, #44]	; 0x2c                          
a0007528:	e58d0004 	str	r0, [sp, #4]                                  
a000752c:	e58d2014 	str	r2, [sp, #20]                                 
a0007530:	e58d1010 	str	r1, [sp, #16]                                 
a0007534:	e58d3018 	str	r3, [sp, #24]                                 
a0007538:	e59f2500 	ldr	r2, [pc, #1280]	; a0007a40 <_Heap_Walk+0x58c> 
a000753c:	e58dc000 	str	ip, [sp]                                      
a0007540:	e58d800c 	str	r8, [sp, #12]                                 
a0007544:	e1a0000a 	mov	r0, sl                                        
a0007548:	e3a01000 	mov	r1, #0                                        
a000754c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0007550:	e12fff39 	blx	r9                                            
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
a0007554:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
a0007558:	e3520000 	cmp	r2, #0                                        
a000755c:	0a000024 	beq	a00075f4 <_Heap_Walk+0x140>                   
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
a0007560:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0007564:	e2135003 	ands	r5, r3, #3                                   
a0007568:	1a000027 	bne	a000760c <_Heap_Walk+0x158>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a000756c:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          
a0007570:	e59d1024 	ldr	r1, [sp, #36]	; 0x24                          
a0007574:	ebffe53c 	bl	a0000a6c <__umodsi3>                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
a0007578:	e250b000 	subs	fp, r0, #0                                   
a000757c:	1a000028 	bne	a0007624 <_Heap_Walk+0x170>                   
a0007580:	e2880008 	add	r0, r8, #8                                    
a0007584:	e59d1024 	ldr	r1, [sp, #36]	; 0x24                          
a0007588:	ebffe537 	bl	a0000a6c <__umodsi3>                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
a000758c:	e2506000 	subs	r6, r0, #0                                   
a0007590:	1a00002a 	bne	a0007640 <_Heap_Walk+0x18c>                   
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a0007594:	e598b004 	ldr	fp, [r8, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
a0007598:	e21b5001 	ands	r5, fp, #1                                   
a000759c:	0a0000bf 	beq	a00078a0 <_Heap_Walk+0x3ec>                   
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a00075a0:	e59dc02c 	ldr	ip, [sp, #44]	; 0x2c                          
a00075a4:	e59c3004 	ldr	r3, [ip, #4]                                  
a00075a8:	e3c33001 	bic	r3, r3, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a00075ac:	e08c3003 	add	r3, ip, r3                                    
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a00075b0:	e5935004 	ldr	r5, [r3, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
a00075b4:	e2155001 	ands	r5, r5, #1                                   
a00075b8:	0a000007 	beq	a00075dc <_Heap_Walk+0x128>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
a00075bc:	e1580003 	cmp	r8, r3                                        
a00075c0:	0a000025 	beq	a000765c <_Heap_Walk+0x1a8>                   
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
a00075c4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a00075c8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00075cc:	e59f2470 	ldr	r2, [pc, #1136]	; a0007a44 <_Heap_Walk+0x590> <== NOT EXECUTED
a00075d0:	e12fff39 	blx	r9                                            <== NOT EXECUTED
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a00075d4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00075d8:	eaffffc9 	b	a0007504 <_Heap_Walk+0x50>                      <== NOT EXECUTED
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
a00075dc:	e1a0000a 	mov	r0, sl                                        
a00075e0:	e3a01001 	mov	r1, #1                                        
a00075e4:	e59f245c 	ldr	r2, [pc, #1116]	; a0007a48 <_Heap_Walk+0x594> 
a00075e8:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a00075ec:	e1a00005 	mov	r0, r5                                        
a00075f0:	eaffffc3 	b	a0007504 <_Heap_Walk+0x50>                      
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
a00075f4:	e1a0000a 	mov	r0, sl                                        
a00075f8:	e3a01001 	mov	r1, #1                                        
a00075fc:	e59f2448 	ldr	r2, [pc, #1096]	; a0007a4c <_Heap_Walk+0x598> 
a0007600:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a0007604:	e59d0024 	ldr	r0, [sp, #36]	; 0x24                          
a0007608:	eaffffbd 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
a000760c:	e1a0000a 	mov	r0, sl                                        
a0007610:	e3a01001 	mov	r1, #1                                        
a0007614:	e59f2434 	ldr	r2, [pc, #1076]	; a0007a50 <_Heap_Walk+0x59c> 
a0007618:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a000761c:	e3a00000 	mov	r0, #0                                        
a0007620:	eaffffb7 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
a0007624:	e1a0000a 	mov	r0, sl                                        
a0007628:	e3a01001 	mov	r1, #1                                        
a000762c:	e59f2420 	ldr	r2, [pc, #1056]	; a0007a54 <_Heap_Walk+0x5a0> 
a0007630:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0007634:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a0007638:	e1a00005 	mov	r0, r5                                        
a000763c:	eaffffb0 	b	a0007504 <_Heap_Walk+0x50>                      
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
a0007640:	e1a0000a 	mov	r0, sl                                        
a0007644:	e3a01001 	mov	r1, #1                                        
a0007648:	e59f2408 	ldr	r2, [pc, #1032]	; a0007a58 <_Heap_Walk+0x5a4> 
a000764c:	e1a03008 	mov	r3, r8                                        
a0007650:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a0007654:	e1a0000b 	mov	r0, fp                                        
a0007658:	eaffffa9 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000765c:	e5945008 	ldr	r5, [r4, #8]                                  
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a0007660:	e5947010 	ldr	r7, [r4, #16]                                 
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
a0007664:	e1540005 	cmp	r4, r5                                        
a0007668:	05943020 	ldreq	r3, [r4, #32]                               
a000766c:	0a00000c 	beq	a00076a4 <_Heap_Walk+0x1f0>                   
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a0007670:	e5943020 	ldr	r3, [r4, #32]                                 
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0007674:	e1530005 	cmp	r3, r5                                        
a0007678:	9a00008e 	bls	a00078b8 <_Heap_Walk+0x404>                   
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
a000767c:	e1a0000a 	mov	r0, sl                                        
a0007680:	e3a01001 	mov	r1, #1                                        
a0007684:	e59f23d0 	ldr	r2, [pc, #976]	; a0007a5c <_Heap_Walk+0x5a8>  
a0007688:	e1a03005 	mov	r3, r5                                        
a000768c:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a0007690:	e3a00000 	mov	r0, #0                                        
a0007694:	eaffff9a 	b	a0007504 <_Heap_Walk+0x50>                      
a0007698:	e1a03008 	mov	r3, r8                                        
a000769c:	e59db034 	ldr	fp, [sp, #52]	; 0x34                          
a00076a0:	e59d8030 	ldr	r8, [sp, #48]	; 0x30                          
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a00076a4:	e1a06008 	mov	r6, r8                                        
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a00076a8:	e3cb7001 	bic	r7, fp, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a00076ac:	e0875006 	add	r5, r7, r6                                    
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a00076b0:	e1530005 	cmp	r3, r5                                        
a00076b4:	9a000007 	bls	a00076d8 <_Heap_Walk+0x224>                   
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
a00076b8:	e1a0000a 	mov	r0, sl                                        
a00076bc:	e58d5000 	str	r5, [sp]                                      
a00076c0:	e3a01001 	mov	r1, #1                                        
a00076c4:	e59f2394 	ldr	r2, [pc, #916]	; a0007a60 <_Heap_Walk+0x5ac>  
a00076c8:	e1a03006 	mov	r3, r6                                        
a00076cc:	e12fff39 	blx	r9                                            
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a00076d0:	e3a00000 	mov	r0, #0                                        
a00076d4:	eaffff8a 	b	a0007504 <_Heap_Walk+0x50>                      
a00076d8:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
a00076dc:	e1530005 	cmp	r3, r5                                        
a00076e0:	3afffff4 	bcc	a00076b8 <_Heap_Walk+0x204>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a00076e4:	e59d1024 	ldr	r1, [sp, #36]	; 0x24                          
a00076e8:	e1a00007 	mov	r0, r7                                        
a00076ec:	ebffe4de 	bl	a0000a6c <__umodsi3>                           
    uintptr_t const block_begin = (uintptr_t) block;                  
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
a00076f0:	e59d102c 	ldr	r1, [sp, #44]	; 0x2c                          
a00076f4:	e0563001 	subs	r3, r6, r1                                   
a00076f8:	13a03001 	movne	r3, #1                                      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
a00076fc:	e3500000 	cmp	r0, #0                                        
a0007700:	0a000001 	beq	a000770c <_Heap_Walk+0x258>                   
a0007704:	e3530000 	cmp	r3, #0                                        
a0007708:	1a0000a2 	bne	a0007998 <_Heap_Walk+0x4e4>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
a000770c:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a0007710:	e1520007 	cmp	r2, r7                                        
a0007714:	9a000001 	bls	a0007720 <_Heap_Walk+0x26c>                   
a0007718:	e3530000 	cmp	r3, #0                                        
a000771c:	1a0000a5 	bne	a00079b8 <_Heap_Walk+0x504>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
a0007720:	e1560005 	cmp	r6, r5                                        
a0007724:	3a000001 	bcc	a0007730 <_Heap_Walk+0x27c>                   
a0007728:	e3530000 	cmp	r3, #0                                        
a000772c:	1a0000aa 	bne	a00079dc <_Heap_Walk+0x528>                   
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a0007730:	e5953004 	ldr	r3, [r5, #4]                                  
a0007734:	e20bb001 	and	fp, fp, #1                                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
a0007738:	e3130001 	tst	r3, #1                                        
a000773c:	0a000016 	beq	a000779c <_Heap_Walk+0x2e8>                   
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
a0007740:	e35b0000 	cmp	fp, #0                                        
a0007744:	0a00000b 	beq	a0007778 <_Heap_Walk+0x2c4>                   
      (*printer)(                                                     
a0007748:	e58d7000 	str	r7, [sp]                                      
a000774c:	e1a0000a 	mov	r0, sl                                        
a0007750:	e3a01000 	mov	r1, #0                                        
a0007754:	e59f2308 	ldr	r2, [pc, #776]	; a0007a64 <_Heap_Walk+0x5b0>  
a0007758:	e1a03006 	mov	r3, r6                                        
a000775c:	e12fff39 	blx	r9                                            
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
a0007760:	e1580005 	cmp	r8, r5                                        
a0007764:	0affff65 	beq	a0007500 <_Heap_Walk+0x4c>                    
a0007768:	e595b004 	ldr	fp, [r5, #4]                                  
a000776c:	e5943020 	ldr	r3, [r4, #32]                                 
a0007770:	e1a06005 	mov	r6, r5                                        
a0007774:	eaffffcb 	b	a00076a8 <_Heap_Walk+0x1f4>                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
a0007778:	e58d7000 	str	r7, [sp]                                      
a000777c:	e5963000 	ldr	r3, [r6]                                      
a0007780:	e1a0000a 	mov	r0, sl                                        
a0007784:	e1a0100b 	mov	r1, fp                                        
a0007788:	e58d3004 	str	r3, [sp, #4]                                  
a000778c:	e59f22d4 	ldr	r2, [pc, #724]	; a0007a68 <_Heap_Walk+0x5b4>  
a0007790:	e1a03006 	mov	r3, r6                                        
a0007794:	e12fff39 	blx	r9                                            
a0007798:	eafffff0 	b	a0007760 <_Heap_Walk+0x2ac>                     
    false,                                                            
    "block 0x%08x: size %u, prev 0x%08x%s, next 0x%08x%s\n",          
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
a000779c:	e596200c 	ldr	r2, [r6, #12]                                 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
a00077a0:	e5943008 	ldr	r3, [r4, #8]                                  
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a00077a4:	e594100c 	ldr	r1, [r4, #12]                                 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
a00077a8:	e1530002 	cmp	r3, r2                                        
a00077ac:	059f02b8 	ldreq	r0, [pc, #696]	; a0007a6c <_Heap_Walk+0x5b8>
a00077b0:	0a000003 	beq	a00077c4 <_Heap_Walk+0x310>                   
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
a00077b4:	e59f32b4 	ldr	r3, [pc, #692]	; a0007a70 <_Heap_Walk+0x5bc>  
a00077b8:	e1540002 	cmp	r4, r2                                        
a00077bc:	e59f02b0 	ldr	r0, [pc, #688]	; a0007a74 <_Heap_Walk+0x5c0>  
a00077c0:	01a00003 	moveq	r0, r3                                      
    block->next,                                                      
    block->next == last_free_block ?                                  
a00077c4:	e5963008 	ldr	r3, [r6, #8]                                  
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
a00077c8:	e1510003 	cmp	r1, r3                                        
a00077cc:	059f12a4 	ldreq	r1, [pc, #676]	; a0007a78 <_Heap_Walk+0x5c4>
a00077d0:	0a000003 	beq	a00077e4 <_Heap_Walk+0x330>                   
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
a00077d4:	e59fc2a0 	ldr	ip, [pc, #672]	; a0007a7c <_Heap_Walk+0x5c8>  
a00077d8:	e1540003 	cmp	r4, r3                                        
a00077dc:	e59f1290 	ldr	r1, [pc, #656]	; a0007a74 <_Heap_Walk+0x5c0>  
a00077e0:	01a0100c 	moveq	r1, ip                                      
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
a00077e4:	e58d2004 	str	r2, [sp, #4]                                  
a00077e8:	e58d0008 	str	r0, [sp, #8]                                  
a00077ec:	e58d300c 	str	r3, [sp, #12]                                 
a00077f0:	e58d1010 	str	r1, [sp, #16]                                 
a00077f4:	e1a03006 	mov	r3, r6                                        
a00077f8:	e58d7000 	str	r7, [sp]                                      
a00077fc:	e1a0000a 	mov	r0, sl                                        
a0007800:	e3a01000 	mov	r1, #0                                        
a0007804:	e59f2274 	ldr	r2, [pc, #628]	; a0007a80 <_Heap_Walk+0x5cc>  
a0007808:	e12fff39 	blx	r9                                            
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
a000780c:	e5953000 	ldr	r3, [r5]                                      
a0007810:	e1570003 	cmp	r7, r3                                        
a0007814:	1a000010 	bne	a000785c <_Heap_Walk+0x3a8>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
a0007818:	e35b0000 	cmp	fp, #0                                        
a000781c:	0a000018 	beq	a0007884 <_Heap_Walk+0x3d0>                   
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a0007820:	e5943008 	ldr	r3, [r4, #8]                                  
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
a0007824:	e1540003 	cmp	r4, r3                                        
a0007828:	0a000004 	beq	a0007840 <_Heap_Walk+0x38c>                   
    if ( free_block == block ) {                                      
a000782c:	e1560003 	cmp	r6, r3                                        
a0007830:	0affffca 	beq	a0007760 <_Heap_Walk+0x2ac>                   
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
a0007834:	e5933008 	ldr	r3, [r3, #8]                                  
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
a0007838:	e1540003 	cmp	r4, r3                                        
a000783c:	1afffffa 	bne	a000782c <_Heap_Walk+0x378>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
a0007840:	e1a0000a 	mov	r0, sl                                        
a0007844:	e3a01001 	mov	r1, #1                                        
a0007848:	e59f2234 	ldr	r2, [pc, #564]	; a0007a84 <_Heap_Walk+0x5d0>  
a000784c:	e1a03006 	mov	r3, r6                                        
a0007850:	e12fff39 	blx	r9                                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
a0007854:	e3a00000 	mov	r0, #0                                        
a0007858:	eaffff29 	b	a0007504 <_Heap_Walk+0x50>                      
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
    (*printer)(                                                       
a000785c:	e58d3004 	str	r3, [sp, #4]                                  
a0007860:	e1a0000a 	mov	r0, sl                                        
a0007864:	e58d7000 	str	r7, [sp]                                      
a0007868:	e58d5008 	str	r5, [sp, #8]                                  
a000786c:	e3a01001 	mov	r1, #1                                        
a0007870:	e59f2210 	ldr	r2, [pc, #528]	; a0007a88 <_Heap_Walk+0x5d4>  
a0007874:	e1a03006 	mov	r3, r6                                        
a0007878:	e12fff39 	blx	r9                                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
a000787c:	e3a00000 	mov	r0, #0                                        
a0007880:	eaffff1f 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
a0007884:	e1a0000a 	mov	r0, sl                                        
a0007888:	e3a01001 	mov	r1, #1                                        
a000788c:	e59f21f8 	ldr	r2, [pc, #504]	; a0007a8c <_Heap_Walk+0x5d8>  
a0007890:	e1a03006 	mov	r3, r6                                        
a0007894:	e12fff39 	blx	r9                                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
a0007898:	e1a0000b 	mov	r0, fp                                        
a000789c:	eaffff18 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
a00078a0:	e1a0000a 	mov	r0, sl                                        
a00078a4:	e3a01001 	mov	r1, #1                                        
a00078a8:	e59f21e0 	ldr	r2, [pc, #480]	; a0007a90 <_Heap_Walk+0x5dc>  
a00078ac:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a00078b0:	e1a00005 	mov	r0, r5                                        
a00078b4:	eaffff12 	b	a0007504 <_Heap_Walk+0x50>                      
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a00078b8:	e594c024 	ldr	ip, [r4, #36]	; 0x24                          
a00078bc:	e15c0005 	cmp	ip, r5                                        
a00078c0:	3affff6d 	bcc	a000767c <_Heap_Walk+0x1c8>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a00078c4:	e2850008 	add	r0, r5, #8                                    
a00078c8:	e1a01007 	mov	r1, r7                                        
a00078cc:	e58d301c 	str	r3, [sp, #28]                                 
a00078d0:	e58dc020 	str	ip, [sp, #32]                                 
a00078d4:	ebffe464 	bl	a0000a6c <__umodsi3>                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a00078d8:	e3500000 	cmp	r0, #0                                        
a00078dc:	e59d301c 	ldr	r3, [sp, #28]                                 
a00078e0:	e59dc020 	ldr	ip, [sp, #32]                                 
a00078e4:	1a000044 	bne	a00079fc <_Heap_Walk+0x548>                   
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a00078e8:	e5952004 	ldr	r2, [r5, #4]                                  
a00078ec:	e3c22001 	bic	r2, r2, #1                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a00078f0:	e0852002 	add	r2, r5, r2                                    
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a00078f4:	e5922004 	ldr	r2, [r2, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a00078f8:	e3120001 	tst	r2, #1                                        
a00078fc:	1a000045 	bne	a0007a18 <_Heap_Walk+0x564>                   
a0007900:	e58d8030 	str	r8, [sp, #48]	; 0x30                          
a0007904:	e58db034 	str	fp, [sp, #52]	; 0x34                          
a0007908:	e1a01004 	mov	r1, r4                                        
a000790c:	e1a06005 	mov	r6, r5                                        
a0007910:	e1a0b00c 	mov	fp, ip                                        
a0007914:	e1a08003 	mov	r8, r3                                        
a0007918:	ea000013 	b	a000796c <_Heap_Walk+0x4b8>                     
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
a000791c:	e5955008 	ldr	r5, [r5, #8]                                  
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
a0007920:	e1540005 	cmp	r4, r5                                        
a0007924:	0affff5b 	beq	a0007698 <_Heap_Walk+0x1e4>                   
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0007928:	e1580005 	cmp	r8, r5                                        
a000792c:	8affff52 	bhi	a000767c <_Heap_Walk+0x1c8>                   
a0007930:	e155000b 	cmp	r5, fp                                        
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a0007934:	e2850008 	add	r0, r5, #8                                    
a0007938:	e1a01007 	mov	r1, r7                                        
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a000793c:	8affff4e 	bhi	a000767c <_Heap_Walk+0x1c8>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a0007940:	ebffe449 	bl	a0000a6c <__umodsi3>                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a0007944:	e3500000 	cmp	r0, #0                                        
a0007948:	1a00002b 	bne	a00079fc <_Heap_Walk+0x548>                   
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a000794c:	e5953004 	ldr	r3, [r5, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a0007950:	e1a01006 	mov	r1, r6                                        
a0007954:	e1a06005 	mov	r6, r5                                        
a0007958:	e3c33001 	bic	r3, r3, #1                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000795c:	e0833005 	add	r3, r3, r5                                    
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a0007960:	e5933004 	ldr	r3, [r3, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a0007964:	e3130001 	tst	r3, #1                                        
a0007968:	1a00002a 	bne	a0007a18 <_Heap_Walk+0x564>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
a000796c:	e595200c 	ldr	r2, [r5, #12]                                 
a0007970:	e1520001 	cmp	r2, r1                                        
a0007974:	0affffe8 	beq	a000791c <_Heap_Walk+0x468>                   
      (*printer)(                                                     
a0007978:	e58d2000 	str	r2, [sp]                                      
a000797c:	e1a0000a 	mov	r0, sl                                        
a0007980:	e3a01001 	mov	r1, #1                                        
a0007984:	e59f2108 	ldr	r2, [pc, #264]	; a0007a94 <_Heap_Walk+0x5e0>  
a0007988:	e1a03005 	mov	r3, r5                                        
a000798c:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a0007990:	e3a00000 	mov	r0, #0                                        
a0007994:	eafffeda 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
      (*printer)(                                                     
a0007998:	e1a0000a 	mov	r0, sl                                        
a000799c:	e58d7000 	str	r7, [sp]                                      
a00079a0:	e3a01001 	mov	r1, #1                                        
a00079a4:	e59f20ec 	ldr	r2, [pc, #236]	; a0007a98 <_Heap_Walk+0x5e4>  
a00079a8:	e1a03006 	mov	r3, r6                                        
a00079ac:	e12fff39 	blx	r9                                            
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
a00079b0:	e3a00000 	mov	r0, #0                                        
a00079b4:	eafffed2 	b	a0007504 <_Heap_Walk+0x50>                      
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
      (*printer)(                                                     
a00079b8:	e58d2004 	str	r2, [sp, #4]                                  
a00079bc:	e1a0000a 	mov	r0, sl                                        
a00079c0:	e58d7000 	str	r7, [sp]                                      
a00079c4:	e3a01001 	mov	r1, #1                                        
a00079c8:	e59f20cc 	ldr	r2, [pc, #204]	; a0007a9c <_Heap_Walk+0x5e8>  
a00079cc:	e1a03006 	mov	r3, r6                                        
a00079d0:	e12fff39 	blx	r9                                            
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
a00079d4:	e3a00000 	mov	r0, #0                                        
a00079d8:	eafffec9 	b	a0007504 <_Heap_Walk+0x50>                      
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
a00079dc:	e1a0000a 	mov	r0, sl                                        
a00079e0:	e58d5000 	str	r5, [sp]                                      
a00079e4:	e3a01001 	mov	r1, #1                                        
a00079e8:	e59f20b0 	ldr	r2, [pc, #176]	; a0007aa0 <_Heap_Walk+0x5ec>  
a00079ec:	e1a03006 	mov	r3, r6                                        
a00079f0:	e12fff39 	blx	r9                                            
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a00079f4:	e3a00000 	mov	r0, #0                                        
a00079f8:	eafffec1 	b	a0007504 <_Heap_Walk+0x50>                      
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
a00079fc:	e1a0000a 	mov	r0, sl                                        
a0007a00:	e3a01001 	mov	r1, #1                                        
a0007a04:	e59f2098 	ldr	r2, [pc, #152]	; a0007aa4 <_Heap_Walk+0x5f0>  
a0007a08:	e1a03005 	mov	r3, r5                                        
a0007a0c:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a0007a10:	e3a00000 	mov	r0, #0                                        
a0007a14:	eafffeba 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
a0007a18:	e1a0000a 	mov	r0, sl                                        
a0007a1c:	e3a01001 	mov	r1, #1                                        
a0007a20:	e59f2080 	ldr	r2, [pc, #128]	; a0007aa8 <_Heap_Walk+0x5f4>  
a0007a24:	e1a03005 	mov	r3, r5                                        
a0007a28:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a0007a2c:	e3a00000 	mov	r0, #0                                        
a0007a30:	eafffeb3 	b	a0007504 <_Heap_Walk+0x50>                      
                                                                      

a00069b4 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
a00069b4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a00069b8:	e5904034 	ldr	r4, [r0, #52]	; 0x34                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
a00069bc:	e24dd014 	sub	sp, sp, #20                                   
a00069c0:	e1a05000 	mov	r5, r0                                        
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a00069c4:	e3540000 	cmp	r4, #0                                        
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
a00069c8:	e1d070b8 	ldrh	r7, [r0, #8]                                 
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a00069cc:	0a00009c 	beq	a0006c44 <_Objects_Extend_information+0x290>  
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
a00069d0:	e1d081b4 	ldrh	r8, [r0, #20]                                
a00069d4:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a00069d8:	e1a01008 	mov	r1, r8                                        
a00069dc:	e1a0000a 	mov	r0, sl                                        
a00069e0:	eb0029c5 	bl	a00110fc <__aeabi_uidiv>                       
a00069e4:	e1a03800 	lsl	r3, r0, #16                                   
                                                                      
    for ( ; block < block_count; block++ ) {                          
a00069e8:	e1b03823 	lsrs	r3, r3, #16                                  
a00069ec:	0a00009a 	beq	a0006c5c <_Objects_Extend_information+0x2a8>  
      if ( information->object_blocks[ block ] == NULL ) {            
a00069f0:	e5949000 	ldr	r9, [r4]                                      
a00069f4:	e3590000 	cmp	r9, #0                                        
a00069f8:	01a01008 	moveq	r1, r8                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
a00069fc:	01a06007 	moveq	r6, r7                                      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
a0006a00:	01a04009 	moveq	r4, r9                                      
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
a0006a04:	0a00000c 	beq	a0006a3c <_Objects_Extend_information+0x88>   
a0006a08:	e1a02004 	mov	r2, r4                                        
a0006a0c:	e1a01008 	mov	r1, r8                                        
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
a0006a10:	e1a06007 	mov	r6, r7                                        
  index_base    = minimum_index;                                      
  block         = 0;                                                  
a0006a14:	e3a04000 	mov	r4, #0                                        
a0006a18:	ea000002 	b	a0006a28 <_Objects_Extend_information+0x74>     
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
a0006a1c:	e5b29004 	ldr	r9, [r2, #4]!                                 
a0006a20:	e3590000 	cmp	r9, #0                                        
a0006a24:	0a000004 	beq	a0006a3c <_Objects_Extend_information+0x88>   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
a0006a28:	e2844001 	add	r4, r4, #1                                    
a0006a2c:	e1530004 	cmp	r3, r4                                        
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
a0006a30:	e0866008 	add	r6, r6, r8                                    
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
a0006a34:	8afffff8 	bhi	a0006a1c <_Objects_Extend_information+0x68>   
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
a0006a38:	e3a09001 	mov	r9, #1                                        
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
a0006a3c:	e08aa001 	add	sl, sl, r1                                    
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
a0006a40:	e35a0801 	cmp	sl, #65536	; 0x10000                          
a0006a44:	2a000064 	bcs	a0006bdc <_Objects_Extend_information+0x228>  
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  if ( information->auto_extend ) {                                   
a0006a48:	e5d52012 	ldrb	r2, [r5, #18]                                
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
a0006a4c:	e5950018 	ldr	r0, [r5, #24]                                 
  if ( information->auto_extend ) {                                   
a0006a50:	e3520000 	cmp	r2, #0                                        
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
a0006a54:	e0000091 	mul	r0, r1, r0                                    
  if ( information->auto_extend ) {                                   
a0006a58:	1a000061 	bne	a0006be4 <_Objects_Extend_information+0x230>  
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
a0006a5c:	e58d3000 	str	r3, [sp]                                      
a0006a60:	eb00084a 	bl	a0008b90 <_Workspace_Allocate_or_fatal_error>  
a0006a64:	e59d3000 	ldr	r3, [sp]                                      
a0006a68:	e1a08000 	mov	r8, r0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
a0006a6c:	e3590000 	cmp	r9, #0                                        
a0006a70:	0a00003a 	beq	a0006b60 <_Objects_Extend_information+0x1ac>  
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
a0006a74:	e283b001 	add	fp, r3, #1                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
a0006a78:	e08b008b 	add	r0, fp, fp, lsl #1                            
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
a0006a7c:	e08a0000 	add	r0, sl, r0                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
a0006a80:	e0800007 	add	r0, r0, r7                                    
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
a0006a84:	e1a00100 	lsl	r0, r0, #2                                    
a0006a88:	e58d3000 	str	r3, [sp]                                      
a0006a8c:	eb000835 	bl	a0008b68 <_Workspace_Allocate>                 
                                                                      
    if ( !object_blocks ) {                                           
a0006a90:	e2509000 	subs	r9, r0, #0                                   
a0006a94:	e59d3000 	ldr	r3, [sp]                                      
a0006a98:	0a000074 	beq	a0006c70 <_Objects_Extend_information+0x2bc>  
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
a0006a9c:	e1d521b0 	ldrh	r2, [r5, #16]                                
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
a0006aa0:	e089c10b 	add	ip, r9, fp, lsl #2                            
a0006aa4:	e089b18b 	add	fp, r9, fp, lsl #3                            
a0006aa8:	e1570002 	cmp	r7, r2                                        
a0006aac:	3a000052 	bcc	a0006bfc <_Objects_Extend_information+0x248>  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a0006ab0:	e3570000 	cmp	r7, #0                                        
a0006ab4:	13a02000 	movne	r2, #0                                      
a0006ab8:	11a0100b 	movne	r1, fp                                      
        local_table[ index ] = NULL;                                  
a0006abc:	11a00002 	movne	r0, r2                                      
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a0006ac0:	0a000003 	beq	a0006ad4 <_Objects_Extend_information+0x120>  
a0006ac4:	e2822001 	add	r2, r2, #1                                    
a0006ac8:	e1570002 	cmp	r7, r2                                        
        local_table[ index ] = NULL;                                  
a0006acc:	e4810004 	str	r0, [r1], #4                                  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a0006ad0:	8afffffb 	bhi	a0006ac4 <_Objects_Extend_information+0x110>  
a0006ad4:	e1a03103 	lsl	r3, r3, #2                                    
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
a0006ad8:	e1d511b4 	ldrh	r1, [r5, #20]                                
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
a0006adc:	e3a00000 	mov	r0, #0                                        
a0006ae0:	e7890003 	str	r0, [r9, r3]                                  
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
a0006ae4:	e0861001 	add	r1, r6, r1                                    
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006ae8:	e1560001 	cmp	r6, r1                                        
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
a0006aec:	e78c0003 	str	r0, [ip, r3]                                  
                                                                      
    for ( index=index_base ;                                          
a0006af0:	2a000005 	bcs	a0006b0c <_Objects_Extend_information+0x158>  
a0006af4:	e08b2106 	add	r2, fp, r6, lsl #2                            
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
a0006af8:	e1a03006 	mov	r3, r6                                        
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
a0006afc:	e2833001 	add	r3, r3, #1                                    
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006b00:	e1530001 	cmp	r3, r1                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
a0006b04:	e4820004 	str	r0, [r2], #4                                  
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006b08:	3afffffb 	bcc	a0006afc <_Objects_Extend_information+0x148>  
a0006b0c:	e10f3000 	mrs	r3, CPSR                                      
a0006b10:	e3832080 	orr	r2, r3, #128	; 0x80                           
a0006b14:	e129f002 	msr	CPSR_fc, r2                                   
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
a0006b18:	e5952000 	ldr	r2, [r5]                                      
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
a0006b1c:	e1d510b4 	ldrh	r1, [r5, #4]                                 
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
a0006b20:	e1a0a80a 	lsl	sl, sl, #16                                   
a0006b24:	e1a02c02 	lsl	r2, r2, #24                                   
a0006b28:	e3822801 	orr	r2, r2, #65536	; 0x10000                      
a0006b2c:	e1a0a82a 	lsr	sl, sl, #16                                   
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
a0006b30:	e1822d81 	orr	r2, r2, r1, lsl #27                           
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
a0006b34:	e182200a 	orr	r2, r2, sl                                    
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
a0006b38:	e5950034 	ldr	r0, [r5, #52]	; 0x34                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
a0006b3c:	e585c030 	str	ip, [r5, #48]	; 0x30                          
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
a0006b40:	e5859034 	str	r9, [r5, #52]	; 0x34                          
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
a0006b44:	e585b01c 	str	fp, [r5, #28]                                 
    information->maximum = (Objects_Maximum) maximum;                 
a0006b48:	e1c5a1b0 	strh	sl, [r5, #16]                                
    information->maximum_id = _Objects_Build_id(                      
a0006b4c:	e585200c 	str	r2, [r5, #12]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0006b50:	e129f003 	msr	CPSR_fc, r3                                   
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    if ( old_tables )                                                 
a0006b54:	e3500000 	cmp	r0, #0                                        
a0006b58:	0a000000 	beq	a0006b60 <_Objects_Extend_information+0x1ac>  
      _Workspace_Free( old_tables );                                  
a0006b5c:	eb000807 	bl	a0008b80 <_Workspace_Free>                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a0006b60:	e5953034 	ldr	r3, [r5, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a0006b64:	e28d7008 	add	r7, sp, #8                                    
a0006b68:	e1a01008 	mov	r1, r8                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a0006b6c:	e7838104 	str	r8, [r3, r4, lsl #2]                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a0006b70:	e1a00007 	mov	r0, r7                                        
a0006b74:	e1d521b4 	ldrh	r2, [r5, #20]                                
a0006b78:	e5953018 	ldr	r3, [r5, #24]                                 
a0006b7c:	eb001233 	bl	a000b450 <_Chain_Initialize>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a0006b80:	e1a04104 	lsl	r4, r4, #2                                    
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a0006b84:	e2858020 	add	r8, r5, #32                                   
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
a0006b88:	ea000009 	b	a0006bb4 <_Objects_Extend_information+0x200>    
a0006b8c:	e5953000 	ldr	r3, [r5]                                      
                                                                      
    the_object->id = _Objects_Build_id(                               
a0006b90:	e1d520b4 	ldrh	r2, [r5, #4]                                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a0006b94:	e1a00008 	mov	r0, r8                                        
a0006b98:	e1a03c03 	lsl	r3, r3, #24                                   
a0006b9c:	e3833801 	orr	r3, r3, #65536	; 0x10000                      
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
a0006ba0:	e1833d82 	orr	r3, r3, r2, lsl #27                           
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
a0006ba4:	e1833006 	orr	r3, r3, r6                                    
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
a0006ba8:	e5813008 	str	r3, [r1, #8]                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a0006bac:	ebfffcdd 	bl	a0005f28 <_Chain_Append>                       
                                                                      
    index++;                                                          
a0006bb0:	e2866001 	add	r6, r6, #1                                    
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
a0006bb4:	e1a00007 	mov	r0, r7                                        
a0006bb8:	ebfffced 	bl	a0005f74 <_Chain_Get>                          
a0006bbc:	e2501000 	subs	r1, r0, #0                                   
a0006bc0:	1afffff1 	bne	a0006b8c <_Objects_Extend_information+0x1d8>  
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
a0006bc4:	e1d522bc 	ldrh	r2, [r5, #44]	; 0x2c                         
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a0006bc8:	e1d531b4 	ldrh	r3, [r5, #20]                                
a0006bcc:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
a0006bd0:	e0832002 	add	r2, r3, r2                                    
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a0006bd4:	e7813004 	str	r3, [r1, r4]                                  
  information->inactive =                                             
a0006bd8:	e1c522bc 	strh	r2, [r5, #44]	; 0x2c                         
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
a0006bdc:	e28dd014 	add	sp, sp, #20                                   
a0006be0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
a0006be4:	e58d3000 	str	r3, [sp]                                      
a0006be8:	eb0007de 	bl	a0008b68 <_Workspace_Allocate>                 
    if ( !new_object_block )                                          
a0006bec:	e2508000 	subs	r8, r0, #0                                   
a0006bf0:	e59d3000 	ldr	r3, [sp]                                      
a0006bf4:	1affff9c 	bne	a0006a6c <_Objects_Extend_information+0xb8>   
a0006bf8:	eafffff7 	b	a0006bdc <_Objects_Extend_information+0x228>    
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
a0006bfc:	e1a03103 	lsl	r3, r3, #2                                    
a0006c00:	e5951034 	ldr	r1, [r5, #52]	; 0x34                          
a0006c04:	e1a02003 	mov	r2, r3                                        
a0006c08:	e88d1008 	stm	sp, {r3, ip}                                  
a0006c0c:	eb001db9 	bl	a000e2f8 <memcpy>                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
a0006c10:	e89d1008 	ldm	sp, {r3, ip}                                  
a0006c14:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
a0006c18:	e1a0000c 	mov	r0, ip                                        
a0006c1c:	e1a02003 	mov	r2, r3                                        
a0006c20:	eb001db4 	bl	a000e2f8 <memcpy>                              
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
a0006c24:	e1d521b0 	ldrh	r2, [r5, #16]                                
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
a0006c28:	e1a0000b 	mov	r0, fp                                        
a0006c2c:	e595101c 	ldr	r1, [r5, #28]                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
a0006c30:	e0872002 	add	r2, r7, r2                                    
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
a0006c34:	e1a02102 	lsl	r2, r2, #2                                    
a0006c38:	eb001dae 	bl	a000e2f8 <memcpy>                              
a0006c3c:	e89d1008 	ldm	sp, {r3, ip}                                  
a0006c40:	eaffffa4 	b	a0006ad8 <_Objects_Extend_information+0x124>    
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a0006c44:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a0006c48:	e1d011b4 	ldrh	r1, [r0, #20]                                
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
a0006c4c:	e1a06007 	mov	r6, r7                                        
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
a0006c50:	e3a09001 	mov	r9, #1                                        
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
a0006c54:	e1a03004 	mov	r3, r4                                        
a0006c58:	eaffff77 	b	a0006a3c <_Objects_Extend_information+0x88>     
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
a0006c5c:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
a0006c60:	e1a06007 	mov	r6, r7                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
a0006c64:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
a0006c68:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
a0006c6c:	eaffff72 	b	a0006a3c <_Objects_Extend_information+0x88>     <== NOT EXECUTED
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
a0006c70:	e1a00008 	mov	r0, r8                                        
a0006c74:	eb0007c1 	bl	a0008b80 <_Workspace_Free>                     
      return;                                                         
a0006c78:	eaffffd7 	b	a0006bdc <_Objects_Extend_information+0x228>    
                                                                      

a000767c <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
a000767c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0007680:	e1a05000 	mov	r5, r0                                        
a0007684:	e1a06001 	mov	r6, r1                                        
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a0007688:	e1a00002 	mov	r0, r2                                        
a000768c:	e1d513ba 	ldrh	r1, [r5, #58]	; 0x3a                         
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
a0007690:	e1a07002 	mov	r7, r2                                        
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a0007694:	eb00222c 	bl	a000ff4c <strnlen>                             
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
a0007698:	e5d53038 	ldrb	r3, [r5, #56]	; 0x38                         
{                                                                     
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a000769c:	e1a04000 	mov	r4, r0                                        
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
a00076a0:	e3530000 	cmp	r3, #0                                        
a00076a4:	1a000017 	bne	a0007708 <_Objects_Set_name+0x8c>             
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
a00076a8:	e5d72000 	ldrb	r2, [r7]                                     
a00076ac:	e3500001 	cmp	r0, #1                                        
a00076b0:	e1a02c02 	lsl	r2, r2, #24                                   
a00076b4:	9a00000c 	bls	a00076ec <_Objects_Set_name+0x70>             
a00076b8:	e5d73001 	ldrb	r3, [r7, #1]                                 
a00076bc:	e3500002 	cmp	r0, #2                                        
a00076c0:	e1822803 	orr	r2, r2, r3, lsl #16                           
a00076c4:	0a000009 	beq	a00076f0 <_Objects_Set_name+0x74>             
a00076c8:	e5d73002 	ldrb	r3, [r7, #2]                                 
a00076cc:	e3500003 	cmp	r0, #3                                        
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
a00076d0:	e3a00001 	mov	r0, #1                                        
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
a00076d4:	e1822403 	orr	r2, r2, r3, lsl #8                            
a00076d8:	15d73003 	ldrbne	r3, [r7, #3]                               
a00076dc:	03a03020 	moveq	r3, #32                                     
a00076e0:	e1823003 	orr	r3, r2, r3                                    
a00076e4:	e586300c 	str	r3, [r6, #12]                                 
a00076e8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a00076ec:	e3822602 	orr	r2, r2, #2097152	; 0x200000                   
a00076f0:	e3822a02 	orr	r2, r2, #8192	; 0x2000                        
a00076f4:	e3a03020 	mov	r3, #32                                       
a00076f8:	e1823003 	orr	r3, r2, r3                                    
a00076fc:	e586300c 	str	r3, [r6, #12]                                 
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
a0007700:	e3a00001 	mov	r0, #1                                        
a0007704:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
a0007708:	e2800001 	add	r0, r0, #1                                    
a000770c:	eb0006f1 	bl	a00092d8 <_Workspace_Allocate>                 
    if ( !d )                                                         
a0007710:	e2505000 	subs	r5, r0, #0                                   
a0007714:	0a00000e 	beq	a0007754 <_Objects_Set_name+0xd8>             
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
a0007718:	e596000c 	ldr	r0, [r6, #12]                                 
a000771c:	e3500000 	cmp	r0, #0                                        
a0007720:	0a000002 	beq	a0007730 <_Objects_Set_name+0xb4>             
      _Workspace_Free( (void *)the_object->name.name_p );             
a0007724:	eb0006f1 	bl	a00092f0 <_Workspace_Free>                     
      the_object->name.name_p = NULL;                                 
a0007728:	e3a03000 	mov	r3, #0                                        
a000772c:	e586300c 	str	r3, [r6, #12]                                 
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
a0007730:	e1a00005 	mov	r0, r5                                        
a0007734:	e1a01007 	mov	r1, r7                                        
a0007738:	e1a02004 	mov	r2, r4                                        
a000773c:	eb0021c7 	bl	a000fe60 <strncpy>                             
    d[length] = '\0';                                                 
a0007740:	e3a03000 	mov	r3, #0                                        
a0007744:	e7c53004 	strb	r3, [r5, r4]                                 
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
a0007748:	e3a00001 	mov	r0, #1                                        
      the_object->name.name_p = NULL;                                 
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
a000774c:	e586500c 	str	r5, [r6, #12]                                 
a0007750:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
      return false;                                                   
a0007754:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a0007758:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a0006fec <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
a0006fec:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
a0006ff0:	e1d040b8 	ldrh	r4, [r0, #8]                                 
  block_count = (information->maximum - index_base) /                 
a0006ff4:	e1d051b4 	ldrh	r5, [r0, #20]                                
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
a0006ff8:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
a0006ffc:	e1d001b0 	ldrh	r0, [r0, #16]                                
a0007000:	e1a01005 	mov	r1, r5                                        
a0007004:	e0640000 	rsb	r0, r4, r0                                    
a0007008:	eb00283b 	bl	a00110fc <__aeabi_uidiv>                       
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
a000700c:	e3500000 	cmp	r0, #0                                        
a0007010:	0a00000d 	beq	a000704c <_Objects_Shrink_information+0x60>   
    if ( information->inactive_per_block[ block ] ==                  
a0007014:	e5962030 	ldr	r2, [r6, #48]	; 0x30                          
a0007018:	e5923000 	ldr	r3, [r2]                                      
a000701c:	e1550003 	cmp	r5, r3                                        
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
a0007020:	13a03000 	movne	r3, #0                                      
    if ( information->inactive_per_block[ block ] ==                  
a0007024:	1a000005 	bne	a0007040 <_Objects_Shrink_information+0x54>   
a0007028:	ea000008 	b	a0007050 <_Objects_Shrink_information+0x64>     <== NOT EXECUTED
a000702c:	e5b21004 	ldr	r1, [r2, #4]!                                 
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
a0007030:	e0844005 	add	r4, r4, r5                                    
a0007034:	e1a07103 	lsl	r7, r3, #2                                    
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
a0007038:	e1550001 	cmp	r5, r1                                        
a000703c:	0a000004 	beq	a0007054 <_Objects_Shrink_information+0x68>   
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
a0007040:	e2833001 	add	r3, r3, #1                                    
a0007044:	e1500003 	cmp	r0, r3                                        
a0007048:	8afffff7 	bhi	a000702c <_Objects_Shrink_information+0x40>   
a000704c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    if ( information->inactive_per_block[ block ] ==                  
a0007050:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
a0007054:	e5960020 	ldr	r0, [r6, #32]                                 
a0007058:	ea000002 	b	a0007068 <_Objects_Shrink_information+0x7c>     
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
a000705c:	e3550000 	cmp	r5, #0                                        
a0007060:	0a00000b 	beq	a0007094 <_Objects_Shrink_information+0xa8>   
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
a0007064:	e1a00005 	mov	r0, r5                                        
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
a0007068:	e1d030b8 	ldrh	r3, [r0, #8]                                 
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
a000706c:	e5905000 	ldr	r5, [r0]                                      
         if ((index >= index_base) &&                                 
a0007070:	e1530004 	cmp	r3, r4                                        
a0007074:	3afffff8 	bcc	a000705c <_Objects_Shrink_information+0x70>   
             (index < (index_base + information->allocation_size))) { 
a0007078:	e1d621b4 	ldrh	r2, [r6, #20]                                
a000707c:	e0842002 	add	r2, r4, r2                                    
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
a0007080:	e1530002 	cmp	r3, r2                                        
a0007084:	2afffff4 	bcs	a000705c <_Objects_Shrink_information+0x70>   
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
a0007088:	ebfffbb1 	bl	a0005f54 <_Chain_Extract>                      
         }                                                            
       }                                                              
       while ( the_object );                                          
a000708c:	e3550000 	cmp	r5, #0                                        
a0007090:	1afffff3 	bne	a0007064 <_Objects_Shrink_information+0x78>   
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
a0007094:	e5963034 	ldr	r3, [r6, #52]	; 0x34                          
a0007098:	e7930007 	ldr	r0, [r3, r7]                                  
a000709c:	eb0006b7 	bl	a0008b80 <_Workspace_Free>                     
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
a00070a0:	e1d602bc 	ldrh	r0, [r6, #44]	; 0x2c                         
a00070a4:	e1d631b4 	ldrh	r3, [r6, #20]                                
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
a00070a8:	e5961034 	ldr	r1, [r6, #52]	; 0x34                          
      information->inactive_per_block[ block ] = 0;                   
a00070ac:	e5962030 	ldr	r2, [r6, #48]	; 0x30                          
                                                                      
      information->inactive -= information->allocation_size;          
a00070b0:	e0633000 	rsb	r3, r3, r0                                    
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
a00070b4:	e7815007 	str	r5, [r1, r7]                                  
      information->inactive_per_block[ block ] = 0;                   
a00070b8:	e7825007 	str	r5, [r2, r7]                                  
                                                                      
      information->inactive -= information->allocation_size;          
a00070bc:	e1c632bc 	strh	r3, [r6, #44]	; 0x2c                         
                                                                      
      return;                                                         
a00070c0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a00066ac <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
a00066ac:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a00066b0:	e24dd004 	sub	sp, sp, #4                                    
a00066b4:	e1a04001 	mov	r4, r1                                        
a00066b8:	e1a06000 	mov	r6, r0                                        
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
a00066bc:	e1a00001 	mov	r0, r1                                        
a00066c0:	e1a0100d 	mov	r1, sp                                        
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
a00066c4:	e1a08002 	mov	r8, r2                                        
a00066c8:	e20370ff 	and	r7, r3, #255	; 0xff                           
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
a00066cc:	eb00005a 	bl	a000683c <_POSIX_Mutex_Get>                    
a00066d0:	e3500000 	cmp	r0, #0                                        
a00066d4:	0a00000a 	beq	a0006704 <_POSIX_Condition_variables_Wait_support+0x58>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
a00066d8:	e59f30d8 	ldr	r3, [pc, #216]	; a00067b8 <_POSIX_Condition_variables_Wait_support+0x10c>
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
a00066dc:	e1a00006 	mov	r0, r6                                        
a00066e0:	e1a0100d 	mov	r1, sp                                        
a00066e4:	e5932000 	ldr	r2, [r3]                                      
a00066e8:	e2422001 	sub	r2, r2, #1                                    
a00066ec:	e5832000 	str	r2, [r3]                                      
a00066f0:	ebffff74 	bl	a00064c8 <_POSIX_Condition_variables_Get>      
  switch ( location ) {                                               
a00066f4:	e59d3000 	ldr	r3, [sp]                                      
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
a00066f8:	e1a0a000 	mov	sl, r0                                        
  switch ( location ) {                                               
a00066fc:	e3530000 	cmp	r3, #0                                        
a0006700:	0a000003 	beq	a0006714 <_POSIX_Condition_variables_Wait_support+0x68>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
a0006704:	e3a05016 	mov	r5, #22                                       
}                                                                     
a0006708:	e1a00005 	mov	r0, r5                                        
a000670c:	e28dd004 	add	sp, sp, #4                                    
a0006710:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
a0006714:	e5903014 	ldr	r3, [r0, #20]                                 
a0006718:	e3530000 	cmp	r3, #0                                        
a000671c:	0a000005 	beq	a0006738 <_POSIX_Condition_variables_Wait_support+0x8c>
a0006720:	e5942000 	ldr	r2, [r4]                                      
a0006724:	e1530002 	cmp	r3, r2                                        
a0006728:	0a000002 	beq	a0006738 <_POSIX_Condition_variables_Wait_support+0x8c>
        _Thread_Enable_dispatch();                                    
a000672c:	eb000c93 	bl	a0009980 <_Thread_Enable_dispatch>             
        return EINVAL;                                                
a0006730:	e3a05016 	mov	r5, #22                                       
a0006734:	eafffff3 	b	a0006708 <_POSIX_Condition_variables_Wait_support+0x5c>
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
a0006738:	e1a00004 	mov	r0, r4                                        
a000673c:	eb0000e7 	bl	a0006ae0 <pthread_mutex_unlock>                
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
a0006740:	e3570000 	cmp	r7, #0                                        
a0006744:	0a000006 	beq	a0006764 <_POSIX_Condition_variables_Wait_support+0xb8>
        status = _Thread_Executing->Wait.return_code;                 
        if ( status && status != ETIMEDOUT )                          
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
a0006748:	eb000c8c 	bl	a0009980 <_Thread_Enable_dispatch>             
        status = ETIMEDOUT;                                           
a000674c:	e3a05074 	mov	r5, #116	; 0x74                               
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
a0006750:	e1a00004 	mov	r0, r4                                        
a0006754:	eb0000c0 	bl	a0006a5c <pthread_mutex_lock>                  
      if ( mutex_status )                                             
        return EINVAL;                                                
a0006758:	e3500000 	cmp	r0, #0                                        
a000675c:	13a05016 	movne	r5, #22                                     
a0006760:	eaffffe8 	b	a0006708 <_POSIX_Condition_variables_Wait_support+0x5c>
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
a0006764:	e59f5050 	ldr	r5, [pc, #80]	; a00067bc <_POSIX_Condition_variables_Wait_support+0x110>
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
a0006768:	e5942000 	ldr	r2, [r4]                                      
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
a000676c:	e28a0018 	add	r0, sl, #24                                   
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
a0006770:	e5953004 	ldr	r3, [r5, #4]                                  
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
a0006774:	e58a2014 	str	r2, [sl, #20]                                 
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
a0006778:	e3a02001 	mov	r2, #1                                        
a000677c:	e58a2048 	str	r2, [sl, #72]	; 0x48                          
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
a0006780:	e5837034 	str	r7, [r3, #52]	; 0x34                          
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
a0006784:	e5962000 	ldr	r2, [r6]                                      
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
a0006788:	e1a01008 	mov	r1, r8                                        
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
a000678c:	e5830044 	str	r0, [r3, #68]	; 0x44                          
        _Thread_Executing->Wait.id          = *cond;                  
a0006790:	e5832020 	str	r2, [r3, #32]                                 
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
a0006794:	e59f2024 	ldr	r2, [pc, #36]	; a00067c0 <_POSIX_Condition_variables_Wait_support+0x114>
a0006798:	eb000db1 	bl	a0009e64 <_Thread_queue_Enqueue_with_handler>  
                                                                      
        _Thread_Enable_dispatch();                                    
a000679c:	eb000c77 	bl	a0009980 <_Thread_Enable_dispatch>             
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
a00067a0:	e5953004 	ldr	r3, [r5, #4]                                  
a00067a4:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
        if ( status && status != ETIMEDOUT )                          
a00067a8:	e3550074 	cmp	r5, #116	; 0x74                               
a00067ac:	13550000 	cmpne	r5, #0                                      
a00067b0:	0affffe6 	beq	a0006750 <_POSIX_Condition_variables_Wait_support+0xa4>
a00067b4:	eaffffd3 	b	a0006708 <_POSIX_Condition_variables_Wait_support+0x5c><== NOT EXECUTED
                                                                      

a000d9bc <_POSIX_signals_Clear_process_signals>: static inline uint32_t arm_interrupt_disable( void ) { uint32_t arm_switch_reg; uint32_t level; asm volatile (
a000d9bc:	e10f2000 	mrs	r2, CPSR                                      
a000d9c0:	e3823080 	orr	r3, r2, #128	; 0x80                           
a000d9c4:	e129f003 	msr	CPSR_fc, r3                                   
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
a000d9c8:	e3a0300c 	mov	r3, #12                                       
a000d9cc:	e0030390 	mul	r3, r0, r3                                    
a000d9d0:	e59f1048 	ldr	r1, [pc, #72]	; a000da20 <_POSIX_signals_Clear_process_signals+0x64>
a000d9d4:	e7911003 	ldr	r1, [r1, r3]                                  
a000d9d8:	e3510002 	cmp	r1, #2                                        
a000d9dc:	0a000007 	beq	a000da00 <_POSIX_signals_Clear_process_signals+0x44>
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
a000d9e0:	e59f303c 	ldr	r3, [pc, #60]	; a000da24 <_POSIX_signals_Clear_process_signals+0x68>
a000d9e4:	e3a0c001 	mov	ip, #1                                        
a000d9e8:	e2400001 	sub	r0, r0, #1                                    
a000d9ec:	e5931000 	ldr	r1, [r3]                                      
a000d9f0:	e1c1001c 	bic	r0, r1, ip, lsl r0                            
a000d9f4:	e5830000 	str	r0, [r3]                                      
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000d9f8:	e129f002 	msr	CPSR_fc, r2                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
a000d9fc:	e12fff1e 	bx	lr                                             
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a000da00:	e59f1020 	ldr	r1, [pc, #32]	; a000da28 <_POSIX_signals_Clear_process_signals+0x6c>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000da04:	e283c004 	add	ip, r3, #4                                    
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
a000da08:	e7913003 	ldr	r3, [r1, r3]                                  
a000da0c:	e08c1001 	add	r1, ip, r1                                    
a000da10:	e1530001 	cmp	r3, r1                                        
a000da14:	0afffff1 	beq	a000d9e0 <_POSIX_signals_Clear_process_signals+0x24>
a000da18:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
a000da1c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a00065bc <_TOD_Validate>: { uint32_t days_in_month; uint32_t ticks_per_second; ticks_per_second = TOD_MICROSECONDS_PER_SECOND / rtems_configuration_get_microseconds_per_tick();
a00065bc:	e59f30bc 	ldr	r3, [pc, #188]	; a0006680 <_TOD_Validate+0xc4>
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  const rtems_time_of_day *the_tod                                    
)                                                                     
{                                                                     
a00065c0:	e92d4010 	push	{r4, lr}                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
a00065c4:	e2504000 	subs	r4, r0, #0                                   
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
a00065c8:	e593100c 	ldr	r1, [r3, #12]                                 
  if ((!the_tod)                                  ||                  
a00065cc:	0a000029 	beq	a0006678 <_TOD_Validate+0xbc>                 
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
a00065d0:	e3a0093d 	mov	r0, #999424	; 0xf4000                         
a00065d4:	e2800d09 	add	r0, r0, #576	; 0x240                          
a00065d8:	eb00490e 	bl	a0018a18 <__aeabi_uidiv>                       
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
a00065dc:	e5943018 	ldr	r3, [r4, #24]                                 
a00065e0:	e1500003 	cmp	r0, r3                                        
a00065e4:	9a00001f 	bls	a0006668 <_TOD_Validate+0xac>                 
      (the_tod->ticks  >= ticks_per_second)       ||                  
a00065e8:	e5943014 	ldr	r3, [r4, #20]                                 
a00065ec:	e353003b 	cmp	r3, #59	; 0x3b                                
a00065f0:	8a00001c 	bhi	a0006668 <_TOD_Validate+0xac>                 
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
a00065f4:	e5943010 	ldr	r3, [r4, #16]                                 
a00065f8:	e353003b 	cmp	r3, #59	; 0x3b                                
a00065fc:	8a000019 	bhi	a0006668 <_TOD_Validate+0xac>                 
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
a0006600:	e594300c 	ldr	r3, [r4, #12]                                 
a0006604:	e3530017 	cmp	r3, #23                                       
a0006608:	8a000016 	bhi	a0006668 <_TOD_Validate+0xac>                 
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
a000660c:	e5940004 	ldr	r0, [r4, #4]                                  
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
a0006610:	e3500000 	cmp	r0, #0                                        
a0006614:	0a000016 	beq	a0006674 <_TOD_Validate+0xb8>                 
      (the_tod->month  == 0)                      ||                  
a0006618:	e350000c 	cmp	r0, #12                                       
a000661c:	8a000011 	bhi	a0006668 <_TOD_Validate+0xac>                 
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
a0006620:	e5942000 	ldr	r2, [r4]                                      
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
a0006624:	e3a03d1f 	mov	r3, #1984	; 0x7c0                             
a0006628:	e2833003 	add	r3, r3, #3                                    
a000662c:	e1520003 	cmp	r2, r3                                        
a0006630:	9a00000c 	bls	a0006668 <_TOD_Validate+0xac>                 
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
a0006634:	e5944008 	ldr	r4, [r4, #8]                                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
a0006638:	e3540000 	cmp	r4, #0                                        
a000663c:	0a00000b 	beq	a0006670 <_TOD_Validate+0xb4>                 
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
a0006640:	e3120003 	tst	r2, #3                                        
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
a0006644:	059f3038 	ldreq	r3, [pc, #56]	; a0006684 <_TOD_Validate+0xc8>
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
a0006648:	159f3034 	ldrne	r3, [pc, #52]	; a0006684 <_TOD_Validate+0xc8>
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
a000664c:	0280000d 	addeq	r0, r0, #13                                 
a0006650:	07930100 	ldreq	r0, [r3, r0, lsl #2]                        
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
a0006654:	17930100 	ldrne	r0, [r3, r0, lsl #2]                        
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
a0006658:	e1500004 	cmp	r0, r4                                        
a000665c:	33a00000 	movcc	r0, #0                                      
a0006660:	23a00001 	movcs	r0, #1                                      
a0006664:	e8bd8010 	pop	{r4, pc}                                      
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
a0006668:	e3a00000 	mov	r0, #0                                        
a000666c:	e8bd8010 	pop	{r4, pc}                                      
a0006670:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
a0006674:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
a0006678:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000667c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0007cb8 <_Thread_queue_Enqueue_priority>: Priority_Control priority; States_Control block_state; _Chain_Initialize_empty( &the_thread->Wait.Block2n ); priority = the_thread->current_priority;
a0007cb8:	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                                       
)                                                                     
{                                                                     
a0007cbc:	e92d0ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp}             
a0007cc0:	e281403c 	add	r4, r1, #60	; 0x3c                            
  Chain_Node          *previous_node;                                 
  Chain_Node          *search_node;                                   
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
a0007cc4:	e281c038 	add	ip, r1, #56	; 0x38                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0007cc8:	e5814038 	str	r4, [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 ) )                  
a0007ccc:	e3130020 	tst	r3, #32                                       
  the_chain->permanent_null = NULL;                                   
a0007cd0:	e3a04000 	mov	r4, #0                                        
  the_chain->last           = _Chain_Head(the_chain);                 
a0007cd4:	e581c040 	str	ip, [r1, #64]	; 0x40                          
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
a0007cd8:	e581403c 	str	r4, [r1, #60]	; 0x3c                          
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Thread_queue_Header_number (         
  Priority_Control the_priority                                       
)                                                                     
{                                                                     
  return (the_priority / TASK_QUEUE_DATA_PRIORITIES_PER_HEADER);      
a0007cdc:	e1a0c323 	lsr	ip, r3, #6                                    
  _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 ];  
  block_state  = the_thread_queue->state;                             
a0007ce0:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
a0007ce4:	1a00001f 	bne	a0007d68 <_Thread_queue_Enqueue_priority+0xb0>
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
a0007ce8:	e3a0900c 	mov	r9, #12                                       
a0007cec:	e00c0c99 	mul	ip, r9, ip                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0007cf0:	e28c8004 	add	r8, ip, #4                                    
a0007cf4:	e080900c 	add	r9, r0, ip                                    
a0007cf8:	e0808008 	add	r8, r0, r8                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007cfc:	e10f7000 	mrs	r7, CPSR                                      
a0007d00:	e387c080 	orr	ip, r7, #128	; 0x80                           
a0007d04:	e129f00c 	msr	CPSR_fc, ip                                   
a0007d08:	e1a0a007 	mov	sl, r7                                        
a0007d0c:	e599c000 	ldr	ip, [r9]                                      
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a0007d10:	e15c0008 	cmp	ip, r8                                        
a0007d14:	1a000009 	bne	a0007d40 <_Thread_queue_Enqueue_priority+0x88>
a0007d18:	ea000054 	b	a0007e70 <_Thread_queue_Enqueue_priority+0x1b8> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0007d1c:	e10f6000 	mrs	r6, CPSR                                      
a0007d20:	e129f007 	msr	CPSR_fc, r7                                   
a0007d24:	e129f006 	msr	CPSR_fc, r6                                   
RTEMS_INLINE_ROUTINE bool _States_Are_set (                           
  States_Control the_states,                                          
  States_Control mask                                                 
)                                                                     
{                                                                     
   return ( (the_states & mask) != STATES_READY);                     
a0007d28:	e59c6010 	ldr	r6, [ip, #16]                                 
    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) ) {
a0007d2c:	e1150006 	tst	r5, r6                                        
a0007d30:	0a000036 	beq	a0007e10 <_Thread_queue_Enqueue_priority+0x158>
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
a0007d34:	e59cc000 	ldr	ip, [ip]                                      
                                                                      
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 ) ) {  
a0007d38:	e15c0008 	cmp	ip, r8                                        
a0007d3c:	0a000002 	beq	a0007d4c <_Thread_queue_Enqueue_priority+0x94>
    search_priority = search_thread->current_priority;                
a0007d40:	e59c4014 	ldr	r4, [ip, #20]                                 
    if ( priority <= search_priority )                                
a0007d44:	e1530004 	cmp	r3, r4                                        
a0007d48:	8afffff3 	bhi	a0007d1c <_Thread_queue_Enqueue_priority+0x64>
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0007d4c:	e5905030 	ldr	r5, [r0, #48]	; 0x30                          
a0007d50:	e3550001 	cmp	r5, #1                                        
a0007d54:	0a00002f 	beq	a0007e18 <_Thread_queue_Enqueue_priority+0x160>
   *  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;                                                   
a0007d58:	e582a000 	str	sl, [r2]                                      
  return the_thread_queue->sync_state;                                
}                                                                     
a0007d5c:	e1a00005 	mov	r0, r5                                        
a0007d60:	e8bd0ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp}              
a0007d64:	e12fff1e 	bx	lr                                             
                                                                      
  _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 ];  
a0007d68:	e3a0800c 	mov	r8, #12                                       
a0007d6c:	e028089c 	mla	r8, ip, r8, r0                                
a0007d70:	e59f9100 	ldr	r9, [pc, #256]	; a0007e78 <_Thread_queue_Enqueue_priority+0x1c0>
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
a0007d74:	e1a0b008 	mov	fp, r8                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
a0007d78:	e5d94000 	ldrb	r4, [r9]                                     
a0007d7c:	e2844001 	add	r4, r4, #1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007d80:	e10f7000 	mrs	r7, CPSR                                      
a0007d84:	e387c080 	orr	ip, r7, #128	; 0x80                           
a0007d88:	e129f00c 	msr	CPSR_fc, ip                                   
a0007d8c:	e1a0a007 	mov	sl, r7                                        
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
a0007d90:	e59bc008 	ldr	ip, [fp, #8]                                  
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
a0007d94:	e15c0008 	cmp	ip, r8                                        
a0007d98:	1a000009 	bne	a0007dc4 <_Thread_queue_Enqueue_priority+0x10c>
a0007d9c:	ea00000b 	b	a0007dd0 <_Thread_queue_Enqueue_priority+0x118> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0007da0:	e10f6000 	mrs	r6, CPSR                                      
a0007da4:	e129f007 	msr	CPSR_fc, r7                                   
a0007da8:	e129f006 	msr	CPSR_fc, r6                                   
a0007dac:	e59c6010 	ldr	r6, [ip, #16]                                 
    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) ) {
a0007db0:	e1150006 	tst	r5, r6                                        
a0007db4:	0a000013 	beq	a0007e08 <_Thread_queue_Enqueue_priority+0x150>
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
a0007db8:	e59cc004 	ldr	ip, [ip, #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 ) ) {  
a0007dbc:	e15c0008 	cmp	ip, r8                                        
a0007dc0:	0a000002 	beq	a0007dd0 <_Thread_queue_Enqueue_priority+0x118>
    search_priority = search_thread->current_priority;                
a0007dc4:	e59c4014 	ldr	r4, [ip, #20]                                 
    if ( priority >= search_priority )                                
a0007dc8:	e1530004 	cmp	r3, r4                                        
a0007dcc:	3afffff3 	bcc	a0007da0 <_Thread_queue_Enqueue_priority+0xe8>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0007dd0:	e5905030 	ldr	r5, [r0, #48]	; 0x30                          
a0007dd4:	e3550001 	cmp	r5, #1                                        
a0007dd8:	1affffde 	bne	a0007d58 <_Thread_queue_Enqueue_priority+0xa0>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a0007ddc:	e1530004 	cmp	r3, r4                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
a0007de0:	e3a03000 	mov	r3, #0                                        
a0007de4:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a0007de8:	0a000016 	beq	a0007e48 <_Thread_queue_Enqueue_priority+0x190>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
a0007dec:	e59c3000 	ldr	r3, [ip]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
a0007df0:	e8811008 	stm	r1, {r3, ip}                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
a0007df4:	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;                                 
a0007df8:	e58c1000 	str	r1, [ip]                                      
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0007dfc:	e5810044 	str	r0, [r1, #68]	; 0x44                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0007e00:	e129f007 	msr	CPSR_fc, r7                                   
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0007e04:	eaffffd4 	b	a0007d5c <_Thread_queue_Enqueue_priority+0xa4>  
a0007e08:	e129f007 	msr	CPSR_fc, r7                                   <== NOT EXECUTED
a0007e0c:	eaffffd9 	b	a0007d78 <_Thread_queue_Enqueue_priority+0xc0>  <== NOT EXECUTED
a0007e10:	e129f007 	msr	CPSR_fc, r7                                   <== NOT EXECUTED
a0007e14:	eaffffb8 	b	a0007cfc <_Thread_queue_Enqueue_priority+0x44>  <== NOT EXECUTED
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a0007e18:	e1530004 	cmp	r3, r4                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
a0007e1c:	e3a03000 	mov	r3, #0                                        
a0007e20:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a0007e24:	0a000007 	beq	a0007e48 <_Thread_queue_Enqueue_priority+0x190>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
a0007e28:	e59c3004 	ldr	r3, [ip, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a0007e2c:	e581c000 	str	ip, [r1]                                      
  the_node->previous     = previous_node;                             
a0007e30:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a0007e34:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a0007e38:	e58c1004 	str	r1, [ip, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0007e3c:	e5810044 	str	r0, [r1, #68]	; 0x44                          
a0007e40:	e129f007 	msr	CPSR_fc, r7                                   
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0007e44:	eaffffc4 	b	a0007d5c <_Thread_queue_Enqueue_priority+0xa4>  
a0007e48:	e28cc03c 	add	ip, ip, #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;                              
a0007e4c:	e59c3004 	ldr	r3, [ip, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a0007e50:	e581c000 	str	ip, [r1]                                      
  the_node->previous     = previous_node;                             
a0007e54:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a0007e58:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a0007e5c:	e58c1004 	str	r1, [ip, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0007e60:	e5810044 	str	r0, [r1, #68]	; 0x44                          
a0007e64:	e129f00a 	msr	CPSR_fc, sl                                   
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0007e68:	e3a05001 	mov	r5, #1                                        
a0007e6c:	eaffffba 	b	a0007d5c <_Thread_queue_Enqueue_priority+0xa4>  
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
a0007e70:	e3e04000 	mvn	r4, #0                                        
a0007e74:	eaffffb4 	b	a0007d4c <_Thread_queue_Enqueue_priority+0x94>  
                                                                      

a000bbe4 <_Thread_queue_Extract_priority_helper>: void _Thread_queue_Extract_priority_helper( Thread_queue_Control *the_thread_queue __attribute__((unused)), Thread_Control *the_thread, bool requeuing ) {
a000bbe4:	e92d4070 	push	{r4, r5, r6, lr}                             
a000bbe8:	e20220ff 	and	r2, r2, #255	; 0xff                           
a000bbec:	e24dd004 	sub	sp, sp, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000bbf0:	e10fc000 	mrs	ip, CPSR                                      
a000bbf4:	e38c3080 	orr	r3, ip, #128	; 0x80                           
a000bbf8:	e129f003 	msr	CPSR_fc, r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
a000bbfc:	e5910010 	ldr	r0, [r1, #16]                                 
a000bc00:	e3a03bef 	mov	r3, #244736	; 0x3bc00                         
a000bc04:	e2833e2e 	add	r3, r3, #736	; 0x2e0                          
a000bc08:	e0003003 	and	r3, r0, r3                                    
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
                                                                      
  the_node = (Chain_Node *) the_thread;                               
  _ISR_Disable( level );                                              
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
a000bc0c:	e3530000 	cmp	r3, #0                                        
a000bc10:	0a000021 	beq	a000bc9c <_Thread_queue_Extract_priority_helper+0xb8>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a000bc14:	e5913038 	ldr	r3, [r1, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  The thread was actually waiting on a thread queue so let's remove it.
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
a000bc18:	e8910030 	ldm	r1, {r4, r5}                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000bc1c:	e281003c 	add	r0, r1, #60	; 0x3c                            
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
a000bc20:	e1530000 	cmp	r3, r0                                        
                                                                      
      new_first_thread->Wait.Block2n.last = last_node;                
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
a000bc24:	05854000 	streq	r4, [r5]                                    
    next_node->previous = previous_node;                              
a000bc28:	05845004 	streq	r5, [r4, #4]                                
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
a000bc2c:	0a00000c 	beq	a000bc64 <_Thread_queue_Extract_priority_helper+0x80>
    new_first_node   = the_thread->Wait.Block2n.first;                
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = the_thread->Wait.Block2n.last;                 
a000bc30:	e5910040 	ldr	r0, [r1, #64]	; 0x40                          
    new_second_node  = new_first_node->next;                          
a000bc34:	e5936000 	ldr	r6, [r3]                                      
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
a000bc38:	e5843004 	str	r3, [r4, #4]                                  
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
a000bc3c:	e1500003 	cmp	r0, r3                                        
    new_first_node   = the_thread->Wait.Block2n.first;                
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = the_thread->Wait.Block2n.last;                 
    new_second_node  = new_first_node->next;                          
                                                                      
    previous_node->next      = new_first_node;                        
a000bc40:	e5853000 	str	r3, [r5]                                      
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
a000bc44:	e8830030 	stm	r3, {r4, r5}                                  
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
a000bc48:	0a000005 	beq	a000bc64 <_Thread_queue_Extract_priority_helper+0x80>
                                        /* > two threads on 2-n */    
      new_second_node->previous =                                     
                _Chain_Head( &new_first_thread->Wait.Block2n );       
a000bc4c:	e2835038 	add	r5, r3, #56	; 0x38                            
a000bc50:	e283403c 	add	r4, r3, #60	; 0x3c                            
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
                                        /* > two threads on 2-n */    
      new_second_node->previous =                                     
a000bc54:	e5865004 	str	r5, [r6, #4]                                  
                _Chain_Head( &new_first_thread->Wait.Block2n );       
      new_first_thread->Wait.Block2n.first = new_second_node;         
a000bc58:	e5836038 	str	r6, [r3, #56]	; 0x38                          
                                                                      
      new_first_thread->Wait.Block2n.last = last_node;                
a000bc5c:	e5830040 	str	r0, [r3, #64]	; 0x40                          
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
a000bc60:	e5804000 	str	r4, [r0]                                      
                                                                      
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
a000bc64:	e3520000 	cmp	r2, #0                                        
a000bc68:	1a000008 	bne	a000bc90 <_Thread_queue_Extract_priority_helper+0xac>
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
a000bc6c:	e5913050 	ldr	r3, [r1, #80]	; 0x50                          
a000bc70:	e3530002 	cmp	r3, #2                                        
a000bc74:	0a00000a 	beq	a000bca4 <_Thread_queue_Extract_priority_helper+0xc0>
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000bc78:	e129f00c 	msr	CPSR_fc, ip                                   
a000bc7c:	e1a00001 	mov	r0, r1                                        
a000bc80:	e59f103c 	ldr	r1, [pc, #60]	; a000bcc4 <_Thread_queue_Extract_priority_helper+0xe0>
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
a000bc84:	e28dd004 	add	sp, sp, #4                                    
a000bc88:	e8bd4070 	pop	{r4, r5, r6, lr}                              
a000bc8c:	eaffedad 	b	a0007348 <_Thread_Clear_state>                  
a000bc90:	e129f00c 	msr	CPSR_fc, ip                                   
a000bc94:	e28dd004 	add	sp, sp, #4                                    
a000bc98:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000bc9c:	e129f00c 	msr	CPSR_fc, ip                                   
a000bca0:	eafffffb 	b	a000bc94 <_Thread_queue_Extract_priority_helper+0xb0>
a000bca4:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
a000bca8:	e5813050 	str	r3, [r1, #80]	; 0x50                          <== NOT EXECUTED
a000bcac:	e129f00c 	msr	CPSR_fc, ip                                   <== NOT EXECUTED
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
    (void) _Watchdog_Remove( &the_thread->Timer );                    
a000bcb0:	e2810048 	add	r0, r1, #72	; 0x48                            <== NOT EXECUTED
a000bcb4:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
a000bcb8:	ebfff340 	bl	a00089c0 <_Watchdog_Remove>                    <== NOT EXECUTED
a000bcbc:	e59d1000 	ldr	r1, [sp]                                      <== NOT EXECUTED
a000bcc0:	eaffffed 	b	a000bc7c <_Thread_queue_Extract_priority_helper+0x98><== NOT EXECUTED
                                                                      

a0015e6c <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
a0015e6c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0015e70:	e24dd024 	sub	sp, sp, #36	; 0x24                            
a0015e74:	e28d700c 	add	r7, sp, #12                                   
a0015e78:	e28d2018 	add	r2, sp, #24                                   
a0015e7c:	e282a004 	add	sl, r2, #4                                    
a0015e80:	e2872004 	add	r2, r7, #4                                    
a0015e84:	e58d2000 	str	r2, [sp]                                      
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a0015e88:	e28d2018 	add	r2, sp, #24                                   
a0015e8c:	e58d2020 	str	r2, [sp, #32]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0015e90:	e59d2000 	ldr	r2, [sp]                                      
a0015e94:	e59f91cc 	ldr	r9, [pc, #460]	; a0016068 <_Timer_server_Body+0x1fc>
a0015e98:	e59fb1cc 	ldr	fp, [pc, #460]	; a001606c <_Timer_server_Body+0x200>
a0015e9c:	e58d200c 	str	r2, [sp, #12]                                 
a0015ea0:	e2802008 	add	r2, r0, #8                                    
  the_chain->permanent_null = NULL;                                   
a0015ea4:	e3a03000 	mov	r3, #0                                        
a0015ea8:	e58d2004 	str	r2, [sp, #4]                                  
a0015eac:	e2802040 	add	r2, r0, #64	; 0x40                            
a0015eb0:	e1a04000 	mov	r4, r0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0015eb4:	e58da018 	str	sl, [sp, #24]                                 
  the_chain->permanent_null = NULL;                                   
a0015eb8:	e58d301c 	str	r3, [sp, #28]                                 
a0015ebc:	e58d3010 	str	r3, [sp, #16]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
a0015ec0:	e58d7014 	str	r7, [sp, #20]                                 
a0015ec4:	e2806030 	add	r6, r0, #48	; 0x30                            
a0015ec8:	e2808068 	add	r8, r0, #104	; 0x68                           
a0015ecc:	e58d2008 	str	r2, [sp, #8]                                  
{                                                                     
  /*                                                                  
   *  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;                                    
a0015ed0:	e28d3018 	add	r3, sp, #24                                   
a0015ed4:	e5843078 	str	r3, [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;            
a0015ed8:	e5993000 	ldr	r3, [r9]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
a0015edc:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a0015ee0:	e1a02007 	mov	r2, r7                                        
a0015ee4:	e1a00006 	mov	r0, r6                                        
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a0015ee8:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a0015eec:	e0611003 	rsb	r1, r1, r3                                    
a0015ef0:	eb0011d7 	bl	a001a654 <_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();
a0015ef4:	e59b5000 	ldr	r5, [fp]                                      
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
a0015ef8:	e5942074 	ldr	r2, [r4, #116]	; 0x74                         
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
a0015efc:	e1550002 	cmp	r5, r2                                        
a0015f00:	8a000022 	bhi	a0015f90 <_Timer_server_Body+0x124>           
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
a0015f04:	3a000018 	bcc	a0015f6c <_Timer_server_Body+0x100>           
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a0015f08:	e5845074 	str	r5, [r4, #116]	; 0x74                         
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
a0015f0c:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a0015f10:	eb0002cf 	bl	a0016a54 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a0015f14:	e2501000 	subs	r1, r0, #0                                   
a0015f18:	0a00000b 	beq	a0015f4c <_Timer_server_Body+0xe0>            
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
a0015f1c:	e5913038 	ldr	r3, [r1, #56]	; 0x38                          
a0015f20:	e3530001 	cmp	r3, #1                                        
a0015f24:	0a000015 	beq	a0015f80 <_Timer_server_Body+0x114>           
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
a0015f28:	e3530003 	cmp	r3, #3                                        
a0015f2c:	1afffff6 	bne	a0015f0c <_Timer_server_Body+0xa0>            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
a0015f30:	e2811010 	add	r1, r1, #16                                   
a0015f34:	e1a00008 	mov	r0, r8                                        
a0015f38:	eb0011ef 	bl	a001a6fc <_Watchdog_Insert>                    
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
a0015f3c:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a0015f40:	eb0002c3 	bl	a0016a54 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a0015f44:	e2501000 	subs	r1, r0, #0                                   
a0015f48:	1afffff3 	bne	a0015f1c <_Timer_server_Body+0xb0>            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0015f4c:	e10f2000 	mrs	r2, CPSR                                      
a0015f50:	e3823080 	orr	r3, r2, #128	; 0x80                           
a0015f54:	e129f003 	msr	CPSR_fc, r3                                   
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
a0015f58:	e59d3018 	ldr	r3, [sp, #24]                                 
a0015f5c:	e15a0003 	cmp	sl, r3                                        
a0015f60:	0a00000f 	beq	a0015fa4 <_Timer_server_Body+0x138>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0015f64:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
a0015f68:	eaffffda 	b	a0015ed8 <_Timer_server_Body+0x6c>              <== NOT EXECUTED
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
a0015f6c:	e1a00008 	mov	r0, r8                                        
a0015f70:	e3a01001 	mov	r1, #1                                        
a0015f74:	e0652002 	rsb	r2, r5, r2                                    
a0015f78:	eb001186 	bl	a001a598 <_Watchdog_Adjust>                    
a0015f7c:	eaffffe1 	b	a0015f08 <_Timer_server_Body+0x9c>              
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
a0015f80:	e1a00006 	mov	r0, r6                                        
a0015f84:	e2811010 	add	r1, r1, #16                                   
a0015f88:	eb0011db 	bl	a001a6fc <_Watchdog_Insert>                    
a0015f8c:	eaffffde 	b	a0015f0c <_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 );
a0015f90:	e0621005 	rsb	r1, r2, r5                                    
a0015f94:	e1a00008 	mov	r0, r8                                        
a0015f98:	e1a02007 	mov	r2, r7                                        
a0015f9c:	eb0011ac 	bl	a001a654 <_Watchdog_Adjust_to_chain>           
a0015fa0:	eaffffd8 	b	a0015f08 <_Timer_server_Body+0x9c>              
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
a0015fa4:	e5841078 	str	r1, [r4, #120]	; 0x78                         
a0015fa8:	e129f002 	msr	CPSR_fc, r2                                   
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
a0015fac:	e59d300c 	ldr	r3, [sp, #12]                                 
a0015fb0:	e59d2000 	ldr	r2, [sp]                                      
a0015fb4:	e1520003 	cmp	r2, r3                                        
a0015fb8:	0a000015 	beq	a0016014 <_Timer_server_Body+0x1a8>           
a0015fbc:	e1a05004 	mov	r5, r4                                        
a0015fc0:	e59d4000 	ldr	r4, [sp]                                      
a0015fc4:	ea000009 	b	a0015ff0 <_Timer_server_Body+0x184>             
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
a0015fc8:	e5923000 	ldr	r3, [r2]                                      
  the_chain->first    = new_first;                                    
  new_first->previous = _Chain_Head(the_chain);                       
a0015fcc:	e5837004 	str	r7, [r3, #4]                                  
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  the_chain->first    = new_first;                                    
a0015fd0:	e58d300c 	str	r3, [sp, #12]                                 
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
a0015fd4:	e3a03000 	mov	r3, #0                                        
a0015fd8:	e5823008 	str	r3, [r2, #8]                                  
a0015fdc:	e129f001 	msr	CPSR_fc, r1                                   
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
a0015fe0:	e592301c 	ldr	r3, [r2, #28]                                 
a0015fe4:	e5920020 	ldr	r0, [r2, #32]                                 
a0015fe8:	e5921024 	ldr	r1, [r2, #36]	; 0x24                          
a0015fec:	e12fff33 	blx	r3                                            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0015ff0:	e10f1000 	mrs	r1, CPSR                                      
a0015ff4:	e3813080 	orr	r3, r1, #128	; 0x80                           
a0015ff8:	e129f003 	msr	CPSR_fc, r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a0015ffc:	e59d200c 	ldr	r2, [sp, #12]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
a0016000:	e1540002 	cmp	r4, r2                                        
a0016004:	1affffef 	bne	a0015fc8 <_Timer_server_Body+0x15c>           
a0016008:	e1a04005 	mov	r4, r5                                        
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001600c:	e129f001 	msr	CPSR_fc, r1                                   
a0016010:	eaffffae 	b	a0015ed0 <_Timer_server_Body+0x64>              
      }                                                               
    } else {                                                          
      ts->active = false;                                             
a0016014:	e3a02000 	mov	r2, #0                                        
a0016018:	e5c4207c 	strb	r2, [r4, #124]	; 0x7c                        
a001601c:	e59f204c 	ldr	r2, [pc, #76]	; a0016070 <_Timer_server_Body+0x204>
a0016020:	e5923000 	ldr	r3, [r2]                                      
a0016024:	e2833001 	add	r3, r3, #1                                    
a0016028:	e5823000 	str	r3, [r2]                                      
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
a001602c:	e3a01008 	mov	r1, #8                                        
a0016030:	e5940000 	ldr	r0, [r4]                                      
a0016034:	eb000eed 	bl	a0019bf0 <_Thread_Set_state>                   
        _Timer_server_Reset_interval_system_watchdog( ts );           
a0016038:	e1a00004 	mov	r0, r4                                        
a001603c:	ebffff5e 	bl	a0015dbc <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
a0016040:	e1a00004 	mov	r0, r4                                        
a0016044:	ebffff72 	bl	a0015e14 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
a0016048:	eb000c47 	bl	a001916c <_Thread_Enable_dispatch>             
                                                                      
      ts->active = true;                                              
a001604c:	e3a03001 	mov	r3, #1                                        
a0016050:	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 );        
a0016054:	e59d0004 	ldr	r0, [sp, #4]                                  
a0016058:	eb001214 	bl	a001a8b0 <_Watchdog_Remove>                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a001605c:	e59d0008 	ldr	r0, [sp, #8]                                  
a0016060:	eb001212 	bl	a001a8b0 <_Watchdog_Remove>                    
a0016064:	eaffff99 	b	a0015ed0 <_Timer_server_Body+0x64>              
                                                                      

a00086d4 <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
a00086d4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
a00086d8:	e59f504c 	ldr	r5, [pc, #76]	; a000872c <_User_extensions_Thread_create+0x58>
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a00086dc:	e1a06000 	mov	r6, r0                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
a00086e0:	e4954004 	ldr	r4, [r5], #4                                  
a00086e4:	e1540005 	cmp	r4, r5                                        
a00086e8:	0a00000d 	beq	a0008724 <_User_extensions_Thread_create+0x50>
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
      status = (*the_extension->Callouts.thread_create)(              
a00086ec:	e59f703c 	ldr	r7, [pc, #60]	; a0008730 <_User_extensions_Thread_create+0x5c>
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
a00086f0:	e5943014 	ldr	r3, [r4, #20]                                 
      status = (*the_extension->Callouts.thread_create)(              
a00086f4:	e1a01006 	mov	r1, r6                                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
a00086f8:	e3530000 	cmp	r3, #0                                        
a00086fc:	0a000003 	beq	a0008710 <_User_extensions_Thread_create+0x3c>
      status = (*the_extension->Callouts.thread_create)(              
a0008700:	e5970004 	ldr	r0, [r7, #4]                                  
a0008704:	e12fff33 	blx	r3                                            
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
a0008708:	e3500000 	cmp	r0, #0                                        
a000870c:	0a000005 	beq	a0008728 <_User_extensions_Thread_create+0x54>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
a0008710:	e5944000 	ldr	r4, [r4]                                      
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
a0008714:	e1540005 	cmp	r4, r5                                        
a0008718:	1afffff4 	bne	a00086f0 <_User_extensions_Thread_create+0x1c>
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
a000871c:	e3a00001 	mov	r0, #1                                        
a0008720:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a0008724:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
}                                                                     
a0008728:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

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

a0012a24 <_exit>: extern void FINI_SYMBOL( void ); #endif void EXIT_SYMBOL(int status) {
a0012a24:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
a0012a28:	e24dd004 	sub	sp, sp, #4                                    
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
a0012a2c:	e58d0000 	str	r0, [sp]                                      
a0012a30:	eb0001f2 	bl	a0013200 <___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();                                                      
a0012a34:	ebffffdf 	bl	a00129b8 <libc_wrapup>                         
  rtems_shutdown_executive(status);                                   
a0012a38:	e59d0000 	ldr	r0, [sp]                                      
a0012a3c:	eb000039 	bl	a0012b28 <rtems_shutdown_executive>            
a0012a40:	eafffffe 	b	a0012a40 <_exit+0x1c>                           <== NOT EXECUTED
                                                                      

a00059f4 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
a00059f4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a00059f8:	e1a00001 	mov	r0, r1                                        
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
a00059fc:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0005a00:	e1a05001 	mov	r5, r1                                        
a0005a04:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a0005a08:	ebfffa9e 	bl	a0004488 <rtems_filesystem_dirname>            
                                                                      
  if ( old_parent_pathlen == 0 )                                      
a0005a0c:	e2507000 	subs	r7, r0, #0                                   
a0005a10:	1a00005a 	bne	a0005b80 <_rename_r+0x18c>                    
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
a0005a14:	e28d4018 	add	r4, sp, #24                                   
a0005a18:	e1a00005 	mov	r0, r5                                        
a0005a1c:	e28d1044 	add	r1, sp, #68	; 0x44                            
a0005a20:	e1a02004 	mov	r2, r4                                        
a0005a24:	eb0000eb 	bl	a0005dd8 <rtems_filesystem_get_start_loc>      
  rtems_filesystem_location_info_t    old_parent_loc;                 
  rtems_filesystem_location_info_t    new_parent_loc;                 
  int                                 i;                              
  int                                 result;                         
  const char                         *name;                           
  bool                                free_old_parentloc = false;     
a0005a28:	e1a08007 	mov	r8, r7                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a0005a2c:	e28dc02c 	add	ip, sp, #44	; 0x2c                            
a0005a30:	e1a0e004 	mov	lr, r4                                        
a0005a34:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0005a38:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0005a3c:	e59e3000 	ldr	r3, [lr]                                      
  name = old + old_parent_pathlen;                                    
a0005a40:	e0855007 	add	r5, r5, r7                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0005a44:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a0005a48:	e58c3000 	str	r3, [ip]                                      
  name = old + old_parent_pathlen;                                    
a0005a4c:	e58d5040 	str	r5, [sp, #64]	; 0x40                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0005a50:	eb003999 	bl	a00140bc <strlen>                              
a0005a54:	e1a01000 	mov	r1, r0                                        
a0005a58:	e1a00005 	mov	r0, r5                                        
a0005a5c:	ebfffa98 	bl	a00044c4 <rtems_filesystem_prefix_separators>  
a0005a60:	e0855000 	add	r5, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0005a64:	e1a00005 	mov	r0, r5                                        
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0005a68:	e58d5040 	str	r5, [sp, #64]	; 0x40                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0005a6c:	eb003992 	bl	a00140bc <strlen>                              
a0005a70:	e28d702c 	add	r7, sp, #44	; 0x2c                            
a0005a74:	e1a01000 	mov	r1, r0                                        
a0005a78:	e3a02000 	mov	r2, #0                                        
a0005a7c:	e1a00005 	mov	r0, r5                                        
a0005a80:	e1a03007 	mov	r3, r7                                        
a0005a84:	e58d2000 	str	r2, [sp]                                      
a0005a88:	ebfffa32 	bl	a0004358 <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
a0005a8c:	e3500000 	cmp	r0, #0                                        
a0005a90:	1a000032 	bne	a0005b60 <_rename_r+0x16c>                    
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a0005a94:	e28d5004 	add	r5, sp, #4                                    
a0005a98:	e1a00006 	mov	r0, r6                                        
a0005a9c:	e1a02005 	mov	r2, r5                                        
a0005aa0:	e28d1044 	add	r1, sp, #68	; 0x44                            
a0005aa4:	eb0000cb 	bl	a0005dd8 <rtems_filesystem_get_start_loc>      
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
a0005aa8:	e59d3010 	ldr	r3, [sp, #16]                                 
a0005aac:	e59d0044 	ldr	r0, [sp, #68]	; 0x44                          
a0005ab0:	e1a01005 	mov	r1, r5                                        
a0005ab4:	e5933004 	ldr	r3, [r3, #4]                                  
a0005ab8:	e0860000 	add	r0, r6, r0                                    
a0005abc:	e28d2040 	add	r2, sp, #64	; 0x40                            
a0005ac0:	e12fff33 	blx	r3                                            
  if ( result != 0 ) {                                                
a0005ac4:	e3500000 	cmp	r0, #0                                        
a0005ac8:	1a000038 	bne	a0005bb0 <_rename_r+0x1bc>                    
  /*                                                                  
   *  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 ) {         
a0005acc:	e59d3014 	ldr	r3, [sp, #20]                                 
a0005ad0:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a0005ad4:	e1520003 	cmp	r2, r3                                        
a0005ad8:	1a000013 	bne	a0005b2c <_rename_r+0x138>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
a0005adc:	e59d3010 	ldr	r3, [sp, #16]                                 
a0005ae0:	e1a01007 	mov	r1, r7                                        
a0005ae4:	e1a02005 	mov	r2, r5                                        
a0005ae8:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          
a0005aec:	e1a00004 	mov	r0, r4                                        
a0005af0:	e59d3040 	ldr	r3, [sp, #64]	; 0x40                          
a0005af4:	e12fff3c 	blx	ip                                            
a0005af8:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a0005afc:	e1a00005 	mov	r0, r5                                        
a0005b00:	ebfffa89 	bl	a000452c <rtems_filesystem_freenode>           
  if ( free_old_parentloc )                                           
a0005b04:	e3580000 	cmp	r8, #0                                        
a0005b08:	1a000004 	bne	a0005b20 <_rename_r+0x12c>                    
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
a0005b0c:	e1a00007 	mov	r0, r7                                        
a0005b10:	ebfffa85 	bl	a000452c <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
}                                                                     
a0005b14:	e1a00006 	mov	r0, r6                                        
a0005b18:	e28dd048 	add	sp, sp, #72	; 0x48                            
a0005b1c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
a0005b20:	e1a00004 	mov	r0, r4                                        
a0005b24:	ebfffa80 	bl	a000452c <rtems_filesystem_freenode>           
a0005b28:	eafffff7 	b	a0005b0c <_rename_r+0x118>                      
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
a0005b2c:	e1a00005 	mov	r0, r5                                        
a0005b30:	ebfffa7d 	bl	a000452c <rtems_filesystem_freenode>           
    if ( free_old_parentloc )                                         
a0005b34:	e3580000 	cmp	r8, #0                                        
a0005b38:	0a000001 	beq	a0005b44 <_rename_r+0x150>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a0005b3c:	e1a00004 	mov	r0, r4                                        
a0005b40:	ebfffa79 	bl	a000452c <rtems_filesystem_freenode>           
    rtems_filesystem_freenode( &old_loc );                            
a0005b44:	e1a00007 	mov	r0, r7                                        
a0005b48:	ebfffa77 	bl	a000452c <rtems_filesystem_freenode>           
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a0005b4c:	eb002c3d 	bl	a0010c48 <__errno>                             
a0005b50:	e3a03012 	mov	r3, #18                                       
a0005b54:	e5803000 	str	r3, [r0]                                      
a0005b58:	e3e06000 	mvn	r6, #0                                        
a0005b5c:	eaffffec 	b	a0005b14 <_rename_r+0x120>                      
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
a0005b60:	e3580000 	cmp	r8, #0                                        
a0005b64:	1a000001 	bne	a0005b70 <_rename_r+0x17c>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
a0005b68:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0005b6c:	eaffffe8 	b	a0005b14 <_rename_r+0x120>                      <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
a0005b70:	e1a00004 	mov	r0, r4                                        
a0005b74:	ebfffa6c 	bl	a000452c <rtems_filesystem_freenode>           
    return -1;                                                        
a0005b78:	e3e06000 	mvn	r6, #0                                        
a0005b7c:	eaffffe4 	b	a0005b14 <_rename_r+0x120>                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
a0005b80:	e3a03000 	mov	r3, #0                                        
a0005b84:	e28d4018 	add	r4, sp, #24                                   
a0005b88:	e58d3000 	str	r3, [sp]                                      
a0005b8c:	e3a02002 	mov	r2, #2                                        
a0005b90:	e1a00005 	mov	r0, r5                                        
a0005b94:	e1a01007 	mov	r1, r7                                        
a0005b98:	e1a03004 	mov	r3, r4                                        
a0005b9c:	ebfffa17 	bl	a0004400 <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
a0005ba0:	e3500000 	cmp	r0, #0                                        
a0005ba4:	1affffef 	bne	a0005b68 <_rename_r+0x174>                    
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
a0005ba8:	e3a08001 	mov	r8, #1                                        
a0005bac:	eaffff9e 	b	a0005a2c <_rename_r+0x38>                       
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
a0005bb0:	e1a00005 	mov	r0, r5                                        
a0005bb4:	ebfffa5c 	bl	a000452c <rtems_filesystem_freenode>           
    if ( free_old_parentloc )                                         
a0005bb8:	e3580000 	cmp	r8, #0                                        
a0005bbc:	0a000001 	beq	a0005bc8 <_rename_r+0x1d4>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a0005bc0:	e1a00004 	mov	r0, r4                                        
a0005bc4:	ebfffa58 	bl	a000452c <rtems_filesystem_freenode>           
    rtems_filesystem_freenode( &old_loc );                            
a0005bc8:	e1a00007 	mov	r0, r7                                        
a0005bcc:	ebfffa56 	bl	a000452c <rtems_filesystem_freenode>           
    return -1;                                                        
a0005bd0:	e3e06000 	mvn	r6, #0                                        
a0005bd4:	eaffffce 	b	a0005b14 <_rename_r+0x120>                      
                                                                      

a0001c88 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
a0001c88:	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) {             
a0001c8c:	e59f50b8 	ldr	r5, [pc, #184]	; a0001d4c <chroot+0xc4>       
a0001c90:	e59f30b8 	ldr	r3, [pc, #184]	; a0001d50 <chroot+0xc8>       
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0001c94:	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) {             
a0001c98:	e5954000 	ldr	r4, [r5]                                      
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0001c9c:	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) {             
a0001ca0:	e1540003 	cmp	r4, r3                                        
a0001ca4:	0a000018 	beq	a0001d0c <chroot+0x84>                        
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
a0001ca8:	e1a00006 	mov	r0, r6                                        
a0001cac:	eb00224d 	bl	a000a5e8 <chdir>                               
  if (result) {                                                       
a0001cb0:	e2502000 	subs	r2, r0, #0                                   
a0001cb4:	1a00001d 	bne	a0001d30 <chroot+0xa8>                        
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a0001cb8:	e28d4004 	add	r4, sp, #4                                    
a0001cbc:	e59f0090 	ldr	r0, [pc, #144]	; a0001d54 <chroot+0xcc>       
a0001cc0:	e3a01001 	mov	r1, #1                                        
a0001cc4:	e1a03004 	mov	r3, r4                                        
a0001cc8:	e58d2000 	str	r2, [sp]                                      
a0001ccc:	eb00006b 	bl	a0001e80 <rtems_filesystem_evaluate_path>      
a0001cd0:	e2506000 	subs	r6, r0, #0                                   
a0001cd4:	1a000015 	bne	a0001d30 <chroot+0xa8>                        
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
a0001cd8:	e5950000 	ldr	r0, [r5]                                      
a0001cdc:	e2800018 	add	r0, r0, #24                                   
a0001ce0:	eb0000b1 	bl	a0001fac <rtems_filesystem_freenode>           
  rtems_filesystem_root = loc;                                        
a0001ce4:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0001ce8:	e595c000 	ldr	ip, [r5]                                      
a0001cec:	e5945000 	ldr	r5, [r4]                                      
                                                                      
  return 0;                                                           
a0001cf0:	e1a04006 	mov	r4, r6                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
a0001cf4:	e28cc018 	add	ip, ip, #24                                   
a0001cf8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001cfc:	e58c5000 	str	r5, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
a0001d00:	e1a00004 	mov	r0, r4                                        
a0001d04:	e28dd018 	add	sp, sp, #24                                   
a0001d08:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
a0001d0c:	eb000520 	bl	a0003194 <rtems_libio_set_private_env>         
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
a0001d10:	e5953000 	ldr	r3, [r5]                                      
a0001d14:	e1530004 	cmp	r3, r4                                        
a0001d18:	1affffe2 	bne	a0001ca8 <chroot+0x20>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001d1c:	eb00301b 	bl	a000dd90 <__errno>                             <== NOT EXECUTED
a0001d20:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001d24:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001d28:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
a0001d2c:	eafffff3 	b	a0001d00 <chroot+0x78>                          <== NOT EXECUTED
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
a0001d30:	eb003016 	bl	a000dd90 <__errno>                             <== NOT EXECUTED
a0001d34:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0001d38:	eb003014 	bl	a000dd90 <__errno>                             <== NOT EXECUTED
a0001d3c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0001d40:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
a0001d44:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
a0001d48:	eaffffec 	b	a0001d00 <chroot+0x78>                          <== NOT EXECUTED
                                                                      

a0008fa8 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
a0008fa8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
     assert( 0 );                                                     
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a0008fac:	e5936000 	ldr	r6, [r3]                                      
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0008fb0:	e24dd004 	sub	sp, sp, #4                                    
a0008fb4:	e58d3000 	str	r3, [sp]                                      
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
a0008fb8:	e3560000 	cmp	r6, #0                                        
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0008fbc:	e1a0a000 	mov	sl, r0                                        
a0008fc0:	e1a07001 	mov	r7, r1                                        
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
a0008fc4:	0a000028 	beq	a000906c <devFS_evaluate_path+0xc4>           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0008fc8:	e59f30b0 	ldr	r3, [pc, #176]	; a0009080 <devFS_evaluate_path+0xd8>
a0008fcc:	e5938000 	ldr	r8, [r3]                                      
a0008fd0:	e3580000 	cmp	r8, #0                                        
a0008fd4:	13a0b000 	movne	fp, #0                                      
a0008fd8:	11a0400b 	movne	r4, fp                                      
    if (!device_name_table[i].device_name)                            
a0008fdc:	13a09014 	movne	r9, #20                                     
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0008fe0:	0a000010 	beq	a0009028 <devFS_evaluate_path+0x80>           
    if (!device_name_table[i].device_name)                            
a0008fe4:	e00b0b99 	mul	fp, r9, fp                                    
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0008fe8:	e1a0000a 	mov	r0, sl                                        
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
a0008fec:	e796500b 	ldr	r5, [r6, fp]                                  
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0008ff0:	e1a02007 	mov	r2, r7                                        
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
a0008ff4:	e086b00b 	add	fp, r6, fp                                    
a0008ff8:	e2551000 	subs	r1, r5, #0                                   
a0008ffc:	0a000005 	beq	a0009018 <devFS_evaluate_path+0x70>           
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0009000:	eb000e03 	bl	a000c814 <strncmp>                             
a0009004:	e3500000 	cmp	r0, #0                                        
a0009008:	1a000002 	bne	a0009018 <devFS_evaluate_path+0x70>           
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
a000900c:	e7d50007 	ldrb	r0, [r5, r7]                                 
a0009010:	e3500000 	cmp	r0, #0                                        
a0009014:	0a000008 	beq	a000903c <devFS_evaluate_path+0x94>           
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0009018:	e2844001 	add	r4, r4, #1                                    
a000901c:	e1580004 	cmp	r8, r4                                        
a0009020:	e1a0b004 	mov	fp, r4                                        
a0009024:	8affffee 	bhi	a0008fe4 <devFS_evaluate_path+0x3c>           
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
a0009028:	eb000a30 	bl	a000b8f0 <__errno>                             
a000902c:	e3a03002 	mov	r3, #2                                        
a0009030:	e5803000 	str	r3, [r0]                                      
a0009034:	e3e00000 	mvn	r0, #0                                        
a0009038:	ea000009 	b	a0009064 <devFS_evaluate_path+0xbc>             
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a000903c:	e59f3040 	ldr	r3, [pc, #64]	; a0009084 <devFS_evaluate_path+0xdc>
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
a0009040:	e59d1000 	ldr	r1, [sp]                                      
    pathloc->handlers = &devFS_file_handlers;                         
a0009044:	e59f203c 	ldr	r2, [pc, #60]	; a0009088 <devFS_evaluate_path+0xe0>
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0009048:	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];             
a000904c:	e581b000 	str	fp, [r1]                                      
    pathloc->handlers = &devFS_file_handlers;                         
a0009050:	e5812008 	str	r2, [r1, #8]                                  
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0009054:	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;                                        
a0009058:	e59f202c 	ldr	r2, [pc, #44]	; a000908c <devFS_evaluate_path+0xe4>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a000905c:	e5813010 	str	r3, [r1, #16]                                 
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
a0009060:	e581200c 	str	r2, [r1, #12]                                 
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a0009064:	e28dd004 	add	sp, sp, #4                                    
a0009068:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a000906c:	eb000a1f 	bl	a000b8f0 <__errno>                             <== NOT EXECUTED
a0009070:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0009074:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009078:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000907c:	eafffff8 	b	a0009064 <devFS_evaluate_path+0xbc>             <== NOT EXECUTED
                                                                      

a00015e0 <devFS_initialize>: int devFS_initialize( rtems_filesystem_mount_table_entry_t *temp_mt_entry, const void *data ) {
a00015e0:	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(     
a00015e4:	e59f7058 	ldr	r7, [pc, #88]	; a0001644 <devFS_initialize+0x64>
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry,                
  const void                           *data                          
)                                                                     
{                                                                     
a00015e8:	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(     
a00015ec:	e3a06014 	mov	r6, #20                                       
a00015f0:	e5970000 	ldr	r0, [r7]                                      
a00015f4:	e0000096 	mul	r0, r6, r0                                    
a00015f8:	eb001ce4 	bl	a0008990 <_Workspace_Allocate>                 
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
a00015fc:	e2505000 	subs	r5, r0, #0                                   
a0001600:	0a00000a 	beq	a0001630 <devFS_initialize+0x50>              
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  memset(                                                             
a0001604:	e5972000 	ldr	r2, [r7]                                      
a0001608:	e3a01000 	mov	r1, #0                                        
a000160c:	e0020296 	mul	r2, r6, r2                                    
a0001610:	eb002b23 	bl	a000c2a4 <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;      
a0001614:	e59f302c 	ldr	r3, [pc, #44]	; a0001648 <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;  
a0001618:	e584501c 	str	r5, [r4, #28]                                 
                                                                      
  return 0;                                                           
a000161c:	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;                
a0001620:	e2832038 	add	r2, r3, #56	; 0x38                            
    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;      
a0001624:	e5843024 	str	r3, [r4, #36]	; 0x24                          
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
a0001628:	e5842028 	str	r2, [r4, #40]	; 0x28                          
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
                                                                      
  return 0;                                                           
}                                                                     
a000162c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
a0001630:	eb0028ae 	bl	a000b8f0 <__errno>                             <== NOT EXECUTED
a0001634:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0001638:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000163c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001640:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a0001860 <devFS_ioctl>: int devFS_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a0001860:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
a0001864:	e590c018 	ldr	ip, [r0, #24]                                 
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a0001868:	e24dd010 	sub	sp, sp, #16                                   
a000186c:	e1a03000 	mov	r3, r0                                        
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
a0001870:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001874:	e59c0008 	ldr	r0, [ip, #8]                                  
a0001878:	e59c100c 	ldr	r1, [ip, #12]                                 
a000187c:	e1a0200d 	mov	r2, sp                                        
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop     = iop;                                                 
a0001880:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001884:	eb00105e 	bl	a0005a04 <rtems_io_control>                    
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001888:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a000188c:	059d000c 	ldreq	r0, [sp, #12]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001890:	1a000001 	bne	a000189c <devFS_ioctl+0x3c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a0001894:	e28dd010 	add	sp, sp, #16                                   
a0001898:	e8bd8000 	pop	{pc}                                          
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000189c:	eb001dfe 	bl	a000909c <rtems_deviceio_errno>                <== NOT EXECUTED
a00018a0:	eafffffb 	b	a0001894 <devFS_ioctl+0x34>                     <== NOT EXECUTED
                                                                      

a000164c <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
a000164c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0001650:	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') &&                         
a0001654:	e5d00000 	ldrb	r0, [r0]                                     
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0001658:	e24dd004 	sub	sp, sp, #4                                    
a000165c:	e1a05001 	mov	r5, r1                                        
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a0001660:	e3500064 	cmp	r0, #100	; 0x64                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0001664:	e58d2000 	str	r2, [sp]                                      
a0001668:	e1a0b003 	mov	fp, r3                                        
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a000166c:	0a000039 	beq	a0001758 <devFS_mknod+0x10c>                  
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
a0001670:	e2053a0f 	and	r3, r5, #61440	; 0xf000                       
a0001674:	e3530a02 	cmp	r3, #8192	; 0x2000                            
a0001678:	13530a06 	cmpne	r3, #24576	; 0x6000                         
a000167c:	03a03000 	moveq	r3, #0                                      
a0001680:	13a03001 	movne	r3, #1                                      
a0001684:	1a00003d 	bne	a0001780 <devFS_mknod+0x134>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a0001688:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a000168c:	e5927000 	ldr	r7, [r2]                                      
  if (!device_name_table)                                             
a0001690:	e3570000 	cmp	r7, #0                                        
a0001694:	0a000043 	beq	a00017a8 <devFS_mknod+0x15c>                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a0001698:	e59f211c 	ldr	r2, [pc, #284]	; a00017bc <devFS_mknod+0x170> 
a000169c:	e5928000 	ldr	r8, [r2]                                      
a00016a0:	e3580000 	cmp	r8, #0                                        
a00016a4:	13e09000 	mvnne	r9, #0                                      
a00016a8:	11a06003 	movne	r6, r3                                      
      if (device_name_table[i].device_name == NULL)                   
a00016ac:	13a0a014 	movne	sl, #20                                     
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a00016b0:	1a000007 	bne	a00016d4 <devFS_mknod+0x88>                   
a00016b4:	ea000036 	b	a0001794 <devFS_mknod+0x148>                    <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a00016b8:	eb002b75 	bl	a000c494 <strcmp>                              <== NOT EXECUTED
a00016bc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00016c0:	0a00001f 	beq	a0001744 <devFS_mknod+0xf8>                   <== NOT EXECUTED
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a00016c4:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a00016c8:	e1560008 	cmp	r6, r8                                        <== NOT EXECUTED
a00016cc:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a00016d0:	2a000009 	bcs	a00016fc <devFS_mknod+0xb0>                   <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
a00016d4:	e003039a 	mul	r3, sl, r3                                    
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a00016d8:	e1a00004 	mov	r0, r4                                        
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
a00016dc:	e7973003 	ldr	r3, [r7, r3]                                  
a00016e0:	e2531000 	subs	r1, r3, #0                                   
a00016e4:	1afffff3 	bne	a00016b8 <devFS_mknod+0x6c>                   
a00016e8:	e1a09006 	mov	r9, r6                                        
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a00016ec:	e2866001 	add	r6, r6, #1                                    
a00016f0:	e1560008 	cmp	r6, r8                                        
a00016f4:	e1a03006 	mov	r3, r6                                        
a00016f8:	3afffff5 	bcc	a00016d4 <devFS_mknod+0x88>                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
a00016fc:	e3790001 	cmn	r9, #1                                        
a0001700:	0a000023 	beq	a0001794 <devFS_mknod+0x148>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0001704:	e10f6000 	mrs	r6, CPSR                                      
a0001708:	e3863080 	orr	r3, r6, #128	; 0x80                           
a000170c:	e129f003 	msr	CPSR_fc, r3                                   
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a0001710:	e3a03014 	mov	r3, #20                                       
a0001714:	e0090993 	mul	r9, r3, r9                                    
  device_name_table[slot].device_name_length = strlen(path);          
a0001718:	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;                
a000171c:	e7874009 	str	r4, [r7, r9]                                  
  device_name_table[slot].device_name_length = strlen(path);          
a0001720:	eb002c23 	bl	a000c7b4 <strlen>                              
  device_name_table[slot].major = major;                              
a0001724:	e59d3000 	ldr	r3, [sp]                                      
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a0001728:	e0877009 	add	r7, r7, r9                                    
  device_name_table[slot].device_name_length = strlen(path);          
a000172c:	e9870809 	stmib	r7, {r0, r3, fp}                            
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
a0001730:	e5875010 	str	r5, [r7, #16]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0001734:	e129f006 	msr	CPSR_fc, r6                                   
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
a0001738:	e3a00000 	mov	r0, #0                                        
}                                                                     
a000173c:	e28dd004 	add	sp, sp, #4                                    
a0001740:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
a0001744:	eb002869 	bl	a000b8f0 <__errno>                             <== NOT EXECUTED
a0001748:	e3a03011 	mov	r3, #17                                       <== NOT EXECUTED
a000174c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001750:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001754:	eafffff8 	b	a000173c <devFS_mknod+0xf0>                     <== NOT EXECUTED
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a0001758:	e5d43001 	ldrb	r3, [r4, #1]                                 
a000175c:	e3530065 	cmp	r3, #101	; 0x65                               
a0001760:	1affffc2 	bne	a0001670 <devFS_mknod+0x24>                   
a0001764:	e5d43002 	ldrb	r3, [r4, #2]                                 
a0001768:	e3530076 	cmp	r3, #118	; 0x76                               
a000176c:	1affffbf 	bne	a0001670 <devFS_mknod+0x24>                   
      (path[2] == 'v') && (path[3] == '\0'))                          
a0001770:	e5d40003 	ldrb	r0, [r4, #3]                                 
a0001774:	e3500000 	cmp	r0, #0                                        
a0001778:	1affffbc 	bne	a0001670 <devFS_mknod+0x24>                   
a000177c:	eaffffee 	b	a000173c <devFS_mknod+0xf0>                     
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001780:	eb00285a 	bl	a000b8f0 <__errno>                             <== NOT EXECUTED
a0001784:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001788:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000178c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001790:	eaffffe9 	b	a000173c <devFS_mknod+0xf0>                     <== NOT EXECUTED
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
a0001794:	eb002855 	bl	a000b8f0 <__errno>                             <== NOT EXECUTED
a0001798:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a000179c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00017a0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00017a4:	eaffffe4 	b	a000173c <devFS_mknod+0xf0>                     <== NOT EXECUTED
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00017a8:	eb002850 	bl	a000b8f0 <__errno>                             <== NOT EXECUTED
a00017ac:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00017b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00017b4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00017b8:	eaffffdf 	b	a000173c <devFS_mknod+0xf0>                     <== NOT EXECUTED
                                                                      

a00018dc <devFS_read>: ssize_t devFS_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a00018dc:	e92d4800 	push	{fp, lr}                                     <== NOT EXECUTED
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->pathinfo.node_access;
a00018e0:	e590c018 	ldr	ip, [r0, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00018e4:	e590e014 	ldr	lr, [r0, #20]                                 <== NOT EXECUTED
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00018e8:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
a00018ec:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
                                                                      
  np               = (rtems_device_name_t *)iop->pathinfo.node_access;
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
a00018f0:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a00018f4:	e59c0008 	ldr	r0, [ip, #8]                                  <== NOT EXECUTED
a00018f8:	e59c100c 	ldr	r1, [ip, #12]                                 <== NOT EXECUTED
  np               = (rtems_device_name_t *)iop->pathinfo.node_access;
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
a00018fc:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->pathinfo.node_access;
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a0001900:	e283c00c 	add	ip, r3, #12                                   <== NOT EXECUTED
a0001904:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->pathinfo.node_access;
                                                                      
  args.iop         = iop;                                             
a0001908:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a000190c:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a0001910:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->pathinfo.node_access;
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a0001914:	e98d1800 	stmib	sp, {fp, ip}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0001918:	e58de014 	str	lr, [sp, #20]                                 <== NOT EXECUTED
  args.bytes_moved = 0;                                               
a000191c:	e58d3018 	str	r3, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  status = rtems_io_read(                                             
a0001920:	eb00109a 	bl	a0005b90 <rtems_io_read>                       <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001924:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a0001928:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000192c:	1a000001 	bne	a0001938 <devFS_read+0x5c>                    <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a0001930:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a0001934:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0001938:	eb001dd7 	bl	a000909c <rtems_deviceio_errno>                <== NOT EXECUTED
a000193c:	eafffffb 	b	a0001930 <devFS_read+0x54>                      <== NOT EXECUTED
                                                                      

a0001940 <devFS_stat>: struct stat *buf ) { rtems_device_name_t *the_dev; the_dev = (rtems_device_name_t *)loc->node_access;
a0001940:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a0001944:	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)                                                       
a0001948:	e3530000 	cmp	r3, #0                                        
a000194c:	0a000007 	beq	a0001970 <devFS_stat+0x30>                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
a0001950:	e593000c 	ldr	r0, [r3, #12]                                 
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a0001954:	e5932008 	ldr	r2, [r3, #8]                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
a0001958:	e5933010 	ldr	r3, [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 );
a000195c:	e581001c 	str	r0, [r1, #28]                                 
a0001960:	e5812018 	str	r2, [r1, #24]                                 
                                                                      
  buf->st_mode = the_dev->mode;                                       
a0001964:	e581300c 	str	r3, [r1, #12]                                 
                                                                      
  return 0;                                                           
a0001968:	e3a00000 	mov	r0, #0                                        
}                                                                     
a000196c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
{                                                                     
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001970:	eb0027de 	bl	a000b8f0 <__errno>                             <== NOT EXECUTED
a0001974:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001978:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000197c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001980:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0001984 <devFS_write>: ssize_t devFS_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
a0001984:	e92d4800 	push	{fp, lr}                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
a0001988:	e590c018 	ldr	ip, [r0, #24]                                 
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000198c:	e590e014 	ldr	lr, [r0, #20]                                 
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0001990:	e24dd01c 	sub	sp, sp, #28                                   
a0001994:	e1a03000 	mov	r3, r0                                        
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a0001998:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000199c:	e59c0008 	ldr	r0, [ip, #8]                                  
a00019a0:	e59c100c 	ldr	r1, [ip, #12]                                 
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
a00019a4:	e58d2010 	str	r2, [sp, #16]                                 
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a00019a8:	e283c00c 	add	ip, r3, #12                                   
a00019ac:	e89c1800 	ldm	ip, {fp, ip}                                  
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop         = iop;                                             
a00019b0:	e58d3000 	str	r3, [sp]                                      
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a00019b4:	e1a0200d 	mov	r2, sp                                        
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a00019b8:	e3a03000 	mov	r3, #0                                        
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a00019bc:	e98d1800 	stmib	sp, {fp, ip}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00019c0:	e58de014 	str	lr, [sp, #20]                                 
  args.bytes_moved = 0;                                               
a00019c4:	e58d3018 	str	r3, [sp, #24]                                 
                                                                      
  status = rtems_io_write(                                            
a00019c8:	eb001085 	bl	a0005be4 <rtems_io_write>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00019cc:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a00019d0:	059d0018 	ldreq	r0, [sp, #24]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00019d4:	1a000001 	bne	a00019e0 <devFS_write+0x5c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a00019d8:	e28dd01c 	add	sp, sp, #28                                   
a00019dc:	e8bd8800 	pop	{fp, pc}                                      
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a00019e0:	eb001dad 	bl	a000909c <rtems_deviceio_errno>                <== NOT EXECUTED
a00019e4:	eafffffb 	b	a00019d8 <devFS_write+0x54>                     <== NOT EXECUTED
                                                                      

a000ccc4 <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a000ccc4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a000ccc8:	e590c018 	ldr	ip, [r0, #24]                                 
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a000cccc:	e24dd010 	sub	sp, sp, #16                                   
a000ccd0:	e1a03000 	mov	r3, r0                                        
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
a000ccd4:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  status = rtems_io_control(                                          
a000ccd8:	e59c0050 	ldr	r0, [ip, #80]	; 0x50                          
a000ccdc:	e59c1054 	ldr	r1, [ip, #84]	; 0x54                          
a000cce0:	e1a0200d 	mov	r2, sp                                        
{                                                                     
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
a000cce4:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  status = rtems_io_control(                                          
a000cce8:	eb00027b 	bl	a000d6dc <rtems_io_control>                    
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000ccec:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a000ccf0:	059d000c 	ldreq	r0, [sp, #12]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000ccf4:	1a000001 	bne	a000cd00 <device_ioctl+0x3c>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a000ccf8:	e28dd010 	add	sp, sp, #16                                   
a000ccfc:	e8bd8000 	pop	{pc}                                          
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000cd00:	eb00031f 	bl	a000d984 <rtems_deviceio_errno>                <== NOT EXECUTED
a000cd04:	eafffffb 	b	a000ccf8 <device_ioctl+0x34>                    <== NOT EXECUTED
                                                                      

a000cbfc <device_read>: ssize_t device_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a000cbfc:	e92d4800 	push	{fp, lr}                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a000cc00:	e590c018 	ldr	ip, [r0, #24]                                 
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000cc04:	e590e014 	ldr	lr, [r0, #20]                                 
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000cc08:	e24dd01c 	sub	sp, sp, #28                                   
a000cc0c:	e1a03000 	mov	r3, r0                                        
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
a000cc10:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
a000cc14:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a000cc18:	e59c0050 	ldr	r0, [ip, #80]	; 0x50                          
a000cc1c:	e59c1054 	ldr	r1, [ip, #84]	; 0x54                          
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
a000cc20:	e58d3000 	str	r3, [sp]                                      
  args.offset      = iop->offset;                                     
a000cc24:	e283c00c 	add	ip, r3, #12                                   
a000cc28:	e89c1800 	ldm	ip, {fp, ip}                                  
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a000cc2c:	e1a0200d 	mov	r2, sp                                        
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000cc30:	e3a03000 	mov	r3, #0                                        
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000cc34:	e98d1800 	stmib	sp, {fp, ip}                                
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000cc38:	e58de014 	str	lr, [sp, #20]                                 
  args.bytes_moved = 0;                                               
a000cc3c:	e58d3018 	str	r3, [sp, #24]                                 
                                                                      
  status = rtems_io_read(                                             
a000cc40:	eb0002cf 	bl	a000d784 <rtems_io_read>                       
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000cc44:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000cc48:	059d0018 	ldreq	r0, [sp, #24]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000cc4c:	1a000001 	bne	a000cc58 <device_read+0x5c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000cc50:	e28dd01c 	add	sp, sp, #28                                   
a000cc54:	e8bd8800 	pop	{fp, pc}                                      
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000cc58:	eb000349 	bl	a000d984 <rtems_deviceio_errno>                <== NOT EXECUTED
a000cc5c:	eafffffb 	b	a000cc50 <device_read+0x54>                     <== NOT EXECUTED
                                                                      

a000cc60 <device_write>: ssize_t device_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
a000cc60:	e92d4800 	push	{fp, lr}                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a000cc64:	e590c018 	ldr	ip, [r0, #24]                                 
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000cc68:	e590e014 	ldr	lr, [r0, #20]                                 
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000cc6c:	e24dd01c 	sub	sp, sp, #28                                   
a000cc70:	e1a03000 	mov	r3, r0                                        
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a000cc74:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
a000cc78:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000cc7c:	e59c0050 	ldr	r0, [ip, #80]	; 0x50                          
a000cc80:	e59c1054 	ldr	r1, [ip, #84]	; 0x54                          
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
a000cc84:	e58d3000 	str	r3, [sp]                                      
  args.offset      = iop->offset;                                     
a000cc88:	e283c00c 	add	ip, r3, #12                                   
a000cc8c:	e89c1800 	ldm	ip, {fp, ip}                                  
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000cc90:	e1a0200d 	mov	r2, sp                                        
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000cc94:	e3a03000 	mov	r3, #0                                        
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000cc98:	e98d1800 	stmib	sp, {fp, ip}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000cc9c:	e58de014 	str	lr, [sp, #20]                                 
  args.bytes_moved = 0;                                               
a000cca0:	e58d3018 	str	r3, [sp, #24]                                 
                                                                      
  status = rtems_io_write(                                            
a000cca4:	eb0002cb 	bl	a000d7d8 <rtems_io_write>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000cca8:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000ccac:	059d0018 	ldreq	r0, [sp, #24]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000ccb0:	1a000001 	bne	a000ccbc <device_write+0x5c>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000ccb4:	e28dd01c 	add	sp, sp, #28                                   
a000ccb8:	e8bd8800 	pop	{fp, pc}                                      
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000ccbc:	eb000330 	bl	a000d984 <rtems_deviceio_errno>                <== NOT EXECUTED
a000ccc0:	eafffffb 	b	a000ccb4 <device_write+0x54>                    <== NOT EXECUTED
                                                                      

a0002e48 <drainOutput>: drainOutput (struct rtems_termios_tty *tty) { rtems_interrupt_level level; rtems_status_code sc; if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {
a0002e48:	e59030b4 	ldr	r3, [r0, #180]	; 0xb4                         
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0002e4c:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
a0002e50:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0002e54:	e1a04000 	mov	r4, r0                                        
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
a0002e58:	0a000017 	beq	a0002ebc <drainOutput+0x74>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002e5c:	e10f3000 	mrs	r3, CPSR                                      
a0002e60:	e3832080 	orr	r2, r3, #128	; 0x80                           
a0002e64:	e129f002 	msr	CPSR_fc, r2                                   
    rtems_interrupt_disable (level);                                  
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
a0002e68:	e5901084 	ldr	r1, [r0, #132]	; 0x84                         
a0002e6c:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         
a0002e70:	e1510002 	cmp	r1, r2                                        
a0002e74:	0a00000f 	beq	a0002eb8 <drainOutput+0x70>                   
      tty->rawOutBufState = rob_wait;                                 
a0002e78:	e3a05002 	mov	r5, #2                                        <== NOT EXECUTED
a0002e7c:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002e80:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
a0002e84:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0002e88:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0002e8c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0002e90:	eb0009b6 	bl	a0005570 <rtems_semaphore_obtain>              <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
a0002e94:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002e98:	1a000008 	bne	a0002ec0 <drainOutput+0x78>                   <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002e9c:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0002ea0:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0002ea4:	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) {              
a0002ea8:	e5941084 	ldr	r1, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0002eac:	e5942080 	ldr	r2, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0002eb0:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a0002eb4:	1afffff0 	bne	a0002e7c <drainOutput+0x34>                   <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002eb8:	e129f003 	msr	CPSR_fc, r3                                   
a0002ebc:	e8bd8030 	pop	{r4, r5, pc}                                  
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
a0002ec0:	eb000b4e 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a00025e4 <dup2>: int dup2( int fildes, int fildes2 ) {
a00025e4:	e92d4070 	push	{r4, r5, r6, lr}                             
a00025e8:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a00025ec:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a00025f0:	e1a0100d 	mov	r1, sp                                        
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
a00025f4:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a00025f8:	eb00019a 	bl	a0002c68 <fstat>                               
  if ( status == -1 )                                                 
a00025fc:	e3700001 	cmn	r0, #1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002600:	e1a0400d 	mov	r4, sp                                        
  if ( status == -1 )                                                 
a0002604:	1a000001 	bne	a0002610 <dup2+0x2c>                          
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
}                                                                     
a0002608:	e28dd048 	add	sp, sp, #72	; 0x48                            
a000260c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
a0002610:	e1a00005 	mov	r0, r5                                        
a0002614:	e1a0100d 	mov	r1, sp                                        
a0002618:	eb000192 	bl	a0002c68 <fstat>                               
  if ( status == -1 )                                                 
a000261c:	e3700001 	cmn	r0, #1                                        
a0002620:	0afffff8 	beq	a0002608 <dup2+0x24>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
a0002624:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002628:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000262c:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0002630:	eb000078 	bl	a0002818 <fcntl>                               <== NOT EXECUTED
a0002634:	eafffff3 	b	a0002608 <dup2+0x24>                            <== NOT EXECUTED
                                                                      

a0003c2c <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)
a0003c2c:	e5903020 	ldr	r3, [r0, #32]                                 
 * 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)                   
{                                                                     
a0003c30:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  if (tty->ccount == 0)                                               
a0003c34:	e3530000 	cmp	r3, #0                                        
 * 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)                   
{                                                                     
a0003c38:	e1a04000 	mov	r4, r0                                        
a0003c3c:	e1a06001 	mov	r6, r1                                        
  if (tty->ccount == 0)                                               
a0003c40:	0a00000d 	beq	a0003c7c <erase+0x50>                         
    return;                                                           
  if (lineFlag) {                                                     
a0003c44:	e3510000 	cmp	r1, #0                                        
a0003c48:	0a00000c 	beq	a0003c80 <erase+0x54>                         
    if (!(tty->termios.c_lflag & ECHO)) {                             
a0003c4c:	e590103c 	ldr	r1, [r0, #60]	; 0x3c                          
a0003c50:	e2112008 	ands	r2, r1, #8                                   
a0003c54:	0a000052 	beq	a0003da4 <erase+0x178>                        
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
a0003c58:	e2110010 	ands	r0, r1, #16                                  
a0003c5c:	1a000009 	bne	a0003c88 <erase+0x5c>                         
      tty->ccount = 0;                                                
a0003c60:	e5840020 	str	r0, [r4, #32]                                 <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
a0003c64:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003c68:	e5d40044 	ldrb	r0, [r4, #68]	; 0x44                         <== NOT EXECUTED
a0003c6c:	ebffffc9 	bl	a0003b98 <echo>                                <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
a0003c70:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003c74:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003c78:	1a000068 	bne	a0003e20 <erase+0x1f4>                        <== NOT EXECUTED
a0003c7c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
a0003c80:	e590103c 	ldr	r1, [r0, #60]	; 0x3c                          
a0003c84:	e2012008 	and	r2, r1, #8                                    
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
a0003c88:	e59f71a0 	ldr	r7, [pc, #416]	; a0003e30 <erase+0x204>       
a0003c8c:	ea000008 	b	a0003cb4 <erase+0x88>                           
a0003c90:	e3110c02 	tst	r1, #512	; 0x200                              <== NOT EXECUTED
a0003c94:	1a000049 	bne	a0003dc0 <erase+0x194>                        <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
a0003c98:	e3560000 	cmp	r6, #0                                        
a0003c9c:	0afffff6 	beq	a0003c7c <erase+0x50>                         
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
a0003ca0:	e5943020 	ldr	r3, [r4, #32]                                 
a0003ca4:	e3530000 	cmp	r3, #0                                        
a0003ca8:	0a000043 	beq	a0003dbc <erase+0x190>                        
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
a0003cac:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
a0003cb0:	e2012008 	and	r2, r1, #8                                    
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
a0003cb4:	e594001c 	ldr	r0, [r4, #28]                                 
a0003cb8:	e2433001 	sub	r3, r3, #1                                    
a0003cbc:	e5843020 	str	r3, [r4, #32]                                 
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
a0003cc0:	e3520000 	cmp	r2, #0                                        
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
a0003cc4:	e7d05003 	ldrb	r5, [r0, r3]                                 
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
a0003cc8:	0afffff2 	beq	a0003c98 <erase+0x6c>                         
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
a0003ccc:	e3560000 	cmp	r6, #0                                        
a0003cd0:	1a000001 	bne	a0003cdc <erase+0xb0>                         
a0003cd4:	e3110010 	tst	r1, #16                                       
a0003cd8:	0a000033 	beq	a0003dac <erase+0x180>                        
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
a0003cdc:	e3550009 	cmp	r5, #9                                        
a0003ce0:	0a00000d 	beq	a0003d1c <erase+0xf0>                         
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
a0003ce4:	e5973000 	ldr	r3, [r7]                                      
a0003ce8:	e2855001 	add	r5, r5, #1                                    
a0003cec:	e7d33005 	ldrb	r3, [r3, r5]                                 
a0003cf0:	e3130020 	tst	r3, #32                                       
a0003cf4:	1affffe5 	bne	a0003c90 <erase+0x64>                         
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
a0003cf8:	e59f0134 	ldr	r0, [pc, #308]	; a0003e34 <erase+0x208>       
a0003cfc:	e3a01003 	mov	r1, #3                                        
a0003d00:	e1a02004 	mov	r2, r4                                        
a0003d04:	ebffff01 	bl	a0003910 <rtems_termios_puts>                  
          if (tty->column)                                            
a0003d08:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
a0003d0c:	e3530000 	cmp	r3, #0                                        
            tty->column--;                                            
a0003d10:	12433001 	subne	r3, r3, #1                                  
a0003d14:	15843028 	strne	r3, [r4, #40]	; 0x28                        
a0003d18:	eaffffde 	b	a0003c98 <erase+0x6c>                           
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
a0003d1c:	e3530000 	cmp	r3, #0                                        
                                                                      
    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;                             
a0003d20:	e594502c 	ldr	r5, [r4, #44]	; 0x2c                          
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
a0003d24:	0a000011 	beq	a0003d70 <erase+0x144>                        
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
a0003d28:	e5978000 	ldr	r8, [r7]                                      
    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;                             
        int i = 0;                                                    
a0003d2c:	e3a02000 	mov	r2, #0                                        
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
a0003d30:	e201ac02 	and	sl, r1, #512	; 0x200                          
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
a0003d34:	e7d01002 	ldrb	r1, [r0, r2]                                 
a0003d38:	e2822001 	add	r2, r2, #1                                    
          if (c == '\t') {                                            
a0003d3c:	e3510009 	cmp	r1, #9                                        
            col = (col | 7) + 1;                                      
a0003d40:	03855007 	orreq	r5, r5, #7                                  
          } else if (iscntrl (c)) {                                   
a0003d44:	e088c001 	add	ip, r8, r1                                    
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
a0003d48:	02855001 	addeq	r5, r5, #1                                  
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
a0003d4c:	0a000005 	beq	a0003d68 <erase+0x13c>                        
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
a0003d50:	e5dcc001 	ldrb	ip, [ip, #1]                                 
a0003d54:	e31c0020 	tst	ip, #32                                       
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
a0003d58:	02855001 	addeq	r5, r5, #1                                  
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
a0003d5c:	0a000001 	beq	a0003d68 <erase+0x13c>                        
            if (tty->termios.c_lflag & ECHOCTL)                       
a0003d60:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
              col += 2;                                               
a0003d64:	12855002 	addne	r5, r5, #2                                  <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
a0003d68:	e1530002 	cmp	r3, r2                                        
a0003d6c:	1afffff0 	bne	a0003d34 <erase+0x108>                        
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
a0003d70:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
a0003d74:	e1550003 	cmp	r5, r3                                        
a0003d78:	aaffffc6 	bge	a0003c98 <erase+0x6c>                         
          rtems_termios_puts ("\b", 1, tty);                          
a0003d7c:	e59f00b4 	ldr	r0, [pc, #180]	; a0003e38 <erase+0x20c>       
a0003d80:	e3a01001 	mov	r1, #1                                        
a0003d84:	e1a02004 	mov	r2, r4                                        
a0003d88:	ebfffee0 	bl	a0003910 <rtems_termios_puts>                  
          tty->column--;                                              
a0003d8c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
a0003d90:	e2433001 	sub	r3, r3, #1                                    
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
a0003d94:	e1530005 	cmp	r3, r5                                        
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
a0003d98:	e5843028 	str	r3, [r4, #40]	; 0x28                          
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
a0003d9c:	cafffff6 	bgt	a0003d7c <erase+0x150>                        
a0003da0:	eaffffbc 	b	a0003c98 <erase+0x6c>                           
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
a0003da4:	e5802020 	str	r2, [r0, #32]                                 <== NOT EXECUTED
      return;                                                         
a0003da8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
a0003dac:	e5d40043 	ldrb	r0, [r4, #67]	; 0x43                         <== NOT EXECUTED
a0003db0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
a0003db4:	e8bd45f0 	pop	{r4, r5, r6, r7, r8, sl, lr}                  <== NOT EXECUTED
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
a0003db8:	eaffff76 	b	a0003b98 <echo>                                 <== NOT EXECUTED
a0003dbc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
a0003dc0:	e59f006c 	ldr	r0, [pc, #108]	; a0003e34 <erase+0x208>       <== NOT EXECUTED
a0003dc4:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0003dc8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003dcc:	ebfffecf 	bl	a0003910 <rtems_termios_puts>                  <== NOT EXECUTED
          if (tty->column)                                            
a0003dd0:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003dd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
            tty->column--;                                            
a0003dd8:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0003ddc:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
a0003de0:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a0003de4:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a0003de8:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003dec:	0affffc1 	beq	a0003cf8 <erase+0xcc>                         <== NOT EXECUTED
a0003df0:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003df4:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a0003df8:	0affffa6 	beq	a0003c98 <erase+0x6c>                         <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
a0003dfc:	e59f0030 	ldr	r0, [pc, #48]	; a0003e34 <erase+0x208>        <== NOT EXECUTED
a0003e00:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0003e04:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003e08:	ebfffec0 	bl	a0003910 <rtems_termios_puts>                  <== NOT EXECUTED
          if (tty->column)                                            
a0003e0c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003e10:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
            tty->column--;                                            
a0003e14:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0003e18:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0003e1c:	eaffff9d 	b	a0003c98 <erase+0x6c>                           <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
a0003e20:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0003e24:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
a0003e28:	e8bd45f0 	pop	{r4, r5, r6, r7, r8, sl, lr}                  <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
a0003e2c:	eaffff59 	b	a0003b98 <echo>                                 <== NOT EXECUTED
                                                                      

a0002818 <fcntl>: int fcntl( int fd, int cmd, ... ) {
a0002818:	e92d000e 	push	{r1, r2, r3}                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a000281c:	e59f21d8 	ldr	r2, [pc, #472]	; a00029fc <fcntl+0x1e4>       
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0002820:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002824:	e5922000 	ldr	r2, [r2]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0002828:	e24dd004 	sub	sp, sp, #4                                    
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a000282c:	e28d3028 	add	r3, sp, #40	; 0x28                            
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002830:	e1500002 	cmp	r0, r2                                        
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0002834:	e59d4024 	ldr	r4, [sp, #36]	; 0x24                          
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a0002838:	e58d3000 	str	r3, [sp]                                      
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a000283c:	2a000062 	bcs	a00029cc <fcntl+0x1b4>                        
  iop = rtems_libio_iop( fd );                                        
a0002840:	e59f61b8 	ldr	r6, [pc, #440]	; a0002a00 <fcntl+0x1e8>       
a0002844:	e3a05038 	mov	r5, #56	; 0x38                                
a0002848:	e5961000 	ldr	r1, [r6]                                      
a000284c:	e0251590 	mla	r5, r0, r5, r1                                
  rtems_libio_check_is_open(iop);                                     
a0002850:	e595c014 	ldr	ip, [r5, #20]                                 
a0002854:	e31c0c01 	tst	ip, #256	; 0x100                              
a0002858:	0a00005b 	beq	a00029cc <fcntl+0x1b4>                        
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
a000285c:	e3540009 	cmp	r4, #9                                        
a0002860:	979ff104 	ldrls	pc, [pc, r4, lsl #2]                        
a0002864:	ea000028 	b	a000290c <fcntl+0xf4>                           
a0002868:	a000291c 	.word	0xa000291c                                  <== NOT EXECUTED
a000286c:	a0002984 	.word	0xa0002984                                  <== NOT EXECUTED
a0002870:	a0002994 	.word	0xa0002994                                  <== NOT EXECUTED
a0002874:	a00029b4 	.word	0xa00029b4                                  <== NOT EXECUTED
a0002878:	a00028b4 	.word	0xa00028b4                                  <== NOT EXECUTED
a000287c:	a0002890 	.word	0xa0002890                                  <== NOT EXECUTED
a0002880:	a0002890 	.word	0xa0002890                                  <== NOT EXECUTED
a0002884:	a0002890 	.word	0xa0002890                                  <== NOT EXECUTED
a0002888:	a0002890 	.word	0xa0002890                                  <== NOT EXECUTED
a000288c:	a0002890 	.word	0xa0002890                                  <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
a0002890:	eb00307f 	bl	a000ea94 <__errno>                             
a0002894:	e3a03086 	mov	r3, #134	; 0x86                               
a0002898:	e5803000 	str	r3, [r0]                                      
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a000289c:	e3e08000 	mvn	r8, #0                                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
a00028a0:	e1a00008 	mov	r0, r8                                        
a00028a4:	e28dd004 	add	sp, sp, #4                                    
a00028a8:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a00028ac:	e28dd00c 	add	sp, sp, #12                                   
a00028b0:	e12fff1e 	bx	lr                                             
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
a00028b4:	e5930000 	ldr	r0, [r3]                                      
a00028b8:	eb00018e 	bl	a0002ef8 <rtems_libio_fcntl_flags>             
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
a00028bc:	e5952014 	ldr	r2, [r5, #20]                                 
a00028c0:	e3a03c02 	mov	r3, #512	; 0x200                              
a00028c4:	e2833001 	add	r3, r3, #1                                    
a00028c8:	e3c22c02 	bic	r2, r2, #512	; 0x200                          
a00028cc:	e0003003 	and	r3, r0, r3                                    
a00028d0:	e3c22001 	bic	r2, r2, #1                                    
a00028d4:	e1833002 	orr	r3, r3, r2                                    
a00028d8:	e5853014 	str	r3, [r5, #20]                                 
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
a00028dc:	e3a08000 	mov	r8, #0                                        
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
a00028e0:	e5953020 	ldr	r3, [r5, #32]                                 
a00028e4:	e1a00004 	mov	r0, r4                                        
a00028e8:	e1a01005 	mov	r1, r5                                        
a00028ec:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a00028f0:	e12fff33 	blx	r3                                            
    if (err) {                                                        
a00028f4:	e2504000 	subs	r4, r0, #0                                   
a00028f8:	0affffe8 	beq	a00028a0 <fcntl+0x88>                         
      errno = err;                                                    
a00028fc:	eb003064 	bl	a000ea94 <__errno>                             <== NOT EXECUTED
      ret = -1;                                                       
a0002900:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
    if (err) {                                                        
      errno = err;                                                    
a0002904:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a0002908:	eaffffe4 	b	a00028a0 <fcntl+0x88>                           <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
a000290c:	eb003060 	bl	a000ea94 <__errno>                             
a0002910:	e3a03016 	mov	r3, #22                                       
a0002914:	e5803000 	str	r3, [r0]                                      
a0002918:	eaffffdf 	b	a000289c <fcntl+0x84>                           
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
a000291c:	e5933000 	ldr	r3, [r3]                                      
      if ( fd2 )                                                      
a0002920:	e3530000 	cmp	r3, #0                                        
a0002924:	0a00002d 	beq	a00029e0 <fcntl+0x1c8>                        
        diop = rtems_libio_iop( fd2 );                                
a0002928:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000292c:	93a08000 	movls	r8, #0                                      <== NOT EXECUTED
a0002930:	91a09008 	movls	r9, r8                                      <== NOT EXECUTED
a0002934:	9a000002 	bls	a0002944 <fcntl+0x12c>                        <== NOT EXECUTED
a0002938:	e3a09038 	mov	r9, #56	; 0x38                                <== NOT EXECUTED
a000293c:	e0291993 	mla	r9, r3, r9, r1                                <== NOT EXECUTED
a0002940:	e1a08009 	mov	r8, r9                                        <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0002944:	e0618008 	rsb	r8, r1, r8                                    
a0002948:	e1a081c8 	asr	r8, r8, #3                                    
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a000294c:	e289a018 	add	sl, r9, #24                                   
      ret = (int) (diop - rtems_libio_iops);                          
a0002950:	e0886188 	add	r6, r8, r8, lsl #3                            
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002954:	e2857018 	add	r7, r5, #24                                   
a0002958:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a000295c:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
      ret = (int) (diop - rtems_libio_iops);                          
a0002960:	e0866306 	add	r6, r6, r6, lsl #6                            
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002964:	e5973000 	ldr	r3, [r7]                                      
      ret = (int) (diop - rtems_libio_iops);                          
a0002968:	e0886186 	add	r6, r8, r6, lsl #3                            
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
a000296c:	e589c014 	str	ip, [r9, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0002970:	e0866786 	add	r6, r6, r6, lsl #15                           
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002974:	e58a3000 	str	r3, [sl]                                      
      ret = (int) (diop - rtems_libio_iops);                          
a0002978:	e0888186 	add	r8, r8, r6, lsl #3                            
a000297c:	e2688000 	rsb	r8, r8, #0                                    
a0002980:	ea00000e 	b	a00029c0 <fcntl+0x1a8>                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
a0002984:	e31c0b02 	tst	ip, #2048	; 0x800                             
a0002988:	03a08000 	moveq	r8, #0                                      
a000298c:	13a08001 	movne	r8, #1                                      
a0002990:	eaffffd2 	b	a00028e0 <fcntl+0xc8>                           
       *  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 ) )                                        
a0002994:	e5938000 	ldr	r8, [r3]                                      
a0002998:	e3580000 	cmp	r8, #0                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a000299c:	138ccb02 	orrne	ip, ip, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a00029a0:	03cccb02 	biceq	ip, ip, #2048	; 0x800                       
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a00029a4:	1585c014 	strne	ip, [r5, #20]                               
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
a00029a8:	13a08000 	movne	r8, #0                                      
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a00029ac:	0585c014 	streq	ip, [r5, #20]                               
a00029b0:	eaffffca 	b	a00028e0 <fcntl+0xc8>                           
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
a00029b4:	e1a0000c 	mov	r0, ip                                        
a00029b8:	eb00015b 	bl	a0002f2c <rtems_libio_to_fcntl_flags>          
a00029bc:	e1a08000 	mov	r8, r0                                        
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
a00029c0:	e3580000 	cmp	r8, #0                                        
a00029c4:	aaffffc5 	bge	a00028e0 <fcntl+0xc8>                         
a00029c8:	eaffffb4 	b	a00028a0 <fcntl+0x88>                           <== NOT EXECUTED
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a00029cc:	eb003030 	bl	a000ea94 <__errno>                             
a00029d0:	e3a03009 	mov	r3, #9                                        
a00029d4:	e5803000 	str	r3, [r0]                                      
a00029d8:	e3e08000 	mvn	r8, #0                                        
a00029dc:	eaffffaf 	b	a00028a0 <fcntl+0x88>                           
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
a00029e0:	eb000164 	bl	a0002f78 <rtems_libio_allocate>                
        if ( diop == 0 ) {                                            
a00029e4:	e2509000 	subs	r9, r0, #0                                   
a00029e8:	0affffab 	beq	a000289c <fcntl+0x84>                         
a00029ec:	e595c014 	ldr	ip, [r5, #20]                                 
a00029f0:	e1a08009 	mov	r8, r9                                        
a00029f4:	e5961000 	ldr	r1, [r6]                                      
a00029f8:	eaffffd1 	b	a0002944 <fcntl+0x12c>                          
                                                                      

a000b990 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
a000b990:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a000b994:	e24dd00c 	sub	sp, sp, #12                                   
a000b998:	e1a05000 	mov	r5, r0                                        
a000b99c:	e1a07001 	mov	r7, r1                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
a000b9a0:	ebffff83 	bl	a000b7b4 <pipe_lock>                           
  if (err)                                                            
a000b9a4:	e2504000 	subs	r4, r0, #0                                   
a000b9a8:	1a00001b 	bne	a000ba1c <fifo_open+0x8c>                     
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
a000b9ac:	e5956000 	ldr	r6, [r5]                                      
  if (pipe == NULL) {                                                 
a000b9b0:	e3560000 	cmp	r6, #0                                        
a000b9b4:	0a00001b 	beq	a000ba28 <fifo_open+0x98>                     
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000b9b8:	e3a01000 	mov	r1, #0                                        
a000b9bc:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          
a000b9c0:	e1a02001 	mov	r2, r1                                        
a000b9c4:	ebffecf8 	bl	a0006dac <rtems_semaphore_obtain>              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a000b9c8:	e5953000 	ldr	r3, [r5]                                      
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000b9cc:	e3500000 	cmp	r0, #0                                        
a000b9d0:	13e08003 	mvnne	r8, #3                                      
a000b9d4:	03a08000 	moveq	r8, #0                                      
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a000b9d8:	e3530000 	cmp	r3, #0                                        
a000b9dc:	0a0000bd 	beq	a000bcd8 <fifo_open+0x348>                    
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a000b9e0:	ebffff9e 	bl	a000b860 <pipe_unlock>                         
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
a000b9e4:	e3580000 	cmp	r8, #0                                        
a000b9e8:	11a04008 	movne	r4, r8                                      
a000b9ec:	1a00000a 	bne	a000ba1c <fifo_open+0x8c>                     
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a000b9f0:	e5973014 	ldr	r3, [r7, #20]                                 
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
a000b9f4:	e5956000 	ldr	r6, [r5]                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a000b9f8:	e2033006 	and	r3, r3, #6                                    
a000b9fc:	e3530004 	cmp	r3, #4                                        
a000ba00:	0a000094 	beq	a000bc58 <fifo_open+0x2c8>                    
a000ba04:	e3530006 	cmp	r3, #6                                        
a000ba08:	0a00007e 	beq	a000bc08 <fifo_open+0x278>                    
a000ba0c:	e3530002 	cmp	r3, #2                                        
a000ba10:	0a000058 	beq	a000bb78 <fifo_open+0x1e8>                    
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a000ba14:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          
a000ba18:	ebffed2c 	bl	a0006ed0 <rtems_semaphore_release>             
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
a000ba1c:	e1a00004 	mov	r0, r4                                        
a000ba20:	e28dd00c 	add	sp, sp, #12                                   
a000ba24:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a000ba28:	e3a00034 	mov	r0, #52	; 0x34                                
a000ba2c:	ebffdfad 	bl	a00038e8 <malloc>                              
  if (pipe == NULL)                                                   
a000ba30:	e3500000 	cmp	r0, #0                                        
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a000ba34:	e1a06000 	mov	r6, r0                                        
a000ba38:	e1a0a000 	mov	sl, r0                                        
  if (pipe == NULL)                                                   
a000ba3c:	0a0000cf 	beq	a000bd80 <fifo_open+0x3f0>                    
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
a000ba40:	e1a02000 	mov	r2, r0                                        
a000ba44:	e4824004 	str	r4, [r2], #4                                  
a000ba48:	e2822004 	add	r2, r2, #4                                    
a000ba4c:	e4824004 	str	r4, [r2], #4                                  
a000ba50:	e4824004 	str	r4, [r2], #4                                  
a000ba54:	e4824004 	str	r4, [r2], #4                                  
a000ba58:	e4824004 	str	r4, [r2], #4                                  
a000ba5c:	e4824004 	str	r4, [r2], #4                                  
a000ba60:	e4824004 	str	r4, [r2], #4                                  
a000ba64:	e4824004 	str	r4, [r2], #4                                  
a000ba68:	e4824004 	str	r4, [r2], #4                                  
a000ba6c:	e4824004 	str	r4, [r2], #4                                  
a000ba70:	e4824004 	str	r4, [r2], #4                                  
                                                                      
  pipe->Size = PIPE_BUF;                                              
a000ba74:	e3a03c02 	mov	r3, #512	; 0x200                              
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
a000ba78:	e5824000 	str	r4, [r2]                                      
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
a000ba7c:	e1a00003 	mov	r0, r3                                        
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
a000ba80:	e5863004 	str	r3, [r6, #4]                                  
  pipe->Buffer = malloc(pipe->Size);                                  
a000ba84:	ebffdf97 	bl	a00038e8 <malloc>                              
  if (! pipe->Buffer)                                                 
a000ba88:	e3500000 	cmp	r0, #0                                        
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
a000ba8c:	e5860000 	str	r0, [r6]                                      
  if (! pipe->Buffer)                                                 
a000ba90:	0a0000b8 	beq	a000bd78 <fifo_open+0x3e8>                    
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
a000ba94:	e59f82f0 	ldr	r8, [pc, #752]	; a000bd8c <fifo_open+0x3fc>   
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
a000ba98:	e1a01004 	mov	r1, r4                                        
a000ba9c:	e1a02004 	mov	r2, r4                                        
        rtems_build_name ('P', 'I', 'r', c),                          
a000baa0:	e5d80000 	ldrb	r0, [r8]                                     
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
a000baa4:	e286302c 	add	r3, r6, #44	; 0x2c                            
a000baa8:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              
a000baac:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   
a000bab0:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       
a000bab4:	eb00070f 	bl	a000d6f8 <rtems_barrier_create>                
a000bab8:	e3500000 	cmp	r0, #0                                        
a000babc:	1a0000ab 	bne	a000bd70 <fifo_open+0x3e0>                    
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'w', c),                          
a000bac0:	e5d80000 	ldrb	r0, [r8]                                     
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
a000bac4:	e1a01004 	mov	r1, r4                                        
a000bac8:	e1a02004 	mov	r2, r4                                        
a000bacc:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              
a000bad0:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   
a000bad4:	e3800c77 	orr	r0, r0, #30464	; 0x7700                       
a000bad8:	e2863030 	add	r3, r6, #48	; 0x30                            
a000badc:	eb000705 	bl	a000d6f8 <rtems_barrier_create>                
a000bae0:	e3500000 	cmp	r0, #0                                        
a000bae4:	1a00009f 	bne	a000bd68 <fifo_open+0x3d8>                    
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
        rtems_build_name ('P', 'I', 's', c), 1,                       
a000bae8:	e5d80000 	ldrb	r0, [r8]                                     
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
a000baec:	e286c028 	add	ip, r6, #40	; 0x28                            
a000baf0:	e3a01001 	mov	r1, #1                                        
a000baf4:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              
a000baf8:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   
a000bafc:	e3800c73 	orr	r0, r0, #29440	; 0x7300                       
a000bb00:	e3a02010 	mov	r2, #16                                       
a000bb04:	e1a03004 	mov	r3, r4                                        
a000bb08:	e58dc000 	str	ip, [sp]                                      
a000bb0c:	ebffec0c 	bl	a0006b44 <rtems_semaphore_create>              
a000bb10:	e3500000 	cmp	r0, #0                                        
a000bb14:	1a000091 	bne	a000bd60 <fifo_open+0x3d0>                    
/* Set barriers to be interruptible by signals. */                    
static void pipe_interruptible(pipe_control_t *pipe)                  
{                                                                     
  Objects_Locations location;                                         
                                                                      
  _Barrier_Get(pipe->readBarrier, &location)->Barrier.Wait_queue.state
a000bb18:	e28da004 	add	sl, sp, #4                                    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
    _Objects_Get( &_Barrier_Information, id, location );              
a000bb1c:	e596102c 	ldr	r1, [r6, #44]	; 0x2c                          
a000bb20:	e1a0200a 	mov	r2, sl                                        
a000bb24:	e59f0264 	ldr	r0, [pc, #612]	; a000bd90 <fifo_open+0x400>   
a000bb28:	ebfff2c5 	bl	a0008644 <_Objects_Get>                        
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
a000bb2c:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
a000bb30:	e3833201 	orr	r3, r3, #268435456	; 0x10000000               
a000bb34:	e580304c 	str	r3, [r0, #76]	; 0x4c                          
  _Thread_Enable_dispatch();                                          
a000bb38:	ebfff4f2 	bl	a0008f08 <_Thread_Enable_dispatch>             
a000bb3c:	e1a0200a 	mov	r2, sl                                        
a000bb40:	e5961030 	ldr	r1, [r6, #48]	; 0x30                          
a000bb44:	e59f0244 	ldr	r0, [pc, #580]	; a000bd90 <fifo_open+0x400>   
a000bb48:	ebfff2bd 	bl	a0008644 <_Objects_Get>                        
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
a000bb4c:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
a000bb50:	e3833201 	orr	r3, r3, #268435456	; 0x10000000               
a000bb54:	e580304c 	str	r3, [r0, #76]	; 0x4c                          
  _Thread_Enable_dispatch();                                          
a000bb58:	ebfff4ea 	bl	a0008f08 <_Thread_Enable_dispatch>             
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
a000bb5c:	e5d83000 	ldrb	r3, [r8]                                     
a000bb60:	e353007a 	cmp	r3, #122	; 0x7a                               
a000bb64:	e2832001 	add	r2, r3, #1                                    
    c = 'a';                                                          
a000bb68:	03a03061 	moveq	r3, #97	; 0x61                              
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
a000bb6c:	e5c82000 	strb	r2, [r8]                                     
    c = 'a';                                                          
a000bb70:	05c83000 	strbeq	r3, [r8]                                   
a000bb74:	eaffff8f 	b	a000b9b8 <fifo_open+0x28>                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a000bb78:	e5963010 	ldr	r3, [r6, #16]                                 
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000bb7c:	e5961020 	ldr	r1, [r6, #32]                                 
      if (pipe->Readers ++ == 0)                                      
a000bb80:	e2832001 	add	r2, r3, #1                                    
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000bb84:	e2811001 	add	r1, r1, #1                                    
      if (pipe->Readers ++ == 0)                                      
a000bb88:	e3530000 	cmp	r3, #0                                        
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000bb8c:	e5861020 	str	r1, [r6, #32]                                 
      if (pipe->Readers ++ == 0)                                      
a000bb90:	e5862010 	str	r2, [r6, #16]                                 
a000bb94:	0a000069 	beq	a000bd40 <fifo_open+0x3b0>                    
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
a000bb98:	e5963014 	ldr	r3, [r6, #20]                                 
a000bb9c:	e3530000 	cmp	r3, #0                                        
a000bba0:	1affff9b 	bne	a000ba14 <fifo_open+0x84>                     
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
a000bba4:	e5973014 	ldr	r3, [r7, #20]                                 
a000bba8:	e3130001 	tst	r3, #1                                        
a000bbac:	1affff98 	bne	a000ba14 <fifo_open+0x84>                     
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
a000bbb0:	e5968024 	ldr	r8, [r6, #36]	; 0x24                          
a000bbb4:	ea000006 	b	a000bbd4 <fifo_open+0x244>                      
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000bbb8:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          
a000bbbc:	ebffec7a 	bl	a0006dac <rtems_semaphore_obtain>              
a000bbc0:	e3500000 	cmp	r0, #0                                        
a000bbc4:	1a00000a 	bne	a000bbf4 <fifo_open+0x264>                    
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
a000bbc8:	e5963024 	ldr	r3, [r6, #36]	; 0x24                          
a000bbcc:	e1530008 	cmp	r3, r8                                        
a000bbd0:	1affff8f 	bne	a000ba14 <fifo_open+0x84>                     
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a000bbd4:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          
a000bbd8:	ebffecbc 	bl	a0006ed0 <rtems_semaphore_release>             
          if (! PIPE_READWAIT(pipe))                                  
a000bbdc:	e3a01000 	mov	r1, #0                                        
a000bbe0:	e596002c 	ldr	r0, [r6, #44]	; 0x2c                          
a000bbe4:	eb000739 	bl	a000d8d0 <rtems_barrier_wait>                  
a000bbe8:	e2501000 	subs	r1, r0, #0                                   
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000bbec:	e1a02001 	mov	r2, r1                                        
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
a000bbf0:	0afffff0 	beq	a000bbb8 <fifo_open+0x228>                    
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
a000bbf4:	e3e04003 	mvn	r4, #3                                        <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
a000bbf8:	e1a00005 	mov	r0, r5                                        
a000bbfc:	e1a01007 	mov	r1, r7                                        
a000bc00:	ebffff20 	bl	a000b888 <pipe_release>                        
  return err;                                                         
a000bc04:	eaffff84 	b	a000ba1c <fifo_open+0x8c>                       
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a000bc08:	e5963010 	ldr	r3, [r6, #16]                                 
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000bc0c:	e5961020 	ldr	r1, [r6, #32]                                 
      if (pipe->Readers ++ == 0)                                      
a000bc10:	e2832001 	add	r2, r3, #1                                    
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000bc14:	e2811001 	add	r1, r1, #1                                    
      if (pipe->Readers ++ == 0)                                      
a000bc18:	e3530000 	cmp	r3, #0                                        
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000bc1c:	e5861020 	str	r1, [r6, #32]                                 
      if (pipe->Readers ++ == 0)                                      
a000bc20:	e5862010 	str	r2, [r6, #16]                                 
a000bc24:	0a00003d 	beq	a000bd20 <fifo_open+0x390>                    
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
a000bc28:	e5963014 	ldr	r3, [r6, #20]                                 
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000bc2c:	e5961024 	ldr	r1, [r6, #36]	; 0x24                          
      if (pipe->Writers ++ == 0)                                      
a000bc30:	e2832001 	add	r2, r3, #1                                    
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000bc34:	e2811001 	add	r1, r1, #1                                    
      if (pipe->Writers ++ == 0)                                      
a000bc38:	e3530000 	cmp	r3, #0                                        
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000bc3c:	e5861024 	str	r1, [r6, #36]	; 0x24                          
      if (pipe->Writers ++ == 0)                                      
a000bc40:	e5862014 	str	r2, [r6, #20]                                 
a000bc44:	1affff72 	bne	a000ba14 <fifo_open+0x84>                     
        PIPE_WAKEUPREADERS(pipe);                                     
a000bc48:	e596002c 	ldr	r0, [r6, #44]	; 0x2c                          
a000bc4c:	e28d1008 	add	r1, sp, #8                                    
a000bc50:	eb000706 	bl	a000d870 <rtems_barrier_release>               
a000bc54:	eaffff6e 	b	a000ba14 <fifo_open+0x84>                       
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
a000bc58:	e5963014 	ldr	r3, [r6, #20]                                 
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a000bc5c:	e5961024 	ldr	r1, [r6, #36]	; 0x24                          
                                                                      
      if (pipe->Writers ++ == 0)                                      
a000bc60:	e2832001 	add	r2, r3, #1                                    
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a000bc64:	e2811001 	add	r1, r1, #1                                    
                                                                      
      if (pipe->Writers ++ == 0)                                      
a000bc68:	e3530000 	cmp	r3, #0                                        
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a000bc6c:	e5861024 	str	r1, [r6, #36]	; 0x24                          
                                                                      
      if (pipe->Writers ++ == 0)                                      
a000bc70:	e5862014 	str	r2, [r6, #20]                                 
a000bc74:	0a00002d 	beq	a000bd30 <fifo_open+0x3a0>                    
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a000bc78:	e5963010 	ldr	r3, [r6, #16]                                 
a000bc7c:	e3530000 	cmp	r3, #0                                        
a000bc80:	1affff63 	bne	a000ba14 <fifo_open+0x84>                     
a000bc84:	e5973014 	ldr	r3, [r7, #20]                                 
a000bc88:	e3130001 	tst	r3, #1                                        
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
a000bc8c:	05968020 	ldreq	r8, [r6, #32]                               
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a000bc90:	0a000007 	beq	a000bcb4 <fifo_open+0x324>                    
a000bc94:	ea00002d 	b	a000bd50 <fifo_open+0x3c0>                      
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000bc98:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          
a000bc9c:	ebffec42 	bl	a0006dac <rtems_semaphore_obtain>              
a000bca0:	e3500000 	cmp	r0, #0                                        
a000bca4:	1affffd2 	bne	a000bbf4 <fifo_open+0x264>                    
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
a000bca8:	e5963020 	ldr	r3, [r6, #32]                                 
a000bcac:	e1530008 	cmp	r3, r8                                        
a000bcb0:	1affff57 	bne	a000ba14 <fifo_open+0x84>                     
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a000bcb4:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          
a000bcb8:	ebffec84 	bl	a0006ed0 <rtems_semaphore_release>             
          if (! PIPE_WRITEWAIT(pipe))                                 
a000bcbc:	e3a01000 	mov	r1, #0                                        
a000bcc0:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          
a000bcc4:	eb000701 	bl	a000d8d0 <rtems_barrier_wait>                  
a000bcc8:	e2501000 	subs	r1, r0, #0                                   
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000bccc:	e1a02001 	mov	r2, r1                                        
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
a000bcd0:	0afffff0 	beq	a000bc98 <fifo_open+0x308>                    
a000bcd4:	eaffffc6 	b	a000bbf4 <fifo_open+0x264>                      <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
a000bcd8:	e3580000 	cmp	r8, #0                                        
a000bcdc:	1a000002 	bne	a000bcec <fifo_open+0x35c>                    
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
a000bce0:	e5856000 	str	r6, [r5]                                      
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a000bce4:	ebfffedd 	bl	a000b860 <pipe_unlock>                         
a000bce8:	eaffff40 	b	a000b9f0 <fifo_open+0x60>                       
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a000bcec:	e596002c 	ldr	r0, [r6, #44]	; 0x2c                          <== NOT EXECUTED
a000bcf0:	eb0006b2 	bl	a000d7c0 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
a000bcf4:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          <== NOT EXECUTED
a000bcf8:	eb0006b0 	bl	a000d7c0 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
a000bcfc:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          <== NOT EXECUTED
a000bd00:	ebffec00 	bl	a0006d08 <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
a000bd04:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a000bd08:	ebffdd3e 	bl	a0003208 <free>                                <== NOT EXECUTED
  free(pipe);                                                         
a000bd0c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000bd10:	ebffdd3c 	bl	a0003208 <free>                                <== NOT EXECUTED
a000bd14:	e1a04008 	mov	r4, r8                                        <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a000bd18:	ebfffed0 	bl	a000b860 <pipe_unlock>                         <== NOT EXECUTED
a000bd1c:	eaffff3e 	b	a000ba1c <fifo_open+0x8c>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a000bd20:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          
a000bd24:	e28d1008 	add	r1, sp, #8                                    
a000bd28:	eb0006d0 	bl	a000d870 <rtems_barrier_release>               
a000bd2c:	eaffffbd 	b	a000bc28 <fifo_open+0x298>                      
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
a000bd30:	e596002c 	ldr	r0, [r6, #44]	; 0x2c                          
a000bd34:	e28d1008 	add	r1, sp, #8                                    
a000bd38:	eb0006cc 	bl	a000d870 <rtems_barrier_release>               
a000bd3c:	eaffffcd 	b	a000bc78 <fifo_open+0x2e8>                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a000bd40:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          
a000bd44:	e28d1008 	add	r1, sp, #8                                    
a000bd48:	eb0006c8 	bl	a000d870 <rtems_barrier_release>               
a000bd4c:	eaffff91 	b	a000bb98 <fifo_open+0x208>                      
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
a000bd50:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          
a000bd54:	ebffec5d 	bl	a0006ed0 <rtems_semaphore_release>             
        err = -ENXIO;                                                 
a000bd58:	e3e04005 	mvn	r4, #5                                        
        goto out_error;                                               
a000bd5c:	eaffffa5 	b	a000bbf8 <fifo_open+0x268>                      
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
a000bd60:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          
a000bd64:	eb000695 	bl	a000d7c0 <rtems_barrier_delete>                
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
a000bd68:	e59a002c 	ldr	r0, [sl, #44]	; 0x2c                          
a000bd6c:	eb000693 	bl	a000d7c0 <rtems_barrier_delete>                
err_rbar:                                                             
  free(pipe->Buffer);                                                 
a000bd70:	e59a0000 	ldr	r0, [sl]                                      
a000bd74:	ebffdd23 	bl	a0003208 <free>                                
err_buf:                                                              
  free(pipe);                                                         
a000bd78:	e1a0000a 	mov	r0, sl                                        
a000bd7c:	ebffdd21 	bl	a0003208 <free>                                
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
  rtems_barrier_delete(pipe->writeBarrier);                           
  rtems_semaphore_delete(pipe->Semaphore);                            
  free(pipe->Buffer);                                                 
  free(pipe);                                                         
a000bd80:	e3e0400b 	mvn	r4, #11                                       
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a000bd84:	ebfffeb5 	bl	a000b860 <pipe_unlock>                         
a000bd88:	eaffff23 	b	a000ba1c <fifo_open+0x8c>                       
                                                                      

a0002a8c <fpathconf>: { long return_value; rtems_libio_t *iop; rtems_filesystem_limits_and_options_t *the_limits; rtems_libio_check_fd(fd);
a0002a8c:	e59f310c 	ldr	r3, [pc, #268]	; a0002ba0 <fpathconf+0x114>   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
a0002a90:	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);                                           
a0002a94:	e5933000 	ldr	r3, [r3]                                      
a0002a98:	e1500003 	cmp	r0, r3                                        
a0002a9c:	2a000035 	bcs	a0002b78 <fpathconf+0xec>                     
  iop = rtems_libio_iop(fd);                                          
a0002aa0:	e59f30fc 	ldr	r3, [pc, #252]	; a0002ba4 <fpathconf+0x118>   
a0002aa4:	e3a02038 	mov	r2, #56	; 0x38                                
a0002aa8:	e5933000 	ldr	r3, [r3]                                      
a0002aac:	e0203092 	mla	r0, r2, r0, r3                                
  rtems_libio_check_is_open(iop);                                     
a0002ab0:	e5903014 	ldr	r3, [r0, #20]                                 
a0002ab4:	e3130c01 	tst	r3, #256	; 0x100                              
a0002ab8:	0a00002e 	beq	a0002b78 <fpathconf+0xec>                     
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0002abc:	e3130002 	tst	r3, #2                                        
a0002ac0:	0a000031 	beq	a0002b8c <fpathconf+0x100>                    
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
a0002ac4:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          
                                                                      
  switch ( name ) {                                                   
a0002ac8:	e351000b 	cmp	r1, #11                                       
a0002acc:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
a0002ad0:	ea00000d 	b	a0002b0c <fpathconf+0x80>                       
a0002ad4:	a0002b20 	.word	0xa0002b20                                  <== NOT EXECUTED
a0002ad8:	a0002b28 	.word	0xa0002b28                                  <== NOT EXECUTED
a0002adc:	a0002b30 	.word	0xa0002b30                                  <== NOT EXECUTED
a0002ae0:	a0002b38 	.word	0xa0002b38                                  <== NOT EXECUTED
a0002ae4:	a0002b40 	.word	0xa0002b40                                  <== NOT EXECUTED
a0002ae8:	a0002b48 	.word	0xa0002b48                                  <== NOT EXECUTED
a0002aec:	a0002b50 	.word	0xa0002b50                                  <== NOT EXECUTED
a0002af0:	a0002b58 	.word	0xa0002b58                                  <== NOT EXECUTED
a0002af4:	a0002b60 	.word	0xa0002b60                                  <== NOT EXECUTED
a0002af8:	a0002b68 	.word	0xa0002b68                                  <== NOT EXECUTED
a0002afc:	a0002b70 	.word	0xa0002b70                                  <== NOT EXECUTED
a0002b00:	a0002b04 	.word	0xa0002b04                                  <== NOT EXECUTED
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
a0002b04:	e5930060 	ldr	r0, [r3, #96]	; 0x60                          
      break;                                                          
a0002b08:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0002b0c:	eb002fe0 	bl	a000ea94 <__errno>                             
a0002b10:	e3a03016 	mov	r3, #22                                       
a0002b14:	e5803000 	str	r3, [r0]                                      
a0002b18:	e3e00000 	mvn	r0, #0                                        
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
a0002b1c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
a0002b20:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          
      break;                                                          
a0002b24:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
a0002b28:	e593003c 	ldr	r0, [r3, #60]	; 0x3c                          
      break;                                                          
a0002b2c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
a0002b30:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          
      break;                                                          
a0002b34:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
a0002b38:	e5930044 	ldr	r0, [r3, #68]	; 0x44                          
      break;                                                          
a0002b3c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
a0002b40:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
      break;                                                          
a0002b44:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
a0002b48:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
      break;                                                          
a0002b4c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
a0002b50:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
      break;                                                          
a0002b54:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
a0002b58:	e5930058 	ldr	r0, [r3, #88]	; 0x58                          
      break;                                                          
a0002b5c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
a0002b60:	e5930064 	ldr	r0, [r3, #100]	; 0x64                         
      break;                                                          
a0002b64:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
a0002b68:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
      break;                                                          
a0002b6c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
a0002b70:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
      break;                                                          
a0002b74:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
a0002b78:	eb002fc5 	bl	a000ea94 <__errno>                             
a0002b7c:	e3a03009 	mov	r3, #9                                        
a0002b80:	e5803000 	str	r3, [r0]                                      
a0002b84:	e3e00000 	mvn	r0, #0                                        
a0002b88:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0002b8c:	eb002fc0 	bl	a000ea94 <__errno>                             <== NOT EXECUTED
a0002b90:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002b94:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002b98:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002b9c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000315c <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
a000315c:	e59f302c 	ldr	r3, [pc, #44]	; a0003190 <free_user_env+0x34> <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a0003160:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
 if (env != &rtems_global_user_env                                    
a0003164:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a0003168:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
 if (env != &rtems_global_user_env                                    
a000316c:	0a000006 	beq	a000318c <free_user_env+0x30>                 <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
  && --env->refcnt <= 0                                               
#endif                                                                
  ) {                                                                 
  rtems_filesystem_freenode( &env->current_directory);                
a0003170:	e2800004 	add	r0, r0, #4                                    <== NOT EXECUTED
a0003174:	ebfffb8c 	bl	a0001fac <rtems_filesystem_freenode>           <== NOT EXECUTED
  rtems_filesystem_freenode( &env->root_directory);                   
a0003178:	e2840018 	add	r0, r4, #24                                   <== NOT EXECUTED
a000317c:	ebfffb8a 	bl	a0001fac <rtems_filesystem_freenode>           <== NOT EXECUTED
  free(env);                                                          
a0003180:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
 }                                                                    
}                                                                     
a0003184:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
  && --env->refcnt <= 0                                               
#endif                                                                
  ) {                                                                 
  rtems_filesystem_freenode( &env->current_directory);                
  rtems_filesystem_freenode( &env->root_directory);                   
  free(env);                                                          
a0003188:	eafffb8c 	b	a0001fc0 <free>                                 <== NOT EXECUTED
a000318c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0003e3c <iproc>: * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) { if (tty->termios.c_iflag & ISTRIP)
a0003e3c:	e5913030 	ldr	r3, [r1, #48]	; 0x30                          
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003e40:	e92d4030 	push	{r4, r5, lr}                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
a0003e44:	e3130020 	tst	r3, #32                                       
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003e48:	e20040ff 	and	r4, r0, #255	; 0xff                           
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
a0003e4c:	1200407f 	andne	r4, r0, #127	; 0x7f                         
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
a0003e50:	e3130c02 	tst	r3, #512	; 0x200                              
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003e54:	e1a05001 	mov	r5, r1                                        
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
a0003e58:	0a000007 	beq	a0003e7c <iproc+0x40>                         
    c = tolower (c);                                                  
a0003e5c:	e59f21ac 	ldr	r2, [pc, #428]	; a0004010 <iproc+0x1d4>       
a0003e60:	e5922000 	ldr	r2, [r2]                                      
a0003e64:	e0822004 	add	r2, r2, r4                                    
a0003e68:	e5d22001 	ldrb	r2, [r2, #1]                                 
a0003e6c:	e2022003 	and	r2, r2, #3                                    
a0003e70:	e3520001 	cmp	r2, #1                                        
a0003e74:	02844020 	addeq	r4, r4, #32                                 
a0003e78:	e20440ff 	and	r4, r4, #255	; 0xff                           
                                                                      
  if (c == '\r') {                                                    
a0003e7c:	e354000d 	cmp	r4, #13                                       
a0003e80:	0a000014 	beq	a0003ed8 <iproc+0x9c>                         
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
a0003e84:	e354000a 	cmp	r4, #10                                       
a0003e88:	0a000034 	beq	a0003f60 <iproc+0x124>                        
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
a0003e8c:	e3540000 	cmp	r4, #0                                        
a0003e90:	1a000015 	bne	a0003eec <iproc+0xb0>                         
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
a0003e94:	e59f2178 	ldr	r2, [pc, #376]	; a0004014 <iproc+0x1d8>       
a0003e98:	e5953020 	ldr	r3, [r5, #32]                                 
a0003e9c:	e5922008 	ldr	r2, [r2, #8]                                  
a0003ea0:	e2422001 	sub	r2, r2, #1                                    
a0003ea4:	e1530002 	cmp	r3, r2                                        
a0003ea8:	aa000008 	bge	a0003ed0 <iproc+0x94>                         
    if (tty->termios.c_lflag & ECHO)                                  
a0003eac:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          
a0003eb0:	e3120008 	tst	r2, #8                                        
a0003eb4:	1a00002e 	bne	a0003f74 <iproc+0x138>                        
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
a0003eb8:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a0003ebc:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
a0003ec0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
a0003ec4:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a0003ec8:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a0003ecc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
a0003ed0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0003ed4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
a0003ed8:	e3130080 	tst	r3, #128	; 0x80                               
a0003edc:	1a000022 	bne	a0003f6c <iproc+0x130>                        
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
a0003ee0:	e3130c01 	tst	r3, #256	; 0x100                              
a0003ee4:	03a0400d 	moveq	r4, #13                                     
a0003ee8:	13a0400a 	movne	r4, #10                                     
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
a0003eec:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          
a0003ef0:	e3130002 	tst	r3, #2                                        
a0003ef4:	0affffe6 	beq	a0003e94 <iproc+0x58>                         
    if (c == tty->termios.c_cc[VERASE]) {                             
a0003ef8:	e5d52043 	ldrb	r2, [r5, #67]	; 0x43                         
a0003efc:	e1520004 	cmp	r2, r4                                        
a0003f00:	0a00003d 	beq	a0003ffc <iproc+0x1c0>                        
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
a0003f04:	e5d52044 	ldrb	r2, [r5, #68]	; 0x44                         
a0003f08:	e1520004 	cmp	r2, r4                                        
a0003f0c:	0a000026 	beq	a0003fac <iproc+0x170>                        
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
a0003f10:	e5d52045 	ldrb	r2, [r5, #69]	; 0x45                         
a0003f14:	e1520004 	cmp	r2, r4                                        
a0003f18:	0a000035 	beq	a0003ff4 <iproc+0x1b8>                        
      return 1;                                                       
    } else if (c == '\n') {                                           
a0003f1c:	e354000a 	cmp	r4, #10                                       
a0003f20:	0a000026 	beq	a0003fc0 <iproc+0x184>                        
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
a0003f24:	e5d5204c 	ldrb	r2, [r5, #76]	; 0x4c                         
a0003f28:	e1520004 	cmp	r2, r4                                        
a0003f2c:	0a000002 	beq	a0003f3c <iproc+0x100>                        
a0003f30:	e5d52051 	ldrb	r2, [r5, #81]	; 0x51                         
a0003f34:	e1520004 	cmp	r2, r4                                        
a0003f38:	1affffd5 	bne	a0003e94 <iproc+0x58>                         
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
a0003f3c:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
a0003f40:	1a000015 	bne	a0003f9c <iproc+0x160>                        <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
a0003f44:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a0003f48:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
      return 1;                                                       
a0003f4c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
a0003f50:	e0832000 	add	r2, r3, r0                                    <== NOT EXECUTED
a0003f54:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a0003f58:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      return 1;                                                       
a0003f5c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
a0003f60:	e3130040 	tst	r3, #64	; 0x40                                
a0003f64:	13a0400d 	movne	r4, #13                                     
a0003f68:	eaffffdf 	b	a0003eec <iproc+0xb0>                           
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
a0003f6c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0003f70:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
a0003f74:	e1a00004 	mov	r0, r4                                        
a0003f78:	e1a01005 	mov	r1, r5                                        
a0003f7c:	ebffff05 	bl	a0003b98 <echo>                                
a0003f80:	e5953020 	ldr	r3, [r5, #32]                                 
    tty->cbuf[tty->ccount++] = c;                                     
a0003f84:	e595101c 	ldr	r1, [r5, #28]                                 
  }                                                                   
  return 0;                                                           
a0003f88:	e3a00000 	mov	r0, #0                                        
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
a0003f8c:	e2832001 	add	r2, r3, #1                                    
a0003f90:	e7c14003 	strb	r4, [r1, r3]                                 
a0003f94:	e5852020 	str	r2, [r5, #32]                                 
a0003f98:	e8bd8030 	pop	{r4, r5, pc}                                  
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
a0003f9c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003fa0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003fa4:	ebfffefb 	bl	a0003b98 <echo>                                <== NOT EXECUTED
a0003fa8:	eaffffe5 	b	a0003f44 <iproc+0x108>                          <== NOT EXECUTED
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
a0003fac:	e1a00005 	mov	r0, r5                                        
a0003fb0:	e3a01001 	mov	r1, #1                                        
a0003fb4:	ebffff1c 	bl	a0003c2c <erase>                               
      return 0;                                                       
a0003fb8:	e3a00000 	mov	r0, #0                                        
a0003fbc:	e8bd8030 	pop	{r4, r5, pc}                                  
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
a0003fc0:	e3130048 	tst	r3, #72	; 0x48                                
a0003fc4:	0a000002 	beq	a0003fd4 <iproc+0x198>                        
        echo (c, tty);                                                
a0003fc8:	e1a00004 	mov	r0, r4                                        
a0003fcc:	e1a01005 	mov	r1, r5                                        
a0003fd0:	ebfffef0 	bl	a0003b98 <echo>                                
      tty->cbuf[tty->ccount++] = c;                                   
a0003fd4:	e5953020 	ldr	r3, [r5, #32]                                 
a0003fd8:	e595101c 	ldr	r1, [r5, #28]                                 
a0003fdc:	e3a0000a 	mov	r0, #10                                       
a0003fe0:	e2832001 	add	r2, r3, #1                                    
a0003fe4:	e7c10003 	strb	r0, [r1, r3]                                 
      return 1;                                                       
a0003fe8:	e3a00001 	mov	r0, #1                                        
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
a0003fec:	e5852020 	str	r2, [r5, #32]                                 
      return 1;                                                       
a0003ff0:	e8bd8030 	pop	{r4, r5, pc}                                  
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
a0003ff4:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0003ff8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
a0003ffc:	e1a00005 	mov	r0, r5                                        
a0004000:	e3a01000 	mov	r1, #0                                        
a0004004:	ebffff08 	bl	a0003c2c <erase>                               
      return 0;                                                       
a0004008:	e3a00000 	mov	r0, #0                                        
a000400c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a0021a7c <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
a0021a7c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0021a80:	e24dd00c 	sub	sp, sp, #12                                   
a0021a84:	e1a04000 	mov	r4, r0                                        
a0021a88:	e1a05001 	mov	r5, r1                                        
a0021a8c:	e1a07002 	mov	r7, r2                                        
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
a0021a90:	ebffff37 	bl	a0021774 <getpid>                              
a0021a94:	e1500004 	cmp	r0, r4                                        
a0021a98:	1a000094 	bne	a0021cf0 <killinfo+0x274>                     
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
a0021a9c:	e3550000 	cmp	r5, #0                                        
a0021aa0:	0a000097 	beq	a0021d04 <killinfo+0x288>                     
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
a0021aa4:	e2454001 	sub	r4, r5, #1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
a0021aa8:	e354001f 	cmp	r4, #31                                       
a0021aac:	8a000094 	bhi	a0021d04 <killinfo+0x288>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
a0021ab0:	e59f6278 	ldr	r6, [pc, #632]	; a0021d30 <killinfo+0x2b4>    
a0021ab4:	e3a0300c 	mov	r3, #12                                       
a0021ab8:	e0236395 	mla	r3, r5, r3, r6                                
a0021abc:	e5933008 	ldr	r3, [r3, #8]                                  
a0021ac0:	e3530001 	cmp	r3, #1                                        
    return 0;                                                         
a0021ac4:	03a00000 	moveq	r0, #0                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
a0021ac8:	0a000039 	beq	a0021bb4 <killinfo+0x138>                     
  /*                                                                  
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
a0021acc:	e3550008 	cmp	r5, #8                                        
a0021ad0:	13550004 	cmpne	r5, #4                                      
a0021ad4:	0a000038 	beq	a0021bbc <killinfo+0x140>                     
a0021ad8:	e355000b 	cmp	r5, #11                                       
a0021adc:	0a000036 	beq	a0021bbc <killinfo+0x140>                     
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
a0021ae0:	e3a03001 	mov	r3, #1                                        
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
a0021ae4:	e3570000 	cmp	r7, #0                                        
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
a0021ae8:	e58d3004 	str	r3, [sp, #4]                                  
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
a0021aec:	e58d5000 	str	r5, [sp]                                      
a0021af0:	e1a04413 	lsl	r4, r3, r4                                    
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
a0021af4:	15973000 	ldrne	r3, [r7]                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
a0021af8:	058d7008 	streq	r7, [sp, #8]                                
  } else {                                                            
    siginfo->si_value = *value;                                       
a0021afc:	158d3008 	strne	r3, [sp, #8]                                
a0021b00:	e59f322c 	ldr	r3, [pc, #556]	; a0021d34 <killinfo+0x2b8>    
a0021b04:	e5932000 	ldr	r2, [r3]                                      
a0021b08:	e2822001 	add	r2, r2, #1                                    
a0021b0c:	e5832000 	str	r2, [r3]                                      
                                                                      
  /*                                                                  
   *  Is the currently executing thread interested?  If so then it will
   *  get it an execute it as soon as the dispatcher executes.        
   */                                                                 
  the_thread = _Thread_Executing;                                     
a0021b10:	e59f3220 	ldr	r3, [pc, #544]	; a0021d38 <killinfo+0x2bc>    
a0021b14:	e5930004 	ldr	r0, [r3, #4]                                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
a0021b18:	e5903108 	ldr	r3, [r0, #264]	; 0x108                        
a0021b1c:	e59330cc 	ldr	r3, [r3, #204]	; 0xcc                         
a0021b20:	e1d43003 	bics	r3, r4, r3                                   
a0021b24:	1a000014 	bne	a0021b7c <killinfo+0x100>                     
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
a0021b28:	e59fc20c 	ldr	ip, [pc, #524]	; a0021d3c <killinfo+0x2c0>    
a0021b2c:	e49c3004 	ldr	r3, [ip], #4                                  
a0021b30:	e153000c 	cmp	r3, ip                                        
a0021b34:	0a000033 	beq	a0021c08 <killinfo+0x18c>                     
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a0021b38:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
a0021b3c:	e1a00003 	mov	r0, r3                                        
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
a0021b40:	e5931108 	ldr	r1, [r3, #264]	; 0x108                        
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a0021b44:	e1140002 	tst	r4, r2                                        
a0021b48:	0a000008 	beq	a0021b70 <killinfo+0xf4>                      
a0021b4c:	ea00000a 	b	a0021b7c <killinfo+0x100>                       
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
a0021b50:	e5933000 	ldr	r3, [r3]                                      
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
a0021b54:	e153000c 	cmp	r3, ip                                        
a0021b58:	0a00002a 	beq	a0021c08 <killinfo+0x18c>                     
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a0021b5c:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          <== NOT EXECUTED
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
a0021b60:	e5931108 	ldr	r1, [r3, #264]	; 0x108                        <== NOT EXECUTED
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
a0021b64:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a0021b68:	e1140002 	tst	r4, r2                                        <== NOT EXECUTED
a0021b6c:	1a000002 	bne	a0021b7c <killinfo+0x100>                     <== NOT EXECUTED
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
a0021b70:	e59120cc 	ldr	r2, [r1, #204]	; 0xcc                         
a0021b74:	e1d42002 	bics	r2, r4, r2                                   
a0021b78:	0afffff4 	beq	a0021b50 <killinfo+0xd4>                      
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
a0021b7c:	e1a01005 	mov	r1, r5                                        
a0021b80:	e1a0200d 	mov	r2, sp                                        
a0021b84:	eb00007b 	bl	a0021d78 <_POSIX_signals_Unblock_thread>       
a0021b88:	e3500000 	cmp	r0, #0                                        
a0021b8c:	1a000006 	bne	a0021bac <killinfo+0x130>                     
                                                                      
  /*                                                                  
   *  We may have woken up a thread but we definitely need to post the
   *  signal to the process wide information set.                     
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
a0021b90:	e1a00004 	mov	r0, r4                                        
a0021b94:	eb00006d 	bl	a0021d50 <_POSIX_signals_Set_process_signals>  
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
a0021b98:	e3a0300c 	mov	r3, #12                                       
a0021b9c:	e0050593 	mul	r5, r3, r5                                    
a0021ba0:	e7963005 	ldr	r3, [r6, r5]                                  
a0021ba4:	e3530002 	cmp	r3, #2                                        
a0021ba8:	0a000007 	beq	a0021bcc <killinfo+0x150>                     
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
a0021bac:	ebffac5f 	bl	a000cd30 <_Thread_Enable_dispatch>             
  return 0;                                                           
a0021bb0:	e3a00000 	mov	r0, #0                                        
}                                                                     
a0021bb4:	e28dd00c 	add	sp, sp, #12                                   
a0021bb8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
      return pthread_kill( pthread_self(), sig );                     
a0021bbc:	eb0000f3 	bl	a0021f90 <pthread_self>                        
a0021bc0:	e1a01005 	mov	r1, r5                                        
a0021bc4:	eb0000b8 	bl	a0021eac <pthread_kill>                        
a0021bc8:	eafffff9 	b	a0021bb4 <killinfo+0x138>                       
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
a0021bcc:	e59f016c 	ldr	r0, [pc, #364]	; a0021d40 <killinfo+0x2c4>    
a0021bd0:	ebffa653 	bl	a000b524 <_Chain_Get>                          
    if ( !psiginfo ) {                                                
a0021bd4:	e2501000 	subs	r1, r0, #0                                   
a0021bd8:	0a00004e 	beq	a0021d18 <killinfo+0x29c>                     
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
a0021bdc:	e28d3004 	add	r3, sp, #4                                    
a0021be0:	e4932004 	ldr	r2, [r3], #4                                  
a0021be4:	e59d0000 	ldr	r0, [sp]                                      
a0021be8:	e5933000 	ldr	r3, [r3]                                      
a0021bec:	e5810008 	str	r0, [r1, #8]                                  
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
a0021bf0:	e59f014c 	ldr	r0, [pc, #332]	; a0021d44 <killinfo+0x2c8>    
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
a0021bf4:	e581200c 	str	r2, [r1, #12]                                 
a0021bf8:	e5813010 	str	r3, [r1, #16]                                 
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
a0021bfc:	e0800005 	add	r0, r0, r5                                    
a0021c00:	ebffa634 	bl	a000b4d8 <_Chain_Append>                       
a0021c04:	eaffffe8 	b	a0021bac <killinfo+0x130>                       
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
a0021c08:	e59f3138 	ldr	r3, [pc, #312]	; a0021d48 <killinfo+0x2cc>    
a0021c0c:	e59fa138 	ldr	sl, [pc, #312]	; a0021d4c <killinfo+0x2d0>    
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
a0021c10:	e3a00000 	mov	r0, #0                                        
  interested_priority = PRIORITY_MAXIMUM + 1;                         
a0021c14:	e5d3e000 	ldrb	lr, [r3]                                     
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
a0021c18:	e28a9008 	add	r9, sl, #8                                    
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
a0021c1c:	e28ee001 	add	lr, lr, #1                                    
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
a0021c20:	e5ba3004 	ldr	r3, [sl, #4]!                                 
a0021c24:	e3530000 	cmp	r3, #0                                        
a0021c28:	0a000020 	beq	a0021cb0 <killinfo+0x234>                     
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
a0021c2c:	e5933004 	ldr	r3, [r3, #4]                                  
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
a0021c30:	e1d371b0 	ldrh	r7, [r3, #16]                                
    object_table = the_info->local_table;                             
a0021c34:	e593101c 	ldr	r1, [r3, #28]                                 
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
a0021c38:	e3570000 	cmp	r7, #0                                        
a0021c3c:	0a00001b 	beq	a0021cb0 <killinfo+0x234>                     
a0021c40:	e3a02001 	mov	r2, #1                                        
      the_thread = (Thread_Control *) object_table[ index ];          
a0021c44:	e5b13004 	ldr	r3, [r1, #4]!                                 
                                                                      
      if ( !the_thread )                                              
a0021c48:	e3530000 	cmp	r3, #0                                        
a0021c4c:	0a000014 	beq	a0021ca4 <killinfo+0x228>                     
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
a0021c50:	e593c014 	ldr	ip, [r3, #20]                                 
a0021c54:	e15c000e 	cmp	ip, lr                                        
a0021c58:	8a000011 	bhi	a0021ca4 <killinfo+0x228>                     
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
a0021c5c:	e5938108 	ldr	r8, [r3, #264]	; 0x108                        
a0021c60:	e59880cc 	ldr	r8, [r8, #204]	; 0xcc                         
a0021c64:	e1d48008 	bics	r8, r4, r8                                   
a0021c68:	0a00000d 	beq	a0021ca4 <killinfo+0x228>                     
       *                                                              
       *  NOTE: We initialized interested_priority to PRIORITY_MAXIMUM + 1
       *        so we never have to worry about deferencing a NULL    
       *        interested thread.                                    
       */                                                             
      if ( the_thread->current_priority < interested_priority ) {     
a0021c6c:	e15c000e 	cmp	ip, lr                                        
a0021c70:	3a000018 	bcc	a0021cd8 <killinfo+0x25c>                     
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
a0021c74:	e5908010 	ldr	r8, [r0, #16]                                 
a0021c78:	e3580000 	cmp	r8, #0                                        
a0021c7c:	0a000008 	beq	a0021ca4 <killinfo+0x228>                     
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
a0021c80:	e593b010 	ldr	fp, [r3, #16]                                 
a0021c84:	e35b0000 	cmp	fp, #0                                        
a0021c88:	0a000012 	beq	a0021cd8 <killinfo+0x25c>                     
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
a0021c8c:	e3180201 	tst	r8, #268435456	; 0x10000000                   
a0021c90:	1a000003 	bne	a0021ca4 <killinfo+0x228>                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_interruptible_by_signal (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_INTERRUPTIBLE_BY_SIGNAL);              
a0021c94:	e20bb201 	and	fp, fp, #268435456	; 0x10000000               
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
a0021c98:	e35b0000 	cmp	fp, #0                                        
a0021c9c:	11a0e00c 	movne	lr, ip                                      
a0021ca0:	11a00003 	movne	r0, r3                                      
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
a0021ca4:	e2822001 	add	r2, r2, #1                                    
a0021ca8:	e1570002 	cmp	r7, r2                                        
a0021cac:	2affffe4 	bcs	a0021c44 <killinfo+0x1c8>                     
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
a0021cb0:	e15a0009 	cmp	sl, r9                                        
a0021cb4:	1affffd9 	bne	a0021c20 <killinfo+0x1a4>                     
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
a0021cb8:	e3500000 	cmp	r0, #0                                        
a0021cbc:	0affffb3 	beq	a0021b90 <killinfo+0x114>                     
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
a0021cc0:	e1a01005 	mov	r1, r5                                        
a0021cc4:	e1a0200d 	mov	r2, sp                                        
a0021cc8:	eb00002a 	bl	a0021d78 <_POSIX_signals_Unblock_thread>       
a0021ccc:	e3500000 	cmp	r0, #0                                        
a0021cd0:	0affffae 	beq	a0021b90 <killinfo+0x114>                     
a0021cd4:	eaffffb4 	b	a0021bac <killinfo+0x130>                       <== NOT EXECUTED
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
a0021cd8:	e2822001 	add	r2, r2, #1                                    
a0021cdc:	e1570002 	cmp	r7, r2                                        
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
a0021ce0:	e1a0e00c 	mov	lr, ip                                        
a0021ce4:	e1a00003 	mov	r0, r3                                        
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
a0021ce8:	2affffd5 	bcs	a0021c44 <killinfo+0x1c8>                     
a0021cec:	eaffffef 	b	a0021cb0 <killinfo+0x234>                       
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
    rtems_set_errno_and_return_minus_one( ESRCH );                    
a0021cf0:	ebffc516 	bl	a0013150 <__errno>                             
a0021cf4:	e3a03003 	mov	r3, #3                                        
a0021cf8:	e5803000 	str	r3, [r0]                                      
a0021cfc:	e3e00000 	mvn	r0, #0                                        
a0021d00:	eaffffab 	b	a0021bb4 <killinfo+0x138>                       
   */                                                                 
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0021d04:	ebffc511 	bl	a0013150 <__errno>                             
a0021d08:	e3a03016 	mov	r3, #22                                       
a0021d0c:	e5803000 	str	r3, [r0]                                      
a0021d10:	e3e00000 	mvn	r0, #0                                        
a0021d14:	eaffffa6 	b	a0021bb4 <killinfo+0x138>                       
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
a0021d18:	ebffac04 	bl	a000cd30 <_Thread_Enable_dispatch>             
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
a0021d1c:	ebffc50b 	bl	a0013150 <__errno>                             
a0021d20:	e3a0300b 	mov	r3, #11                                       
a0021d24:	e5803000 	str	r3, [r0]                                      
a0021d28:	e3e00000 	mvn	r0, #0                                        
a0021d2c:	eaffffa0 	b	a0021bb4 <killinfo+0x138>                       
                                                                      

a00129b8 <libc_wrapup>: /* * In case RTEMS is already down, don't do this. It could be * dangerous. */ if (!_System_state_Is_up(_System_state_Get()))
a00129b8:	e59f3058 	ldr	r3, [pc, #88]	; a0012a18 <libc_wrapup+0x60>   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
a00129bc:	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()))                      
a00129c0:	e5933000 	ldr	r3, [r3]                                      
a00129c4:	e3530003 	cmp	r3, #3                                        
a00129c8:	0a000000 	beq	a00129d0 <libc_wrapup+0x18>                   
a00129cc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
a00129d0:	e59f4044 	ldr	r4, [pc, #68]	; a0012a1c <libc_wrapup+0x64>   
a00129d4:	e59f2044 	ldr	r2, [pc, #68]	; a0012a20 <libc_wrapup+0x68>   
a00129d8:	e5943000 	ldr	r3, [r4]                                      
a00129dc:	e5925000 	ldr	r5, [r2]                                      
a00129e0:	e1530005 	cmp	r3, r5                                        
a00129e4:	0a000002 	beq	a00129f4 <libc_wrapup+0x3c>                   
      _wrapup_reent(_global_impure_ptr);                              
a00129e8:	e1a00005 	mov	r0, r5                                        
a00129ec:	eb0001b8 	bl	a00130d4 <_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;                                    
a00129f0:	e5845000 	str	r5, [r4]                                      
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
a00129f4:	e5950004 	ldr	r0, [r5, #4]                                  
a00129f8:	ebffec5e 	bl	a000db78 <fclose>                              
  fclose (stdout);                                                    
a00129fc:	e5943000 	ldr	r3, [r4]                                      
a0012a00:	e5930008 	ldr	r0, [r3, #8]                                  
a0012a04:	ebffec5b 	bl	a000db78 <fclose>                              
  fclose (stderr);                                                    
a0012a08:	e5943000 	ldr	r3, [r4]                                      
a0012a0c:	e593000c 	ldr	r0, [r3, #12]                                 
}                                                                     
a0012a10:	e8bd4030 	pop	{r4, r5, lr}                                  
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
a0012a14:	eaffec57 	b	a000db78 <fclose>                               
                                                                      

a000228c <malloc>: size_t size ) { void *return_this; MSBUMP(malloc_calls, 1);
a000228c:	e59f30d8 	ldr	r3, [pc, #216]	; a000236c <malloc+0xe0>       
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
a0002290:	e92d4030 	push	{r4, r5, lr}                                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
a0002294:	e5932004 	ldr	r2, [r3, #4]                                  
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
a0002298:	e1a04000 	mov	r4, r0                                        
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
a000229c:	e2822001 	add	r2, r2, #1                                    
a00022a0:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a00022a4:	ebffffaf 	bl	a0002168 <malloc_deferred_frees_process>       
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
a00022a8:	e3540000 	cmp	r4, #0                                        
    return (void *) 0;                                                
a00022ac:	01a05004 	moveq	r5, r4                                      
  malloc_deferred_frees_process();                                    
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
a00022b0:	0a000019 	beq	a000231c <malloc+0x90>                        
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a00022b4:	e59f30b4 	ldr	r3, [pc, #180]	; a0002370 <malloc+0xe4>       
a00022b8:	e5933000 	ldr	r3, [r3]                                      
a00022bc:	e3530003 	cmp	r3, #3                                        
a00022c0:	0a000025 	beq	a000235c <malloc+0xd0>                        
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
a00022c4:	e59f30a8 	ldr	r3, [pc, #168]	; a0002374 <malloc+0xe8>       
a00022c8:	e3a02000 	mov	r2, #0                                        
a00022cc:	e1a01004 	mov	r1, r4                                        
a00022d0:	e5930000 	ldr	r0, [r3]                                      
a00022d4:	e1a03002 	mov	r3, r2                                        
a00022d8:	eb001379 	bl	a00070c4 <_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 ) {                                               
a00022dc:	e2505000 	subs	r5, r0, #0                                   
a00022e0:	0a00000f 	beq	a0002324 <malloc+0x98>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
a00022e4:	e59f308c 	ldr	r3, [pc, #140]	; a0002378 <malloc+0xec>       
a00022e8:	e5933000 	ldr	r3, [r3]                                      
a00022ec:	e3530000 	cmp	r3, #0                                        
a00022f0:	0a000002 	beq	a0002300 <malloc+0x74>                        
    (*rtems_malloc_dirty_helper)( return_this, size );                
a00022f4:	e1a00005 	mov	r0, r5                                        
a00022f8:	e1a01004 	mov	r1, r4                                        
a00022fc:	e12fff33 	blx	r3                                            
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0002300:	e59f3074 	ldr	r3, [pc, #116]	; a000237c <malloc+0xf0>       
a0002304:	e5933000 	ldr	r3, [r3]                                      
a0002308:	e3530000 	cmp	r3, #0                                        
a000230c:	0a000002 	beq	a000231c <malloc+0x90>                        
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
a0002310:	e5933004 	ldr	r3, [r3, #4]                                  
a0002314:	e1a00005 	mov	r0, r5                                        
a0002318:	e12fff33 	blx	r3                                            
                                                                      
  return return_this;                                                 
}                                                                     
a000231c:	e1a00005 	mov	r0, r5                                        
a0002320:	e8bd8030 	pop	{r4, r5, pc}                                  
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
a0002324:	e59f3054 	ldr	r3, [pc, #84]	; a0002380 <malloc+0xf4>        
a0002328:	e5933000 	ldr	r3, [r3]                                      
a000232c:	e3530000 	cmp	r3, #0                                        
a0002330:	0a000005 	beq	a000234c <malloc+0xc0>                        
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
a0002334:	e5933004 	ldr	r3, [r3, #4]                                  
a0002338:	e1a00004 	mov	r0, r4                                        
a000233c:	e12fff33 	blx	r3                                            
    if ( !return_this ) {                                             
a0002340:	e3500000 	cmp	r0, #0                                        
a0002344:	11a05000 	movne	r5, r0                                      
a0002348:	1affffe5 	bne	a00022e4 <malloc+0x58>                        
      errno = ENOMEM;                                                 
a000234c:	eb002dbb 	bl	a000da40 <__errno>                             
a0002350:	e3a0300c 	mov	r3, #12                                       
a0002354:	e5803000 	str	r3, [r0]                                      
      return (void *) 0;                                              
a0002358:	eaffffef 	b	a000231c <malloc+0x90>                          
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
a000235c:	ebffff6d 	bl	a0002118 <malloc_is_system_state_OK>           
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0002360:	e2505000 	subs	r5, r0, #0                                   
a0002364:	1affffd6 	bne	a00022c4 <malloc+0x38>                        
a0002368:	eaffffeb 	b	a000231c <malloc+0x90>                          <== NOT EXECUTED
                                                                      

a0002638 <malloc_sbrk_extend_and_allocate>: * Round to the "requested sbrk amount" so hopefully we won't have * to grow again for a while. This effectively does sbrk() calls * in "page" amounts. */ sbrk_amount = RTEMS_Malloc_Sbrk_amount;
a0002638:	e59f30a0 	ldr	r3, [pc, #160]	; a00026e0 <malloc_sbrk_extend_and_allocate+0xa8>
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
a000263c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
   *  Round to the "requested sbrk amount" so hopefully we won't have 
   *  to grow again for a while.  This effectively does sbrk() calls  
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
a0002640:	e5934000 	ldr	r4, [r3]                                      
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
a0002644:	e1a06000 	mov	r6, r0                                        
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
a0002648:	e3540000 	cmp	r4, #0                                        
a000264c:	1a000001 	bne	a0002658 <malloc_sbrk_extend_and_allocate+0x20>
    return (void *) 0;                                                
a0002650:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002654:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
a0002658:	e1a01004 	mov	r1, r4                                        
a000265c:	e0800004 	add	r0, r0, r4                                    
a0002660:	eb003bf4 	bl	a0011638 <__aeabi_uidiv>                       
a0002664:	e0040490 	mul	r4, r0, r4                                    
                                                                      
  starting_address = (void *) sbrk(the_size);                         
a0002668:	e1a00004 	mov	r0, r4                                        
a000266c:	ebfff7b4 	bl	a0000544 <sbrk>                                
  if ( starting_address == (void*) -1 )                               
a0002670:	e3700001 	cmn	r0, #1                                        
a0002674:	0a000010 	beq	a00026bc <malloc_sbrk_extend_and_allocate+0x84>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
a0002678:	e59f5064 	ldr	r5, [pc, #100]	; a00026e4 <malloc_sbrk_extend_and_allocate+0xac>
a000267c:	e1a01000 	mov	r1, r0                                        
a0002680:	e1a02004 	mov	r2, r4                                        
a0002684:	e5950000 	ldr	r0, [r5]                                      
a0002688:	eb001351 	bl	a00073d4 <_Protected_heap_Extend>              
a000268c:	e2507000 	subs	r7, r0, #0                                   
a0002690:	0a00000b 	beq	a00026c4 <malloc_sbrk_extend_and_allocate+0x8c>
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
a0002694:	e59fc04c 	ldr	ip, [pc, #76]	; a00026e8 <malloc_sbrk_extend_and_allocate+0xb0>
a0002698:	e5950000 	ldr	r0, [r5]                                      
a000269c:	e3a02000 	mov	r2, #0                                        
a00026a0:	e59c5000 	ldr	r5, [ip]                                      
a00026a4:	e1a01006 	mov	r1, r6                                        
a00026a8:	e1a03002 	mov	r3, r2                                        
a00026ac:	e0844005 	add	r4, r4, r5                                    
a00026b0:	e58c4000 	str	r4, [ip]                                      
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
a00026b4:	e8bd40f0 	pop	{r4, r5, r6, r7, lr}                          
a00026b8:	ea001332 	b	a0007388 <_Protected_heap_Allocate_aligned_with_boundary>
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
                                                                      
  starting_address = (void *) sbrk(the_size);                         
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
a00026bc:	e3a00000 	mov	r0, #0                                        
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
a00026c0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
a00026c4:	e2640000 	rsb	r0, r4, #0                                    
a00026c8:	ebfff79d 	bl	a0000544 <sbrk>                                
    errno = ENOMEM;                                                   
a00026cc:	eb002e55 	bl	a000e028 <__errno>                             
a00026d0:	e3a0300c 	mov	r3, #12                                       
a00026d4:	e5803000 	str	r3, [r0]                                      
    return (void *) 0;                                                
a00026d8:	e1a00007 	mov	r0, r7                                        
a00026dc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a000c9a8 <memfile_ftruncate>: int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
a000c9a8:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a000c9ac:	e5904018 	ldr	r4, [r0, #24]                                 
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
a000c9b0:	e1a03000 	mov	r3, r0                                        
a000c9b4:	e24dd008 	sub	sp, sp, #8                                    
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
a000c9b8:	e5940054 	ldr	r0, [r4, #84]	; 0x54                          
a000c9bc:	e1500002 	cmp	r0, r2                                        
a000c9c0:	ba00000e 	blt	a000ca00 <memfile_ftruncate+0x58>             
a000c9c4:	0a00000a 	beq	a000c9f4 <memfile_ftruncate+0x4c>             
   *  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;                                 
a000c9c8:	e5841050 	str	r1, [r4, #80]	; 0x50                          
a000c9cc:	e5842054 	str	r2, [r4, #84]	; 0x54                          
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000c9d0:	e1a0000d 	mov	r0, sp                                        
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
                                                                      
  the_jnode->info.file.size = length;                                 
  iop->size = the_jnode->info.file.size;                              
a000c9d4:	e9830006 	stmib	r3, {r1, r2}                                
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000c9d8:	e3a01000 	mov	r1, #0                                        
a000c9dc:	ebffd578 	bl	a0001fc4 <gettimeofday>                        
a000c9e0:	e59d3000 	ldr	r3, [sp]                                      
                                                                      
  return 0;                                                           
a000c9e4:	e3a00000 	mov	r0, #0                                        
   */                                                                 
                                                                      
  the_jnode->info.file.size = length;                                 
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000c9e8:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return 0;                                                           
}                                                                     
a000c9ec:	e28dd008 	add	sp, sp, #8                                    
a000c9f0:	e8bd8010 	pop	{r4, pc}                                      
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
a000c9f4:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          
a000c9f8:	e1500001 	cmp	r0, r1                                        
a000c9fc:	2afffff1 	bcs	a000c9c8 <memfile_ftruncate+0x20>             
    return IMFS_memfile_extend( the_jnode, length );                  
a000ca00:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ca04:	ebfffeea 	bl	a000c5b4 <IMFS_memfile_extend>                 <== NOT EXECUTED
a000ca08:	eafffff7 	b	a000c9ec <memfile_ftruncate+0x44>               <== NOT EXECUTED
                                                                      

a000ca0c <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
a000ca0c:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a000ca10:	e5905018 	ldr	r5, [r0, #24]                                 
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
a000ca14:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000ca18:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a000ca1c:	e3530006 	cmp	r3, #6                                        
a000ca20:	0a00000d 	beq	a000ca5c <memfile_lseek+0x50>                 
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
a000ca24:	e1a00005 	mov	r0, r5                                        
a000ca28:	e284200c 	add	r2, r4, #12                                   
a000ca2c:	e8920006 	ldm	r2, {r1, r2}                                  
a000ca30:	ebfffedf 	bl	a000c5b4 <IMFS_memfile_extend>                 
a000ca34:	e3500000 	cmp	r0, #0                                        
a000ca38:	1a000018 	bne	a000caa0 <memfile_lseek+0x94>                 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
a000ca3c:	e2853050 	add	r3, r5, #80	; 0x50                            
a000ca40:	e893000c 	ldm	r3, {r2, r3}                                  
a000ca44:	e984000c 	stmib	r4, {r2, r3}                                
a000ca48:	e284300c 	add	r3, r4, #12                                   
a000ca4c:	e893000c 	ldm	r3, {r2, r3}                                  
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a000ca50:	e1a00002 	mov	r0, r2                                        
a000ca54:	e1a01003 	mov	r1, r3                                        
a000ca58:	e8bd8030 	pop	{r4, r5, pc}                                  
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
a000ca5c:	e5951054 	ldr	r1, [r5, #84]	; 0x54                          
a000ca60:	e280300c 	add	r3, r0, #12                                   
a000ca64:	e893000c 	ldm	r3, {r2, r3}                                  
a000ca68:	e5950050 	ldr	r0, [r5, #80]	; 0x50                          
a000ca6c:	e1530001 	cmp	r3, r1                                        
a000ca70:	ca000002 	bgt	a000ca80 <memfile_lseek+0x74>                 
a000ca74:	1afffff5 	bne	a000ca50 <memfile_lseek+0x44>                 
a000ca78:	e1520000 	cmp	r2, r0                                        
a000ca7c:	9afffff3 	bls	a000ca50 <memfile_lseek+0x44>                 
      iop->offset = the_jnode->info.linearfile.size;                  
a000ca80:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a000ca84:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
a000ca88:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a000ca8c:	e584000c 	str	r0, [r4, #12]                                 <== NOT EXECUTED
a000ca90:	e5841010 	str	r1, [r4, #16]                                 <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a000ca94:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a000ca98:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a000ca9c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a000caa0:	eb0003e6 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a000caa4:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000caa8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000caac:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a000cab0:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a000cab4:	eaffffe5 	b	a000ca50 <memfile_lseek+0x44>                   <== NOT EXECUTED
                                                                      

a000c8f8 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
a000c8f8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000c8fc:	e1a04000 	mov	r4, r0                                        
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a000c900:	e5900014 	ldr	r0, [r0, #20]                                 
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000c904:	e24dd004 	sub	sp, sp, #4                                    
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a000c908:	e5945018 	ldr	r5, [r4, #24]                                 
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a000c90c:	e3100f81 	tst	r0, #516	; 0x204                              
a000c910:	0a000002 	beq	a000c920 <memfile_open+0x28>                  
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
a000c914:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a000c918:	e3530006 	cmp	r3, #6                                        
a000c91c:	0a00000c 	beq	a000c954 <memfile_open+0x5c>                  
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
a000c920:	e3100c02 	tst	r0, #512	; 0x200                              
a000c924:	1a000005 	bne	a000c940 <memfile_open+0x48>                  
a000c928:	e2853050 	add	r3, r5, #80	; 0x50                            
a000c92c:	e893000c 	ldm	r3, {r2, r3}                                  
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
a000c930:	e984000c 	stmib	r4, {r2, r3}                                
  return 0;                                                           
a000c934:	e3a00000 	mov	r0, #0                                        
}                                                                     
a000c938:	e28dd004 	add	sp, sp, #4                                    
a000c93c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
a000c940:	e2853050 	add	r3, r5, #80	; 0x50                            
a000c944:	e893000c 	ldm	r3, {r2, r3}                                  
a000c948:	e584200c 	str	r2, [r4, #12]                                 
a000c94c:	e5843010 	str	r3, [r4, #16]                                 
a000c950:	eafffff6 	b	a000c930 <memfile_open+0x38>                    
  /*                                                                  
   * 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;               
a000c954:	e595c050 	ldr	ip, [r5, #80]	; 0x50                          <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
a000c958:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
   && (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;                               
    the_jnode->info.file.size            = 0;                         
a000c95c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000c960:	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;                               
a000c964:	e3a07005 	mov	r7, #5                                        <== 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;                         
    if ((count != 0)                                                  
a000c968:	e15c0006 	cmp	ip, r6                                        <== 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;  
a000c96c:	e5953058 	ldr	r3, [r5, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
a000c970:	e585704c 	str	r7, [r5, #76]	; 0x4c                          <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
a000c974:	e5851050 	str	r1, [r5, #80]	; 0x50                          <== NOT EXECUTED
a000c978:	e5852054 	str	r2, [r5, #84]	; 0x54                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
a000c97c:	e5856058 	str	r6, [r5, #88]	; 0x58                          <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
a000c980:	e585605c 	str	r6, [r5, #92]	; 0x5c                          <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
a000c984:	e5856060 	str	r6, [r5, #96]	; 0x60                          <== NOT EXECUTED
    if ((count != 0)                                                  
a000c988:	0affffe4 	beq	a000c920 <memfile_open+0x28>                  <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
a000c98c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000c990:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000c994:	ebffff53 	bl	a000c6e8 <IMFS_memfile_write>                  <== NOT EXECUTED
a000c998:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
a000c99c:	0affffe5 	beq	a000c938 <memfile_open+0x40>                  <== NOT EXECUTED
a000c9a0:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a000c9a4:	eaffffdd 	b	a000c920 <memfile_open+0x28>                    <== NOT EXECUTED
                                                                      

a0002394 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
a0002394:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  rtems_filesystem_location_info_t    temp_loc;                       
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
a0002398:	e3110a0f 	tst	r1, #61440	; 0xf000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
a000239c:	e24dd020 	sub	sp, sp, #32                                   
a00023a0:	e1a04001 	mov	r4, r1                                        
a00023a4:	e1a06000 	mov	r6, r0                                        
a00023a8:	e1a07002 	mov	r7, r2                                        
a00023ac:	e1a08003 	mov	r8, r3                                        
  rtems_filesystem_location_info_t    temp_loc;                       
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
a00023b0:	1a000006 	bne	a00023d0 <mknod+0x3c>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00023b4:	eb002da1 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a00023b8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00023bc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00023c0:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
a00023c4:	e1a00004 	mov	r0, r4                                        
a00023c8:	e28dd020 	add	sp, sp, #32                                   
a00023cc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
a00023d0:	e28d5004 	add	r5, sp, #4                                    
a00023d4:	e1a02005 	mov	r2, r5                                        
a00023d8:	e28d101c 	add	r1, sp, #28                                   
a00023dc:	eb000263 	bl	a0002d70 <rtems_filesystem_get_start_loc>      
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
a00023e0:	e59d3010 	ldr	r3, [sp, #16]                                 
a00023e4:	e59d001c 	ldr	r0, [sp, #28]                                 
a00023e8:	e1a01005 	mov	r1, r5                                        
a00023ec:	e5933004 	ldr	r3, [r3, #4]                                  
a00023f0:	e0860000 	add	r0, r6, r0                                    
a00023f4:	e28d2018 	add	r2, sp, #24                                   
a00023f8:	e12fff33 	blx	r3                                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
a00023fc:	e3500000 	cmp	r0, #0                                        
    return -1;                                                        
a0002400:	13e04000 	mvnne	r4, #0                                      
  result = (*temp_loc.ops->evalformake_h)(                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
a0002404:	1affffee 	bne	a00023c4 <mknod+0x30>                         
    return -1;                                                        
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
a0002408:	e59d3010 	ldr	r3, [sp, #16]                                 
a000240c:	e58d5000 	str	r5, [sp]                                      
a0002410:	e1a01004 	mov	r1, r4                                        
a0002414:	e593c014 	ldr	ip, [r3, #20]                                 
a0002418:	e59d0018 	ldr	r0, [sp, #24]                                 
a000241c:	e1a02007 	mov	r2, r7                                        
a0002420:	e1a03008 	mov	r3, r8                                        
a0002424:	e12fff3c 	blx	ip                                            
a0002428:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a000242c:	e1a00005 	mov	r0, r5                                        
a0002430:	ebfffea9 	bl	a0001edc <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
a0002434:	eaffffe2 	b	a00023c4 <mknod+0x30>                           
                                                                      

a00024c0 <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
a00024c0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a00024c4:	e3530001 	cmp	r3, #1                                        
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
a00024c8:	e24dd028 	sub	sp, sp, #40	; 0x28                            
a00024cc:	e58d3004 	str	r3, [sp, #4]                                  
a00024d0:	e1a08000 	mov	r8, r0                                        
a00024d4:	e1a06001 	mov	r6, r1                                        
a00024d8:	e1a0a002 	mov	sl, r2                                        
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a00024dc:	8a000091 	bhi	a0002728 <mount+0x268>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
a00024e0:	e1a00002 	mov	r0, r2                                        
a00024e4:	eb001fc8 	bl	a000a40c <rtems_filesystem_get_mount_handler>  
  if ( !mount_h )                                                     
a00024e8:	e3500000 	cmp	r0, #0                                        
a00024ec:	e58d000c 	str	r0, [sp, #12]                                 
a00024f0:	0a00008c 	beq	a0002728 <mount+0x268>                        
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
  bool has_target = target != NULL;                                   
a00024f4:	e2565000 	subs	r5, r6, #0                                   
a00024f8:	13a05001 	movne	r5, #1                                      
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
a00024fc:	e3550000 	cmp	r5, #0                                        
a0002500:	0a000083 	beq	a0002714 <mount+0x254>                        
 * 	4) The mount point exists with the proper permissions to allow mounting
 *	5) The selected mount point already has a file system mounted to it
 *                                                                    
 */                                                                   
                                                                      
int mount(                                                            
a0002504:	e1a00006 	mov	r0, r6                                        
a0002508:	eb00313c 	bl	a000ea00 <strlen>                              
a000250c:	e58d6010 	str	r6, [sp, #16]                                 
a0002510:	e58d0008 	str	r0, [sp, #8]                                  
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
a0002514:	e1a0000a 	mov	r0, sl                                        
a0002518:	eb003138 	bl	a000ea00 <strlen>                              
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
a000251c:	e3580000 	cmp	r8, #0                                        
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
a0002520:	e280b001 	add	fp, r0, #1                                    
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
a0002524:	01a09008 	moveq	r9, r8                                      
a0002528:	0a000002 	beq	a0002538 <mount+0x78>                         
a000252c:	e1a00008 	mov	r0, r8                                        
a0002530:	eb003132 	bl	a000ea00 <strlen>                              
a0002534:	e2809001 	add	r9, r0, #1                                    
  size_t target_length = strlen( target );                            
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
a0002538:	e59d3008 	ldr	r3, [sp, #8]                                  
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
a000253c:	e3a00001 	mov	r0, #1                                        
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_length = strlen( target );                            
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
a0002540:	e2831075 	add	r1, r3, #117	; 0x75                           
a0002544:	e081100b 	add	r1, r1, fp                                    
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
a0002548:	e0811009 	add	r1, r1, r9                                    
a000254c:	ebfffdda 	bl	a0001cbc <calloc>                              
                                                                      
  if ( mt_entry != NULL ) {                                           
a0002550:	e2504000 	subs	r4, r0, #0                                   
a0002554:	0a000069 	beq	a0002700 <mount+0x240>                        
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
a0002558:	e2847074 	add	r7, r4, #116	; 0x74                           
                                                                      
    strcpy( str, filesystemtype );                                    
a000255c:	e1a00007 	mov	r0, r7                                        
a0002560:	e1a0100a 	mov	r1, sl                                        
a0002564:	eb0030d5 	bl	a000e8c0 <strcpy>                              
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    if ( source_or_null != NULL ) {                                   
a0002568:	e3580000 	cmp	r8, #0                                        
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
    mt_entry->type = str;                                             
a000256c:	e584706c 	str	r7, [r4, #108]	; 0x6c                         
    str += filesystemtype_size;                                       
a0002570:	e087700b 	add	r7, r7, fp                                    
                                                                      
    if ( source_or_null != NULL ) {                                   
a0002574:	0a000004 	beq	a000258c <mount+0xcc>                         
      strcpy( str, source_or_null );                                  
a0002578:	e1a00007 	mov	r0, r7                                        
a000257c:	e1a01008 	mov	r1, r8                                        
a0002580:	eb0030ce 	bl	a000e8c0 <strcpy>                              
      mt_entry->dev = str;                                            
a0002584:	e5847070 	str	r7, [r4, #112]	; 0x70                         
      str += source_size;                                             
a0002588:	e0877009 	add	r7, r7, r9                                    
    }                                                                 
                                                                      
    strcpy( str, target );                                            
a000258c:	e59d1010 	ldr	r1, [sp, #16]                                 
a0002590:	e1a00007 	mov	r0, r7                                        
a0002594:	eb0030c9 	bl	a000e8c0 <strcpy>                              
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
a0002598:	e59fe200 	ldr	lr, [pc, #512]	; a00027a0 <mount+0x2e0>       
a000259c:	e284c038 	add	ip, r4, #56	; 0x38                            
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
a00025a0:	e3550000 	cmp	r5, #0                                        
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
a00025a4:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00025a8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00025ac:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00025b0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00025b4:	e89e000f 	ldm	lr, {r0, r1, r2, r3}                          
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
a00025b8:	e59de004 	ldr	lr, [sp, #4]                                  
      mt_entry->dev = str;                                            
      str += source_size;                                             
    }                                                                 
                                                                      
    strcpy( str, target );                                            
    mt_entry->target = str;                                           
a00025bc:	e5847068 	str	r7, [r4, #104]	; 0x68                         
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
a00025c0:	e584402c 	str	r4, [r4, #44]	; 0x2c                          
  mt_entry->options = options;                                        
a00025c4:	e584e030 	str	lr, [r4, #48]	; 0x30                          
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
a00025c8:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
a00025cc:	1a000023 	bne	a0002660 <mount+0x1a0>                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a00025d0:	e59f31cc 	ldr	r3, [pc, #460]	; a00027a4 <mount+0x2e4>       
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
a00025d4:	e5932000 	ldr	r2, [r3]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a00025d8:	e2833004 	add	r3, r3, #4                                    
a00025dc:	e1520003 	cmp	r2, r3                                        
)                                                                     
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
a00025e0:	01a07005 	moveq	r7, r5                                      
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
a00025e4:	1a000054 	bne	a000273c <mount+0x27c>                        
     *  mt_point_node.node_access will be left to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
  }                                                                   
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
a00025e8:	e1a00004 	mov	r0, r4                                        
a00025ec:	e59d104c 	ldr	r1, [sp, #76]	; 0x4c                          
a00025f0:	e59d300c 	ldr	r3, [sp, #12]                                 
a00025f4:	e12fff33 	blx	r3                                            
a00025f8:	e2506000 	subs	r6, r0, #0                                   
a00025fc:	1a000055 	bne	a0002758 <mount+0x298>                        
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a0002600:	e59f71a0 	ldr	r7, [pc, #416]	; a00027a8 <mount+0x2e8>       
a0002604:	e1a02006 	mov	r2, r6                                        
a0002608:	e1a01006 	mov	r1, r6                                        
a000260c:	e5970000 	ldr	r0, [r7]                                      
a0002610:	eb000bd6 	bl	a0005570 <rtems_semaphore_obtain>              
a0002614:	e59f0188 	ldr	r0, [pc, #392]	; a00027a4 <mount+0x2e4>       
a0002618:	e1a01004 	mov	r1, r4                                        
a000261c:	eb000e41 	bl	a0005f28 <_Chain_Append>                       
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a0002620:	e5970000 	ldr	r0, [r7]                                      
a0002624:	eb000c1a 	bl	a0005694 <rtems_semaphore_release>             
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
a0002628:	e3550000 	cmp	r5, #0                                        
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
a000262c:	11a05006 	movne	r5, r6                                      
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
a0002630:	1a000007 	bne	a0002654 <mount+0x194>                        
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
a0002634:	e59fc170 	ldr	ip, [pc, #368]	; a00027ac <mount+0x2ec>       
a0002638:	e284401c 	add	r4, r4, #28                                   
a000263c:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0002640:	e59cc000 	ldr	ip, [ip]                                      
a0002644:	e5944000 	ldr	r4, [r4]                                      
a0002648:	e28cc018 	add	ip, ip, #24                                   
a000264c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0002650:	e58c4000 	str	r4, [ip]                                      
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
a0002654:	e1a00005 	mov	r0, r5                                        
a0002658:	e28dd028 	add	sp, sp, #40	; 0x28                            
a000265c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
a0002660:	e28d7014 	add	r7, sp, #20                                   
a0002664:	e3a0c001 	mov	ip, #1                                        
a0002668:	e1a00006 	mov	r0, r6                                        
a000266c:	e59d1008 	ldr	r1, [sp, #8]                                  
a0002670:	e3a02007 	mov	r2, #7                                        
a0002674:	e1a03007 	mov	r3, r7                                        
a0002678:	e58dc000 	str	ip, [sp]                                      
a000267c:	ebfffdcb 	bl	a0001db0 <rtems_filesystem_evaluate_path>      
a0002680:	e3700001 	cmn	r0, #1                                        
a0002684:	0a00002f 	beq	a0002748 <mount+0x288>                        
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a0002688:	e59d3020 	ldr	r3, [sp, #32]                                 
a000268c:	e1a00007 	mov	r0, r7                                        
a0002690:	e5933010 	ldr	r3, [r3, #16]                                 
a0002694:	e12fff33 	blx	r3                                            
a0002698:	e3500001 	cmp	r0, #1                                        
a000269c:	1a000037 	bne	a0002780 <mount+0x2c0>                        
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
a00026a0:	e59f0108 	ldr	r0, [pc, #264]	; a00027b0 <mount+0x2f0>       
a00026a4:	e59d1014 	ldr	r1, [sp, #20]                                 
a00026a8:	ebffff67 	bl	a000244c <rtems_filesystem_mount_iterate>      
a00026ac:	e3500000 	cmp	r0, #0                                        
a00026b0:	1a000036 	bne	a0002790 <mount+0x2d0>                        
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
a00026b4:	e59d2014 	ldr	r2, [sp, #20]                                 
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
a00026b8:	e59d3020 	ldr	r3, [sp, #32]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
a00026bc:	e1a00004 	mov	r0, r4                                        
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
a00026c0:	e5842008 	str	r2, [r4, #8]                                  
    mt_entry->mt_point_node.handlers = loc.handlers;                  
a00026c4:	e59d201c 	ldr	r2, [sp, #28]                                 
    mt_entry->mt_point_node.ops = loc.ops;                            
a00026c8:	e5843014 	str	r3, [r4, #20]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
a00026cc:	e5933020 	ldr	r3, [r3, #32]                                 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
a00026d0:	e5842010 	str	r2, [r4, #16]                                 
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
a00026d4:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
a00026d8:	e5842018 	str	r2, [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( mt_entry ) ) {                             
a00026dc:	e12fff33 	blx	r3                                            
a00026e0:	e3500000 	cmp	r0, #0                                        
a00026e4:	0affffbf 	beq	a00025e8 <mount+0x128>                        
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a00026e8:	e1a00004 	mov	r0, r4                                        
a00026ec:	ebfffdff 	bl	a0001ef0 <free>                                
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
a00026f0:	e1a00007 	mov	r0, r7                                        
a00026f4:	ebfffdf8 	bl	a0001edc <rtems_filesystem_freenode>           
                                                                      
  return -1;                                                          
a00026f8:	e3e05000 	mvn	r5, #0                                        
a00026fc:	eaffffd4 	b	a0002654 <mount+0x194>                          
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a0002700:	eb002cce 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0002704:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0002708:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000270c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0002710:	eaffffcf 	b	a0002654 <mount+0x194>                          <== NOT EXECUTED
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
a0002714:	e59f3098 	ldr	r3, [pc, #152]	; a00027b4 <mount+0x2f4>       
a0002718:	e3a0e001 	mov	lr, #1                                        
a000271c:	e58de008 	str	lr, [sp, #8]                                  
a0002720:	e58d3010 	str	r3, [sp, #16]                                 
a0002724:	eaffff7a 	b	a0002514 <mount+0x54>                           
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  if ( !mount_h )                                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0002728:	eb002cc4 	bl	a000da40 <__errno>                             
a000272c:	e3a03016 	mov	r3, #22                                       
a0002730:	e5803000 	str	r3, [r0]                                      
a0002734:	e3e05000 	mvn	r5, #0                                        
a0002738:	eaffffc5 	b	a0002654 <mount+0x194>                          
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
      errno = EINVAL;                                                 
a000273c:	eb002cbf 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0002740:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002744:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a0002748:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000274c:	ebfffde7 	bl	a0001ef0 <free>                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
a0002750:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0002754:	eaffffbe 	b	a0002654 <mount+0x194>                          <== NOT EXECUTED
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
a0002758:	e59d3020 	ldr	r3, [sp, #32]                                 <== NOT EXECUTED
a000275c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002760:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
a0002764:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a0002768:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000276c:	ebfffddf 	bl	a0001ef0 <free>                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
a0002770:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
a0002774:	03e05000 	mvneq	r5, #0                                      <== NOT EXECUTED
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
a0002778:	0affffb5 	beq	a0002654 <mount+0x194>                        <== NOT EXECUTED
a000277c:	eaffffdb 	b	a00026f0 <mount+0x230>                          <== NOT EXECUTED
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
a0002780:	eb002cae 	bl	a000da40 <__errno>                             
a0002784:	e3a03014 	mov	r3, #20                                       
a0002788:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a000278c:	eaffffd5 	b	a00026e8 <mount+0x228>                          
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
      errno = EBUSY;                                                  
a0002790:	eb002caa 	bl	a000da40 <__errno>                             
a0002794:	e3a03010 	mov	r3, #16                                       
a0002798:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a000279c:	eaffffd1 	b	a00026e8 <mount+0x228>                          
                                                                      

a00027bc <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
a00027bc:	e92d4010 	push	{r4, lr}                                     
a00027c0:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
a00027c4:	eb002da0 	bl	a000de4c <fileno>                              
a00027c8:	e3500002 	cmp	r0, #2                                        
a00027cc:	9a000003 	bls	a00027e0 <newlib_free_buffers+0x24>           
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
a00027d0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00027d4:	eb002ce7 	bl	a000db78 <fclose>                              <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a00027d8:	e3a00000 	mov	r0, #0                                        
a00027dc:	e8bd8010 	pop	{r4, pc}                                      
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
a00027e0:	e1d430bc 	ldrh	r3, [r4, #12]                                
a00027e4:	e3130080 	tst	r3, #128	; 0x80                               
a00027e8:	0afffffa 	beq	a00027d8 <newlib_free_buffers+0x1c>           
        free( fp->_bf._base );                                        
a00027ec:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00027f0:	ebfffdbe 	bl	a0001ef0 <free>                                <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
a00027f4:	e1d420bc 	ldrh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a00027f8:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a00027fc:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
a0002800:	e3c22080 	bic	r2, r2, #128	; 0x80                           <== NOT EXECUTED
a0002804:	e1c420bc 	strh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a0002808:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
a000280c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0002810:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0002428 <null_initialize>: rtems_device_driver null_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *pargp __attribute__((unused)) ) {
a0002428:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a000242c:	e59f3044 	ldr	r3, [pc, #68]	; a0002478 <null_initialize+0x50>
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
a0002430:	e1a04000 	mov	r4, r0                                        
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a0002434:	e5d32000 	ldrb	r2, [r3]                                     
a0002438:	e3520000 	cmp	r2, #0                                        
a000243c:	0a000001 	beq	a0002448 <null_initialize+0x20>               
                                                                      
    NULL_major = major;                                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002440:	e3a00000 	mov	r0, #0                                        
a0002444:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
a0002448:	e3a0c001 	mov	ip, #1                                        
                                                                      
    status = rtems_io_register_name(                                  
a000244c:	e59f0028 	ldr	r0, [pc, #40]	; a000247c <null_initialize+0x54>
a0002450:	e1a01004 	mov	r1, r4                                        
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
a0002454:	e5c3c000 	strb	ip, [r3]                                     
                                                                      
    status = rtems_io_register_name(                                  
a0002458:	eb00018d 	bl	a0002a94 <rtems_io_register_name>              
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
a000245c:	e3500000 	cmp	r0, #0                                        
a0002460:	1a000003 	bne	a0002474 <null_initialize+0x4c>               
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
a0002464:	e59f3014 	ldr	r3, [pc, #20]	; a0002480 <null_initialize+0x58>
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002468:	e3a00000 	mov	r0, #0                                        
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
a000246c:	e5834000 	str	r4, [r3]                                      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002470:	e8bd8010 	pop	{r4, pc}                                      
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
a0002474:	eb001272 	bl	a0006e44 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0003a28 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
a0003a28:	e92d4010 	push	{r4, lr}                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
a0003a2c:	e5913034 	ldr	r3, [r1, #52]	; 0x34                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003a30:	e24dd004 	sub	sp, sp, #4                                    
a0003a34:	e1a04001 	mov	r4, r1                                        
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
a0003a38:	e3130001 	tst	r3, #1                                        
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003a3c:	e5cd0000 	strb	r0, [sp]                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
a0003a40:	0a000014 	beq	a0003a98 <oproc+0x70>                         
    switch (c) {                                                      
a0003a44:	e5dd1000 	ldrb	r1, [sp]                                     
a0003a48:	e2412008 	sub	r2, r1, #8                                    
a0003a4c:	e3520005 	cmp	r2, #5                                        
a0003a50:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a0003a54:	ea000005 	b	a0003a70 <oproc+0x48>                           
a0003a58:	a0003b20 	.word	0xa0003b20                                  <== NOT EXECUTED
a0003a5c:	a0003ae8 	.word	0xa0003ae8                                  <== NOT EXECUTED
a0003a60:	a0003b34 	.word	0xa0003b34                                  <== NOT EXECUTED
a0003a64:	a0003a70 	.word	0xa0003a70                                  <== NOT EXECUTED
a0003a68:	a0003a70 	.word	0xa0003a70                                  <== NOT EXECUTED
a0003a6c:	a0003ab0 	.word	0xa0003ab0                                  <== NOT EXECUTED
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
a0003a70:	e3130002 	tst	r3, #2                                        
a0003a74:	1a00003a 	bne	a0003b64 <oproc+0x13c>                        
a0003a78:	e59f310c 	ldr	r3, [pc, #268]	; a0003b8c <oproc+0x164>       
a0003a7c:	e5933000 	ldr	r3, [r3]                                      
        c = toupper(c);                                               
      if (!iscntrl(c))                                                
a0003a80:	e0831001 	add	r1, r3, r1                                    
a0003a84:	e5d13001 	ldrb	r3, [r1, #1]                                 
a0003a88:	e3130020 	tst	r3, #32                                       
        tty->column++;                                                
a0003a8c:	05943028 	ldreq	r3, [r4, #40]	; 0x28                        
a0003a90:	02833001 	addeq	r3, r3, #1                                  
a0003a94:	05843028 	streq	r3, [r4, #40]	; 0x28                        
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
a0003a98:	e1a0000d 	mov	r0, sp                                        
a0003a9c:	e3a01001 	mov	r1, #1                                        
a0003aa0:	e1a02004 	mov	r2, r4                                        
a0003aa4:	ebffff99 	bl	a0003910 <rtems_termios_puts>                  
}                                                                     
a0003aa8:	e28dd004 	add	sp, sp, #4                                    
a0003aac:	e8bd8010 	pop	{r4, pc}                                      
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
a0003ab0:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a0003ab4:	0a000002 	beq	a0003ac4 <oproc+0x9c>                         <== NOT EXECUTED
a0003ab8:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003abc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0003ac0:	0afffff8 	beq	a0003aa8 <oproc+0x80>                         <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
a0003ac4:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
a0003ac8:	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) {                             
a0003acc:	0afffff1 	beq	a0003a98 <oproc+0x70>                         <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
a0003ad0:	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';                                                     
a0003ad4:	e3a0300a 	mov	r3, #10                                       <== NOT EXECUTED
a0003ad8:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
          tty->column = 0;                                            
a0003adc:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a0003ae0:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0003ae4:	eaffffeb 	b	a0003a98 <oproc+0x70>                           <== NOT EXECUTED
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
a0003ae8:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
a0003aec:	e2033b06 	and	r3, r3, #6144	; 0x1800                        
a0003af0:	e3530b06 	cmp	r3, #6144	; 0x1800                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
a0003af4:	e2021007 	and	r1, r2, #7                                    
a0003af8:	e2611008 	rsb	r1, r1, #8                                    
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
        return;                                                       
      }                                                               
      tty->column += i;                                               
a0003afc:	10811002 	addne	r1, r1, r2                                  
a0003b00:	15841028 	strne	r1, [r4, #40]	; 0x28                        
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
a0003b04:	1affffe3 	bne	a0003a98 <oproc+0x70>                         
        tty->column += i;                                             
a0003b08:	e0812002 	add	r2, r1, r2                                    
a0003b0c:	e5842028 	str	r2, [r4, #40]	; 0x28                          
        rtems_termios_puts ( "        ",  i, tty);                    
a0003b10:	e59f0078 	ldr	r0, [pc, #120]	; a0003b90 <oproc+0x168>       
a0003b14:	e1a02004 	mov	r2, r4                                        
a0003b18:	ebffff7c 	bl	a0003910 <rtems_termios_puts>                  
        return;                                                       
a0003b1c:	eaffffe1 	b	a0003aa8 <oproc+0x80>                           
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
a0003b20:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003b24:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        tty->column--;                                                
a0003b28:	c2433001 	subgt	r3, r3, #1                                  <== NOT EXECUTED
a0003b2c:	c5843028 	strgt	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0003b30:	eaffffd8 	b	a0003a98 <oproc+0x70>                           <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
a0003b34:	e3130020 	tst	r3, #32                                       
        tty->column = 0;                                              
a0003b38:	13a02000 	movne	r2, #0                                      
a0003b3c:	15842028 	strne	r2, [r4, #40]	; 0x28                        
      if (tty->termios.c_oflag & ONLCR) {                             
a0003b40:	e3130004 	tst	r3, #4                                        
a0003b44:	0affffd3 	beq	a0003a98 <oproc+0x70>                         
        rtems_termios_puts ("\r", 1, tty);                            
a0003b48:	e59f0044 	ldr	r0, [pc, #68]	; a0003b94 <oproc+0x16c>        
a0003b4c:	e3a01001 	mov	r1, #1                                        
a0003b50:	e1a02004 	mov	r2, r4                                        
a0003b54:	ebffff6d 	bl	a0003910 <rtems_termios_puts>                  
        tty->column = 0;                                              
a0003b58:	e3a03000 	mov	r3, #0                                        
a0003b5c:	e5843028 	str	r3, [r4, #40]	; 0x28                          
a0003b60:	eaffffcc 	b	a0003a98 <oproc+0x70>                           
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
a0003b64:	e59f3020 	ldr	r3, [pc, #32]	; a0003b8c <oproc+0x164>        <== NOT EXECUTED
a0003b68:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0003b6c:	e0832001 	add	r2, r3, r1                                    <== NOT EXECUTED
a0003b70:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0003b74:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a0003b78:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
a0003b7c:	02411020 	subeq	r1, r1, #32                                 <== NOT EXECUTED
a0003b80:	e20110ff 	and	r1, r1, #255	; 0xff                           <== NOT EXECUTED
a0003b84:	e5cd1000 	strb	r1, [sp]                                     <== NOT EXECUTED
a0003b88:	eaffffbc 	b	a0003a80 <oproc+0x58>                           <== NOT EXECUTED
                                                                      

a000c160 <pipe_ioctl>: uint32_t cmd, void *buffer, rtems_libio_t *iop ) { if (cmd == FIONREAD) {
a000c160:	e59f3060 	ldr	r3, [pc, #96]	; a000c1c8 <pipe_ioctl+0x68>    
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000c164:	e92d4070 	push	{r4, r5, r6, lr}                             
  if (cmd == FIONREAD) {                                              
a000c168:	e1510003 	cmp	r1, r3                                        
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000c16c:	e1a05000 	mov	r5, r0                                        
a000c170:	e1a04002 	mov	r4, r2                                        
  if (cmd == FIONREAD) {                                              
a000c174:	0a000001 	beq	a000c180 <pipe_ioctl+0x20>                    
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
a000c178:	e3e00015 	mvn	r0, #21                                       
a000c17c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
a000c180:	e3520000 	cmp	r2, #0                                        
a000c184:	1a000001 	bne	a000c190 <pipe_ioctl+0x30>                    
      return -EFAULT;                                                 
a000c188:	e3e0000d 	mvn	r0, #13                                       
a000c18c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
    if (! PIPE_LOCK(pipe))                                            
a000c190:	e3a01000 	mov	r1, #0                                        
a000c194:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          
a000c198:	e1a02001 	mov	r2, r1                                        
a000c19c:	ebffeb02 	bl	a0006dac <rtems_semaphore_obtain>              
a000c1a0:	e2506000 	subs	r6, r0, #0                                   
a000c1a4:	0a000001 	beq	a000c1b0 <pipe_ioctl+0x50>                    
      return -EINTR;                                                  
a000c1a8:	e3e00003 	mvn	r0, #3                                        <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
a000c1ac:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
a000c1b0:	e595300c 	ldr	r3, [r5, #12]                                 
    PIPE_UNLOCK(pipe);                                                
a000c1b4:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
a000c1b8:	e5843000 	str	r3, [r4]                                      
    PIPE_UNLOCK(pipe);                                                
a000c1bc:	ebffeb43 	bl	a0006ed0 <rtems_semaphore_release>             
    return 0;                                                         
a000c1c0:	e1a00006 	mov	r0, r6                                        
a000c1c4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a000b7b4 <pipe_lock>: free(pipe->Buffer); free(pipe); } static rtems_status_code pipe_lock(void) {
a000b7b4:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
a000b7b8:	e59f4094 	ldr	r4, [pc, #148]	; a000b854 <pipe_lock+0xa0>    
  free(pipe->Buffer);                                                 
  free(pipe);                                                         
}                                                                     
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
a000b7bc:	e24dd004 	sub	sp, sp, #4                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
a000b7c0:	e5946000 	ldr	r6, [r4]                                      
a000b7c4:	e3560000 	cmp	r6, #0                                        
a000b7c8:	0a000007 	beq	a000b7ec <pipe_lock+0x38>                     
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a000b7cc:	e3a01000 	mov	r1, #0                                        
a000b7d0:	e1a00006 	mov	r0, r6                                        
a000b7d4:	e1a02001 	mov	r2, r1                                        
a000b7d8:	ebffed73 	bl	a0006dac <rtems_semaphore_obtain>              
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    return -ENOMEM;                                                   
a000b7dc:	e3500000 	cmp	r0, #0                                        
a000b7e0:	13e0000b 	mvnne	r0, #11                                     
  }                                                                   
}                                                                     
a000b7e4:	e28dd004 	add	sp, sp, #4                                    
a000b7e8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a000b7ec:	e59f5064 	ldr	r5, [pc, #100]	; a000b858 <pipe_lock+0xa4>    
a000b7f0:	e1a01006 	mov	r1, r6                                        
a000b7f4:	e1a02006 	mov	r2, r6                                        
a000b7f8:	e5950000 	ldr	r0, [r5]                                      
a000b7fc:	ebffed6a 	bl	a0006dac <rtems_semaphore_obtain>              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
a000b800:	e5943000 	ldr	r3, [r4]                                      
a000b804:	e3530000 	cmp	r3, #0                                        
a000b808:	0a000003 	beq	a000b81c <pipe_lock+0x68>                     
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000b80c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000b810:	ebffedae 	bl	a0006ed0 <rtems_semaphore_release>             <== NOT EXECUTED
a000b814:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
a000b818:	eaffffeb 	b	a000b7cc <pipe_lock+0x18>                       <== NOT EXECUTED
      sc = rtems_semaphore_create(                                    
a000b81c:	e1a03006 	mov	r3, r6                                        
a000b820:	e3a01001 	mov	r1, #1                                        
a000b824:	e3a02054 	mov	r2, #84	; 0x54                                
a000b828:	e59f002c 	ldr	r0, [pc, #44]	; a000b85c <pipe_lock+0xa8>     
a000b82c:	e58d4000 	str	r4, [sp]                                      
a000b830:	ebffecc3 	bl	a0006b44 <rtems_semaphore_create>              
a000b834:	e1a06000 	mov	r6, r0                                        
a000b838:	e5950000 	ldr	r0, [r5]                                      
a000b83c:	ebffeda3 	bl	a0006ed0 <rtems_semaphore_release>             
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
a000b840:	e3560000 	cmp	r6, #0                                        
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    return -ENOMEM;                                                   
a000b844:	13e0000b 	mvnne	r0, #11                                     
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
a000b848:	1affffe5 	bne	a000b7e4 <pipe_lock+0x30>                     
a000b84c:	e5946000 	ldr	r6, [r4]                                      
a000b850:	eaffffdd 	b	a000b7cc <pipe_lock+0x18>                       
                                                                      

a000bd94 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
a000bd94:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000bd98:	e1a09001 	mov	r9, r1                                        
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bd9c:	e3a01000 	mov	r1, #0                                        
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000bda0:	e24dd008 	sub	sp, sp, #8                                    
a000bda4:	e1a04000 	mov	r4, r0                                        
a000bda8:	e1a05002 	mov	r5, r2                                        
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bdac:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          
a000bdb0:	e1a02001 	mov	r2, r1                                        
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000bdb4:	e1a08003 	mov	r8, r3                                        
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bdb8:	ebffebfb 	bl	a0006dac <rtems_semaphore_obtain>              
a000bdbc:	e250a000 	subs	sl, r0, #0                                   
    return -EINTR;                                                    
a000bdc0:	13e07003 	mvnne	r7, #3                                      
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bdc4:	1a000027 	bne	a000be68 <pipe_read+0xd4>                     
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a000bdc8:	e3550000 	cmp	r5, #0                                        
a000bdcc:	01a07005 	moveq	r7, r5                                      
a000bdd0:	01a06007 	moveq	r6, r7                                      
a000bdd4:	0a00001f 	beq	a000be58 <pipe_read+0xc4>                     
a000bdd8:	e1a0700a 	mov	r7, sl                                        
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a000bddc:	e28db004 	add	fp, sp, #4                                    
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
a000bde0:	e594200c 	ldr	r2, [r4, #12]                                 
a000bde4:	e3520000 	cmp	r2, #0                                        
a000bde8:	1a000021 	bne	a000be74 <pipe_read+0xe0>                     
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
a000bdec:	e5946014 	ldr	r6, [r4, #20]                                 
a000bdf0:	e3560000 	cmp	r6, #0                                        
a000bdf4:	0a000017 	beq	a000be58 <pipe_read+0xc4>                     
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
a000bdf8:	e5986014 	ldr	r6, [r8, #20]                                 
a000bdfc:	e2166001 	ands	r6, r6, #1                                   
a000be00:	1a00003a 	bne	a000bef0 <pipe_read+0x15c>                    
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a000be04:	e5943018 	ldr	r3, [r4, #24]                                 
      PIPE_UNLOCK(pipe);                                              
a000be08:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a000be0c:	e2833001 	add	r3, r3, #1                                    
a000be10:	e5843018 	str	r3, [r4, #24]                                 
      PIPE_UNLOCK(pipe);                                              
a000be14:	ebffec2d 	bl	a0006ed0 <rtems_semaphore_release>             
      if (! PIPE_READWAIT(pipe))                                      
a000be18:	e1a01006 	mov	r1, r6                                        
a000be1c:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a000be20:	eb0006aa 	bl	a000d8d0 <rtems_barrier_wait>                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000be24:	e1a01006 	mov	r1, r6                                        
a000be28:	e1a02001 	mov	r2, r1                                        
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
a000be2c:	e2506000 	subs	r6, r0, #0                                   
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000be30:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
a000be34:	13e06003 	mvnne	r6, #3                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000be38:	ebffebdb 	bl	a0006dac <rtems_semaphore_obtain>              
a000be3c:	e3500000 	cmp	r0, #0                                        
a000be40:	1a00002c 	bne	a000bef8 <pipe_read+0x164>                    
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a000be44:	e5943018 	ldr	r3, [r4, #24]                                 
      if (ret != 0)                                                   
a000be48:	e3560000 	cmp	r6, #0                                        
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a000be4c:	e2433001 	sub	r3, r3, #1                                    
a000be50:	e5843018 	str	r3, [r4, #24]                                 
      if (ret != 0)                                                   
a000be54:	0affffe1 	beq	a000bde0 <pipe_read+0x4c>                     
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a000be58:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
a000be5c:	ebffec1b 	bl	a0006ed0 <rtems_semaphore_release>             
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
    return read;                                                      
  return ret;                                                         
a000be60:	e3570000 	cmp	r7, #0                                        
a000be64:	d1a07006 	movle	r7, r6                                      
}                                                                     
a000be68:	e1a00007 	mov	r0, r7                                        
a000be6c:	e28dd008 	add	sp, sp, #8                                    
a000be70:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
a000be74:	e9941008 	ldmib	r4, {r3, ip}                                
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
a000be78:	e06a6005 	rsb	r6, sl, r5                                    
a000be7c:	e1520006 	cmp	r2, r6                                        
a000be80:	31a06002 	movcc	r6, r2                                      
    chunk1 = pipe->Size - pipe->Start;                                
a000be84:	e06c3003 	rsb	r3, ip, r3                                    
    if (chunk > chunk1) {                                             
a000be88:	e1560003 	cmp	r6, r3                                        
a000be8c:	ca00001b 	bgt	a000bf00 <pipe_read+0x16c>                    
      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);       
a000be90:	e5941000 	ldr	r1, [r4]                                      
a000be94:	e089000a 	add	r0, r9, sl                                    
a000be98:	e1a02006 	mov	r2, r6                                        
a000be9c:	e081100c 	add	r1, r1, ip                                    
a000bea0:	eb00107d 	bl	a001009c <memcpy>                              
                                                                      
    pipe->Start += chunk;                                             
a000bea4:	e5940008 	ldr	r0, [r4, #8]                                  
    pipe->Start %= pipe->Size;                                        
a000bea8:	e5941004 	ldr	r1, [r4, #4]                                  
a000beac:	e0860000 	add	r0, r6, r0                                    
a000beb0:	eb0033d9 	bl	a0018e1c <__umodsi3>                           
    pipe->Length -= chunk;                                            
a000beb4:	e594300c 	ldr	r3, [r4, #12]                                 
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
a000beb8:	e5840008 	str	r0, [r4, #8]                                  
    pipe->Length -= chunk;                                            
a000bebc:	e0663003 	rsb	r3, r6, r3                                    
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
a000bec0:	e3530000 	cmp	r3, #0                                        
      pipe->Start = 0;                                                
a000bec4:	05843008 	streq	r3, [r4, #8]                                
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
a000bec8:	e584300c 	str	r3, [r4, #12]                                 
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
a000becc:	e594301c 	ldr	r3, [r4, #28]                                 
a000bed0:	e3530000 	cmp	r3, #0                                        
a000bed4:	1a000016 	bne	a000bf34 <pipe_read+0x1a0>                    
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
a000bed8:	e0877006 	add	r7, r7, r6                                    
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a000bedc:	e1570005 	cmp	r7, r5                                        
a000bee0:	e1a0a007 	mov	sl, r7                                        
a000bee4:	3affffbd 	bcc	a000bde0 <pipe_read+0x4c>                     
a000bee8:	e3a06000 	mov	r6, #0                                        
a000beec:	eaffffd9 	b	a000be58 <pipe_read+0xc4>                       
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
a000bef0:	e3e0600a 	mvn	r6, #10                                       
a000bef4:	eaffffd7 	b	a000be58 <pipe_read+0xc4>                       
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
a000bef8:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
a000befc:	eaffffd7 	b	a000be60 <pipe_read+0xcc>                       <== NOT EXECUTED
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
a000bf00:	e5941000 	ldr	r1, [r4]                                      
a000bf04:	e1a02003 	mov	r2, r3                                        
a000bf08:	e089000a 	add	r0, r9, sl                                    
a000bf0c:	e081100c 	add	r1, r1, ip                                    
a000bf10:	e58d3000 	str	r3, [sp]                                      
a000bf14:	eb001060 	bl	a001009c <memcpy>                              
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
a000bf18:	e59d3000 	ldr	r3, [sp]                                      
a000bf1c:	e5941000 	ldr	r1, [r4]                                      
a000bf20:	e08a0003 	add	r0, sl, r3                                    
a000bf24:	e0890000 	add	r0, r9, r0                                    
a000bf28:	e0632006 	rsb	r2, r3, r6                                    
a000bf2c:	eb00105a 	bl	a001009c <memcpy>                              
a000bf30:	eaffffdb 	b	a000bea4 <pipe_read+0x110>                      
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a000bf34:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          
a000bf38:	e1a0100b 	mov	r1, fp                                        
a000bf3c:	eb00064b 	bl	a000d870 <rtems_barrier_release>               
a000bf40:	eaffffe4 	b	a000bed8 <pipe_read+0x144>                      
                                                                      

a000b888 <pipe_release>: */ int pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
a000b888:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000b88c:	e24dd004 	sub	sp, sp, #4                                    
a000b890:	e1a06001 	mov	r6, r1                                        
a000b894:	e1a05000 	mov	r5, r0                                        
  pipe_control_t *pipe = *pipep;                                      
a000b898:	e5904000 	ldr	r4, [r0]                                      
  uint32_t mode;                                                      
                                                                      
  if (pipe_lock())                                                    
a000b89c:	ebffffc4 	bl	a000b7b4 <pipe_lock>                           
a000b8a0:	e2501000 	subs	r1, r0, #0                                   
a000b8a4:	1a000036 	bne	a000b984 <pipe_release+0xfc>                  
    /* WARN pipe not freed and pipep not set to NULL! */              
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
                                                                      
  if (!PIPE_LOCK(pipe))                                               
a000b8a8:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
a000b8ac:	e1a02001 	mov	r2, r1                                        
a000b8b0:	ebffed3d 	bl	a0006dac <rtems_semaphore_obtain>              
a000b8b4:	e3500000 	cmp	r0, #0                                        
a000b8b8:	1a000031 	bne	a000b984 <pipe_release+0xfc>                  
    /* WARN pipe not released! */                                     
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
a000b8bc:	e5966014 	ldr	r6, [r6, #20]                                 
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a000b8c0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
    /* WARN pipe not released! */                                     
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
a000b8c4:	e3160002 	tst	r6, #2                                        
     pipe->Readers --;                                                
a000b8c8:	15943010 	ldrne	r3, [r4, #16]                               
  if (!PIPE_LOCK(pipe))                                               
    /* WARN pipe not released! */                                     
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
a000b8cc:	e2066006 	and	r6, r6, #6                                    
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
a000b8d0:	12433001 	subne	r3, r3, #1                                  
a000b8d4:	15843010 	strne	r3, [r4, #16]                               
  if (mode & LIBIO_FLAGS_WRITE)                                       
a000b8d8:	e3160004 	tst	r6, #4                                        
     pipe->Writers --;                                                
a000b8dc:	15943014 	ldrne	r3, [r4, #20]                               
a000b8e0:	12433001 	subne	r3, r3, #1                                  
a000b8e4:	15843014 	strne	r3, [r4, #20]                               
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a000b8e8:	ebffed78 	bl	a0006ed0 <rtems_semaphore_release>             
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a000b8ec:	e5943010 	ldr	r3, [r4, #16]                                 
a000b8f0:	e3530000 	cmp	r3, #0                                        
a000b8f4:	0a00000d 	beq	a000b930 <pipe_release+0xa8>                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
a000b8f8:	e5943014 	ldr	r3, [r4, #20]                                 
a000b8fc:	e2733001 	rsbs	r3, r3, #1                                   
a000b900:	33a03000 	movcc	r3, #0                                      
a000b904:	e3560002 	cmp	r6, #2                                        
a000b908:	03a03000 	moveq	r3, #0                                      
a000b90c:	e3530000 	cmp	r3, #0                                        
a000b910:	0a000002 	beq	a000b920 <pipe_release+0x98>                  
    PIPE_WAKEUPREADERS(pipe);                                         
a000b914:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a000b918:	e1a0100d 	mov	r1, sp                                        
a000b91c:	eb0007d3 	bl	a000d870 <rtems_barrier_release>               
                                                                      
  pipe_unlock();                                                      
a000b920:	ebffffce 	bl	a000b860 <pipe_unlock>                         
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
a000b924:	e3a00000 	mov	r0, #0                                        
a000b928:	e28dd004 	add	sp, sp, #4                                    
a000b92c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a000b930:	e5947014 	ldr	r7, [r4, #20]                                 
a000b934:	e3570000 	cmp	r7, #0                                        
a000b938:	0a000005 	beq	a000b954 <pipe_release+0xcc>                  
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
a000b93c:	e3560004 	cmp	r6, #4                                        
a000b940:	0afffff6 	beq	a000b920 <pipe_release+0x98>                  
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
a000b944:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          
a000b948:	e1a0100d 	mov	r1, sp                                        
a000b94c:	eb0007c7 	bl	a000d870 <rtems_barrier_release>               
a000b950:	eafffff2 	b	a000b920 <pipe_release+0x98>                    
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a000b954:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a000b958:	eb000798 	bl	a000d7c0 <rtems_barrier_delete>                
  rtems_barrier_delete(pipe->writeBarrier);                           
a000b95c:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          
a000b960:	eb000796 	bl	a000d7c0 <rtems_barrier_delete>                
  rtems_semaphore_delete(pipe->Semaphore);                            
a000b964:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
a000b968:	ebffece6 	bl	a0006d08 <rtems_semaphore_delete>              
  free(pipe->Buffer);                                                 
a000b96c:	e5940000 	ldr	r0, [r4]                                      
a000b970:	ebffde24 	bl	a0003208 <free>                                
  free(pipe);                                                         
a000b974:	e1a00004 	mov	r0, r4                                        
a000b978:	ebffde22 	bl	a0003208 <free>                                
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
a000b97c:	e5857000 	str	r7, [r5]                                      
a000b980:	eaffffe6 	b	a000b920 <pipe_release+0x98>                    
    rtems_fatal_error_occurred(0xdeadbeef);                           
                                                                      
  if (!PIPE_LOCK(pipe))                                               
    /* WARN pipe not released! */                                     
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
a000b984:	e59f0000 	ldr	r0, [pc, #0]	; a000b98c <pipe_release+0x104>  <== NOT EXECUTED
a000b988:	ebffee94 	bl	a00073e0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000b860 <pipe_unlock>: static void pipe_unlock(void) { rtems_status_code sc = RTEMS_SUCCESSFUL; sc = rtems_semaphore_release(pipe_semaphore);
a000b860:	e59f3018 	ldr	r3, [pc, #24]	; a000b880 <pipe_unlock+0x20>   
    return -ENOMEM;                                                   
  }                                                                   
}                                                                     
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
a000b864:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
a000b868:	e5930000 	ldr	r0, [r3]                                      
a000b86c:	ebffed97 	bl	a0006ed0 <rtems_semaphore_release>             
  if (sc != RTEMS_SUCCESSFUL) {                                       
a000b870:	e3500000 	cmp	r0, #0                                        
a000b874:	049df004 	popeq	{pc}		; (ldreq pc, [sp], #4)                
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
a000b878:	e59f0004 	ldr	r0, [pc, #4]	; a000b884 <pipe_unlock+0x24>    <== NOT EXECUTED
a000b87c:	ebffeed7 	bl	a00073e0 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000bf44 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
a000bf44:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a000bf48:	e2524000 	subs	r4, r2, #0                                   
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000bf4c:	e24dd008 	sub	sp, sp, #8                                    
a000bf50:	e1a05000 	mov	r5, r0                                        
a000bf54:	e1a06001 	mov	r6, r1                                        
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
a000bf58:	01a07004 	moveq	r7, r4                                      
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a000bf5c:	1a000002 	bne	a000bf6c <pipe_write+0x28>                    
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
a000bf60:	e1a00007 	mov	r0, r7                                        
a000bf64:	e28dd008 	add	sp, sp, #8                                    
a000bf68:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bf6c:	e3a01000 	mov	r1, #0                                        
a000bf70:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          
a000bf74:	e1a02001 	mov	r2, r1                                        
a000bf78:	e58d3000 	str	r3, [sp]                                      
a000bf7c:	ebffeb8a 	bl	a0006dac <rtems_semaphore_obtain>              
a000bf80:	e2509000 	subs	r9, r0, #0                                   
a000bf84:	e59d3000 	ldr	r3, [sp]                                      
    return -EINTR;                                                    
a000bf88:	13e07003 	mvnne	r7, #3                                      
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bf8c:	1afffff3 	bne	a000bf60 <pipe_write+0x1c>                    
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
a000bf90:	e5957010 	ldr	r7, [r5, #16]                                 
a000bf94:	e3570000 	cmp	r7, #0                                        
a000bf98:	0a000058 	beq	a000c100 <pipe_write+0x1bc>                   
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a000bf9c:	e5958004 	ldr	r8, [r5, #4]                                  
a000bfa0:	e1a07009 	mov	r7, r9                                        
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a000bfa4:	e28db004 	add	fp, sp, #4                                    
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a000bfa8:	e1540008 	cmp	r4, r8                                        
a000bfac:	91a0a004 	movls	sl, r4                                      
a000bfb0:	83a0a001 	movhi	sl, #1                                      
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
a000bfb4:	e595000c 	ldr	r0, [r5, #12]                                 
a000bfb8:	e0602008 	rsb	r2, r0, r8                                    
a000bfbc:	e152000a 	cmp	r2, sl                                        
a000bfc0:	2a000021 	bcs	a000c04c <pipe_write+0x108>                   
      if (LIBIO_NODELAY(iop)) {                                       
a000bfc4:	e5938014 	ldr	r8, [r3, #20]                                 
a000bfc8:	e2188001 	ands	r8, r8, #1                                   
a000bfcc:	1a000053 	bne	a000c120 <pipe_write+0x1dc>                   
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a000bfd0:	e595201c 	ldr	r2, [r5, #28]                                 
      PIPE_UNLOCK(pipe);                                              
a000bfd4:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a000bfd8:	e2822001 	add	r2, r2, #1                                    
a000bfdc:	e585201c 	str	r2, [r5, #28]                                 
      PIPE_UNLOCK(pipe);                                              
a000bfe0:	e58d3000 	str	r3, [sp]                                      
a000bfe4:	ebffebb9 	bl	a0006ed0 <rtems_semaphore_release>             
      if (! PIPE_WRITEWAIT(pipe))                                     
a000bfe8:	e1a01008 	mov	r1, r8                                        
a000bfec:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          
a000bff0:	eb000636 	bl	a000d8d0 <rtems_barrier_wait>                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000bff4:	e1a01008 	mov	r1, r8                                        
a000bff8:	e1a02001 	mov	r2, r1                                        
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
a000bffc:	e2508000 	subs	r8, r0, #0                                   
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000c000:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
a000c004:	13e08003 	mvnne	r8, #3                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000c008:	ebffeb67 	bl	a0006dac <rtems_semaphore_obtain>              
a000c00c:	e3500000 	cmp	r0, #0                                        
a000c010:	e59d3000 	ldr	r3, [sp]                                      
a000c014:	1a00003f 	bne	a000c118 <pipe_write+0x1d4>                   
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a000c018:	e595201c 	ldr	r2, [r5, #28]                                 
      if (ret != 0)                                                   
a000c01c:	e3580000 	cmp	r8, #0                                        
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a000c020:	e2422001 	sub	r2, r2, #1                                    
a000c024:	e585201c 	str	r2, [r5, #28]                                 
      if (ret != 0)                                                   
a000c028:	1a00002d 	bne	a000c0e4 <pipe_write+0x1a0>                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
a000c02c:	e5952010 	ldr	r2, [r5, #16]                                 
a000c030:	e3520000 	cmp	r2, #0                                        
a000c034:	0a000031 	beq	a000c100 <pipe_write+0x1bc>                   
a000c038:	e5958004 	ldr	r8, [r5, #4]                                  
                                                                      
  /* 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) {                                
a000c03c:	e595000c 	ldr	r0, [r5, #12]                                 
a000c040:	e0602008 	rsb	r2, r0, r8                                    
a000c044:	e152000a 	cmp	r2, sl                                        
a000c048:	3affffdd 	bcc	a000bfc4 <pipe_write+0x80>                    
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000c04c:	e595c008 	ldr	ip, [r5, #8]                                  
a000c050:	e1a01008 	mov	r1, r8                                        
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a000c054:	e069a004 	rsb	sl, r9, r4                                    
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000c058:	e080000c 	add	r0, r0, ip                                    
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a000c05c:	e152000a 	cmp	r2, sl                                        
a000c060:	31a0a002 	movcc	sl, r2                                      
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000c064:	e58d3000 	str	r3, [sp]                                      
a000c068:	eb00336b 	bl	a0018e1c <__umodsi3>                           
a000c06c:	e0608008 	rsb	r8, r0, r8                                    
    if (chunk > chunk1) {                                             
a000c070:	e15a0008 	cmp	sl, r8                                        
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000c074:	e1a0c000 	mov	ip, r0                                        
    if (chunk > chunk1) {                                             
a000c078:	e59d3000 	ldr	r3, [sp]                                      
a000c07c:	da000029 	ble	a000c128 <pipe_write+0x1e4>                   
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
a000c080:	e5950000 	ldr	r0, [r5]                                      
a000c084:	e0861009 	add	r1, r6, r9                                    
a000c088:	e1a02008 	mov	r2, r8                                        
a000c08c:	e080000c 	add	r0, r0, ip                                    
a000c090:	eb001001 	bl	a001009c <memcpy>                              
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
a000c094:	e0881009 	add	r1, r8, r9                                    
a000c098:	e5950000 	ldr	r0, [r5]                                      
a000c09c:	e0861001 	add	r1, r6, r1                                    
a000c0a0:	e068200a 	rsb	r2, r8, sl                                    
a000c0a4:	eb000ffc 	bl	a001009c <memcpy>                              
a000c0a8:	e59d3000 	ldr	r3, [sp]                                      
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000c0ac:	e595200c 	ldr	r2, [r5, #12]                                 
    if (pipe->waitingReaders > 0)                                     
a000c0b0:	e5951018 	ldr	r1, [r5, #24]                                 
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000c0b4:	e082200a 	add	r2, r2, sl                                    
    if (pipe->waitingReaders > 0)                                     
a000c0b8:	e3510000 	cmp	r1, #0                                        
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000c0bc:	e585200c 	str	r2, [r5, #12]                                 
    if (pipe->waitingReaders > 0)                                     
a000c0c0:	1a000020 	bne	a000c148 <pipe_write+0x204>                   
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
a000c0c4:	e087700a 	add	r7, r7, sl                                    
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a000c0c8:	e1540007 	cmp	r4, r7                                        
a000c0cc:	e1a09007 	mov	r9, r7                                        
a000c0d0:	9a000002 	bls	a000c0e0 <pipe_write+0x19c>                   
a000c0d4:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
a000c0d8:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
a000c0dc:	eaffffb4 	b	a000bfb4 <pipe_write+0x70>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a000c0e0:	e3a08000 	mov	r8, #0                                        
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a000c0e4:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          
a000c0e8:	ebffeb78 	bl	a0006ed0 <rtems_semaphore_release>             
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
a000c0ec:	e3780020 	cmn	r8, #32                                       
a000c0f0:	0a000004 	beq	a000c108 <pipe_write+0x1c4>                   
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
a000c0f4:	e3570000 	cmp	r7, #0                                        
a000c0f8:	d1a07008 	movle	r7, r8                                      
a000c0fc:	eaffff97 	b	a000bf60 <pipe_write+0x1c>                      
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
a000c100:	e3e0801f 	mvn	r8, #31                                       
a000c104:	eafffff6 	b	a000c0e4 <pipe_write+0x1a0>                     
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
a000c108:	eb00020a 	bl	a000c938 <getpid>                              
a000c10c:	e3a0100d 	mov	r1, #13                                       
a000c110:	eb00036d 	bl	a000cecc <kill>                                
a000c114:	eafffff6 	b	a000c0f4 <pipe_write+0x1b0>                     
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
a000c118:	e3e08003 	mvn	r8, #3                                        <== NOT EXECUTED
a000c11c:	eafffff4 	b	a000c0f4 <pipe_write+0x1b0>                     <== NOT EXECUTED
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
a000c120:	e3e0800a 	mvn	r8, #10                                       
a000c124:	eaffffee 	b	a000c0e4 <pipe_write+0x1a0>                     
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
a000c128:	e5950000 	ldr	r0, [r5]                                      
a000c12c:	e0861009 	add	r1, r6, r9                                    
a000c130:	e1a0200a 	mov	r2, sl                                        
a000c134:	e080000c 	add	r0, r0, ip                                    
a000c138:	e58d3000 	str	r3, [sp]                                      
a000c13c:	eb000fd6 	bl	a001009c <memcpy>                              
a000c140:	e59d3000 	ldr	r3, [sp]                                      
a000c144:	eaffffd8 	b	a000c0ac <pipe_write+0x168>                     
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a000c148:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          
a000c14c:	e1a0100b 	mov	r1, fp                                        
a000c150:	e58d3000 	str	r3, [sp]                                      
a000c154:	eb0005c5 	bl	a000d870 <rtems_barrier_release>               
a000c158:	e59d3000 	ldr	r3, [sp]                                      
a000c15c:	eaffffd8 	b	a000c0c4 <pipe_write+0x180>                     
                                                                      

a0009cb4 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) { if ( !attr || !attr->is_initialized )
a0009cb4:	e3500000 	cmp	r0, #0                                        
a0009cb8:	0a00000e 	beq	a0009cf8 <pthread_attr_setschedpolicy+0x44>   
a0009cbc:	e5903000 	ldr	r3, [r0]                                      
a0009cc0:	e3530000 	cmp	r3, #0                                        
a0009cc4:	0a00000b 	beq	a0009cf8 <pthread_attr_setschedpolicy+0x44>   
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
a0009cc8:	e3510004 	cmp	r1, #4                                        
a0009ccc:	9a000001 	bls	a0009cd8 <pthread_attr_setschedpolicy+0x24>   
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
a0009cd0:	e3a00086 	mov	r0, #134	; 0x86                               
  }                                                                   
}                                                                     
a0009cd4:	e12fff1e 	bx	lr                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
a0009cd8:	e3a03001 	mov	r3, #1                                        
a0009cdc:	e1a03113 	lsl	r3, r3, r1                                    
a0009ce0:	e3130017 	tst	r3, #23                                       
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
a0009ce4:	15801014 	strne	r1, [r0, #20]                               
      return 0;                                                       
a0009ce8:	13a00000 	movne	r0, #0                                      
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
a0009cec:	112fff1e 	bxne	lr                                           
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
a0009cf0:	e3a00086 	mov	r0, #134	; 0x86                               <== NOT EXECUTED
  }                                                                   
}                                                                     
a0009cf4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  pthread_attr_t  *attr,                                              
  int              policy                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
a0009cf8:	e3a00016 	mov	r0, #22                                       
a0009cfc:	e12fff1e 	bx	lr                                             
                                                                      

a000652c <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
a000652c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
a0006530:	e59f60a8 	ldr	r6, [pc, #168]	; a00065e0 <pthread_cond_init+0xb4>
a0006534:	e3510000 	cmp	r1, #0                                        
a0006538:	11a06001 	movne	r6, r1                                      
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
a000653c:	e5963004 	ldr	r3, [r6, #4]                                  
                                                                      
int pthread_cond_init(                                                
  pthread_cond_t           *cond,                                     
  const pthread_condattr_t *attr                                      
)                                                                     
{                                                                     
a0006540:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
a0006544:	e3530001 	cmp	r3, #1                                        
a0006548:	0a00001f 	beq	a00065cc <pthread_cond_init+0xa0>             
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
a000654c:	e5963000 	ldr	r3, [r6]                                      
a0006550:	e3530000 	cmp	r3, #0                                        
a0006554:	1a000001 	bne	a0006560 <pthread_cond_init+0x34>             
    return EINVAL;                                                    
a0006558:	e3a00016 	mov	r0, #22                                       
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
a000655c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0006560:	e59f307c 	ldr	r3, [pc, #124]	; a00065e4 <pthread_cond_init+0xb8>
a0006564:	e5932000 	ldr	r2, [r3]                                      
a0006568:	e2822001 	add	r2, r2, #1                                    
a000656c:	e5832000 	str	r2, [r3]                                      
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
    _Objects_Allocate( &_POSIX_Condition_variables_Information );     
a0006570:	e59f7070 	ldr	r7, [pc, #112]	; a00065e8 <pthread_cond_init+0xbc>
a0006574:	e1a00007 	mov	r0, r7                                        
a0006578:	eb00099b 	bl	a0008bec <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
a000657c:	e2504000 	subs	r4, r0, #0                                   
a0006580:	0a000013 	beq	a00065d4 <pthread_cond_init+0xa8>             
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
a0006584:	e5963004 	ldr	r3, [r6, #4]                                  
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
a0006588:	e3a06000 	mov	r6, #0                                        
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
a000658c:	e2840018 	add	r0, r4, #24                                   
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
a0006590:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
a0006594:	e1a01006 	mov	r1, r6                                        
a0006598:	e3a02b02 	mov	r2, #2048	; 0x800                             
a000659c:	e3a03074 	mov	r3, #116	; 0x74                               
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
a00065a0:	e5846014 	str	r6, [r4, #20]                                 
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
a00065a4:	eb000efd 	bl	a000a1a0 <_Thread_queue_Initialize>            
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a00065a8:	e5943008 	ldr	r3, [r4, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00065ac:	e597201c 	ldr	r2, [r7, #28]                                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a00065b0:	e1a01803 	lsl	r1, r3, #16                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00065b4:	e7824721 	str	r4, [r2, r1, lsr #14]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
a00065b8:	e584600c 	str	r6, [r4, #12]                                 
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
a00065bc:	e5853000 	str	r3, [r5]                                      
                                                                      
  _Thread_Enable_dispatch();                                          
a00065c0:	eb000cee 	bl	a0009980 <_Thread_Enable_dispatch>             
                                                                      
  return 0;                                                           
a00065c4:	e1a00006 	mov	r0, r6                                        
a00065c8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
    return EINVAL;                                                    
a00065cc:	e3a00016 	mov	r0, #22                                       <== NOT EXECUTED
a00065d0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
a00065d4:	eb000ce9 	bl	a0009980 <_Thread_Enable_dispatch>             
    return ENOMEM;                                                    
a00065d8:	e3a0000c 	mov	r0, #12                                       
a00065dc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a00055f4 <pthread_key_create>:
a00055f4:	e59f30f8 	ldr	r3, [pc, #248]	; a00056f4 <pthread_key_create+0x100>
                                                                      
int pthread_key_create(                                               
  pthread_key_t  *key,                                                
  void          (*destructor)( void * )                               
)                                                                     
{                                                                     
a00055f8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a00055fc:	e5932000 	ldr	r2, [r3]                                      
a0005600:	e1a08000 	mov	r8, r0                                        
a0005604:	e1a04001 	mov	r4, r1                                        
a0005608:	e2822001 	add	r2, r2, #1                                    
a000560c:	e5832000 	str	r2, [r3]                                      
 *  the inactive chain of free keys control blocks.                   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) 
{                                                                     
  return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
a0005610:	e59f00e0 	ldr	r0, [pc, #224]	; a00056f8 <pthread_key_create+0x104>
a0005614:	eb0008a8 	bl	a00078bc <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
a0005618:	e2507000 	subs	r7, r0, #0                                   
a000561c:	0a000023 	beq	a00056b0 <pthread_key_create+0xbc>            
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
a0005620:	e59f60d4 	ldr	r6, [pc, #212]	; a00056fc <pthread_key_create+0x108>
a0005624:	e5874010 	str	r4, [r7, #16]                                 
a0005628:	e1a05007 	mov	r5, r7                                        
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
a000562c:	e3a04001 	mov	r4, #1                                        
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
                                                                      
    if ( _Objects_Information_table[ the_api ] ) {                    
a0005630:	e5b63004 	ldr	r3, [r6, #4]!                                 
a0005634:	e3530000 	cmp	r3, #0                                        
a0005638:	0a00001a 	beq	a00056a8 <pthread_key_create+0xb4>            
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
a000563c:	e5933004 	ldr	r3, [r3, #4]                                  
a0005640:	e1d3a1b0 	ldrh	sl, [r3, #16]                                
a0005644:	e28aa001 	add	sl, sl, #1                                    
            INTERNAL_ERROR_CORE,                                      
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
a0005648:	e1a0a10a 	lsl	sl, sl, #2                                    
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
a000564c:	e1a0000a 	mov	r0, sl                                        
a0005650:	eb001161 	bl	a0009bdc <_Workspace_Allocate>                 
      if ( !table ) {                                                 
a0005654:	e2503000 	subs	r3, r0, #0                                   
a0005658:	0a000017 	beq	a00056bc <pthread_key_create+0xc8>            
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
        return ENOMEM;                                                
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
a000565c:	e5853018 	str	r3, [r5, #24]                                 
      memset( table, '\0', bytes_to_allocate );                       
a0005660:	e3a01000 	mov	r1, #0                                        
a0005664:	e1a0200a 	mov	r2, sl                                        
a0005668:	eb0026fd 	bl	a000f264 <memset>                              
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
a000566c:	e2844001 	add	r4, r4, #1                                    
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
a0005670:	e3540004 	cmp	r4, #4                                        
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
a0005674:	e2855004 	add	r5, r5, #4                                    
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
a0005678:	1affffec 	bne	a0005630 <pthread_key_create+0x3c>            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000567c:	e59f2074 	ldr	r2, [pc, #116]	; a00056f8 <pthread_key_create+0x104>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a0005680:	e5973008 	ldr	r3, [r7, #8]                                  
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
a0005684:	e3a04000 	mov	r4, #0                                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0005688:	e592201c 	ldr	r2, [r2, #28]                                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a000568c:	e1a01803 	lsl	r1, r3, #16                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0005690:	e7827721 	str	r7, [r2, r1, lsr #14]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
a0005694:	e587400c 	str	r4, [r7, #12]                                 
                                                                      
  }                                                                   
                                                                      
  _Objects_Open_u32( &_POSIX_Keys_Information, &the_key->Object, 0 ); 
                                                                      
  *key = the_key->Object.id;                                          
a0005698:	e5883000 	str	r3, [r8]                                      
                                                                      
  _Thread_Enable_dispatch();                                          
a000569c:	eb000beb 	bl	a0008650 <_Thread_Enable_dispatch>             
                                                                      
  return 0;                                                           
a00056a0:	e1a00004 	mov	r0, r4                                        
}                                                                     
a00056a4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
      memset( table, '\0', bytes_to_allocate );                       
    } else {                                                          
      the_key->Values[ the_api ] = NULL;                              
a00056a8:	e5853018 	str	r3, [r5, #24]                                 <== NOT EXECUTED
a00056ac:	eaffffee 	b	a000566c <pthread_key_create+0x78>              <== NOT EXECUTED
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
    _Thread_Enable_dispatch();                                        
a00056b0:	eb000be6 	bl	a0008650 <_Thread_Enable_dispatch>             
    return EAGAIN;                                                    
a00056b4:	e3a0000b 	mov	r0, #11                                       
a00056b8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
a00056bc:	e2545001 	subs	r5, r4, #1                                   
a00056c0:	0a000005 	beq	a00056dc <pthread_key_create+0xe8>            
int	_EXFUN(pthread_once,                                              
	(pthread_once_t *__once_control, void (*__init_routine)(void)));     
                                                                      
/* Thread-Specific Data Key Create, P1003.1c/Draft 10, p. 163 */      
                                                                      
int	_EXFUN(pthread_key_create,                                        
a00056c4:	e2844005 	add	r4, r4, #5                                    
a00056c8:	e0874104 	add	r4, r7, r4, lsl #2                            
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
a00056cc:	e5340004 	ldr	r0, [r4, #-4]!                                
a00056d0:	eb001147 	bl	a0009bf4 <_Workspace_Free>                     
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
a00056d4:	e2555001 	subs	r5, r5, #1                                   
a00056d8:	1afffffb 	bne	a00056cc <pthread_key_create+0xd8>            
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
a00056dc:	e59f0014 	ldr	r0, [pc, #20]	; a00056f8 <pthread_key_create+0x104>
a00056e0:	e1a01007 	mov	r1, r7                                        
a00056e4:	eb000950 	bl	a0007c2c <_Objects_Free>                       
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
                                                                      
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
a00056e8:	eb000bd8 	bl	a0008650 <_Thread_Enable_dispatch>             
        return ENOMEM;                                                
a00056ec:	e3a0000c 	mov	r0, #12                                       
a00056f0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a00075e4 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) { if ( !attr || !attr->is_initialized )
a00075e4:	e3500000 	cmp	r0, #0                                        
a00075e8:	0a000008 	beq	a0007610 <pthread_mutexattr_setpshared+0x2c>  
a00075ec:	e5903000 	ldr	r3, [r0]                                      
a00075f0:	e3530000 	cmp	r3, #0                                        
a00075f4:	0a000005 	beq	a0007610 <pthread_mutexattr_setpshared+0x2c>  
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
a00075f8:	e3510001 	cmp	r1, #1                                        
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
a00075fc:	95801004 	strls	r1, [r0, #4]                                
      return 0;                                                       
a0007600:	93a00000 	movls	r0, #0                                      
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
a0007604:	912fff1e 	bxls	lr                                           
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
a0007608:	e3a00016 	mov	r0, #22                                       <== NOT EXECUTED
  }                                                                   
}                                                                     
a000760c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  pthread_mutexattr_t *attr,                                          
  int                  pshared                                        
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
a0007610:	e3a00016 	mov	r0, #22                                       
a0007614:	e12fff1e 	bx	lr                                             
                                                                      

a00071f0 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) { if ( !attr )
a00071f0:	e3500000 	cmp	r0, #0                                        
a00071f4:	0a000008 	beq	a000721c <pthread_rwlockattr_setpshared+0x2c> 
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
a00071f8:	e5903000 	ldr	r3, [r0]                                      
a00071fc:	e3530000 	cmp	r3, #0                                        
a0007200:	0a000005 	beq	a000721c <pthread_rwlockattr_setpshared+0x2c> 
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
a0007204:	e3510001 	cmp	r1, #1                                        
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
a0007208:	95801004 	strls	r1, [r0, #4]                                
      return 0;                                                       
a000720c:	93a00000 	movls	r0, #0                                      
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
a0007210:	912fff1e 	bxls	lr                                           
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
a0007214:	e3a00016 	mov	r0, #22                                       <== NOT EXECUTED
  }                                                                   
}                                                                     
a0007218:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
{                                                                     
  if ( !attr )                                                        
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
    return EINVAL;                                                    
a000721c:	e3a00016 	mov	r0, #22                                       
a0007220:	e12fff1e 	bx	lr                                             
                                                                      

a0005bd4 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
a0005bd4:	e92d4010 	push	{r4, lr}                                     
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
a0005bd8:	e59f4058 	ldr	r4, [pc, #88]	; a0005c38 <pthread_testcancel+0x64>
a0005bdc:	e5943000 	ldr	r3, [r4]                                      
a0005be0:	e3530000 	cmp	r3, #0                                        
a0005be4:	1a000010 	bne	a0005c2c <pthread_testcancel+0x58>            
a0005be8:	e59f304c 	ldr	r3, [pc, #76]	; a0005c3c <pthread_testcancel+0x68>
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
a0005bec:	e5942004 	ldr	r2, [r4, #4]                                  
a0005bf0:	e5931000 	ldr	r1, [r3]                                      
a0005bf4:	e5922108 	ldr	r2, [r2, #264]	; 0x108                        
a0005bf8:	e2811001 	add	r1, r1, #1                                    
a0005bfc:	e5831000 	str	r1, [r3]                                      
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
a0005c00:	e59230d4 	ldr	r3, [r2, #212]	; 0xd4                         
a0005c04:	e3530000 	cmp	r3, #0                                        
a0005c08:	1a000008 	bne	a0005c30 <pthread_testcancel+0x5c>            
a0005c0c:	e59230dc 	ldr	r3, [r2, #220]	; 0xdc                         
a0005c10:	e3530000 	cmp	r3, #0                                        
a0005c14:	0a000005 	beq	a0005c30 <pthread_testcancel+0x5c>            
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
a0005c18:	eb0009c1 	bl	a0008324 <_Thread_Enable_dispatch>             
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
a0005c1c:	e5940004 	ldr	r0, [r4, #4]                                  
a0005c20:	e3e01000 	mvn	r1, #0                                        
}                                                                     
a0005c24:	e8bd4010 	pop	{r4, lr}                                      
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
a0005c28:	ea0017a9 	b	a000bad4 <_POSIX_Thread_Exit>                   
a0005c2c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
}                                                                     
a0005c30:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
a0005c34:	ea0009ba 	b	a0008324 <_Thread_Enable_dispatch>              
                                                                      

a0012a44 <read>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0012a44:	e59f30a8 	ldr	r3, [pc, #168]	; a0012af4 <read+0xb0>         
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0012a48:	e92d4030 	push	{r4, r5, lr}                                 
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0012a4c:	e593c000 	ldr	ip, [r3]                                      
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0012a50:	e1a05001 	mov	r5, r1                                        
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0012a54:	e150000c 	cmp	r0, ip                                        
a0012a58:	2a00001b 	bcs	a0012acc <read+0x88>                          
  iop = rtems_libio_iop( fd );                                        
a0012a5c:	e59fc094 	ldr	ip, [pc, #148]	; a0012af8 <read+0xb4>         
a0012a60:	e3a04038 	mov	r4, #56	; 0x38                                
a0012a64:	e59cc000 	ldr	ip, [ip]                                      
a0012a68:	e024c490 	mla	r4, r0, r4, ip                                
  rtems_libio_check_is_open( iop );                                   
a0012a6c:	e5940014 	ldr	r0, [r4, #20]                                 
a0012a70:	e3100c01 	tst	r0, #256	; 0x100                              
a0012a74:	0a000014 	beq	a0012acc <read+0x88>                          
  rtems_libio_check_buffer( buffer );                                 
a0012a78:	e3510000 	cmp	r1, #0                                        
a0012a7c:	0a000017 	beq	a0012ae0 <read+0x9c>                          
  rtems_libio_check_count( count );                                   
a0012a80:	e3520000 	cmp	r2, #0                                        
a0012a84:	0a00000e 	beq	a0012ac4 <read+0x80>                          
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0012a88:	e3100002 	tst	r0, #2                                        
a0012a8c:	0a000013 	beq	a0012ae0 <read+0x9c>                          
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
a0012a90:	e5943020 	ldr	r3, [r4, #32]                                 
a0012a94:	e1a00004 	mov	r0, r4                                        
a0012a98:	e5933008 	ldr	r3, [r3, #8]                                  
a0012a9c:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0012aa0:	e3500000 	cmp	r0, #0                                        
a0012aa4:	da000007 	ble	a0012ac8 <read+0x84>                          
    iop->offset += rc;                                                
a0012aa8:	e284300c 	add	r3, r4, #12                                   
a0012aac:	e893000c 	ldm	r3, {r2, r3}                                  
a0012ab0:	e0922000 	adds	r2, r2, r0                                   
a0012ab4:	e0a33fc0 	adc	r3, r3, r0, asr #31                           
a0012ab8:	e584200c 	str	r2, [r4, #12]                                 
a0012abc:	e5843010 	str	r3, [r4, #16]                                 
a0012ac0:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
a0012ac4:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
a0012ac8:	e8bd8030 	pop	{r4, r5, pc}                                  
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0012acc:	ebffebdb 	bl	a000da40 <__errno>                             
a0012ad0:	e3a03009 	mov	r3, #9                                        
a0012ad4:	e5803000 	str	r3, [r0]                                      
a0012ad8:	e3e00000 	mvn	r0, #0                                        
a0012adc:	e8bd8030 	pop	{r4, r5, pc}                                  
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0012ae0:	ebffebd6 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0012ae4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0012ae8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0012aec:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0012af0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0005394 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
a0005394:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a0005398:	e2516000 	subs	r6, r1, #0                                   
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
a000539c:	e24dd018 	sub	sp, sp, #24                                   
a00053a0:	e1a07000 	mov	r7, r0                                        
a00053a4:	e1a05002 	mov	r5, r2                                        
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a00053a8:	0a00001d 	beq	a0005424 <readlink+0x90>                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
a00053ac:	eb0034f7 	bl	a0012790 <strlen>                              
a00053b0:	e28d4004 	add	r4, sp, #4                                    
a00053b4:	e1a01000 	mov	r1, r0                                        
a00053b8:	e3a02000 	mov	r2, #0                                        
a00053bc:	e1a00007 	mov	r0, r7                                        
a00053c0:	e1a03004 	mov	r3, r4                                        
a00053c4:	e58d2000 	str	r2, [sp]                                      
a00053c8:	ebfffb63 	bl	a000415c <rtems_filesystem_evaluate_path>      
                                           0, &loc, false );          
  if ( result != 0 )                                                  
a00053cc:	e3500000 	cmp	r0, #0                                        
     return -1;                                                       
a00053d0:	13e05000 	mvnne	r5, #0                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
a00053d4:	0a000002 	beq	a00053e4 <readlink+0x50>                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
a00053d8:	e1a00005 	mov	r0, r5                                        
a00053dc:	e28dd018 	add	sp, sp, #24                                   
a00053e0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
a00053e4:	e59d3010 	ldr	r3, [sp, #16]                                 
a00053e8:	e1a00004 	mov	r0, r4                                        
a00053ec:	e5933010 	ldr	r3, [r3, #16]                                 
a00053f0:	e12fff33 	blx	r3                                            
a00053f4:	e3500004 	cmp	r0, #4                                        
a00053f8:	1a00000e 	bne	a0005438 <readlink+0xa4>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
a00053fc:	e59d3010 	ldr	r3, [sp, #16]                                 
a0005400:	e1a02005 	mov	r2, r5                                        
a0005404:	e1a00004 	mov	r0, r4                                        
a0005408:	e1a01006 	mov	r1, r6                                        
a000540c:	e593303c 	ldr	r3, [r3, #60]	; 0x3c                          
a0005410:	e12fff33 	blx	r3                                            
a0005414:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0005418:	e1a00004 	mov	r0, r4                                        
a000541c:	ebfffb99 	bl	a0004288 <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
a0005420:	eaffffec 	b	a00053d8 <readlink+0x44>                        
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0005424:	eb002d7f 	bl	a0010a28 <__errno>                             <== NOT EXECUTED
a0005428:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a000542c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005430:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0005434:	eaffffe7 	b	a00053d8 <readlink+0x44>                        <== NOT EXECUTED
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
a0005438:	e1a00004 	mov	r0, r4                                        
a000543c:	ebfffb91 	bl	a0004288 <rtems_filesystem_freenode>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0005440:	eb002d78 	bl	a0010a28 <__errno>                             
a0005444:	e3a03016 	mov	r3, #22                                       
a0005448:	e5803000 	str	r3, [r0]                                      
a000544c:	e3e05000 	mvn	r5, #0                                        
a0005450:	eaffffe0 	b	a00053d8 <readlink+0x44>                        
                                                                      

a000402c <readv>: int v; int bytes; rtems_libio_t *iop; bool all_zeros; rtems_libio_check_fd( fd );
a000402c:	e59f313c 	ldr	r3, [pc, #316]	; a0004170 <readv+0x144>       
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0004030:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0004034:	e5933000 	ldr	r3, [r3]                                      
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0004038:	e1a04002 	mov	r4, r2                                        
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a000403c:	e1500003 	cmp	r0, r3                                        
a0004040:	2a000045 	bcs	a000415c <readv+0x130>                        
  iop = rtems_libio_iop( fd );                                        
a0004044:	e59f3128 	ldr	r3, [pc, #296]	; a0004174 <readv+0x148>       
a0004048:	e3a06038 	mov	r6, #56	; 0x38                                
a000404c:	e5933000 	ldr	r3, [r3]                                      
a0004050:	e0263690 	mla	r6, r0, r6, r3                                
  rtems_libio_check_is_open( iop );                                   
a0004054:	e5963014 	ldr	r3, [r6, #20]                                 
a0004058:	e3130c01 	tst	r3, #256	; 0x100                              
a000405c:	0a00003e 	beq	a000415c <readv+0x130>                        
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0004060:	e3130002 	tst	r3, #2                                        
a0004064:	0a000036 	beq	a0004144 <readv+0x118>                        
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a0004068:	e3510000 	cmp	r1, #0                                        
a000406c:	0a000034 	beq	a0004144 <readv+0x118>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a0004070:	e3520000 	cmp	r2, #0                                        
a0004074:	da000032 	ble	a0004144 <readv+0x118>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a0004078:	e3520b01 	cmp	r2, #1024	; 0x400                             
a000407c:	ca000030 	bgt	a0004144 <readv+0x118>                        
a0004080:	e3a02000 	mov	r2, #0                                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0004084:	e1a05001 	mov	r5, r1                                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a0004088:	e1a03001 	mov	r3, r1                                        
a000408c:	e3a07001 	mov	r7, #1                                        
a0004090:	e1a01002 	mov	r1, r2                                        
a0004094:	ea000000 	b	a000409c <readv+0x70>                           
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0004098:	e1a0100c 	mov	r1, ip                                        
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a000409c:	e5930000 	ldr	r0, [r3]                                      
   *  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++ ) {                           
a00040a0:	e2822001 	add	r2, r2, #1                                    
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a00040a4:	e3500000 	cmp	r0, #0                                        
a00040a8:	0a000025 	beq	a0004144 <readv+0x118>                        
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a00040ac:	e5930004 	ldr	r0, [r3, #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++ ) {                           
a00040b0:	e2833008 	add	r3, r3, #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;                                          
a00040b4:	e081c000 	add	ip, r1, r0                                    
    if ( total < old )                                                
a00040b8:	e151000c 	cmp	r1, ip                                        
a00040bc:	ca000020 	bgt	a0004144 <readv+0x118>                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
a00040c0:	e3500000 	cmp	r0, #0                                        
a00040c4:	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++ ) {                           
a00040c8:	e1540002 	cmp	r4, r2                                        
a00040cc:	cafffff1 	bgt	a0004098 <readv+0x6c>                         
  /*                                                                  
   *  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 ) {                                          
a00040d0:	e3570000 	cmp	r7, #0                                        
    return 0;                                                         
a00040d4:	13a08000 	movne	r8, #0                                      
  /*                                                                  
   *  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 ) {                                          
a00040d8:	1a00001d 	bne	a0004154 <readv+0x128>                        
a00040dc:	e1a08007 	mov	r8, r7                                        
a00040e0:	ea00000d 	b	a000411c <readv+0xf0>                           
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a00040e4:	0a000006 	beq	a0004104 <readv+0xd8>                         
      iop->offset += bytes;                                           
a00040e8:	e286300c 	add	r3, r6, #12                                   
a00040ec:	e893000c 	ldm	r3, {r2, r3}                                  
a00040f0:	e0922000 	adds	r2, r2, r0                                   
a00040f4:	e0a33fc0 	adc	r3, r3, r0, asr #31                           
a00040f8:	e586200c 	str	r2, [r6, #12]                                 
a00040fc:	e5863010 	str	r3, [r6, #16]                                 
      total       += bytes;                                           
a0004100:	e0888000 	add	r8, r8, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0004104:	e5953004 	ldr	r3, [r5, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0004108:	e2855008 	add	r5, r5, #8                                    
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a000410c:	e1500003 	cmp	r0, r3                                        
a0004110:	1a00000f 	bne	a0004154 <readv+0x128>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0004114:	e1540007 	cmp	r4, r7                                        
a0004118:	da00000d 	ble	a0004154 <readv+0x128>                        
    bytes = (*iop->pathinfo.handlers->read_h)(                        
a000411c:	e5963020 	ldr	r3, [r6, #32]                                 
a0004120:	e8950006 	ldm	r5, {r1, r2}                                  
a0004124:	e5933008 	ldr	r3, [r3, #8]                                  
a0004128:	e1a00006 	mov	r0, r6                                        
a000412c:	e12fff33 	blx	r3                                            
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
a0004130:	e3500000 	cmp	r0, #0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0004134:	e2877001 	add	r7, r7, #1                                    
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
a0004138:	aaffffe9 	bge	a00040e4 <readv+0xb8>                         
      return -1;                                                      
a000413c:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0004140:	ea000003 	b	a0004154 <readv+0x128>                          <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0004144:	eb002a71 	bl	a000eb10 <__errno>                             
a0004148:	e3a03016 	mov	r3, #22                                       
a000414c:	e5803000 	str	r3, [r0]                                      
a0004150:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0004154:	e1a00008 	mov	r0, r8                                        
a0004158:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a000415c:	eb002a6b 	bl	a000eb10 <__errno>                             
a0004160:	e3a03009 	mov	r3, #9                                        
a0004164:	e5803000 	str	r3, [r0]                                      
a0004168:	e3e08000 	mvn	r8, #0                                        
a000416c:	eafffff8 	b	a0004154 <readv+0x128>                          
                                                                      

a0012b54 <realloc>: void *realloc( void *ptr, size_t size ) {
a0012b54:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0012b58:	e59f3118 	ldr	r3, [pc, #280]	; a0012c78 <realloc+0x124>     
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0012b5c:	e59f5118 	ldr	r5, [pc, #280]	; a0012c7c <realloc+0x128>     
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
a0012b60:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0012b64:	e5933000 	ldr	r3, [r3]                                      
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0012b68:	e5952010 	ldr	r2, [r5, #16]                                 
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
a0012b6c:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0012b70:	e3530003 	cmp	r3, #3                                        
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0012b74:	e2822001 	add	r2, r2, #1                                    
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
a0012b78:	e1a06001 	mov	r6, r1                                        
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0012b7c:	e5852010 	str	r2, [r5, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0012b80:	0a000020 	beq	a0012c08 <realloc+0xb4>                       
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
a0012b84:	e3540000 	cmp	r4, #0                                        
a0012b88:	0a00001a 	beq	a0012bf8 <realloc+0xa4>                       
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
a0012b8c:	e3560000 	cmp	r6, #0                                        
a0012b90:	0a00000f 	beq	a0012bd4 <realloc+0x80>                       
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
a0012b94:	e59f70e4 	ldr	r7, [pc, #228]	; a0012c80 <realloc+0x12c>     
a0012b98:	e1a01004 	mov	r1, r4                                        
a0012b9c:	e1a0200d 	mov	r2, sp                                        
a0012ba0:	e5970000 	ldr	r0, [r7]                                      
a0012ba4:	eb000066 	bl	a0012d44 <_Protected_heap_Get_block_size>      
a0012ba8:	e2508000 	subs	r8, r0, #0                                   
a0012bac:	0a00000c 	beq	a0012be4 <realloc+0x90>                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
a0012bb0:	e5970000 	ldr	r0, [r7]                                      
a0012bb4:	e1a01004 	mov	r1, r4                                        
a0012bb8:	e1a02006 	mov	r2, r6                                        
a0012bbc:	eb000071 	bl	a0012d88 <_Protected_heap_Resize_block>        
a0012bc0:	e3500000 	cmp	r0, #0                                        
a0012bc4:	0a00001a 	beq	a0012c34 <realloc+0xe0>                       
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
a0012bc8:	e1a00004 	mov	r0, r4                                        
a0012bcc:	e28dd004 	add	sp, sp, #4                                    
a0012bd0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
a0012bd4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0012bd8:	ebffbcc4 	bl	a0001ef0 <free>                                <== NOT EXECUTED
    return (void *) 0;                                                
a0012bdc:	e1a04006 	mov	r4, r6                                        <== NOT EXECUTED
a0012be0:	eafffff8 	b	a0012bc8 <realloc+0x74>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
a0012be4:	ebffeb95 	bl	a000da40 <__errno>                             
a0012be8:	e3a03016 	mov	r3, #22                                       
a0012bec:	e5803000 	str	r3, [r0]                                      
    return (void *) 0;                                                
a0012bf0:	e1a04008 	mov	r4, r8                                        
a0012bf4:	eafffff3 	b	a0012bc8 <realloc+0x74>                         
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
a0012bf8:	e1a00006 	mov	r0, r6                                        
a0012bfc:	ebffbda2 	bl	a000228c <malloc>                              
a0012c00:	e1a04000 	mov	r4, r0                                        
a0012c04:	eaffffef 	b	a0012bc8 <realloc+0x74>                         
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
a0012c08:	e59f3074 	ldr	r3, [pc, #116]	; a0012c84 <realloc+0x130>     
a0012c0c:	e5933000 	ldr	r3, [r3]                                      
a0012c10:	e3530000 	cmp	r3, #0                                        
      return (void *) 0;                                              
a0012c14:	13a04000 	movne	r4, #0                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
a0012c18:	1affffea 	bne	a0012bc8 <realloc+0x74>                       
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
a0012c1c:	e59f2064 	ldr	r2, [pc, #100]	; a0012c88 <realloc+0x134>     
a0012c20:	e5922000 	ldr	r2, [r2]                                      
a0012c24:	e3520000 	cmp	r2, #0                                        
      return (void *) 0;                                              
a0012c28:	11a04003 	movne	r4, r3                                      
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
a0012c2c:	0affffd4 	beq	a0012b84 <realloc+0x30>                       
a0012c30:	eaffffe4 	b	a0012bc8 <realloc+0x74>                         <== NOT EXECUTED
   *  There used to be a free on this error case but it is wrong to   
   *  free the memory per OpenGroup Single UNIX Specification V2      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
a0012c34:	e1a00006 	mov	r0, r6                                        
a0012c38:	ebffbd93 	bl	a000228c <malloc>                              
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0012c3c:	e5953004 	ldr	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0012c40:	e2507000 	subs	r7, r0, #0                                   
    return (void *) 0;                                                
a0012c44:	01a04007 	moveq	r4, r7                                      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0012c48:	e2433001 	sub	r3, r3, #1                                    
a0012c4c:	e5853004 	str	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0012c50:	0affffdc 	beq	a0012bc8 <realloc+0x74>                       
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
a0012c54:	e59d2000 	ldr	r2, [sp]                                      
a0012c58:	e1a01004 	mov	r1, r4                                        
a0012c5c:	e1560002 	cmp	r6, r2                                        
a0012c60:	31a02006 	movcc	r2, r6                                      
a0012c64:	ebffeda3 	bl	a000e2f8 <memcpy>                              
  free( ptr );                                                        
a0012c68:	e1a00004 	mov	r0, r4                                        
a0012c6c:	ebffbc9f 	bl	a0001ef0 <free>                                
                                                                      
  return new_area;                                                    
a0012c70:	e1a04007 	mov	r4, r7                                        
a0012c74:	eaffffd3 	b	a0012bc8 <realloc+0x74>                         
                                                                      

a000419c <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
a000419c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a00041a0:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a00041a4:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
a00041a8:	ebfffacf 	bl	a0002cec <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a00041ac:	e2505000 	subs	r5, r0, #0                                   
a00041b0:	1a000046 	bne	a00042d0 <rmdir+0x134>                        
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
a00041b4:	e28d4018 	add	r4, sp, #24                                   
a00041b8:	e1a00007 	mov	r0, r7                                        
a00041bc:	e28d102c 	add	r1, sp, #44	; 0x2c                            
a00041c0:	e1a02004 	mov	r2, r4                                        
a00041c4:	eb00004d 	bl	a0004300 <rtems_filesystem_get_start_loc>      
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
a00041c8:	e1a06005 	mov	r6, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a00041cc:	e28dc004 	add	ip, sp, #4                                    
a00041d0:	e1a0e004 	mov	lr, r4                                        
a00041d4:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00041d8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00041dc:	e59e3000 	ldr	r3, [lr]                                      
  name = pathname + parentpathlen;                                    
a00041e0:	e0875005 	add	r5, r7, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a00041e4:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a00041e8:	e58c3000 	str	r3, [ip]                                      
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a00041ec:	eb002e76 	bl	a000fbcc <strlen>                              
a00041f0:	e1a01000 	mov	r1, r0                                        
a00041f4:	e1a00005 	mov	r0, r5                                        
a00041f8:	ebfffaca 	bl	a0002d28 <rtems_filesystem_prefix_separators>  
a00041fc:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0004200:	e1a00007 	mov	r0, r7                                        
a0004204:	eb002e70 	bl	a000fbcc <strlen>                              
a0004208:	e28d5004 	add	r5, sp, #4                                    
a000420c:	e1a01000 	mov	r1, r0                                        
a0004210:	e3a02000 	mov	r2, #0                                        
a0004214:	e1a00007 	mov	r0, r7                                        
a0004218:	e1a03005 	mov	r3, r5                                        
a000421c:	e58d2000 	str	r2, [sp]                                      
a0004220:	ebfffa65 	bl	a0002bbc <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a0004224:	e3500000 	cmp	r0, #0                                        
a0004228:	1a000015 	bne	a0004284 <rmdir+0xe8>                         
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
a000422c:	e59d3010 	ldr	r3, [sp, #16]                                 
a0004230:	e1a00005 	mov	r0, r5                                        
a0004234:	e5933010 	ldr	r3, [r3, #16]                                 
a0004238:	e12fff33 	blx	r3                                            
a000423c:	e3500001 	cmp	r0, #1                                        
a0004240:	1a000013 	bne	a0004294 <rmdir+0xf8>                         
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
a0004244:	e59d300c 	ldr	r3, [sp, #12]                                 
a0004248:	e1a01005 	mov	r1, r5                                        
a000424c:	e1a00004 	mov	r0, r4                                        
a0004250:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0004254:	e12fff33 	blx	r3                                            
a0004258:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000425c:	e1a00005 	mov	r0, r5                                        
a0004260:	ebfffb61 	bl	a0002fec <rtems_filesystem_freenode>           
  if ( free_parentloc )                                               
a0004264:	e3560000 	cmp	r6, #0                                        
a0004268:	1a000002 	bne	a0004278 <rmdir+0xdc>                         
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
a000426c:	e1a00007 	mov	r0, r7                                        
a0004270:	e28dd030 	add	sp, sp, #48	; 0x30                            
a0004274:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
a0004278:	e1a00004 	mov	r0, r4                                        
a000427c:	ebfffb5a 	bl	a0002fec <rtems_filesystem_freenode>           
a0004280:	eafffff9 	b	a000426c <rmdir+0xd0>                           
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
a0004284:	e3560000 	cmp	r6, #0                                        
a0004288:	1a00000c 	bne	a00042c0 <rmdir+0x124>                        
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
a000428c:	e3e07000 	mvn	r7, #0                                        
a0004290:	eafffff5 	b	a000426c <rmdir+0xd0>                           
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
    rtems_filesystem_freenode( &loc );                                
a0004294:	e1a00005 	mov	r0, r5                                        
a0004298:	ebfffb53 	bl	a0002fec <rtems_filesystem_freenode>           
    if ( free_parentloc )                                             
a000429c:	e3560000 	cmp	r6, #0                                        
a00042a0:	0a000001 	beq	a00042ac <rmdir+0x110>                        
      rtems_filesystem_freenode( &parentloc );                        
a00042a4:	e1a00004 	mov	r0, r4                                        
a00042a8:	ebfffb4f 	bl	a0002fec <rtems_filesystem_freenode>           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a00042ac:	eb002a81 	bl	a000ecb8 <__errno>                             
a00042b0:	e3a03014 	mov	r3, #20                                       
a00042b4:	e5803000 	str	r3, [r0]                                      
a00042b8:	e3e07000 	mvn	r7, #0                                        
a00042bc:	eaffffea 	b	a000426c <rmdir+0xd0>                           
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
a00042c0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00042c4:	ebfffb48 	bl	a0002fec <rtems_filesystem_freenode>           <== NOT EXECUTED
    return -1;                                                        
a00042c8:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a00042cc:	eaffffe6 	b	a000426c <rmdir+0xd0>                           <== NOT EXECUTED
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
a00042d0:	e3a03000 	mov	r3, #0                                        
a00042d4:	e28d4018 	add	r4, sp, #24                                   
a00042d8:	e58d3000 	str	r3, [sp]                                      
a00042dc:	e3a02002 	mov	r2, #2                                        
a00042e0:	e1a00007 	mov	r0, r7                                        
a00042e4:	e1a01005 	mov	r1, r5                                        
a00042e8:	e1a03004 	mov	r3, r4                                        
a00042ec:	ebfffa5c 	bl	a0002c64 <rtems_filesystem_evaluate_path>      
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
a00042f0:	e3500000 	cmp	r0, #0                                        
a00042f4:	1affffe4 	bne	a000428c <rmdir+0xf0>                         
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
a00042f8:	e3a06001 	mov	r6, #1                                        
a00042fc:	eaffffb2 	b	a00041cc <rmdir+0x30>                           
                                                                      

a0002a68 <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
a0002a68:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0002a6c:	e5904000 	ldr	r4, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
a0002a70:	e1a06000 	mov	r6, r0                                        
a0002a74:	e1a07001 	mov	r7, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0002a78:	e3540000 	cmp	r4, #0                                        
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
a0002a7c:	01a06004 	moveq	r6, r4                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0002a80:	0a000011 	beq	a0002acc <rtems_assoc_ptr_by_name+0x64>       
a0002a84:	e1a00004 	mov	r0, r4                                        
a0002a88:	e59f106c 	ldr	r1, [pc, #108]	; a0002afc <rtems_assoc_ptr_by_name+0x94>
a0002a8c:	eb0032a5 	bl	a000f528 <strcmp>                              
a0002a90:	e3500000 	cmp	r0, #0                                        
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
a0002a94:	13a08000 	movne	r8, #0                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0002a98:	0a00000d 	beq	a0002ad4 <rtems_assoc_ptr_by_name+0x6c>       
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0002a9c:	e1a05006 	mov	r5, r6                                        
a0002aa0:	ea000003 	b	a0002ab4 <rtems_assoc_ptr_by_name+0x4c>         
a0002aa4:	e595400c 	ldr	r4, [r5, #12]                                 
a0002aa8:	e285500c 	add	r5, r5, #12                                   
a0002aac:	e3540000 	cmp	r4, #0                                        
a0002ab0:	0a00000e 	beq	a0002af0 <rtems_assoc_ptr_by_name+0x88>       
    if (strcmp(ap->name, name) == 0)                                  
a0002ab4:	e1a00004 	mov	r0, r4                                        
a0002ab8:	e1a01007 	mov	r1, r7                                        
a0002abc:	eb003299 	bl	a000f528 <strcmp>                              
a0002ac0:	e3500000 	cmp	r0, #0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0002ac4:	e1a06005 	mov	r6, r5                                        
    if (strcmp(ap->name, name) == 0)                                  
a0002ac8:	1afffff5 	bne	a0002aa4 <rtems_assoc_ptr_by_name+0x3c>       
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
a0002acc:	e1a00006 	mov	r0, r6                                        
a0002ad0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0002ad4:	e596400c 	ldr	r4, [r6, #12]                                 
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a0002ad8:	e286300c 	add	r3, r6, #12                                   
                                                                      
  for ( ; ap->name; ap++)                                             
a0002adc:	e3540000 	cmp	r4, #0                                        
a0002ae0:	11a08006 	movne	r8, r6                                      
a0002ae4:	11a06003 	movne	r6, r3                                      
a0002ae8:	1affffeb 	bne	a0002a9c <rtems_assoc_ptr_by_name+0x34>       
a0002aec:	eafffff6 	b	a0002acc <rtems_assoc_ptr_by_name+0x64>         <== NOT EXECUTED
a0002af0:	e1a06008 	mov	r6, r8                                        
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
a0002af4:	e1a00006 	mov	r0, r6                                        
a0002af8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

a000d984 <rtems_deviceio_errno>: [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) { if (sc == RTEMS_SUCCESSFUL) {
a000d984:	e2503000 	subs	r3, r0, #0                                   
  [RTEMS_IO_ERROR]                 = EIO,                             
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
a000d988:	e92d4010 	push	{r4, lr}                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
a000d98c:	1a000001 	bne	a000d998 <rtems_deviceio_errno+0x14>          
                                                                      
    errno = eno;                                                      
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
a000d990:	e1a00003 	mov	r0, r3                                        
a000d994:	e8bd8010 	pop	{r4, pc}                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
a000d998:	e353001c 	cmp	r3, #28                                       <== NOT EXECUTED
      eno = status_code_to_errno [sc];                                
a000d99c:	959f2014 	ldrls	r2, [pc, #20]	; a000d9b8 <rtems_deviceio_errno+0x34><== NOT EXECUTED
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
a000d9a0:	83a04016 	movhi	r4, #22                                     <== NOT EXECUTED
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
a000d9a4:	97924103 	ldrls	r4, [r2, r3, lsl #2]                        <== NOT EXECUTED
    }                                                                 
                                                                      
    errno = eno;                                                      
a000d9a8:	eb000024 	bl	a000da40 <__errno>                             <== NOT EXECUTED
                                                                      
    return -1;                                                        
a000d9ac:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
a000d9b0:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
                                                                      
    return -1;                                                        
a000d9b4:	eafffff5 	b	a000d990 <rtems_deviceio_errno+0xc>             <== NOT EXECUTED
                                                                      

a0001e38 <rtems_filesystem_dirname>: } int rtems_filesystem_dirname( const char *pathname ) {
a0001e38:	e92d4030 	push	{r4, r5, lr}                                 
a0001e3c:	e1a05000 	mov	r5, r0                                        
  int len = strlen( pathname );                                       
a0001e40:	eb0032ee 	bl	a000ea00 <strlen>                              
                                                                      
  while ( len ) {                                                     
a0001e44:	e2504000 	subs	r4, r0, #0                                   
a0001e48:	1a000002 	bne	a0001e58 <rtems_filesystem_dirname+0x20>      
a0001e4c:	ea000006 	b	a0001e6c <rtems_filesystem_dirname+0x34>        <== NOT EXECUTED
a0001e50:	e3540000 	cmp	r4, #0                                        
a0001e54:	0a000004 	beq	a0001e6c <rtems_filesystem_dirname+0x34>      
    len--;                                                            
a0001e58:	e2444001 	sub	r4, r4, #1                                    
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
a0001e5c:	e7d50004 	ldrb	r0, [r5, r4]                                 
a0001e60:	eb0003dd 	bl	a0002ddc <rtems_filesystem_is_separator>       
a0001e64:	e3500000 	cmp	r0, #0                                        
a0001e68:	0afffff8 	beq	a0001e50 <rtems_filesystem_dirname+0x18>      
      break;                                                          
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
a0001e6c:	e1a00004 	mov	r0, r4                                        
a0001e70:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a0001db0 <rtems_filesystem_evaluate_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
a0001db0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0001db4:	e1a07003 	mov	r7, r3                                        
a0001db8:	e24dd008 	sub	sp, sp, #8                                    
  int                           i = 0;                                
a0001dbc:	e3a03000 	mov	r3, #0                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001dc0:	e2505000 	subs	r5, r0, #0                                   
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001dc4:	e1a04001 	mov	r4, r1                                        
a0001dc8:	e1a06002 	mov	r6, r2                                        
  int                           i = 0;                                
a0001dcc:	e58d3004 	str	r3, [sp, #4]                                  
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001dd0:	0a000013 	beq	a0001e24 <rtems_filesystem_evaluate_path+0x74>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
a0001dd4:	e3570000 	cmp	r7, #0                                        
a0001dd8:	0a00000c 	beq	a0001e10 <rtems_filesystem_evaluate_path+0x60>
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
a0001ddc:	e28d1004 	add	r1, sp, #4                                    
a0001de0:	e1a02007 	mov	r2, r7                                        
a0001de4:	eb0003e1 	bl	a0002d70 <rtems_filesystem_get_start_loc>      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a0001de8:	e59d1004 	ldr	r1, [sp, #4]                                  
a0001dec:	e59dc01c 	ldr	ip, [sp, #28]                                 
a0001df0:	e1a02006 	mov	r2, r6                                        
a0001df4:	e0850001 	add	r0, r5, r1                                    
a0001df8:	e1a03007 	mov	r3, r7                                        
a0001dfc:	e0611004 	rsb	r1, r1, r4                                    
a0001e00:	e58dc000 	str	ip, [sp]                                      
a0001e04:	ebffffbf 	bl	a0001d08 <rtems_filesystem_evaluate_relative_path>
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
a0001e08:	e28dd008 	add	sp, sp, #8                                    
a0001e0c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a0001e10:	eb002f0a 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001e14:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a0001e18:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001e1c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001e20:	eafffff8 	b	a0001e08 <rtems_filesystem_evaluate_path+0x58>  <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001e24:	eb002f05 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001e28:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001e2c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001e30:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001e34:	eafffff3 	b	a0001e08 <rtems_filesystem_evaluate_path+0x58>  <== NOT EXECUTED
                                                                      

a0001d08 <rtems_filesystem_evaluate_relative_path>: /* * Verify Input parameters. */ if ( !pathname )
a0001d08:	e3500000 	cmp	r0, #0                                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001d0c:	e92d4030 	push	{r4, r5, lr}                                 
a0001d10:	e1a05002 	mov	r5, r2                                        
a0001d14:	e1a04003 	mov	r4, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001d18:	0a00001f 	beq	a0001d9c <rtems_filesystem_evaluate_relative_path+0x94>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
a0001d1c:	e3530000 	cmp	r3, #0                                        
a0001d20:	0a000018 	beq	a0001d88 <rtems_filesystem_evaluate_relative_path+0x80>
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
a0001d24:	e593c00c 	ldr	ip, [r3, #12]                                 
a0001d28:	e59cc000 	ldr	ip, [ip]                                      
a0001d2c:	e12fff3c 	blx	ip                                            
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
a0001d30:	e59d200c 	ldr	r2, [sp, #12]                                 
a0001d34:	e2703001 	rsbs	r3, r0, #1                                   
a0001d38:	33a03000 	movcc	r3, #0                                      
a0001d3c:	e3520000 	cmp	r2, #0                                        
a0001d40:	03a03000 	moveq	r3, #0                                      
a0001d44:	e3530000 	cmp	r3, #0                                        
a0001d48:	1a000000 	bne	a0001d50 <rtems_filesystem_evaluate_relative_path+0x48>
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
a0001d4c:	e8bd8030 	pop	{r4, r5, pc}                                  
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
a0001d50:	e594300c 	ldr	r3, [r4, #12]                                 
a0001d54:	e1a00004 	mov	r0, r4                                        
a0001d58:	e5933010 	ldr	r3, [r3, #16]                                 
a0001d5c:	e12fff33 	blx	r3                                            
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
a0001d60:	e2400003 	sub	r0, r0, #3                                    
a0001d64:	e3500001 	cmp	r0, #1                                        
a0001d68:	83a00000 	movhi	r0, #0                                      
a0001d6c:	8afffff6 	bhi	a0001d4c <rtems_filesystem_evaluate_relative_path+0x44>
         *    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 );     
a0001d70:	e594300c 	ldr	r3, [r4, #12]                                 
a0001d74:	e1a00004 	mov	r0, r4                                        
a0001d78:	e1a01005 	mov	r1, r5                                        
a0001d7c:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0001d80:	e12fff33 	blx	r3                                            
a0001d84:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a0001d88:	eb002f2c 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001d8c:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a0001d90:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001d94:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001d98:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001d9c:	eb002f27 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0001da0:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001da4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001da8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001dac:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0001ba4 <rtems_filesystem_initialize>: /* * mount the first filesystem. */ if ( rtems_filesystem_mount_table_size == 0 )
a0001ba4:	e59f20f0 	ldr	r2, [pc, #240]	; a0001c9c <rtems_filesystem_initialize+0xf8>
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
a0001ba8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001bac:	e59f60ec 	ldr	r6, [pc, #236]	; a0001ca0 <rtems_filesystem_initialize+0xfc>
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001bb0:	e5922000 	ldr	r2, [r2]                                      
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
a0001bb4:	e24dd018 	sub	sp, sp, #24                                   
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001bb8:	e5963000 	ldr	r3, [r6]                                      
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001bbc:	e3520000 	cmp	r2, #0                                        
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001bc0:	e3a02012 	mov	r2, #18                                       
a0001bc4:	e583202c 	str	r2, [r3, #44]	; 0x2c                          
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001bc8:	0a00002d 	beq	a0001c84 <rtems_filesystem_initialize+0xe0>   
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a0001bcc:	e59f30d0 	ldr	r3, [pc, #208]	; a0001ca4 <rtems_filesystem_initialize+0x100>
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
a0001bd0:	e3a05000 	mov	r5, #0                                        
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a0001bd4:	e5933000 	ldr	r3, [r3]                                      
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
a0001bd8:	e5930008 	ldr	r0, [r3, #8]                                  
a0001bdc:	e593100c 	ldr	r1, [r3, #12]                                 
a0001be0:	e893000c 	ldm	r3, {r2, r3}                                  
a0001be4:	e58d5000 	str	r5, [sp]                                      
a0001be8:	eb000234 	bl	a00024c0 <mount>                               
                                                                      
  if ( status == -1 )                                                 
a0001bec:	e3700001 	cmn	r0, #1                                        
a0001bf0:	0a000027 	beq	a0001c94 <rtems_filesystem_initialize+0xf0>   
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a0001bf4:	e5963000 	ldr	r3, [r6]                                      
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001bf8:	e28d4004 	add	r4, sp, #4                                    
a0001bfc:	e3a01001 	mov	r1, #1                                        
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a0001c00:	e1c353b0 	strh	r5, [r3, #48]	; 0x30                         
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001c04:	e1a02005 	mov	r2, r5                                        
a0001c08:	e1a03004 	mov	r3, r4                                        
a0001c0c:	e59f0094 	ldr	r0, [pc, #148]	; a0001ca8 <rtems_filesystem_initialize+0x104>
a0001c10:	e58d5000 	str	r5, [sp]                                      
a0001c14:	eb000065 	bl	a0001db0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root        = loc;                                 
a0001c18:	e596c000 	ldr	ip, [r6]                                      
a0001c1c:	e1a07004 	mov	r7, r4                                        
a0001c20:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a0001c24:	e28cc018 	add	ip, ip, #24                                   
a0001c28:	e597e000 	ldr	lr, [r7]                                      
a0001c2c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001c30:	e3a01001 	mov	r1, #1                                        
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
a0001c34:	e58ce000 	str	lr, [ip]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001c38:	e1a02005 	mov	r2, r5                                        
a0001c3c:	e1a03004 	mov	r3, r4                                        
a0001c40:	e59f0060 	ldr	r0, [pc, #96]	; a0001ca8 <rtems_filesystem_initialize+0x104>
a0001c44:	e58d5000 	str	r5, [sp]                                      
a0001c48:	eb000058 	bl	a0001db0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current     = loc;                                 
a0001c4c:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0001c50:	e596c000 	ldr	ip, [r6]                                      
a0001c54:	e597e000 	ldr	lr, [r7]                                      
a0001c58:	e28cc004 	add	ip, ip, #4                                    
a0001c5c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   *                                                                  
   *  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);                                      
a0001c60:	e3a01f7f 	mov	r1, #508	; 0x1fc                              
  /* 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;                                 
a0001c64:	e58ce000 	str	lr, [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);                                      
a0001c68:	e59f003c 	ldr	r0, [pc, #60]	; a0001cac <rtems_filesystem_initialize+0x108>
a0001c6c:	e2811003 	add	r1, r1, #3                                    
a0001c70:	eb0001c3 	bl	a0002384 <mkdir>                               
  if ( status != 0 )                                                  
a0001c74:	e3500000 	cmp	r0, #0                                        
a0001c78:	1a000003 	bne	a0001c8c <rtems_filesystem_initialize+0xe8>   
   *  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.        
   */                                                                 
}                                                                     
a0001c7c:	e28dd018 	add	sp, sp, #24                                   
a0001c80:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
a0001c84:	e59f0024 	ldr	r0, [pc, #36]	; a0001cb0 <rtems_filesystem_initialize+0x10c><== NOT EXECUTED
a0001c88:	eb000fdc 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
a0001c8c:	e59f0020 	ldr	r0, [pc, #32]	; a0001cb4 <rtems_filesystem_initialize+0x110><== NOT EXECUTED
a0001c90:	eb000fda 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  mt = &rtems_filesystem_mount_table[0];                              
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
a0001c94:	e59f001c 	ldr	r0, [pc, #28]	; a0001cb8 <rtems_filesystem_initialize+0x114><== NOT EXECUTED
a0001c98:	eb000fd8 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000a350 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
a000a350:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000a354:	e59f60a4 	ldr	r6, [pc, #164]	; a000a400 <rtems_filesystem_iterate+0xb0>
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
a000a358:	e1a04000 	mov	r4, r0                                        
a000a35c:	e1a05001 	mov	r5, r1                                        
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000a360:	e5963000 	ldr	r3, [r6]                                      
a000a364:	e3530000 	cmp	r3, #0                                        
a000a368:	1a000002 	bne	a000a378 <rtems_filesystem_iterate+0x28>      
a000a36c:	ea00000b 	b	a000a3a0 <rtems_filesystem_iterate+0x50>        <== NOT EXECUTED
a000a370:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a374:	1a00001f 	bne	a000a3f8 <rtems_filesystem_iterate+0xa8>      <== NOT EXECUTED
    stop = (*routine)( table_entry, routine_arg );                    
a000a378:	e1a00006 	mov	r0, r6                                        
a000a37c:	e1a01005 	mov	r1, r5                                        
a000a380:	e12fff34 	blx	r4                                            
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000a384:	e5963008 	ldr	r3, [r6, #8]                                  
    stop = (*routine)( table_entry, routine_arg );                    
a000a388:	e1a0a000 	mov	sl, r0                                        
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000a38c:	e2866008 	add	r6, r6, #8                                    
a000a390:	e3530000 	cmp	r3, #0                                        
a000a394:	1afffff5 	bne	a000a370 <rtems_filesystem_iterate+0x20>      
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
a000a398:	e3500000 	cmp	r0, #0                                        
a000a39c:	1a000015 	bne	a000a3f8 <rtems_filesystem_iterate+0xa8>      
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a000a3a0:	e59f705c 	ldr	r7, [pc, #92]	; a000a404 <rtems_filesystem_iterate+0xb4>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a000a3a4:	e59f605c 	ldr	r6, [pc, #92]	; a000a408 <rtems_filesystem_iterate+0xb8>
a000a3a8:	e3a01000 	mov	r1, #0                                        
a000a3ac:	e5970000 	ldr	r0, [r7]                                      
a000a3b0:	e1a02001 	mov	r2, r1                                        
a000a3b4:	ebffec6d 	bl	a0005570 <rtems_semaphore_obtain>              
a000a3b8:	e4968004 	ldr	r8, [r6], #4                                  
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
a000a3bc:	e1580006 	cmp	r8, r6                                        
a000a3c0:	03a0a000 	moveq	sl, #0                                      
a000a3c4:	1a000002 	bne	a000a3d4 <rtems_filesystem_iterate+0x84>      
a000a3c8:	ea000008 	b	a000a3f0 <rtems_filesystem_iterate+0xa0>        
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
a000a3cc:	e3500000 	cmp	r0, #0                                        
a000a3d0:	1a000006 	bne	a000a3f0 <rtems_filesystem_iterate+0xa0>      
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
a000a3d4:	e2880008 	add	r0, r8, #8                                    
a000a3d8:	e1a01005 	mov	r1, r5                                        
a000a3dc:	e12fff34 	blx	r4                                            
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a000a3e0:	e5988000 	ldr	r8, [r8]                                      
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
a000a3e4:	e1a0a000 	mov	sl, r0                                        
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
a000a3e8:	e1580006 	cmp	r8, r6                                        
a000a3ec:	1afffff6 	bne	a000a3cc <rtems_filesystem_iterate+0x7c>      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000a3f0:	e5970000 	ldr	r0, [r7]                                      
a000a3f4:	ebffeca6 	bl	a0005694 <rtems_semaphore_release>             
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
a000a3f8:	e1a0000a 	mov	r0, sl                                        
a000a3fc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a000244c <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
a000244c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a0002450:	e59f7060 	ldr	r7, [pc, #96]	; a00024b8 <rtems_filesystem_mount_iterate+0x6c>
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a0002454:	e59f4060 	ldr	r4, [pc, #96]	; a00024bc <rtems_filesystem_mount_iterate+0x70>
                                                                      
bool rtems_filesystem_mount_iterate(                                  
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
a0002458:	e1a06001 	mov	r6, r1                                        
a000245c:	e3a01000 	mov	r1, #0                                        
a0002460:	e1a05000 	mov	r5, r0                                        
a0002464:	e1a02001 	mov	r2, r1                                        
a0002468:	e5970000 	ldr	r0, [r7]                                      
a000246c:	eb000c3f 	bl	a0005570 <rtems_semaphore_obtain>              
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a0002470:	e4948004 	ldr	r8, [r4], #4                                  
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a0002474:	e1580004 	cmp	r8, r4                                        
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
a0002478:	03a0a000 	moveq	sl, #0                                      
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a000247c:	1a000002 	bne	a000248c <rtems_filesystem_mount_iterate+0x40>
a0002480:	ea000008 	b	a00024a8 <rtems_filesystem_mount_iterate+0x5c>  <== NOT EXECUTED
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
a0002484:	e3500000 	cmp	r0, #0                                        
a0002488:	1a000006 	bne	a00024a8 <rtems_filesystem_mount_iterate+0x5c>
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
a000248c:	e1a00008 	mov	r0, r8                                        
a0002490:	e1a01006 	mov	r1, r6                                        
a0002494:	e12fff35 	blx	r5                                            
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a0002498:	e5988000 	ldr	r8, [r8]                                      
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
a000249c:	e1a0a000 	mov	sl, r0                                        
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a00024a0:	e1580004 	cmp	r8, r4                                        
a00024a4:	1afffff6 	bne	a0002484 <rtems_filesystem_mount_iterate+0x38>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a00024a8:	e5970000 	ldr	r0, [r7]                                      
a00024ac:	eb000c78 	bl	a0005694 <rtems_semaphore_release>             
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a00024b0:	e1a0000a 	mov	r0, sl                                        
a00024b4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a0001e74 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
a0001e74:	e92d4070 	push	{r4, r5, r6, lr}                             
a0001e78:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a0001e7c:	e5d00000 	ldrb	r0, [r0]                                     
a0001e80:	e1a04001 	mov	r4, r1                                        
a0001e84:	e3510000 	cmp	r1, #0                                        
a0001e88:	13500000 	cmpne	r0, #0                                      
a0001e8c:	03a05000 	moveq	r5, #0                                      
a0001e90:	13a05001 	movne	r5, #1                                      
)                                                                     
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
a0001e94:	13a05000 	movne	r5, #0                                      
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a0001e98:	1a00000a 	bne	a0001ec8 <rtems_filesystem_prefix_separators+0x54>
a0001e9c:	ea00000c 	b	a0001ed4 <rtems_filesystem_prefix_separators+0x60><== NOT EXECUTED
a0001ea0:	e5f60001 	ldrb	r0, [r6, #1]!                                
a0001ea4:	e2544001 	subs	r4, r4, #1                                   
a0001ea8:	03a03000 	moveq	r3, #0                                      
a0001eac:	13a03001 	movne	r3, #1                                      
a0001eb0:	e3500000 	cmp	r0, #0                                        
a0001eb4:	03a03000 	moveq	r3, #0                                      
a0001eb8:	12033001 	andne	r3, r3, #1                                  
a0001ebc:	e3530000 	cmp	r3, #0                                        
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
a0001ec0:	e2855001 	add	r5, r5, #1                                    
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a0001ec4:	0a000002 	beq	a0001ed4 <rtems_filesystem_prefix_separators+0x60>
a0001ec8:	eb0003c3 	bl	a0002ddc <rtems_filesystem_is_separator>       
a0001ecc:	e3500000 	cmp	r0, #0                                        
a0001ed0:	1afffff2 	bne	a0001ea0 <rtems_filesystem_prefix_separators+0x2c>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
a0001ed4:	e1a00005 	mov	r0, r5                                        
a0001ed8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a00028c8 <rtems_gxx_getspecific>: void *rtems_gxx_getspecific(__gthread_key_t key) {
a00028c8:	e92d4030 	push	{r4, r5, lr}                                 
a00028cc:	e24dd004 	sub	sp, sp, #4                                    
  rtems_status_code  status;                                          
  void              *p= 0;                                            
a00028d0:	e3a05000 	mov	r5, #0                                        
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
void *rtems_gxx_getspecific(__gthread_key_t key)                      
{                                                                     
a00028d4:	e1a04000 	mov	r4, r0                                        
  rtems_status_code  status;                                          
  void              *p= 0;                                            
a00028d8:	e28d2004 	add	r2, sp, #4                                    
a00028dc:	e5225004 	str	r5, [r2, #-4]!                                
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_get( RTEMS_SELF, (void **)key, &p );   
a00028e0:	e1a00005 	mov	r0, r5                                        
a00028e4:	e1a01004 	mov	r1, r4                                        
a00028e8:	e1a0200d 	mov	r2, sp                                        
a00028ec:	eb000f6c 	bl	a00066a4 <rtems_task_variable_get>             
  if ( status == RTEMS_SUCCESSFUL ) {                                 
a00028f0:	e1500005 	cmp	r0, r5                                        
    /* We do not have to do this, but what the heck ! */              
     p= key->val;                                                     
a00028f4:	05940000 	ldreq	r0, [r4]                                    
  rtems_status_code  status;                                          
  void              *p= 0;                                            
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_get( RTEMS_SELF, (void **)key, &p );   
  if ( status == RTEMS_SUCCESSFUL ) {                                 
a00028f8:	1a000001 	bne	a0002904 <rtems_gxx_getspecific+0x3c>         
       p,                                                             
       rtems_task_self()                                              
    );                                                                
  #endif                                                              
  return p;                                                           
}                                                                     
a00028fc:	e28dd004 	add	sp, sp, #4                                    
a0002900:	e8bd8030 	pop	{r4, r5, pc}                                  
     p= key->val;                                                     
  } else {                                                            
    /* fisrt time, always set to zero, it is unknown the value that the others
     * threads are using at the moment of this call                   
     */                                                               
    status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
a0002904:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0002908:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000290c:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a0002910:	eb000f10 	bl	a0006558 <rtems_task_variable_add>             <== NOT EXECUTED
    if ( status != RTEMS_SUCCESSFUL ) {                               
a0002914:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0002918:	1a000002 	bne	a0002928 <rtems_gxx_getspecific+0x60>         <== NOT EXECUTED
       rtems_panic ("rtems_gxx_getspecific");                         
    }                                                                 
    key->val = (void *)0;                                             
a000291c:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a0002920:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
a0002924:	eafffff4 	b	a00028fc <rtems_gxx_getspecific+0x34>           <== NOT EXECUTED
    /* fisrt time, always set to zero, it is unknown the value that the others
     * threads are using at the moment of this call                   
     */                                                               
    status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
    if ( status != RTEMS_SUCCESSFUL ) {                               
       rtems_panic ("rtems_gxx_getspecific");                         
a0002928:	e59f0000 	ldr	r0, [pc, #0]	; a0002930 <rtems_gxx_getspecific+0x68><== NOT EXECUTED
a000292c:	eb002116 	bl	a000ad8c <rtems_panic>                         <== NOT EXECUTED
                                                                      

a0002884 <rtems_gxx_key_dtor>: { #ifdef DEBUG_GXX_WRAPPERS printk( "gxx_wrappers: dtor key=%x, ptr=%x\n", key, ptr ); #endif key->val = 0;
a0002884:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0002888:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
  return 0;                                                           
}                                                                     
a000288c:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0002890:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a00029c0 <rtems_gxx_mutex_destroy>: int rtems_gxx_mutex_destroy (__gthread_mutex_t *mutex) {
a00029c0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: destroy mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_delete(*(rtems_id *)mutex);                
a00029c4:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
a00029c8:	eb000d38 	bl	a0005eb0 <rtems_semaphore_delete>              <== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL )                                   
a00029cc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return 0;                                                         
  return -1;                                                          
}                                                                     
a00029d0:	13e00000 	mvnne	r0, #0                                      <== NOT EXECUTED
a00029d4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0002960 <rtems_gxx_mutex_init>: /* * MUTEX support */ void rtems_gxx_mutex_init (__gthread_mutex_t *mutex) {
a0002960:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
a0002964:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: mutex init =%X\n", *mutex );               
  #endif                                                              
                                                                      
  status = rtems_semaphore_create(                                    
a0002968:	e58d0000 	str	r0, [sp]                                      
a000296c:	e3a01001 	mov	r1, #1                                        
a0002970:	e59f0020 	ldr	r0, [pc, #32]	; a0002998 <rtems_gxx_mutex_init+0x38>
a0002974:	e3a02054 	mov	r2, #84	; 0x54                                
a0002978:	e3a03000 	mov	r3, #0                                        
a000297c:	eb000cda 	bl	a0005cec <rtems_semaphore_create>              
    RTEMS_PRIORITY|RTEMS_BINARY_SEMAPHORE|                            
      RTEMS_INHERIT_PRIORITY|RTEMS_NO_PRIORITY_CEILING|RTEMS_LOCAL,   
    0,                                                                
    (rtems_id *)mutex                                                 
  );                                                                  
  if ( status != RTEMS_SUCCESSFUL ) {                                 
a0002980:	e3500000 	cmp	r0, #0                                        
a0002984:	1a000001 	bne	a0002990 <rtems_gxx_mutex_init+0x30>          
    rtems_panic ("rtems_gxx_mutex_init");                             
  }                                                                   
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: mutex init complete =%X\n", *mutex );      
  #endif                                                              
}                                                                     
a0002988:	e28dd004 	add	sp, sp, #4                                    
a000298c:	e8bd8000 	pop	{pc}                                          
        "gxx_wrappers: mutex init failed %s (%d)\n",                  
        rtems_status_text(status),                                    
        status                                                        
      );                                                              
    #endif                                                            
    rtems_panic ("rtems_gxx_mutex_init");                             
a0002990:	e59f0004 	ldr	r0, [pc, #4]	; a000299c <rtems_gxx_mutex_init+0x3c><== NOT EXECUTED
a0002994:	eb0020fc 	bl	a000ad8c <rtems_panic>                         <== NOT EXECUTED
                                                                      

a00027c4 <rtems_gxx_once>: typedef int __gthread_once_t; typedef void *__gthread_mutex_t; typedef void *__gthread_recursive_mutex_t; int rtems_gxx_once(__gthread_once_t *once, void (*func) (void)) {
a00027c4:	e92d4070 	push	{r4, r5, r6, lr}                             
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
a00027c8:	e5903000 	ldr	r3, [r0]                                      
typedef int   __gthread_once_t;                                       
typedef void *__gthread_mutex_t;                                      
typedef void *__gthread_recursive_mutex_t;                            
                                                                      
int rtems_gxx_once(__gthread_once_t *once, void (*func) (void))       
{                                                                     
a00027cc:	e24dd004 	sub	sp, sp, #4                                    
a00027d0:	e1a04000 	mov	r4, r0                                        
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
a00027d4:	e3530000 	cmp	r3, #0                                        
typedef int   __gthread_once_t;                                       
typedef void *__gthread_mutex_t;                                      
typedef void *__gthread_recursive_mutex_t;                            
                                                                      
int rtems_gxx_once(__gthread_once_t *once, void (*func) (void))       
{                                                                     
a00027d8:	e1a05001 	mov	r5, r1                                        
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
a00027dc:	0a000002 	beq	a00027ec <rtems_gxx_once+0x28>                
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
a00027e0:	e3a00000 	mov	r0, #0                                        
a00027e4:	e28dd004 	add	sp, sp, #4                                    
a00027e8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
a00027ec:	e3a00c01 	mov	r0, #256	; 0x100                              
a00027f0:	e1a01000 	mov	r1, r0                                        
a00027f4:	e1a0200d 	mov	r2, sp                                        
a00027f8:	eb000edb 	bl	a000636c <rtems_task_mode>                     
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
a00027fc:	e5943000 	ldr	r3, [r4]                                      
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
a0002800:	e1a0600d 	mov	r6, sp                                        
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
a0002804:	e3530000 	cmp	r3, #0                                        
a0002808:	1a000007 	bne	a000282c <rtems_gxx_once+0x68>                
      *(volatile __gthread_once_t *)once = 1;                         
a000280c:	e3a03001 	mov	r3, #1                                        
a0002810:	e5843000 	str	r3, [r4]                                      
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
a0002814:	e3a01c01 	mov	r1, #256	; 0x100                              
a0002818:	e1a0200d 	mov	r2, sp                                        
a000281c:	e59d0000 	ldr	r0, [sp]                                      
a0002820:	eb000ed1 	bl	a000636c <rtems_task_mode>                     
    if ( o == 0 )                                                     
      (*func)();                                                      
a0002824:	e12fff35 	blx	r5                                            
a0002828:	eaffffec 	b	a00027e0 <rtems_gxx_once+0x1c>                  
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
a000282c:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a0002830:	e3a01c01 	mov	r1, #256	; 0x100                              <== NOT EXECUTED
a0002834:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0002838:	eb000ecb 	bl	a000636c <rtems_task_mode>                     <== NOT EXECUTED
a000283c:	eaffffe7 	b	a00027e0 <rtems_gxx_once+0x1c>                  <== NOT EXECUTED
                                                                      

a0006e58 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
a0006e58:	e92d4030 	push	{r4, r5, lr}                                 
a0006e5c:	e1a04000 	mov	r4, r0                                        
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006e60:	e59f014c 	ldr	r0, [pc, #332]	; a0006fb4 <rtems_io_register_driver+0x15c>
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
a0006e64:	e59f314c 	ldr	r3, [pc, #332]	; a0006fb8 <rtems_io_register_driver+0x160>
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006e68:	e5900000 	ldr	r0, [r0]                                      
a0006e6c:	e3500000 	cmp	r0, #0                                        
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
a0006e70:	e5930000 	ldr	r0, [r3]                                      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006e74:	1a000033 	bne	a0006f48 <rtems_io_register_driver+0xf0>      
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
a0006e78:	e3520000 	cmp	r2, #0                                        
a0006e7c:	0a000041 	beq	a0006f88 <rtems_io_register_driver+0x130>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
a0006e80:	e3510000 	cmp	r1, #0                                        
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
a0006e84:	e5820000 	str	r0, [r2]                                      
                                                                      
  if ( driver_table == NULL )                                         
a0006e88:	0a00003e 	beq	a0006f88 <rtems_io_register_driver+0x130>     
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006e8c:	e591c000 	ldr	ip, [r1]                                      
a0006e90:	e35c0000 	cmp	ip, #0                                        
a0006e94:	0a000038 	beq	a0006f7c <rtems_io_register_driver+0x124>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
a0006e98:	e1500004 	cmp	r0, r4                                        
a0006e9c:	9a000027 	bls	a0006f40 <rtems_io_register_driver+0xe8>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0006ea0:	e59f0114 	ldr	r0, [pc, #276]	; a0006fbc <rtems_io_register_driver+0x164>
a0006ea4:	e590c000 	ldr	ip, [r0]                                      
a0006ea8:	e28cc001 	add	ip, ip, #1                                    
a0006eac:	e580c000 	str	ip, [r0]                                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
a0006eb0:	e3540000 	cmp	r4, #0                                        
a0006eb4:	1a000025 	bne	a0006f50 <rtems_io_register_driver+0xf8>      
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
a0006eb8:	e593c000 	ldr	ip, [r3]                                      
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
a0006ebc:	e35c0000 	cmp	ip, #0                                        
a0006ec0:	0a000032 	beq	a0006f90 <rtems_io_register_driver+0x138>     
a0006ec4:	e59fe0f4 	ldr	lr, [pc, #244]	; a0006fc0 <rtems_io_register_driver+0x168>
a0006ec8:	e59e3000 	ldr	r3, [lr]                                      
a0006ecc:	ea000003 	b	a0006ee0 <rtems_io_register_driver+0x88>        
a0006ed0:	e2844001 	add	r4, r4, #1                                    
a0006ed4:	e15c0004 	cmp	ip, r4                                        
a0006ed8:	e2833018 	add	r3, r3, #24                                   
a0006edc:	9a000005 	bls	a0006ef8 <rtems_io_register_driver+0xa0>      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006ee0:	e5930000 	ldr	r0, [r3]                                      
a0006ee4:	e3500000 	cmp	r0, #0                                        
a0006ee8:	1afffff8 	bne	a0006ed0 <rtems_io_register_driver+0x78>      
a0006eec:	e5930004 	ldr	r0, [r3, #4]                                  
a0006ef0:	e3500000 	cmp	r0, #0                                        
a0006ef4:	1afffff5 	bne	a0006ed0 <rtems_io_register_driver+0x78>      
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
a0006ef8:	e15c0004 	cmp	ip, r4                                        
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a0006efc:	e5824000 	str	r4, [r2]                                      
                                                                      
  if ( m != n )                                                       
a0006f00:	0a000023 	beq	a0006f94 <rtems_io_register_driver+0x13c>     
a0006f04:	e3a0c018 	mov	ip, #24                                       
a0006f08:	e00c0c94 	mul	ip, r4, ip                                    
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
a0006f0c:	e59e5000 	ldr	r5, [lr]                                      
a0006f10:	e1a0e001 	mov	lr, r1                                        
a0006f14:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0006f18:	e085c00c 	add	ip, r5, ip                                    
a0006f1c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0006f20:	e89e0003 	ldm	lr, {r0, r1}                                  
a0006f24:	e88c0003 	stm	ip, {r0, r1}                                  
                                                                      
  _Thread_Enable_dispatch();                                          
a0006f28:	eb0006b6 	bl	a0008a08 <_Thread_Enable_dispatch>             
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a0006f2c:	e3a01000 	mov	r1, #0                                        
a0006f30:	e1a00004 	mov	r0, r4                                        
a0006f34:	e1a02001 	mov	r2, r1                                        
}                                                                     
a0006f38:	e8bd4030 	pop	{r4, r5, lr}                                  
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a0006f3c:	ea002132 	b	a000f40c <rtems_io_initialize>                  
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
a0006f40:	e3a0000a 	mov	r0, #10                                       
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
a0006f44:	e8bd8030 	pop	{r4, r5, pc}                                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
a0006f48:	e3a00012 	mov	r0, #18                                       
a0006f4c:	e8bd8030 	pop	{r4, r5, pc}                                  
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a0006f50:	e59fe068 	ldr	lr, [pc, #104]	; a0006fc0 <rtems_io_register_driver+0x168>
a0006f54:	e3a0c018 	mov	ip, #24                                       
a0006f58:	e00c0c94 	mul	ip, r4, ip                                    
a0006f5c:	e59e3000 	ldr	r3, [lr]                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006f60:	e793000c 	ldr	r0, [r3, ip]                                  
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a0006f64:	e083300c 	add	r3, r3, ip                                    
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006f68:	e3500000 	cmp	r0, #0                                        
a0006f6c:	0a00000b 	beq	a0006fa0 <rtems_io_register_driver+0x148>     
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
a0006f70:	eb0006a4 	bl	a0008a08 <_Thread_Enable_dispatch>             
      return RTEMS_RESOURCE_IN_USE;                                   
a0006f74:	e3a0000c 	mov	r0, #12                                       
a0006f78:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006f7c:	e591c004 	ldr	ip, [r1, #4]                                  
a0006f80:	e35c0000 	cmp	ip, #0                                        
a0006f84:	1affffc3 	bne	a0006e98 <rtems_io_register_driver+0x40>      
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
a0006f88:	e3a00009 	mov	r0, #9                                        
a0006f8c:	e8bd8030 	pop	{r4, r5, pc}                                  
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a0006f90:	e5824000 	str	r4, [r2]                                      <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
a0006f94:	eb00069b 	bl	a0008a08 <_Thread_Enable_dispatch>             
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
a0006f98:	e3a00005 	mov	r0, #5                                        
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
a0006f9c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006fa0:	e5933004 	ldr	r3, [r3, #4]                                  
a0006fa4:	e3530000 	cmp	r3, #0                                        
a0006fa8:	1afffff0 	bne	a0006f70 <rtems_io_register_driver+0x118>     
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
a0006fac:	e5824000 	str	r4, [r2]                                      
a0006fb0:	eaffffd5 	b	a0006f0c <rtems_io_register_driver+0xb4>        
                                                                      

a000203c <rtems_libio_init>: { rtems_status_code rc; uint32_t i; rtems_libio_t *iop; if (rtems_libio_number_iops > 0)
a000203c:	e59f30bc 	ldr	r3, [pc, #188]	; a0002100 <rtems_libio_init+0xc4>
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a0002040:	e92d4010 	push	{r4, lr}                                     
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a0002044:	e5934000 	ldr	r4, [r3]                                      
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a0002048:	e24dd004 	sub	sp, sp, #4                                    
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a000204c:	e3540000 	cmp	r4, #0                                        
a0002050:	0a000017 	beq	a00020b4 <rtems_libio_init+0x78>              
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
a0002054:	e1a00004 	mov	r0, r4                                        
a0002058:	e3a01038 	mov	r1, #56	; 0x38                                
a000205c:	ebffff16 	bl	a0001cbc <calloc>                              
a0002060:	e59f309c 	ldr	r3, [pc, #156]	; a0002104 <rtems_libio_init+0xc8>
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a0002064:	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,
a0002068:	e1a02000 	mov	r2, r0                                        
a000206c:	e5830000 	str	r0, [r3]                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a0002070:	0a000020 	beq	a00020f8 <rtems_libio_init+0xbc>              
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
a0002074:	e59f308c 	ldr	r3, [pc, #140]	; a0002108 <rtems_libio_init+0xcc>
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0002078:	e3540001 	cmp	r4, #1                                        
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
a000207c:	e5830000 	str	r0, [r3]                                      
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0002080:	9a000009 	bls	a00020ac <rtems_libio_init+0x70>              
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
a0002084:	e2803038 	add	r3, r0, #56	; 0x38                            
a0002088:	e3a02001 	mov	r2, #1                                        
        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++)  
          iop->data1 = iop + 1;                                       
a000208c:	e2822001 	add	r2, r2, #1                                    
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0002090:	e1520004 	cmp	r2, r4                                        
          iop->data1 = iop + 1;                                       
a0002094:	e5033004 	str	r3, [r3, #-4]                                 
a0002098:	e2833038 	add	r3, r3, #56	; 0x38                            
                                                    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++)  
a000209c:	1afffffa 	bne	a000208c <rtems_libio_init+0x50>              
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
a00020a0:	e2422001 	sub	r2, r2, #1                                    
a00020a4:	e3a03038 	mov	r3, #56	; 0x38                                
                                                    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++)  
a00020a8:	e0220293 	mla	r2, r3, r2, r0                                
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
a00020ac:	e3a03000 	mov	r3, #0                                        
a00020b0:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
a00020b4:	e59fc050 	ldr	ip, [pc, #80]	; a000210c <rtems_libio_init+0xd0>
a00020b8:	e59f0050 	ldr	r0, [pc, #80]	; a0002110 <rtems_libio_init+0xd4>
a00020bc:	e3a01001 	mov	r1, #1                                        
a00020c0:	e3a02054 	mov	r2, #84	; 0x54                                
a00020c4:	e3a03000 	mov	r3, #0                                        
a00020c8:	e58dc000 	str	ip, [sp]                                      
a00020cc:	eb000c8d 	bl	a0005308 <rtems_semaphore_create>              
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
a00020d0:	e3500000 	cmp	r0, #0                                        
a00020d4:	1a000006 	bne	a00020f4 <rtems_libio_init+0xb8>              
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
a00020d8:	e59f3034 	ldr	r3, [pc, #52]	; a0002114 <rtems_libio_init+0xd8>
a00020dc:	e5933000 	ldr	r3, [r3]                                      
a00020e0:	e3530000 	cmp	r3, #0                                        
a00020e4:	0a000000 	beq	a00020ec <rtems_libio_init+0xb0>              
     (* rtems_fs_init_helper)();                                      
a00020e8:	e12fff33 	blx	r3                                            
}                                                                     
a00020ec:	e28dd004 	add	sp, sp, #4                                    
a00020f0:	e8bd8010 	pop	{r4, pc}                                      
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
a00020f4:	eb000ec1 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
a00020f8:	e280001a 	add	r0, r0, #26                                   
a00020fc:	eb000ebf 	bl	a0005c00 <rtems_fatal_error_occurred>          
                                                                      

a0003194 <rtems_libio_set_private_env>: } } rtems_status_code rtems_libio_set_private_env(void) {
a0003194:	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);                         
a0003198:	e3a00000 	mov	r0, #0                                        
  free(env);                                                          
 }                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
a000319c:	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);                         
a00031a0:	e1a01000 	mov	r1, r0                                        
a00031a4:	e28d2018 	add	r2, sp, #24                                   
a00031a8:	eb000b58 	bl	a0005f10 <rtems_task_ident>                    
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a00031ac:	e2508000 	subs	r8, r0, #0                                   
a00031b0:	1a000025 	bne	a000324c <rtems_libio_set_private_env+0xb8>   
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
a00031b4:	e59f60dc 	ldr	r6, [pc, #220]	; a0003298 <rtems_libio_set_private_env+0x104>
a00031b8:	e59f30dc 	ldr	r3, [pc, #220]	; a000329c <rtems_libio_set_private_env+0x108>
a00031bc:	e5967000 	ldr	r7, [r6]                                      
a00031c0:	e1570003 	cmp	r7, r3                                        
a00031c4:	0a000023 	beq	a0003258 <rtems_libio_set_private_env+0xc4>   
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  }                                                                   
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
a00031c8:	e59f10cc 	ldr	r1, [pc, #204]	; a000329c <rtems_libio_set_private_env+0x108>
a00031cc:	e3a02048 	mov	r2, #72	; 0x48                                
a00031d0:	e1a00007 	mov	r0, r7                                        
a00031d4:	eb002d1b 	bl	a000e648 <memcpy>                              
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
a00031d8:	e59d3018 	ldr	r3, [sp, #24]                                 
   * what we are trying to do here is forking off                     
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00031dc:	e28d4004 	add	r4, sp, #4                                    
a00031e0:	e3a05000 	mov	r5, #0                                        
   }                                                                  
   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*/
a00031e4:	e5873000 	str	r3, [r7]                                      
   * what we are trying to do here is forking off                     
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00031e8:	e3a01001 	mov	r1, #1                                        
a00031ec:	e1a03004 	mov	r3, r4                                        
a00031f0:	e1a02005 	mov	r2, r5                                        
a00031f4:	e59f00a4 	ldr	r0, [pc, #164]	; a00032a0 <rtems_libio_set_private_env+0x10c>
a00031f8:	e58d5000 	str	r5, [sp]                                      
a00031fc:	ebfffb1f 	bl	a0001e80 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root    = loc;                                     
a0003200:	e596c000 	ldr	ip, [r6]                                      
a0003204:	e1a07004 	mov	r7, r4                                        
a0003208:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a000320c:	e28cc018 	add	ip, ip, #24                                   
a0003210:	e597e000 	ldr	lr, [r7]                                      
a0003214:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0003218:	e3a01001 	mov	r1, #1                                        
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
a000321c:	e58ce000 	str	lr, [ip]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0003220:	e1a02005 	mov	r2, r5                                        
a0003224:	e1a03004 	mov	r3, r4                                        
a0003228:	e59f0070 	ldr	r0, [pc, #112]	; a00032a0 <rtems_libio_set_private_env+0x10c>
a000322c:	e58d5000 	str	r5, [sp]                                      
a0003230:	ebfffb12 	bl	a0001e80 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current = loc;                                     
a0003234:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0003238:	e596c000 	ldr	ip, [r6]                                      
a000323c:	e5974000 	ldr	r4, [r7]                                      
a0003240:	e28cc004 	add	ip, ip, #4                                    
a0003244:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0003248:	e58c4000 	str	r4, [ip]                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000324c:	e1a00008 	mov	r0, r8                                        
a0003250:	e28dd01c 	add	sp, sp, #28                                   
a0003254:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   rtems_user_env_t *tmp = malloc(sizeof(rtems_user_env_t));          
a0003258:	e3a00048 	mov	r0, #72	; 0x48                                
a000325c:	ebfffd05 	bl	a0002678 <malloc>                              
   if (!tmp)                                                          
a0003260:	e2507000 	subs	r7, r0, #0                                   
     return RTEMS_NO_MEMORY;                                          
a0003264:	03a0801a 	moveq	r8, #26                                     
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   rtems_user_env_t *tmp = malloc(sizeof(rtems_user_env_t));          
   if (!tmp)                                                          
a0003268:	0afffff7 	beq	a000324c <rtems_libio_set_private_env+0xb8>   
                                                                      
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(                                      
a000326c:	e1a00008 	mov	r0, r8                                        
a0003270:	e1a01006 	mov	r1, r6                                        
a0003274:	e59f2028 	ldr	r2, [pc, #40]	; a00032a4 <rtems_libio_set_private_env+0x110>
a0003278:	eb000b79 	bl	a0006064 <rtems_task_variable_add>             
    RTEMS_SELF,                                                       
    (void*)&rtems_current_user_env,                                   
    (void(*)(void *))free_user_env                                    
   );                                                                 
   if (sc != RTEMS_SUCCESSFUL) {                                      
a000327c:	e2504000 	subs	r4, r0, #0                                   
     * not initialized yet                                            
     */                                                               
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
a0003280:	05867000 	streq	r7, [r6]                                    
   sc = rtems_task_variable_add(                                      
    RTEMS_SELF,                                                       
    (void*)&rtems_current_user_env,                                   
    (void(*)(void *))free_user_env                                    
   );                                                                 
   if (sc != RTEMS_SUCCESSFUL) {                                      
a0003284:	0affffcf 	beq	a00031c8 <rtems_libio_set_private_env+0x34>   
    /* don't use free_user_env because the pathlocs are               
     * not initialized yet                                            
     */                                                               
     free(tmp);                                                       
a0003288:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000328c:	ebfffb4b 	bl	a0001fc0 <free>                                <== NOT EXECUTED
     return sc;                                                       
a0003290:	e1a08004 	mov	r8, r4                                        <== NOT EXECUTED
a0003294:	eaffffec 	b	a000324c <rtems_libio_set_private_env+0xb8>     <== NOT EXECUTED
                                                                      

a00032a8 <rtems_libio_share_private_env>: * while changing any of those (chdir(), chroot()). */ #ifndef HAVE_USERENV_REFCNT rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
a00032a8:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a00032ac:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a00032b0:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  rtems_status_code  sc;                                              
  rtems_user_env_t * shared_user_env;                                 
  rtems_id           current_task_id;                                 
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,¤t_task_id);                 
a00032b4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00032b8:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a00032bc:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a00032c0:	eb000b12 	bl	a0005f10 <rtems_task_ident>                    <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a00032c4:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a00032c8:	1a000013 	bne	a000331c <rtems_libio_share_private_env+0x74> <== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
a00032cc:	e59f407c 	ldr	r4, [pc, #124]	; a0003350 <rtems_libio_share_private_env+0xa8><== NOT EXECUTED
a00032d0:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00032d4:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
a00032d8:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a00032dc:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00032e0:	0a000010 	beq	a0003328 <rtems_libio_share_private_env+0x80> <== NOT EXECUTED
   rtems_user_env_t  *tmp = rtems_current_user_env;                   
   sc = rtems_task_variable_delete(RTEMS_SELF,(void*)&rtems_current_user_env);
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
   free_user_env(tmp);                                                
  } else {                                                            
    sc = rtems_task_variable_get(                                     
a00032e4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00032e8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00032ec:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
a00032f0:	eb000bae 	bl	a00061b0 <rtems_task_variable_get>             <== NOT EXECUTED
      task_id,(void*)&rtems_current_user_env, (void*)&shared_user_env );
    if (sc != RTEMS_SUCCESSFUL)                                       
a00032f4:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a00032f8:	1a000005 	bne	a0003314 <rtems_libio_share_private_env+0x6c> <== NOT EXECUTED
      goto bailout;                                                   
  }                                                                   
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_add(                                       
a00032fc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0003300:	e59f1048 	ldr	r1, [pc, #72]	; a0003350 <rtems_libio_share_private_env+0xa8><== NOT EXECUTED
a0003304:	e59f2048 	ldr	r2, [pc, #72]	; a0003354 <rtems_libio_share_private_env+0xac><== NOT EXECUTED
a0003308:	eb000b55 	bl	a0006064 <rtems_task_variable_add>             <== NOT EXECUTED
    RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);         
  if (sc != RTEMS_SUCCESSFUL)                                         
a000330c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0003310:	0a00000b 	beq	a0003344 <rtems_libio_share_private_env+0x9c> <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
a0003314:	e59f203c 	ldr	r2, [pc, #60]	; a0003358 <rtems_libio_share_private_env+0xb0><== NOT EXECUTED
a0003318:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  return sc;                                                          
}                                                                     
a000331c:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0003320:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0003324:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
   /* kill the current user env & task_var*/                          
   rtems_user_env_t  *tmp = rtems_current_user_env;                   
   sc = rtems_task_variable_delete(RTEMS_SELF,(void*)&rtems_current_user_env);
a0003328:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000332c:	eb000b78 	bl	a0006114 <rtems_task_variable_delete>          <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
a0003330:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0003334:	1afffff8 	bne	a000331c <rtems_libio_share_private_env+0x74> <== NOT EXECUTED
   free_user_env(tmp);                                                
a0003338:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000333c:	ebffff86 	bl	a000315c <free_user_env>                       <== NOT EXECUTED
a0003340:	eaffffed 	b	a00032fc <rtems_libio_share_private_env+0x54>   <== NOT EXECUTED
    RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);         
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
a0003344:	e59d2004 	ldr	r2, [sp, #4]                                  <== NOT EXECUTED
a0003348:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000334c:	eafffff2 	b	a000331c <rtems_libio_share_private_env+0x74>   <== NOT EXECUTED
                                                                      

a000a038 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
a000a038:	e2002006 	and	r2, r0, #6                                    
a000a03c:	e3520006 	cmp	r2, #6                                        
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
a000a040:	e1a03000 	mov	r3, r0                                        
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
a000a044:	03a00002 	moveq	r0, #2                                      
  uint32_t   flags                                                    
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
a000a048:	0a000002 	beq	a000a058 <rtems_libio_to_fcntl_flags+0x20>    
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
a000a04c:	e3130002 	tst	r3, #2                                        
    fcntl_flags |= O_RDONLY;                                          
a000a050:	13a00000 	movne	r0, #0                                      
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
a000a054:	0a000006 	beq	a000a074 <rtems_libio_to_fcntl_flags+0x3c>    
    fcntl_flags |= O_RDONLY;                                          
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
    fcntl_flags |= O_WRONLY;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_NO_DELAY) == LIBIO_FLAGS_NO_DELAY ) {     
a000a058:	e3130001 	tst	r3, #1                                        
    fcntl_flags |= O_NONBLOCK;                                        
a000a05c:	13800901 	orrne	r0, r0, #16384	; 0x4000                     
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
a000a060:	e3130c02 	tst	r3, #512	; 0x200                              
    fcntl_flags |= O_APPEND;                                          
a000a064:	13800008 	orrne	r0, r0, #8                                  
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
a000a068:	e3130b01 	tst	r3, #1024	; 0x400                             
    fcntl_flags |= O_CREAT;                                           
a000a06c:	13800c02 	orrne	r0, r0, #512	; 0x200                        
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
a000a070:	e12fff1e 	bx	lr                                             
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
a000a074:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a000a078:	03a00000 	moveq	r0, #0                                      <== NOT EXECUTED
a000a07c:	13a00001 	movne	r0, #1                                      <== NOT EXECUTED
a000a080:	eafffff4 	b	a000a058 <rtems_libio_to_fcntl_flags+0x20>      <== NOT EXECUTED
                                                                      

a000cbdc <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
a000cbdc:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000cbe0:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a000cbe4:	e1a0a001 	mov	sl, r1                                        
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
a000cbe8:	eb000ee5 	bl	a0010784 <strdup>                              
                                                                      
	if (dup_path != NULL) {                                              
a000cbec:	e2506000 	subs	r6, r0, #0                                   
a000cbf0:	0a000055 	beq	a000cd4c <rtems_mkdir+0x170>                  
	char *p;                                                             
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
a000cbf4:	e5d63000 	ldrb	r3, [r6]                                     
a000cbf8:	e3a07000 	mov	r7, #0                                        
a000cbfc:	e3a02001 	mov	r2, #1                                        
a000cc00:	e353002f 	cmp	r3, #47	; 0x2f                                
		++p;                                                                
a000cc04:	05d63001 	ldrbeq	r3, [r6, #1]                               
a000cc08:	02865001 	addeq	r5, r6, #1                                  
	char *p;                                                             
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
a000cc0c:	11a05006 	movne	r5, r6                                      
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
a000cc10:	e3a0802f 	mov	r8, #47	; 0x2f                                
a000cc14:	e1a09007 	mov	r9, r7                                        
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
			if (errno == EEXIST || errno == EISDIR) {                          
				if (stat(path, &sb) < 0) {                                        
a000cc18:	e1a0b00d 	mov	fp, sp                                        
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
		if (p[0] == '\0')                                                   
a000cc1c:	e3530000 	cmp	r3, #0                                        
			last = 1;                                                          
		else if (p[0] != '/')                                               
			continue;                                                          
		*p = '\0';                                                          
a000cc20:	05c53000 	strbeq	r3, [r5]                                   
a000cc24:	03a04001 	moveq	r4, #1                                      
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
		if (p[0] == '\0')                                                   
a000cc28:	0a000006 	beq	a000cc48 <rtems_mkdir+0x6c>                   
			last = 1;                                                          
		else if (p[0] != '/')                                               
a000cc2c:	e353002f 	cmp	r3, #47	; 0x2f                                
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
a000cc30:	15f53001 	ldrbne	r3, [r5, #1]!                              
a000cc34:	1afffff8 	bne	a000cc1c <rtems_mkdir+0x40>                   
		if (p[0] == '\0')                                                   
			last = 1;                                                          
		else if (p[0] != '/')                                               
			continue;                                                          
		*p = '\0';                                                          
		if (!last && p[1] == '\0')                                          
a000cc38:	e5d54001 	ldrb	r4, [r5, #1]                                 
	for (first = 1, last = 0; !last ; ++p) {                             
		if (p[0] == '\0')                                                   
			last = 1;                                                          
		else if (p[0] != '/')                                               
			continue;                                                          
		*p = '\0';                                                          
a000cc3c:	e5c59000 	strb	r9, [r5]                                     
		if (!last && p[1] == '\0')                                          
a000cc40:	e2744001 	rsbs	r4, r4, #1                                   
a000cc44:	33a04000 	movcc	r4, #0                                      
			last = 1;                                                          
		if (first) {                                                        
a000cc48:	e3520000 	cmp	r2, #0                                        
a000cc4c:	1a000031 	bne	a000cd18 <rtems_mkdir+0x13c>                  
			oumask = umask(0);                                                 
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
a000cc50:	e3540000 	cmp	r4, #0                                        
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
a000cc54:	03a01f7f 	moveq	r1, #508	; 0x1fc                            
a000cc58:	02811003 	addeq	r1, r1, #3                                  
			oumask = umask(0);                                                 
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
a000cc5c:	1a000011 	bne	a000cca8 <rtems_mkdir+0xcc>                   
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
a000cc60:	e1a00006 	mov	r0, r6                                        
a000cc64:	ebffdb5d 	bl	a00039e0 <mkdir>                               
a000cc68:	e3500000 	cmp	r0, #0                                        
a000cc6c:	ba000014 	blt	a000ccc4 <rtems_mkdir+0xe8>                   
			} else {                                                           
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
a000cc70:	e3540000 	cmp	r4, #0                                        
a000cc74:	0a000007 	beq	a000cc98 <rtems_mkdir+0xbc>                   
a000cc78:	e3a04001 	mov	r4, #1                                        
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
                                                                      
	if (dup_path != NULL) {                                              
		success = build(dup_path, mode);                                    
		free(dup_path);                                                     
a000cc7c:	e1a00006 	mov	r0, r6                                        
a000cc80:	ebffd960 	bl	a0003208 <free>                                
	}                                                                    
                                                                      
	return success != 0 ? 0 : -1;                                        
a000cc84:	e3540000 	cmp	r4, #0                                        
a000cc88:	13a00000 	movne	r0, #0                                      
a000cc8c:	0a00002e 	beq	a000cd4c <rtems_mkdir+0x170>                  
}                                                                     
a000cc90:	e28dd048 	add	sp, sp, #72	; 0x48                            
a000cc94:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
a000cc98:	e5c58000 	strb	r8, [r5]                                     
a000cc9c:	e3a02000 	mov	r2, #0                                        
a000cca0:	e5f53001 	ldrb	r3, [r5, #1]!                                
a000cca4:	eaffffdc 	b	a000cc1c <rtems_mkdir+0x40>                     
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
a000cca8:	e1a00007 	mov	r0, r7                                        
a000ccac:	eb00005b 	bl	a000ce20 <umask>                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
a000ccb0:	e1a0100a 	mov	r1, sl                                        
a000ccb4:	e1a00006 	mov	r0, r6                                        
a000ccb8:	ebffdb48 	bl	a00039e0 <mkdir>                               
a000ccbc:	e3500000 	cmp	r0, #0                                        
a000ccc0:	aaffffea 	bge	a000cc70 <rtems_mkdir+0x94>                   
			if (errno == EEXIST || errno == EISDIR) {                          
a000ccc4:	eb000ac6 	bl	a000f7e4 <__errno>                             
a000ccc8:	e5903000 	ldr	r3, [r0]                                      
a000cccc:	e3530011 	cmp	r3, #17                                       
a000ccd0:	0a000003 	beq	a000cce4 <rtems_mkdir+0x108>                  
a000ccd4:	eb000ac2 	bl	a000f7e4 <__errno>                             <== NOT EXECUTED
a000ccd8:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a000ccdc:	e3530015 	cmp	r3, #21                                       <== NOT EXECUTED
a000cce0:	1a000024 	bne	a000cd78 <rtems_mkdir+0x19c>                  <== NOT EXECUTED
				if (stat(path, &sb) < 0) {                                        
a000cce4:	e1a00006 	mov	r0, r6                                        
a000cce8:	e1a0100d 	mov	r1, sp                                        
a000ccec:	eb000024 	bl	a000cd84 <stat>                                
a000ccf0:	e3500000 	cmp	r0, #0                                        
a000ccf4:	ba00001f 	blt	a000cd78 <rtems_mkdir+0x19c>                  
					retval = 0;                                                      
					break;                                                           
				} else if (!S_ISDIR(sb.st_mode)) {                                
a000ccf8:	e59d300c 	ldr	r3, [sp, #12]                                 
a000ccfc:	e2033a0f 	and	r3, r3, #61440	; 0xf000                       
a000cd00:	e3530901 	cmp	r3, #16384	; 0x4000                           
a000cd04:	1a000012 	bne	a000cd54 <rtems_mkdir+0x178>                  
					else                                                             
						errno = ENOTDIR;                                                
					retval = 0;                                                      
					break;                                                           
				}                                                                 
				if (last)                                                         
a000cd08:	e3540000 	cmp	r4, #0                                        
a000cd0c:	0affffe1 	beq	a000cc98 <rtems_mkdir+0xbc>                   
					retval = 2;                                                      
a000cd10:	e3a04002 	mov	r4, #2                                        
a000cd14:	eaffffd8 	b	a000cc7c <rtems_mkdir+0xa0>                     
			 *    mkdir [-m mode] dir                                          
			 *                                                                 
			 * We change the user's umask and then restore it,                 
			 * instead of doing chmod's.                                       
			 */                                                                
			oumask = umask(0);                                                 
a000cd18:	e3a00000 	mov	r0, #0                                        
a000cd1c:	eb00003f 	bl	a000ce20 <umask>                               
a000cd20:	e1a07000 	mov	r7, r0                                        
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
a000cd24:	e3c000c0 	bic	r0, r0, #192	; 0xc0                           
a000cd28:	eb00003c 	bl	a000ce20 <umask>                               
a000cd2c:	eaffffc7 	b	a000cc50 <rtems_mkdir+0x74>                     
					break;                                                           
				} else if (!S_ISDIR(sb.st_mode)) {                                
					if (last)                                                        
						errno = EEXIST;                                                 
					else                                                             
						errno = ENOTDIR;                                                
a000cd30:	eb000aab 	bl	a000f7e4 <__errno>                             <== NOT EXECUTED
a000cd34:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a000cd38:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
	}                                                                    
	if (!first && !last)                                                 
		(void)umask(oumask);                                                
a000cd3c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000cd40:	eb000036 	bl	a000ce20 <umask>                               <== NOT EXECUTED
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
                                                                      
	if (dup_path != NULL) {                                              
		success = build(dup_path, mode);                                    
		free(dup_path);                                                     
a000cd44:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000cd48:	ebffd92e 	bl	a0003208 <free>                                <== NOT EXECUTED
	}                                                                    
                                                                      
	return success != 0 ? 0 : -1;                                        
a000cd4c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000cd50:	eaffffce 	b	a000cc90 <rtems_mkdir+0xb4>                     <== NOT EXECUTED
			if (errno == EEXIST || errno == EISDIR) {                          
				if (stat(path, &sb) < 0) {                                        
					retval = 0;                                                      
					break;                                                           
				} else if (!S_ISDIR(sb.st_mode)) {                                
					if (last)                                                        
a000cd54:	e3540000 	cmp	r4, #0                                        
a000cd58:	0afffff4 	beq	a000cd30 <rtems_mkdir+0x154>                  
						errno = EEXIST;                                                 
a000cd5c:	eb000aa0 	bl	a000f7e4 <__errno>                             
a000cd60:	e3a03011 	mov	r3, #17                                       
a000cd64:	e5803000 	str	r3, [r0]                                      
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
                                                                      
	if (dup_path != NULL) {                                              
		success = build(dup_path, mode);                                    
		free(dup_path);                                                     
a000cd68:	e1a00006 	mov	r0, r6                                        
a000cd6c:	ebffd925 	bl	a0003208 <free>                                
	}                                                                    
                                                                      
	return success != 0 ? 0 : -1;                                        
a000cd70:	e3e00000 	mvn	r0, #0                                        
a000cd74:	eaffffc5 	b	a000cc90 <rtems_mkdir+0xb4>                     
			}                                                                  
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
	}                                                                    
	if (!first && !last)                                                 
a000cd78:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a000cd7c:	0affffee 	beq	a000cd3c <rtems_mkdir+0x160>                  <== NOT EXECUTED
a000cd80:	eaffffef 	b	a000cd44 <rtems_mkdir+0x168>                    <== NOT EXECUTED
                                                                      

a0005880 <rtems_object_get_api_class_name>: ) { const rtems_assoc_t *api_assoc; const rtems_assoc_t *class_assoc; if ( the_api == OBJECTS_INTERNAL_API )
a0005880:	e3500001 	cmp	r0, #1                                        
                                                                      
const char *rtems_object_get_api_class_name(                          
  int the_api,                                                        
  int the_class                                                       
)                                                                     
{                                                                     
a0005884:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  const rtems_assoc_t *api_assoc;                                     
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
a0005888:	0a00000d 	beq	a00058c4 <rtems_object_get_api_class_name+0x44>
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
a000588c:	e3500002 	cmp	r0, #2                                        
a0005890:	0a000004 	beq	a00058a8 <rtems_object_get_api_class_name+0x28>
    api_assoc = rtems_object_api_classic_assoc;                       
#ifdef RTEMS_POSIX_API                                                
  else if ( the_api == OBJECTS_POSIX_API )                            
a0005894:	e3500003 	cmp	r0, #3                                        
    api_assoc = rtems_object_api_posix_assoc;                         
a0005898:	059f003c 	ldreq	r0, [pc, #60]	; a00058dc <rtems_object_get_api_class_name+0x5c>
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
    api_assoc = rtems_object_api_classic_assoc;                       
#ifdef RTEMS_POSIX_API                                                
  else if ( the_api == OBJECTS_POSIX_API )                            
a000589c:	0a000002 	beq	a00058ac <rtems_object_get_api_class_name+0x2c>
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
a00058a0:	e59f0038 	ldr	r0, [pc, #56]	; a00058e0 <rtems_object_get_api_class_name+0x60>
a00058a4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
    api_assoc = rtems_object_api_classic_assoc;                       
a00058a8:	e59f0034 	ldr	r0, [pc, #52]	; a00058e4 <rtems_object_get_api_class_name+0x64>
  else if ( the_api == OBJECTS_POSIX_API )                            
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
a00058ac:	eb001359 	bl	a000a618 <rtems_assoc_ptr_by_local>            
  if ( class_assoc )                                                  
a00058b0:	e3500000 	cmp	r0, #0                                        
    return class_assoc->name;                                         
a00058b4:	15900000 	ldrne	r0, [r0]                                    
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  if ( class_assoc )                                                  
a00058b8:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    return class_assoc->name;                                         
  return "BAD CLASS";                                                 
a00058bc:	e59f0024 	ldr	r0, [pc, #36]	; a00058e8 <rtems_object_get_api_class_name+0x68>
}                                                                     
a00058c0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
{                                                                     
  const rtems_assoc_t *api_assoc;                                     
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
a00058c4:	e59f0020 	ldr	r0, [pc, #32]	; a00058ec <rtems_object_get_api_class_name+0x6c>
  else if ( the_api == OBJECTS_POSIX_API )                            
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
a00058c8:	eb001352 	bl	a000a618 <rtems_assoc_ptr_by_local>            
  if ( class_assoc )                                                  
a00058cc:	e3500000 	cmp	r0, #0                                        
    return class_assoc->name;                                         
a00058d0:	15900000 	ldrne	r0, [r0]                                    
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  if ( class_assoc )                                                  
a00058d4:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
a00058d8:	eafffff7 	b	a00058bc <rtems_object_get_api_class_name+0x3c> <== NOT EXECUTED
                                                                      

a0001aa4 <rtems_print_buffer>: void rtems_print_buffer( const unsigned char *buffer, int length ) {
a0001aa4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
a0001aa8:	e3510000 	cmp	r1, #0                                        
                                                                      
void rtems_print_buffer(                                              
  const unsigned char *buffer,                                        
  int                  length                                         
)                                                                     
{                                                                     
a0001aac:	e24dd084 	sub	sp, sp, #132	; 0x84                           
a0001ab0:	e58d0004 	str	r0, [sp, #4]                                  
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
a0001ab4:	0a00003f 	beq	a0001bb8 <rtems_print_buffer+0x114>           
                                                                      
  mod = length % 16;                                                  
a0001ab8:	e1a03fc1 	asr	r3, r1, #31                                   
a0001abc:	e1a03e23 	lsr	r3, r3, #28                                   
a0001ac0:	e0819003 	add	r9, r1, r3                                    
a0001ac4:	e209900f 	and	r9, r9, #15                                   
a0001ac8:	e0639009 	rsb	r9, r3, r9                                    
                                                                      
  max = length - mod;                                                 
a0001acc:	e0691001 	rsb	r1, r9, r1                                    
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
a0001ad0:	e3510000 	cmp	r1, #0                                        
                                                                      
  if ( !length ) return;                                              
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
a0001ad4:	e58d1000 	str	r1, [sp]                                      
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
a0001ad8:	da000034 	ble	a0001bb0 <rtems_print_buffer+0x10c>           
a0001adc:	e59f7238 	ldr	r7, [pc, #568]	; a0001d1c <rtems_print_buffer+0x278>
a0001ae0:	e3a08000 	mov	r8, #0                                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0001ae4:	e58d9008 	str	r9, [sp, #8]                                  
a0001ae8:	e28d400c 	add	r4, sp, #12                                   
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
a0001aec:	e1a0a008 	mov	sl, r8                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0001af0:	e3a0b07c 	mov	fp, #124	; 0x7c                               
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0001af4:	e1a09000 	mov	r9, r0                                        
static inline void Dump_Line(                                         
  const unsigned char *buffer,                                        
  int                  length                                         
);                                                                    
                                                                      
void rtems_print_buffer(                                              
a0001af8:	e0896008 	add	r6, r9, r8                                    
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
a0001afc:	e5cda00c 	strb	sl, [sp, #12]                                
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0001b00:	e3a05000 	mov	r5, #0                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0001b04:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0001b08:	e1a00004 	mov	r0, r4                                        
a0001b0c:	e59f120c 	ldr	r1, [pc, #524]	; a0001d20 <rtems_print_buffer+0x27c>
a0001b10:	e1a02004 	mov	r2, r4                                        
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0001b14:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0001b18:	eb0034f9 	bl	a000ef04 <sprintf>                             
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0001b1c:	e3550010 	cmp	r5, #16                                       
a0001b20:	1afffff7 	bne	a0001b04 <rtems_print_buffer+0x60>            
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0001b24:	e1a00004 	mov	r0, r4                                        
a0001b28:	eb00362c 	bl	a000f3e0 <strlen>                              
a0001b2c:	e0843000 	add	r3, r4, r0                                    
a0001b30:	e7c4b000 	strb	fp, [r4, r0]                                 
  for( i=0 ; i<length ; i++ )                                         
a0001b34:	e3a05000 	mov	r5, #0                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0001b38:	e5c3a001 	strb	sl, [r3, #1]                                 
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0001b3c:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0001b40:	e5972000 	ldr	r2, [r7]                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
a0001b44:	e1a00004 	mov	r0, r4                                        
a0001b48:	e59f11d4 	ldr	r1, [pc, #468]	; a0001d24 <rtems_print_buffer+0x280>
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0001b4c:	e0822003 	add	r2, r2, r3                                    
a0001b50:	e5d2c001 	ldrb	ip, [r2, #1]                                 
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0001b54:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%c", line_buffer,                        
a0001b58:	e1a02004 	mov	r2, r4                                        
a0001b5c:	e31c0097 	tst	ip, #151	; 0x97                               
a0001b60:	03a0302e 	moveq	r3, #46	; 0x2e                              
a0001b64:	eb0034e6 	bl	a000ef04 <sprintf>                             
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0001b68:	e3550010 	cmp	r5, #16                                       
a0001b6c:	1afffff2 	bne	a0001b3c <rtems_print_buffer+0x98>            
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0001b70:	e1a00004 	mov	r0, r4                                        
a0001b74:	eb003619 	bl	a000f3e0 <strlen>                              
a0001b78:	e0843000 	add	r3, r4, r0                                    
a0001b7c:	e1a02000 	mov	r2, r0                                        
a0001b80:	e7c4b002 	strb	fp, [r4, r2]                                 
a0001b84:	e2831002 	add	r1, r3, #2                                    
a0001b88:	e3a0200a 	mov	r2, #10                                       
a0001b8c:	e5c32001 	strb	r2, [r3, #1]                                 
                                                                      
  printk( line_buffer );                                              
a0001b90:	e1a00004 	mov	r0, r4                                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0001b94:	e5c1a000 	strb	sl, [r1]                                     
                                                                      
  printk( line_buffer );                                              
a0001b98:	eb00075b 	bl	a000390c <printk>                              
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
a0001b9c:	e59d3000 	ldr	r3, [sp]                                      
a0001ba0:	e2888010 	add	r8, r8, #16                                   
a0001ba4:	e1530008 	cmp	r3, r8                                        
a0001ba8:	caffffd2 	bgt	a0001af8 <rtems_print_buffer+0x54>            
a0001bac:	e59d9008 	ldr	r9, [sp, #8]                                  
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
a0001bb0:	e3590000 	cmp	r9, #0                                        
a0001bb4:	1a000001 	bne	a0001bc0 <rtems_print_buffer+0x11c>           
    Dump_Line( &buffer[ max ], mod );                                 
}                                                                     
a0001bb8:	e28dd084 	add	sp, sp, #132	; 0x84                           
a0001bbc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
a0001bc0:	e59d2004 	ldr	r2, [sp, #4]                                  
a0001bc4:	e59d3000 	ldr	r3, [sp]                                      
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
a0001bc8:	e3a05000 	mov	r5, #0                                        
a0001bcc:	e5cd500c 	strb	r5, [sp, #12]                                
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
a0001bd0:	e0826003 	add	r6, r2, r3                                    
a0001bd4:	d28d400c 	addle	r4, sp, #12                                 
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0001bd8:	da00000b 	ble	a0001c0c <rtems_print_buffer+0x168>           
a0001bdc:	e28d400c 	add	r4, sp, #12                                   
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0001be0:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0001be4:	e1a00004 	mov	r0, r4                                        
a0001be8:	e59f1130 	ldr	r1, [pc, #304]	; a0001d20 <rtems_print_buffer+0x27c>
a0001bec:	e1a02004 	mov	r2, r4                                        
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0001bf0:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0001bf4:	eb0034c2 	bl	a000ef04 <sprintf>                             
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0001bf8:	e1590005 	cmp	r9, r5                                        
a0001bfc:	cafffff7 	bgt	a0001be0 <rtems_print_buffer+0x13c>           
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
a0001c00:	e359000f 	cmp	r9, #15                                       
a0001c04:	d1a05009 	movle	r5, r9                                      
a0001c08:	ca00003b 	bgt	a0001cfc <rtems_print_buffer+0x258>           
    strcat( line_buffer, "   " );                                     
a0001c0c:	e1a00004 	mov	r0, r4                                        
a0001c10:	eb0035f2 	bl	a000f3e0 <strlen>                              
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
a0001c14:	e2855001 	add	r5, r5, #1                                    
    strcat( line_buffer, "   " );                                     
a0001c18:	e59f1108 	ldr	r1, [pc, #264]	; a0001d28 <rtems_print_buffer+0x284>
a0001c1c:	e0840000 	add	r0, r4, r0                                    
a0001c20:	e3a02004 	mov	r2, #4                                        
a0001c24:	eb00341f 	bl	a000eca8 <memcpy>                              
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
a0001c28:	e355000f 	cmp	r5, #15                                       
a0001c2c:	dafffff6 	ble	a0001c0c <rtems_print_buffer+0x168>           
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0001c30:	e1a00004 	mov	r0, r4                                        
a0001c34:	eb0035e9 	bl	a000f3e0 <strlen>                              
a0001c38:	e3a03000 	mov	r3, #0                                        
a0001c3c:	e0842000 	add	r2, r4, r0                                    
  for( i=0 ; i<length ; i++ )                                         
a0001c40:	e1590003 	cmp	r9, r3                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0001c44:	e3a0107c 	mov	r1, #124	; 0x7c                               
a0001c48:	e7c41000 	strb	r1, [r4, r0]                                 
  for( i=0 ; i<length ; i++ )                                         
a0001c4c:	d1a09003 	movle	r9, r3                                      
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0001c50:	e5c23001 	strb	r3, [r2, #1]                                 
  for( i=0 ; i<length ; i++ )                                         
a0001c54:	da000010 	ble	a0001c9c <rtems_print_buffer+0x1f8>           
a0001c58:	e59f70bc 	ldr	r7, [pc, #188]	; a0001d1c <rtems_print_buffer+0x278>
a0001c5c:	e3a05000 	mov	r5, #0                                        
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0001c60:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0001c64:	e5972000 	ldr	r2, [r7]                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
a0001c68:	e1a00004 	mov	r0, r4                                        
a0001c6c:	e59f10b0 	ldr	r1, [pc, #176]	; a0001d24 <rtems_print_buffer+0x280>
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0001c70:	e0822003 	add	r2, r2, r3                                    
a0001c74:	e5d2c001 	ldrb	ip, [r2, #1]                                 
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0001c78:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%c", line_buffer,                        
a0001c7c:	e1a02004 	mov	r2, r4                                        
a0001c80:	e31c0097 	tst	ip, #151	; 0x97                               
a0001c84:	03a0302e 	moveq	r3, #46	; 0x2e                              
a0001c88:	eb00349d 	bl	a000ef04 <sprintf>                             
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0001c8c:	e1590005 	cmp	r9, r5                                        
a0001c90:	cafffff2 	bgt	a0001c60 <rtems_print_buffer+0x1bc>           
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
a0001c94:	e359000f 	cmp	r9, #15                                       
a0001c98:	ca000009 	bgt	a0001cc4 <rtems_print_buffer+0x220>           
    strcat( line_buffer, " " );                                       
a0001c9c:	e3a06020 	mov	r6, #32                                       
a0001ca0:	e3a05000 	mov	r5, #0                                        
a0001ca4:	e1a00004 	mov	r0, r4                                        
a0001ca8:	eb0035cc 	bl	a000f3e0 <strlen>                              
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
a0001cac:	e2899001 	add	r9, r9, #1                                    
    strcat( line_buffer, " " );                                       
a0001cb0:	e0843000 	add	r3, r4, r0                                    
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
a0001cb4:	e359000f 	cmp	r9, #15                                       
    strcat( line_buffer, " " );                                       
a0001cb8:	e7c46000 	strb	r6, [r4, r0]                                 
a0001cbc:	e5c35001 	strb	r5, [r3, #1]                                 
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
a0001cc0:	dafffff7 	ble	a0001ca4 <rtems_print_buffer+0x200>           
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0001cc4:	e1a00004 	mov	r0, r4                                        
a0001cc8:	eb0035c4 	bl	a000f3e0 <strlen>                              
a0001ccc:	e3a0c07c 	mov	ip, #124	; 0x7c                               
a0001cd0:	e1a02000 	mov	r2, r0                                        
a0001cd4:	e0843000 	add	r3, r4, r0                                    
a0001cd8:	e7c4c002 	strb	ip, [r4, r2]                                 
a0001cdc:	e3a0200a 	mov	r2, #10                                       
a0001ce0:	e2831002 	add	r1, r3, #2                                    
a0001ce4:	e5c32001 	strb	r2, [r3, #1]                                 
a0001ce8:	e3a03000 	mov	r3, #0                                        
                                                                      
  printk( line_buffer );                                              
a0001cec:	e1a00004 	mov	r0, r4                                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0001cf0:	e5c13000 	strb	r3, [r1]                                     
                                                                      
  printk( line_buffer );                                              
a0001cf4:	eb000704 	bl	a000390c <printk>                              
a0001cf8:	eaffffae 	b	a0001bb8 <rtems_print_buffer+0x114>             
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0001cfc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001d00:	eb0035b6 	bl	a000f3e0 <strlen>                              <== NOT EXECUTED
a0001d04:	e3a0207c 	mov	r2, #124	; 0x7c                               <== NOT EXECUTED
a0001d08:	e7c42000 	strb	r2, [r4, r0]                                 <== NOT EXECUTED
a0001d0c:	e0843000 	add	r3, r4, r0                                    <== NOT EXECUTED
a0001d10:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0001d14:	e5c32001 	strb	r2, [r3, #1]                                 <== NOT EXECUTED
a0001d18:	eaffffce 	b	a0001c58 <rtems_print_buffer+0x1b4>             <== NOT EXECUTED
                                                                      

a00013e8 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) { Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack;
a00013e8:	e59f3038 	ldr	r3, [pc, #56]	; a0001428 <rtems_stack_checker_is_blown+0x40>
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a00013ec:	e92d4800 	push	{fp, lr}                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a00013f0:	e5931004 	ldr	r1, [r3, #4]                                  
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a00013f4:	e28db004 	add	fp, sp, #4                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a00013f8:	e59120c8 	ldr	r2, [r1, #200]	; 0xc8                         
a00013fc:	e15b0002 	cmp	fp, r2                                        
a0001400:	3a000003 	bcc	a0001414 <rtems_stack_checker_is_blown+0x2c>  
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
a0001404:	e59110c4 	ldr	r1, [r1, #196]	; 0xc4                         
a0001408:	e0822001 	add	r2, r2, r1                                    
a000140c:	e15b0002 	cmp	fp, r2                                        
a0001410:	9a000002 	bls	a0001420 <rtems_stack_checker_is_blown+0x38>  
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
a0001414:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
a0001418:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000141c:	ebffffa9 	bl	a00012c8 <Stack_check_report_blown_task>       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
a0001420:	e3a00000 	mov	r0, #0                                        
a0001424:	e8bd8800 	pop	{fp, pc}                                      
                                                                      

a000137c <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
a000137c:	e92d4810 	push	{r4, fp, lr}                                 
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool        sp_ok;                                                  
  bool        pattern_ok = true;                                      
                                                                      
  pattern = (void *) Stack_check_Get_pattern_area(the_stack)->pattern;
a0001380:	e59030c8 	ldr	r3, [r0, #200]	; 0xc8                         
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
a0001384:	e28db008 	add	fp, sp, #8                                    
a0001388:	e1a04000 	mov	r4, r0                                        
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a000138c:	e15b0003 	cmp	fp, r3                                        
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool        sp_ok;                                                  
  bool        pattern_ok = true;                                      
                                                                      
  pattern = (void *) Stack_check_Get_pattern_area(the_stack)->pattern;
a0001390:	e2830008 	add	r0, r3, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0001394:	3a000003 	bcc	a00013a8 <rtems_stack_checker_switch_extension+0x2c>
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
a0001398:	e59420c4 	ldr	r2, [r4, #196]	; 0xc4                         
a000139c:	e0833002 	add	r3, r3, r2                                    
a00013a0:	e15b0003 	cmp	fp, r3                                        
a00013a4:	9a000006 	bls	a00013c4 <rtems_stack_checker_switch_extension+0x48>
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
a00013a8:	e59f1034 	ldr	r1, [pc, #52]	; a00013e4 <rtems_stack_checker_switch_extension+0x68><== NOT EXECUTED
a00013ac:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
a00013b0:	eb003365 	bl	a000e14c <memcmp>                              <== NOT EXECUTED
a00013b4:	e2701001 	rsbs	r1, r0, #1                                   <== NOT EXECUTED
a00013b8:	33a01000 	movcc	r1, #0                                      <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
a00013bc:	e1a00004 	mov	r0, r4                                        
a00013c0:	ebffffc0 	bl	a00012c8 <Stack_check_report_blown_task>       
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
a00013c4:	e59f1018 	ldr	r1, [pc, #24]	; a00013e4 <rtems_stack_checker_switch_extension+0x68>
a00013c8:	e3a02010 	mov	r2, #16                                       
a00013cc:	eb00335e 	bl	a000e14c <memcmp>                              
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
a00013d0:	e3500000 	cmp	r0, #0                                        
a00013d4:	1a000000 	bne	a00013dc <rtems_stack_checker_switch_extension+0x60>
a00013d8:	e8bd8810 	pop	{r4, fp, pc}                                  
a00013dc:	e3a01000 	mov	r1, #0                                        
a00013e0:	eafffff5 	b	a00013bc <rtems_stack_checker_switch_extension+0x40>
                                                                      

a000ba34 <rtems_string_to_pointer>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
a000ba34:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a000ba38:	e2515000 	subs	r5, r1, #0                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
a000ba3c:	e1a04000 	mov	r4, r0                                        
a000ba40:	e24dd004 	sub	sp, sp, #4                                    
a000ba44:	e1a06002 	mov	r6, r2                                        
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
a000ba48:	03a00009 	moveq	r0, #9                                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a000ba4c:	0a000013 	beq	a000baa0 <rtems_string_to_pointer+0x6c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a000ba50:	eb000ba1 	bl	a000e8dc <__errno>                             
a000ba54:	e3a03000 	mov	r3, #0                                        
a000ba58:	e5803000 	str	r3, [r0]                                      
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
a000ba5c:	e1a0100d 	mov	r1, sp                                        
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
a000ba60:	e5853000 	str	r3, [r5]                                      
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
a000ba64:	e1a00004 	mov	r0, r4                                        
a000ba68:	e3a02010 	mov	r2, #16                                       
a000ba6c:	eb001927 	bl	a0011f10 <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 )                                                       
a000ba70:	e3560000 	cmp	r6, #0                                        
    *endptr = end;                                                    
a000ba74:	159d3000 	ldrne	r3, [sp]                                    
  #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 )                                                       
a000ba78:	059d3000 	ldreq	r3, [sp]                                    
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
a000ba7c:	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;                                                    
a000ba80:	15863000 	strne	r3, [r6]                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
a000ba84:	e1540003 	cmp	r4, r3                                        
    return RTEMS_NOT_DEFINED;                                         
a000ba88:	03a0000b 	moveq	r0, #11                                     
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
a000ba8c:	0a000003 	beq	a000baa0 <rtems_string_to_pointer+0x6c>       
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
a000ba90:	e3770001 	cmn	r7, #1                                        
a000ba94:	0a000003 	beq	a000baa8 <rtems_string_to_pointer+0x74>       
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
a000ba98:	e5857000 	str	r7, [r5]                                      
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
a000ba9c:	e3a00000 	mov	r0, #0                                        
}                                                                     
a000baa0:	e28dd004 	add	sp, sp, #4                                    
a000baa4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
a000baa8:	eb000b8b 	bl	a000e8dc <__errno>                             <== NOT EXECUTED
a000baac:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a000bab0:	e3530022 	cmp	r3, #34	; 0x22                                <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
a000bab4:	03a0000a 	moveq	r0, #10                                     <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
a000bab8:	1afffff6 	bne	a000ba98 <rtems_string_to_pointer+0x64>       <== NOT EXECUTED
a000babc:	eafffff7 	b	a000baa0 <rtems_string_to_pointer+0x6c>         <== NOT EXECUTED
                                                                      

a0001690 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
a0001690:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0001694:	e24ddf6b 	sub	sp, sp, #428	; 0x1ac                          
a0001698:	e1a06001 	mov	r6, r1                                        
a000169c:	e1a07002 	mov	r7, r2                                        
a00016a0:	e58d0018 	str	r0, [sp, #24]                                 
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
a00016a4:	eb004161 	bl	a0011c30 <strlen>                              
a00016a8:	e28d2f65 	add	r2, sp, #404	; 0x194                          
a00016ac:	e1a01000 	mov	r1, r0                                        
a00016b0:	e58d2008 	str	r2, [sp, #8]                                  
a00016b4:	e59d0018 	ldr	r0, [sp, #24]                                 
a00016b8:	e3a02000 	mov	r2, #0                                        
a00016bc:	e28d3f65 	add	r3, sp, #404	; 0x194                          
a00016c0:	e58d2000 	str	r2, [sp]                                      
a00016c4:	eb0002db 	bl	a0002238 <rtems_filesystem_evaluate_path>      
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
a00016c8:	e3500000 	cmp	r0, #0                                        
      return -1;                                                      
a00016cc:	13e02000 	mvnne	r2, #0                                      
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
a00016d0:	e58d0014 	str	r0, [sp, #20]                                 
      return -1;                                                      
a00016d4:	158d2014 	strne	r2, [sp, #20]                               
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
a00016d8:	1a000032 	bne	a00017a8 <rtems_tarfs_load+0x118>             
      return -1;                                                      
                                                                      
   if (root_loc.ops != &IMFS_ops                                      
a00016dc:	e59d31a0 	ldr	r3, [sp, #416]	; 0x1a0                        
a00016e0:	e59f21d4 	ldr	r2, [pc, #468]	; a00018bc <rtems_tarfs_load+0x22c>
a00016e4:	e1530002 	cmp	r3, r2                                        
a00016e8:	059d8014 	ldreq	r8, [sp, #20]                               
a00016ec:	1a00006b 	bne	a00018a0 <rtems_tarfs_load+0x210>             
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
a00016f0:	e2884c02 	add	r4, r8, #512	; 0x200                          
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
a00016f4:	e28d3d06 	add	r3, sp, #384	; 0x180                          
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
a00016f8:	e1540007 	cmp	r4, r7                                        
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar  ", 7))                         
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
a00016fc:	e28d5f47 	add	r5, sp, #284	; 0x11c                          
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
a0001700:	e58d3004 	str	r3, [sp, #4]                                  
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
a0001704:	8a000027 	bhi	a00017a8 <rtems_tarfs_load+0x118>             
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
a0001708:	e0868008 	add	r8, r6, r8                                    
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar  ", 7))                         
a000170c:	e2880c01 	add	r0, r8, #256	; 0x100                          
a0001710:	e2800001 	add	r0, r0, #1                                    
a0001714:	e59f11a4 	ldr	r1, [pc, #420]	; a00018c0 <rtems_tarfs_load+0x230>
a0001718:	e3a02007 	mov	r2, #7                                        
a000171c:	eb00415b 	bl	a0011c90 <strncmp>                             
a0001720:	e250a000 	subs	sl, r0, #0                                   
a0001724:	1a00001f 	bne	a00017a8 <rtems_tarfs_load+0x118>             
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
a0001728:	e3a02063 	mov	r2, #99	; 0x63                                
a000172c:	e1a01008 	mov	r1, r8                                        
a0001730:	e1a00005 	mov	r0, r5                                        
a0001734:	eb0041b1 	bl	a0011e00 <strncpy>                             
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
a0001738:	e3a01008 	mov	r1, #8                                        
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar  ", 7))                         
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
a000173c:	e5cda17f 	strb	sl, [sp, #383]	; 0x17f                       
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
a0001740:	e2880064 	add	r0, r8, #100	; 0x64                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
a0001744:	e5d8b09c 	ldrb	fp, [r8, #156]	; 0x9c                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
a0001748:	eb001fe5 	bl	a00096e4 <_rtems_octal2ulong>                  
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
a000174c:	e3a0100c 	mov	r1, #12                                       
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
a0001750:	e58d0010 	str	r0, [sp, #16]                                 
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
a0001754:	e288007c 	add	r0, r8, #124	; 0x7c                           
a0001758:	eb001fe1 	bl	a00096e4 <_rtems_octal2ulong>                  
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
a000175c:	e3a01008 	mov	r1, #8                                        
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
a0001760:	e1a09000 	mov	r9, r0                                        
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
a0001764:	e2880094 	add	r0, r8, #148	; 0x94                           
a0001768:	eb001fdd 	bl	a00096e4 <_rtems_octal2ulong>                  
a000176c:	e1a03000 	mov	r3, r0                                        
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
a0001770:	e1a00008 	mov	r0, r8                                        
a0001774:	e58d300c 	str	r3, [sp, #12]                                 
a0001778:	eb0020e6 	bl	a0009b18 <_rtems_tar_header_checksum>          
a000177c:	e59d300c 	ldr	r3, [sp, #12]                                 
a0001780:	e1500003 	cmp	r0, r3                                        
a0001784:	1a000007 	bne	a00017a8 <rtems_tarfs_load+0x118>             
     * Generate an IMFS node depending on the file type.              
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
a0001788:	e35b0035 	cmp	fp, #53	; 0x35                                
a000178c:	0a00001a 	beq	a00017fc <rtems_tarfs_load+0x16c>             
     *        IMFS_create_node 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.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
a0001790:	e35b0030 	cmp	fp, #48	; 0x30                                
a0001794:	0a000006 	beq	a00017b4 <rtems_tarfs_load+0x124>             
   );                                                                 
   if (status != 0)                                                   
      return -1;                                                      
                                                                      
   if (root_loc.ops != &IMFS_ops                                      
       && root_loc.ops != &fifoIMFS_ops)                              
a0001798:	e1a08004 	mov	r8, r4                                        
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
a000179c:	e2884c02 	add	r4, r8, #512	; 0x200                          
a00017a0:	e1540007 	cmp	r4, r7                                        
a00017a4:	9affffd7 	bls	a0001708 <rtems_tarfs_load+0x78>              
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
a00017a8:	e59d0014 	ldr	r0, [sp, #20]                                 
a00017ac:	e28ddf6b 	add	sp, sp, #428	; 0x1ac                          
a00017b0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
a00017b4:	e59dc008 	ldr	ip, [sp, #8]                                  
a00017b8:	e59de004 	ldr	lr, [sp, #4]                                  
a00017bc:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a00017c0:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a00017c4:	e59cc000 	ldr	ip, [ip]                                      
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
a00017c8:	e1a00005 	mov	r0, r5                                        
a00017cc:	e28d1d06 	add	r1, sp, #384	; 0x180                          
a00017d0:	e28d2f6a 	add	r2, sp, #424	; 0x1a8                          
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
a00017d4:	e58ec000 	str	ip, [lr]                                      
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
a00017d8:	eb002304 	bl	a000a3f0 <IMFS_evaluate_for_make>              
a00017dc:	e2508000 	subs	r8, r0, #0                                   
a00017e0:	0a00001c 	beq	a0001858 <rtems_tarfs_load+0x1c8>             
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
a00017e4:	e2899f7f 	add	r9, r9, #508	; 0x1fc                          <== NOT EXECUTED
a00017e8:	e2899003 	add	r9, r9, #3                                    <== NOT EXECUTED
a00017ec:	e1a094a9 	lsr	r9, r9, #9                                    <== NOT EXECUTED
      offset += 512 * nblocks;                                        
a00017f0:	e0844489 	add	r4, r4, r9, lsl #9                            <== NOT EXECUTED
   );                                                                 
   if (status != 0)                                                   
      return -1;                                                      
                                                                      
   if (root_loc.ops != &IMFS_ops                                      
       && root_loc.ops != &fifoIMFS_ops)                              
a00017f4:	e1a08004 	mov	r8, r4                                        
a00017f8:	eaffffe7 	b	a000179c <rtems_tarfs_load+0x10c>               
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
a00017fc:	e59d1018 	ldr	r1, [sp, #24]                                 
a0001800:	e28d001c 	add	r0, sp, #28                                   
a0001804:	eb003f45 	bl	a0011520 <strcpy>                              
      if (full_filename[strlen(full_filename)-1] != '/')              
a0001808:	e28d001c 	add	r0, sp, #28                                   
a000180c:	eb004107 	bl	a0011c30 <strlen>                              
a0001810:	e28def6b 	add	lr, sp, #428	; 0x1ac                          
a0001814:	e08e3000 	add	r3, lr, r0                                    
a0001818:	e5533191 	ldrb	r3, [r3, #-401]	; 0x191                      
   );                                                                 
   if (status != 0)                                                   
      return -1;                                                      
                                                                      
   if (root_loc.ops != &IMFS_ops                                      
       && root_loc.ops != &fifoIMFS_ops)                              
a000181c:	e1a08004 	mov	r8, r4                                        
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
      if (full_filename[strlen(full_filename)-1] != '/')              
a0001820:	e353002f 	cmp	r3, #47	; 0x2f                                
        strcat(full_filename, "/");                                   
a0001824:	128d101c 	addne	r1, sp, #28                                 
a0001828:	10813000 	addne	r3, r1, r0                                  
a000182c:	13a0202f 	movne	r2, #47	; 0x2f                              
a0001830:	17c12000 	strbne	r2, [r1, r0]                               
a0001834:	15c3a001 	strbne	sl, [r3, #1]                               
      strcat(full_filename, filename);                                
a0001838:	e1a01005 	mov	r1, r5                                        
a000183c:	e28d001c 	add	r0, sp, #28                                   
a0001840:	eb003e7f 	bl	a0011244 <strcat>                              
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
a0001844:	e3a01f7f 	mov	r1, #508	; 0x1fc                              
a0001848:	e28d001c 	add	r0, sp, #28                                   
a000184c:	e2811003 	add	r1, r1, #3                                    
a0001850:	eb000503 	bl	a0002c64 <mkdir>                               
a0001854:	eaffffd0 	b	a000179c <rtems_tarfs_load+0x10c>               
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
a0001858:	e59d1010 	ldr	r1, [sp, #16]                                 
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
a000185c:	e28d0d06 	add	r0, sp, #384	; 0x180                          
a0001860:	e59d21a8 	ldr	r2, [sp, #424]	; 0x1a8                        
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
a0001864:	e1a03b81 	lsl	r3, r1, #23                                   
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
a0001868:	e3a01006 	mov	r1, #6                                        
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
a000186c:	e1a03ba3 	lsr	r3, r3, #23                                   
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
a0001870:	e3833902 	orr	r3, r3, #32768	; 0x8000                       
a0001874:	e58d8000 	str	r8, [sp]                                      
a0001878:	eb00212a 	bl	a0009d28 <IMFS_create_node>                    
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
a000187c:	e5809050 	str	r9, [r0, #80]	; 0x50                          
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
a0001880:	e2899f7f 	add	r9, r9, #508	; 0x1fc                          
a0001884:	e2899003 	add	r9, r9, #3                                    
a0001888:	e1a094a9 	lsr	r9, r9, #9                                    
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
a000188c:	e0863004 	add	r3, r6, r4                                    
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
a0001890:	e5808054 	str	r8, [r0, #84]	; 0x54                          
        node->info.linearfile.direct = &tar_image[offset];            
a0001894:	e5803058 	str	r3, [r0, #88]	; 0x58                          
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
a0001898:	e0844489 	add	r4, r4, r9, lsl #9                            
a000189c:	eaffffd4 	b	a00017f4 <rtems_tarfs_load+0x164>               
   );                                                                 
   if (status != 0)                                                   
      return -1;                                                      
                                                                      
   if (root_loc.ops != &IMFS_ops                                      
       && root_loc.ops != &fifoIMFS_ops)                              
a00018a0:	e59f201c 	ldr	r2, [pc, #28]	; a00018c4 <rtems_tarfs_load+0x234><== NOT EXECUTED
a00018a4:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00018a8:	01a08000 	moveq	r8, r0                                      <== NOT EXECUTED
a00018ac:	0affff8f 	beq	a00016f0 <rtems_tarfs_load+0x60>              <== NOT EXECUTED
      return -1;                                                      
a00018b0:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a00018b4:	e58d3014 	str	r3, [sp, #20]                                 <== NOT EXECUTED
a00018b8:	eaffffba 	b	a00017a8 <rtems_tarfs_load+0x118>               <== NOT EXECUTED
                                                                      

a000d504 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
a000d504:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
a000d508:	e2525000 	subs	r5, r2, #0                                   
rtems_status_code rtems_task_mode(                                    
  rtems_mode  mode_set,                                               
  rtems_mode  mask,                                                   
  rtems_mode *previous_mode_set                                       
)                                                                     
{                                                                     
a000d50c:	e1a04000 	mov	r4, r0                                        
a000d510:	e1a06001 	mov	r6, r1                                        
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
a000d514:	0a000056 	beq	a000d674 <rtems_task_mode+0x170>              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
a000d518:	e59f915c 	ldr	r9, [pc, #348]	; a000d67c <rtems_task_mode+0x178>
a000d51c:	e5997004 	ldr	r7, [r9, #4]                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
a000d520:	e5978104 	ldr	r8, [r7, #260]	; 0x104                        
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
a000d524:	e5d7a074 	ldrb	sl, [r7, #116]	; 0x74                        
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
a000d528:	e597307c 	ldr	r3, [r7, #124]	; 0x7c                         
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
a000d52c:	e5d8b008 	ldrb	fp, [r8, #8]                                 
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
a000d530:	e35a0000 	cmp	sl, #0                                        
a000d534:	03a0ac01 	moveq	sl, #256	; 0x100                            
a000d538:	13a0a000 	movne	sl, #0                                      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
a000d53c:	e3530000 	cmp	r3, #0                                        
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
a000d540:	138aac02 	orrne	sl, sl, #512	; 0x200                        
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
a000d544:	e35b0000 	cmp	fp, #0                                        
a000d548:	03a0bb01 	moveq	fp, #1024	; 0x400                           
a000d54c:	13a0b000 	movne	fp, #0                                      
  old_mode |= _ISR_Get_level();                                       
a000d550:	ebffee80 	bl	a0008f58 <_CPU_ISR_Get_level>                  
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
a000d554:	e18bb000 	orr	fp, fp, r0                                    
  old_mode |= _ISR_Get_level();                                       
a000d558:	e18ba00a 	orr	sl, fp, sl                                    
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
a000d55c:	e3160c01 	tst	r6, #256	; 0x100                              
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
a000d560:	e585a000 	str	sl, [r5]                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
a000d564:	0a000003 	beq	a000d578 <rtems_task_mode+0x74>               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
a000d568:	e3140c01 	tst	r4, #256	; 0x100                              
a000d56c:	13a03000 	movne	r3, #0                                      
a000d570:	03a03001 	moveq	r3, #1                                      
a000d574:	e5c73074 	strb	r3, [r7, #116]	; 0x74                        
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
a000d578:	e3160c02 	tst	r6, #512	; 0x200                              
a000d57c:	1a00001c 	bne	a000d5f4 <rtems_task_mode+0xf0>               
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
a000d580:	e3160080 	tst	r6, #128	; 0x80                               
a000d584:	1a000023 	bne	a000d618 <rtems_task_mode+0x114>              
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
a000d588:	e2166b01 	ands	r6, r6, #1024	; 0x400                        
a000d58c:	0a000012 	beq	a000d5dc <rtems_task_mode+0xd8>               
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
a000d590:	e5d82008 	ldrb	r2, [r8, #8]                                 
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
a000d594:	e3140b01 	tst	r4, #1024	; 0x400                             
a000d598:	13a03000 	movne	r3, #0                                      
a000d59c:	03a03001 	moveq	r3, #1                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
a000d5a0:	e1520003 	cmp	r2, r3                                        
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
a000d5a4:	03a06000 	moveq	r6, #0                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
a000d5a8:	0a00000b 	beq	a000d5dc <rtems_task_mode+0xd8>               
      asr->is_enabled = is_asr_enabled;                               
a000d5ac:	e5c83008 	strb	r3, [r8, #8]                                 
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000d5b0:	e10f3000 	mrs	r3, CPSR                                      
a000d5b4:	e3832080 	orr	r2, r3, #128	; 0x80                           
a000d5b8:	e129f002 	msr	CPSR_fc, r2                                   
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
a000d5bc:	e5981018 	ldr	r1, [r8, #24]                                 
    information->signals_pending = information->signals_posted;       
a000d5c0:	e5982014 	ldr	r2, [r8, #20]                                 
    information->signals_posted  = _signals;                          
a000d5c4:	e5881014 	str	r1, [r8, #20]                                 
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
a000d5c8:	e5882018 	str	r2, [r8, #24]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000d5cc:	e129f003 	msr	CPSR_fc, r3                                   
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
a000d5d0:	e5986014 	ldr	r6, [r8, #20]                                 
a000d5d4:	e3560000 	cmp	r6, #0                                        
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
a000d5d8:	13a06001 	movne	r6, #1                                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
a000d5dc:	e59f309c 	ldr	r3, [pc, #156]	; a000d680 <rtems_task_mode+0x17c>
a000d5e0:	e5933000 	ldr	r3, [r3]                                      
a000d5e4:	e3530003 	cmp	r3, #3                                        
a000d5e8:	0a00000d 	beq	a000d624 <rtems_task_mode+0x120>              
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000d5ec:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000d5f0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
a000d5f4:	e2143c02 	ands	r3, r4, #512	; 0x200                         
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
a000d5f8:	13a03001 	movne	r3, #1                                      
a000d5fc:	1587307c 	strne	r3, [r7, #124]	; 0x7c                       
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
a000d600:	159f307c 	ldrne	r3, [pc, #124]	; a000d684 <rtems_task_mode+0x180>
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
a000d604:	0587307c 	streq	r3, [r7, #124]	; 0x7c                       
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
a000d608:	15933000 	ldrne	r3, [r3]                                    
a000d60c:	15873078 	strne	r3, [r7, #120]	; 0x78                       
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
a000d610:	e3160080 	tst	r6, #128	; 0x80                               
a000d614:	0affffdb 	beq	a000d588 <rtems_task_mode+0x84>               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
a000d618:	e2040080 	and	r0, r4, #128	; 0x80                           
a000d61c:	ebffee48 	bl	a0008f44 <_CPU_ISR_Set_level>                  
a000d620:	eaffffd8 	b	a000d588 <rtems_task_mode+0x84>                 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Thread_Evaluate_mode( void )               
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
a000d624:	e5993004 	ldr	r3, [r9, #4]                                  
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
a000d628:	e5932010 	ldr	r2, [r3, #16]                                 
a000d62c:	e3520000 	cmp	r2, #0                                        
a000d630:	1a00000a 	bne	a000d660 <rtems_task_mode+0x15c>              
a000d634:	e59f2040 	ldr	r2, [pc, #64]	; a000d67c <rtems_task_mode+0x178>
a000d638:	e5922008 	ldr	r2, [r2, #8]                                  
a000d63c:	e1530002 	cmp	r3, r2                                        
a000d640:	0a000002 	beq	a000d650 <rtems_task_mode+0x14c>              
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
a000d644:	e5d33074 	ldrb	r3, [r3, #116]	; 0x74                        
a000d648:	e3530000 	cmp	r3, #0                                        
a000d64c:	1a000003 	bne	a000d660 <rtems_task_mode+0x15c>              
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
a000d650:	e3560000 	cmp	r6, #0                                        
a000d654:	1a000003 	bne	a000d668 <rtems_task_mode+0x164>              
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000d658:	e1a00006 	mov	r0, r6                                        
}                                                                     
a000d65c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    _Context_Switch_necessary = true;                                 
a000d660:	e3a03001 	mov	r3, #1                                        
a000d664:	e5c93010 	strb	r3, [r9, #16]                                
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
a000d668:	ebffe7dc 	bl	a00075e0 <_Thread_Dispatch>                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000d66c:	e3a00000 	mov	r0, #0                                        
a000d670:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
a000d674:	e3a00009 	mov	r0, #9                                        
a000d678:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

a000353c <rtems_termios_bufsize>: int cbufsize, int raw_input, int raw_output ) { rtems_termios_cbufsize = cbufsize;
a000353c:	e59f300c 	ldr	r3, [pc, #12]	; a0003550 <rtems_termios_bufsize+0x14><== NOT EXECUTED
a0003540:	e5830008 	str	r0, [r3, #8]                                  <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
a0003544:	e8830006 	stm	r3, {r1, r2}                                  <== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0003548:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000354c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0003388 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
a0003388:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
a000338c:	e59f5198 	ldr	r5, [pc, #408]	; a000352c <rtems_termios_close+0x1a4>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
a0003390:	e5903000 	ldr	r3, [r0]                                      
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
a0003394:	e3a01000 	mov	r1, #0                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
a0003398:	e1a06000 	mov	r6, r0                                        
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
a000339c:	e1a02001 	mov	r2, r1                                        
a00033a0:	e5950000 	ldr	r0, [r5]                                      
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
a00033a4:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
a00033a8:	eb000870 	bl	a0005570 <rtems_semaphore_obtain>              
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
a00033ac:	e3500000 	cmp	r0, #0                                        
a00033b0:	1a00005c 	bne	a0003528 <rtems_termios_close+0x1a0>          
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
a00033b4:	e5943008 	ldr	r3, [r4, #8]                                  
a00033b8:	e2433001 	sub	r3, r3, #1                                    
a00033bc:	e3530000 	cmp	r3, #0                                        
a00033c0:	e5843008 	str	r3, [r4, #8]                                  
a00033c4:	1a00002e 	bne	a0003484 <rtems_termios_close+0xfc>           
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
a00033c8:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a00033cc:	e59f315c 	ldr	r3, [pc, #348]	; a0003530 <rtems_termios_close+0x1a8>
a00033d0:	e0833282 	add	r3, r3, r2, lsl #5                            
a00033d4:	e5931004 	ldr	r1, [r3, #4]                                  
a00033d8:	e3510000 	cmp	r1, #0                                        
a00033dc:	0a00003d 	beq	a00034d8 <rtems_termios_close+0x150>          
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
a00033e0:	e1a00004 	mov	r0, r4                                        
a00033e4:	e12fff31 	blx	r1                                            
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a00033e8:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a00033ec:	e3530002 	cmp	r3, #2                                        
a00033f0:	0a000042 	beq	a0003500 <rtems_termios_close+0x178>          
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
a00033f4:	e594309c 	ldr	r3, [r4, #156]	; 0x9c                         
a00033f8:	e3530000 	cmp	r3, #0                                        
a00033fc:	0a000003 	beq	a0003410 <rtems_termios_close+0x88>           
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
a0003400:	e594000c 	ldr	r0, [r4, #12]                                 
a0003404:	e5941010 	ldr	r1, [r4, #16]                                 
a0003408:	e1a02006 	mov	r2, r6                                        
a000340c:	e12fff33 	blx	r3                                            
    if (tty->forw == NULL) {                                          
a0003410:	e5943000 	ldr	r3, [r4]                                      
a0003414:	e3530000 	cmp	r3, #0                                        
a0003418:	0a000026 	beq	a00034b8 <rtems_termios_close+0x130>          
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
        rtems_termios_ttyTail->forw = NULL;                           
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
a000341c:	e5942004 	ldr	r2, [r4, #4]                                  
a0003420:	e5832004 	str	r2, [r3, #4]                                  
a0003424:	e5942004 	ldr	r2, [r4, #4]                                  
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
a0003428:	e3520000 	cmp	r2, #0                                        
a000342c:	0a00001b 	beq	a00034a0 <rtems_termios_close+0x118>          
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
a0003430:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
a0003434:	e5940014 	ldr	r0, [r4, #20]                                 
a0003438:	eb000823 	bl	a00054cc <rtems_semaphore_delete>              
    rtems_semaphore_delete (tty->osem);                               
a000343c:	e5940018 	ldr	r0, [r4, #24]                                 
a0003440:	eb000821 	bl	a00054cc <rtems_semaphore_delete>              
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
a0003444:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
a0003448:	eb00081f 	bl	a00054cc <rtems_semaphore_delete>              
    if ((tty->device.pollRead == NULL) ||                             
a000344c:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a0003450:	e3530000 	cmp	r3, #0                                        
a0003454:	0a00000e 	beq	a0003494 <rtems_termios_close+0x10c>          
a0003458:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a000345c:	e3530002 	cmp	r3, #2                                        
a0003460:	0a00000b 	beq	a0003494 <rtems_termios_close+0x10c>          
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
a0003464:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
a0003468:	ebfffaa0 	bl	a0001ef0 <free>                                
    free (tty->rawOutBuf.theBuf);                                     
a000346c:	e594007c 	ldr	r0, [r4, #124]	; 0x7c                         
a0003470:	ebfffa9e 	bl	a0001ef0 <free>                                
    free (tty->cbuf);                                                 
a0003474:	e594001c 	ldr	r0, [r4, #28]                                 
a0003478:	ebfffa9c 	bl	a0001ef0 <free>                                
    free (tty);                                                       
a000347c:	e1a00004 	mov	r0, r4                                        
a0003480:	ebfffa9a 	bl	a0001ef0 <free>                                
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
a0003484:	e5950000 	ldr	r0, [r5]                                      
a0003488:	eb000881 	bl	a0005694 <rtems_semaphore_release>             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000348c:	e3a00000 	mov	r0, #0                                        
a0003490:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    rtems_semaphore_delete (tty->isem);                               
    rtems_semaphore_delete (tty->osem);                               
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
a0003494:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         
a0003498:	eb00080b 	bl	a00054cc <rtems_semaphore_delete>              
a000349c:	eafffff0 	b	a0003464 <rtems_termios_close+0xdc>             
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
a00034a0:	e59f208c 	ldr	r2, [pc, #140]	; a0003534 <rtems_termios_close+0x1ac>
      if ( rtems_termios_ttyHead != NULL ) {                          
a00034a4:	e3530000 	cmp	r3, #0                                        
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
a00034a8:	e5823000 	str	r3, [r2]                                      
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
a00034ac:	13a02000 	movne	r2, #0                                      
a00034b0:	15832004 	strne	r2, [r3, #4]                                
a00034b4:	eaffffde 	b	a0003434 <rtems_termios_close+0xac>             
        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;                              
a00034b8:	e5942004 	ldr	r2, [r4, #4]                                  
a00034bc:	e59f1074 	ldr	r1, [pc, #116]	; a0003538 <rtems_termios_close+0x1b0>
      if ( rtems_termios_ttyTail != NULL ) {                          
a00034c0:	e3520000 	cmp	r2, #0                                        
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
    if (tty->forw == NULL) {                                          
      rtems_termios_ttyTail = tty->back;                              
a00034c4:	e5812000 	str	r2, [r1]                                      
      if ( rtems_termios_ttyTail != NULL ) {                          
a00034c8:	0afffff4 	beq	a00034a0 <rtems_termios_close+0x118>          
        rtems_termios_ttyTail->forw = NULL;                           
a00034cc:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
a00034d0:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a00034d4:	eaffffd5 	b	a0003430 <rtems_termios_close+0xa8>             <== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    } else {                                                          
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00034d8:	e5940018 	ldr	r0, [r4, #24]                                 
a00034dc:	e1a02001 	mov	r2, r1                                        
a00034e0:	eb000822 	bl	a0005570 <rtems_semaphore_obtain>              
      if (sc != RTEMS_SUCCESSFUL) {                                   
a00034e4:	e3500000 	cmp	r0, #0                                        
a00034e8:	1a00000e 	bne	a0003528 <rtems_termios_close+0x1a0>          
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
a00034ec:	e1a00004 	mov	r0, r4                                        
a00034f0:	ebfffe54 	bl	a0002e48 <drainOutput>                         
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a00034f4:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a00034f8:	e3530002 	cmp	r3, #2                                        
a00034fc:	1affffbc 	bne	a00033f4 <rtems_termios_close+0x6c>           
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
a0003500:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         
a0003504:	e3a01001 	mov	r1, #1                                        
a0003508:	eb0006f5 	bl	a00050e4 <rtems_event_send>                    
      if (sc != RTEMS_SUCCESSFUL)                                     
a000350c:	e3500000 	cmp	r0, #0                                        
a0003510:	1a000004 	bne	a0003528 <rtems_termios_close+0x1a0>          
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
a0003514:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         
a0003518:	e3a01001 	mov	r1, #1                                        
a000351c:	eb0006f0 	bl	a00050e4 <rtems_event_send>                    
      if (sc != RTEMS_SUCCESSFUL)                                     
a0003520:	e3500000 	cmp	r0, #0                                        
a0003524:	0affffb2 	beq	a00033f4 <rtems_termios_close+0x6c>           
        rtems_fatal_error_occurred (sc);                              
a0003528:	eb0009b4 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0004abc <rtems_termios_dequeue_characters>: rtems_status_code sc; /* * sum up character count already sent */ tty->t_dqlen += len;
a0004abc:	e590c090 	ldr	ip, [r0, #144]	; 0x90                         
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0004ac0:	e59020b4 	ldr	r2, [r0, #180]	; 0xb4                         
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
a0004ac4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
a0004ac8:	e08c1001 	add	r1, ip, r1                                    
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0004acc:	e3520002 	cmp	r2, #2                                        
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
a0004ad0:	e5801090 	str	r1, [r0, #144]	; 0x90                         
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0004ad4:	0a00000b 	beq	a0004b08 <rtems_termios_dequeue_characters+0x4c>
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
a0004ad8:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         
a0004adc:	e3530005 	cmp	r3, #5                                        
a0004ae0:	0a000001 	beq	a0004aec <rtems_termios_dequeue_characters+0x30>
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
a0004ae4:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
a0004ae8:	eaffff56 	b	a0004848 <rtems_termios_refill_transmitter>     
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
a0004aec:	e59f3038 	ldr	r3, [pc, #56]	; a0004b2c <rtems_termios_dequeue_characters+0x70>
a0004af0:	e59330b4 	ldr	r3, [r3, #180]	; 0xb4                         
a0004af4:	e3530000 	cmp	r3, #0                                        
a0004af8:	0a000009 	beq	a0004b24 <rtems_termios_dequeue_characters+0x68>
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
a0004afc:	e12fff33 	blx	r3                                            
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
a0004b00:	e3a00000 	mov	r0, #0                                        
a0004b04:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
a0004b08:	e59000c8 	ldr	r0, [r0, #200]	; 0xc8                         
a0004b0c:	e1a01002 	mov	r1, r2                                        
a0004b10:	eb000173 	bl	a00050e4 <rtems_event_send>                    
    if (sc != RTEMS_SUCCESSFUL)                                       
a0004b14:	e2503000 	subs	r3, r0, #0                                   
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
a0004b18:	01a00003 	moveq	r0, r3                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
    if (sc != RTEMS_SUCCESSFUL)                                       
a0004b1c:	049df004 	popeq	{pc}		; (ldreq pc, [sp], #4)                
      rtems_fatal_error_occurred (sc);                                
a0004b20:	eb000436 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
     * 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);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
a0004b24:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
a0004b28:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a00044e0 <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) {
a00044e0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  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) {             
a00044e4:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         
a00044e8:	e59f72c8 	ldr	r7, [pc, #712]	; a00047b8 <rtems_termios_enqueue_raw_characters+0x2d8>
 *       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) 
{                                                                     
a00044ec:	e24dd008 	sub	sp, sp, #8                                    
a00044f0:	e1a04000 	mov	r4, r0                                        
  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) {             
a00044f4:	e0873283 	add	r3, r7, r3, lsl #5                            
a00044f8:	e5939010 	ldr	r9, [r3, #16]                                 
 *       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) 
{                                                                     
a00044fc:	e1a05001 	mov	r5, r1                                        
  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) {             
a0004500:	e3590000 	cmp	r9, #0                                        
a0004504:	0a00001b 	beq	a0004578 <rtems_termios_enqueue_raw_characters+0x98>
    while (len--) {                                                   
a0004508:	e3520000 	cmp	r2, #0                                        
a000450c:	0a000009 	beq	a0004538 <rtems_termios_enqueue_raw_characters+0x58>
a0004510:	e1a06002 	mov	r6, r2                                        
a0004514:	ea000002 	b	a0004524 <rtems_termios_enqueue_raw_characters+0x44>
a0004518:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         
a000451c:	e0873283 	add	r3, r7, r3, lsl #5                            
a0004520:	e5939010 	ldr	r9, [r3, #16]                                 
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
a0004524:	e4d50001 	ldrb	r0, [r5], #1                                 
a0004528:	e1a01004 	mov	r1, r4                                        
a000452c:	e12fff39 	blx	r9                                            
  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--) {                                                   
a0004530:	e2566001 	subs	r6, r6, #1                                   
a0004534:	1afffff7 	bne	a0004518 <rtems_termios_enqueue_raw_characters+0x38>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
a0004538:	e594a0e4 	ldr	sl, [r4, #228]	; 0xe4                         
a000453c:	e35a0000 	cmp	sl, #0                                        
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
a0004540:	13a0a000 	movne	sl, #0                                      
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
a0004544:	1a000008 	bne	a000456c <rtems_termios_enqueue_raw_characters+0x8c>
a0004548:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         
a000454c:	e3530000 	cmp	r3, #0                                        
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
a0004550:	01a0a003 	moveq	sl, r3                                      
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
a0004554:	0a000004 	beq	a000456c <rtems_termios_enqueue_raw_characters+0x8c>
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
a0004558:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a000455c:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a0004560:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
a0004564:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0004568:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
a000456c:	e1a0000a 	mov	r0, sl                                        
a0004570:	e28dd008 	add	sp, sp, #8                                    
a0004574:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
        /*                                                            
         * 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); 
a0004578:	e2803030 	add	r3, r0, #48	; 0x30                            
  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) {             
a000457c:	e1a06002 	mov	r6, r2                                        
                                                                      
        /*                                                            
         * 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); 
a0004580:	e58d3000 	str	r3, [sp]                                      
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
a0004584:	e3560000 	cmp	r6, #0                                        
          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,                          
a0004588:	e280304a 	add	r3, r0, #74	; 0x4a                            
a000458c:	e58d3004 	str	r3, [sp, #4]                                  
a0004590:	e1a0b009 	mov	fp, r9                                        
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
a0004594:	0a000042 	beq	a00046a4 <rtems_termios_enqueue_raw_characters+0x1c4>
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
a0004598:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
a000459c:	e4d58001 	ldrb	r8, [r5], #1                                 
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
a00045a0:	e3130c02 	tst	r3, #512	; 0x200                              
a00045a4:	0a000005 	beq	a00045c0 <rtems_termios_enqueue_raw_characters+0xe0>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
a00045a8:	e5d4304a 	ldrb	r3, [r4, #74]	; 0x4a                         
a00045ac:	e1530008 	cmp	r3, r8                                        
a00045b0:	0a000056 	beq	a0004710 <rtems_termios_enqueue_raw_characters+0x230>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
a00045b4:	e5d43049 	ldrb	r3, [r4, #73]	; 0x49                         
a00045b8:	e1530008 	cmp	r3, r8                                        
a00045bc:	0a00003f 	beq	a00046c0 <rtems_termios_enqueue_raw_characters+0x1e0>
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
a00045c0:	e3590000 	cmp	r9, #0                                        
a00045c4:	1a000041 	bne	a00046d0 <rtems_termios_enqueue_raw_characters+0x1f0>
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
a00045c8:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          
a00045cc:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         
a00045d0:	e2800001 	add	r0, r0, #1                                    
a00045d4:	eb00330e 	bl	a0011214 <__umodsi3>                           
a00045d8:	e1a07000 	mov	r7, r0                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00045dc:	e10fa000 	mrs	sl, CPSR                                      
a00045e0:	e38a3080 	orr	r3, sl, #128	; 0x80                           
a00045e4:	e129f003 	msr	CPSR_fc, r3                                   
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
a00045e8:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          
a00045ec:	e5940064 	ldr	r0, [r4, #100]	; 0x64                         
            % tty->rawInBuf.Size) > tty->highwater) &&                
a00045f0:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         
      }                                                               
    } 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)       
a00045f4:	e0630000 	rsb	r0, r3, r0                                    
            % tty->rawInBuf.Size) > tty->highwater) &&                
a00045f8:	e0800007 	add	r0, r0, r7                                    
a00045fc:	eb003304 	bl	a0011214 <__umodsi3>                           
      }                                                               
    } 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)       
a0004600:	e59430c0 	ldr	r3, [r4, #192]	; 0xc0                         
a0004604:	e1500003 	cmp	r0, r3                                        
a0004608:	9a00000f 	bls	a000464c <rtems_termios_enqueue_raw_characters+0x16c>
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
a000460c:	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)       
            % tty->rawInBuf.Size) > tty->highwater) &&                
a0004610:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0004614:	1a00000c 	bne	a000464c <rtems_termios_enqueue_raw_characters+0x16c><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
a0004618:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
a000461c:	e3a03b01 	mov	r3, #1024	; 0x400                             <== NOT EXECUTED
a0004620:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      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;                                 
a0004624:	e3822001 	orr	r2, r2, #1                                    <== NOT EXECUTED
a0004628:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
a000462c:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0004630:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0004634:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
a0004638:	0a000046 	beq	a0004758 <rtems_termios_enqueue_raw_characters+0x278><== NOT EXECUTED
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
a000463c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0004640:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
a0004644:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
a0004648:	0a000051 	beq	a0004794 <rtems_termios_enqueue_raw_characters+0x2b4><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000464c:	e129f00a 	msr	CPSR_fc, sl                                   
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
a0004650:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          
a0004654:	e1530007 	cmp	r3, r7                                        
        dropped++;                                                    
a0004658:	028bb001 	addeq	fp, fp, #1                                  
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
a000465c:	0a00000d 	beq	a0004698 <rtems_termios_enqueue_raw_characters+0x1b8>
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
a0004660:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          
a0004664:	e7c38007 	strb	r8, [r3, r7]                                 
        tty->rawInBuf.Tail = newTail;                                 
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
a0004668:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
a000466c:	e5847060 	str	r7, [r4, #96]	; 0x60                          
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
a0004670:	e3530000 	cmp	r3, #0                                        
a0004674:	1a000007 	bne	a0004698 <rtems_termios_enqueue_raw_characters+0x1b8>
a0004678:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         
a000467c:	e3530000 	cmp	r3, #0                                        
a0004680:	0a000004 	beq	a0004698 <rtems_termios_enqueue_raw_characters+0x1b8>
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
a0004684:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a0004688:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a000468c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
a0004690:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0004694:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0004698:	e2466001 	sub	r6, r6, #1                                    
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
a000469c:	e3560000 	cmp	r6, #0                                        
a00046a0:	1affffbc 	bne	a0004598 <rtems_termios_enqueue_raw_characters+0xb8>
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
a00046a4:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
a00046a8:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         
a00046ac:	e1a0a00b 	mov	sl, fp                                        
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
a00046b0:	e083300b 	add	r3, r3, fp                                    
a00046b4:	e5843078 	str	r3, [r4, #120]	; 0x78                         
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
a00046b8:	eb0003f5 	bl	a0005694 <rtems_semaphore_release>             
  return dropped;                                                     
a00046bc:	eaffffaa 	b	a000456c <rtems_termios_enqueue_raw_characters+0x8c>
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
a00046c0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== 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) 
{                                                                     
a00046c4:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
a00046c8:	e3c33010 	bic	r3, r3, #16                                   <== NOT EXECUTED
a00046cc:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
a00046d0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00046d4:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
a00046d8:	e3530020 	cmp	r3, #32                                       <== NOT EXECUTED
a00046dc:	1affffed 	bne	a0004698 <rtems_termios_enqueue_raw_characters+0x1b8><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00046e0:	e10f7000 	mrs	r7, CPSR                                      <== NOT EXECUTED
a00046e4:	e3873080 	orr	r3, r7, #128	; 0x80                           <== NOT EXECUTED
a00046e8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
a00046ec:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
a00046f0:	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;                                  
a00046f4:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
a00046f8:	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;                                  
a00046fc:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
a0004700:	1a00000c 	bne	a0004738 <rtems_termios_enqueue_raw_characters+0x258><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0004704:	e129f007 	msr	CPSR_fc, r7                                   <== 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); 
          tty->tty_rcvwakeup = 1;                                     
a0004708:	e2466001 	sub	r6, r6, #1                                    <== NOT EXECUTED
a000470c:	eaffffe2 	b	a000469c <rtems_termios_enqueue_raw_characters+0x1bc><== NOT EXECUTED
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
a0004710:	e5d42049 	ldrb	r2, [r4, #73]	; 0x49                         <== 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) 
{                                                                     
a0004714:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
a0004718:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
a000471c:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
a0004720:	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;               
a0004724:	02233010 	eoreq	r3, r3, #16                                 <== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
a0004728:	13833010 	orrne	r3, r3, #16                                 <== NOT EXECUTED
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
a000472c:	058430b8 	streq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
a0004730:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
a0004734:	eaffffe5 	b	a00046d0 <rtems_termios_enqueue_raw_characters+0x1f0><== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
a0004738:	e5942084 	ldr	r2, [r4, #132]	; 0x84                         <== NOT EXECUTED
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
a000473c:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0004740:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0004744:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0004748:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a000474c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0004750:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0004754:	eaffffea 	b	a0004704 <rtems_termios_enqueue_raw_characters+0x224><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
a0004758:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a000475c:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0004760:	1a000002 	bne	a0004770 <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
a0004764:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a0004768:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000476c:	1affffb6 	bne	a000464c <rtems_termios_enqueue_raw_characters+0x16c><== NOT EXECUTED
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
a0004770:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
a0004774:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0004778:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
a000477c:	e3822002 	orr	r2, r2, #2                                    <== NOT EXECUTED
a0004780:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
a0004784:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
a0004788:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a000478c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0004790:	eaffffad 	b	a000464c <rtems_termios_enqueue_raw_characters+0x16c><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
a0004794:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
a0004798:	e59430ac 	ldr	r3, [r4, #172]	; 0xac                         <== NOT EXECUTED
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
a000479c:	e3822004 	orr	r2, r2, #4                                    <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
a00047a0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
a00047a4:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
a00047a8:	0affffa7 	beq	a000464c <rtems_termios_enqueue_raw_characters+0x16c><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
a00047ac:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00047b0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00047b4:	eaffffa4 	b	a000464c <rtems_termios_enqueue_raw_characters+0x16c><== NOT EXECUTED
                                                                      

a0003554 <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;
a0003554:	e5902000 	ldr	r2, [r0]                                      
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a0003558:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
a000355c:	e5925034 	ldr	r5, [r2, #52]	; 0x34                          
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
a0003560:	e3a03000 	mov	r3, #0                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a0003564:	e1a04000 	mov	r4, r0                                        
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
a0003568:	e580300c 	str	r3, [r0, #12]                                 
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a000356c:	e1a01003 	mov	r1, r3                                        
a0003570:	e1a02003 	mov	r2, r3                                        
a0003574:	e5950018 	ldr	r0, [r5, #24]                                 
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
a0003578:	e5947008 	ldr	r7, [r4, #8]                                  
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a000357c:	eb0007fb 	bl	a0005570 <rtems_semaphore_obtain>              
  if (sc != RTEMS_SUCCESSFUL) {                                       
a0003580:	e2506000 	subs	r6, r0, #0                                   
a0003584:	1a00000e 	bne	a00035c4 <rtems_termios_ioctl+0x70>           
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
a0003588:	e5943004 	ldr	r3, [r4, #4]                                  
a000358c:	e3530004 	cmp	r3, #4                                        
a0003590:	0a000006 	beq	a00035b0 <rtems_termios_ioctl+0x5c>           
a0003594:	8a00000d 	bhi	a00035d0 <rtems_termios_ioctl+0x7c>           
a0003598:	e3530002 	cmp	r3, #2                                        
a000359c:	0a00001d 	beq	a0003618 <rtems_termios_ioctl+0xc4>           
a00035a0:	9a000082 	bls	a00037b0 <rtems_termios_ioctl+0x25c>          
    if (tty->device.setAttributes)                                    
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
a00035a4:	e1a00005 	mov	r0, r5                                        
a00035a8:	ebfffe26 	bl	a0002e48 <drainOutput>                         
    break;                                                            
a00035ac:	ea000002 	b	a00035bc <rtems_termios_ioctl+0x68>             
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
a00035b0:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a00035b4:	e58520dc 	str	r2, [r5, #220]	; 0xdc                         <== NOT EXECUTED
a00035b8:	e58530e0 	str	r3, [r5, #224]	; 0xe0                         <== NOT EXECUTED
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
a00035bc:	e5950018 	ldr	r0, [r5, #24]                                 
a00035c0:	eb000833 	bl	a0005694 <rtems_semaphore_release>             
  args->ioctl_return = sc;                                            
a00035c4:	e584600c 	str	r6, [r4, #12]                                 
  return sc;                                                          
}                                                                     
a00035c8:	e1a00006 	mov	r0, r6                                        
a00035cc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
a00035d0:	e59f2328 	ldr	r2, [pc, #808]	; a0003900 <rtems_termios_ioctl+0x3ac>
a00035d4:	e1530002 	cmp	r3, r2                                        
a00035d8:	0a000068 	beq	a0003780 <rtems_termios_ioctl+0x22c>          
a00035dc:	8a00007f 	bhi	a00037e0 <rtems_termios_ioctl+0x28c>          
a00035e0:	e3530005 	cmp	r3, #5                                        
a00035e4:	0a00009c 	beq	a000385c <rtems_termios_ioctl+0x308>          
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
a00035e8:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         
a00035ec:	e59f3310 	ldr	r3, [pc, #784]	; a0003904 <rtems_termios_ioctl+0x3b0>
a00035f0:	e0833282 	add	r3, r3, r2, lsl #5                            
a00035f4:	e5933018 	ldr	r3, [r3, #24]                                 
a00035f8:	e3530000 	cmp	r3, #0                                        
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
a00035fc:	03a0600a 	moveq	r6, #10                                     
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
a0003600:	0affffed 	beq	a00035bc <rtems_termios_ioctl+0x68>           
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
a0003604:	e1a00005 	mov	r0, r5                                        
a0003608:	e1a01004 	mov	r1, r4                                        
a000360c:	e12fff33 	blx	r3                                            
a0003610:	e1a06000 	mov	r6, r0                                        
a0003614:	eaffffe8 	b	a00035bc <rtems_termios_ioctl+0x68>             
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
a0003618:	e594e008 	ldr	lr, [r4, #8]                                  
a000361c:	e2857030 	add	r7, r5, #48	; 0x30                            
a0003620:	e1a0c007 	mov	ip, r7                                        
a0003624:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0003628:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000362c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0003630:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
a0003634:	e59580b8 	ldr	r8, [r5, #184]	; 0xb8                         
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
a0003638:	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) &&                                 
a000363c:	e3180c02 	tst	r8, #512	; 0x200                              
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
a0003640:	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) &&                                 
a0003644:	0a000012 	beq	a0003694 <rtems_termios_ioctl+0x140>          
      !(tty->termios.c_iflag & IXON)) {                               
a0003648:	e5953030 	ldr	r3, [r5, #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) &&                                 
a000364c:	e3130b01 	tst	r3, #1024	; 0x400                             
a0003650:	1a00000f 	bne	a0003694 <rtems_termios_ioctl+0x140>          
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
a0003654:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003658:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a000365c:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
a0003660:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003664:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003668:	0a000009 	beq	a0003694 <rtems_termios_ioctl+0x140>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000366c:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a0003670:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a0003674:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a0003678:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a000367c:	e5952094 	ldr	r2, [r5, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a0003680:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0003684:	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;                                    
a0003688:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a000368c:	1a000093 	bne	a00038e0 <rtems_termios_ioctl+0x38c>          <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0003690:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
a0003694:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a0003698:	e3130b01 	tst	r3, #1024	; 0x400                             
a000369c:	0a000008 	beq	a00036c4 <rtems_termios_ioctl+0x170>          
a00036a0:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          <== NOT EXECUTED
a00036a4:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
a00036a8:	1a000005 	bne	a00036c4 <rtems_termios_ioctl+0x170>          <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
a00036ac:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a00036b0:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
a00036b4:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
a00036b8:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a00036bc:	e3c33002 	bic	r3, r3, #2                                    <== NOT EXECUTED
a00036c0:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
a00036c4:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a00036c8:	e3130c01 	tst	r3, #256	; 0x100                              
a00036cc:	05952038 	ldreq	r2, [r5, #56]	; 0x38                        
a00036d0:	0a000011 	beq	a000371c <rtems_termios_ioctl+0x1c8>          
a00036d4:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
a00036d8:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00036dc:	ba000073 	blt	a00038b0 <rtems_termios_ioctl+0x35c>          <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
a00036e0:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a00036e4:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a00036e8:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
a00036ec:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a00036f0:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a00036f4:	0a000005 	beq	a0003710 <rtems_termios_ioctl+0x1bc>          <== NOT EXECUTED
a00036f8:	e59530b0 	ldr	r3, [r5, #176]	; 0xb0                         <== NOT EXECUTED
a00036fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003700:	0a000002 	beq	a0003710 <rtems_termios_ioctl+0x1bc>          <== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
a0003704:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a0003708:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000370c:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
a0003710:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003714:	e3c33004 	bic	r3, r3, #4                                    <== NOT EXECUTED
a0003718:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
a000371c:	e3520000 	cmp	r2, #0                                        
a0003720:	ba000062 	blt	a00038b0 <rtems_termios_ioctl+0x35c>          
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
a0003724:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          
    tty->termios = *(struct termios *)args->buffer;                   
                                                                      
    /* check for and process change in flow control options */        
    termios_set_flowctrl(tty);                                        
                                                                      
    if (tty->termios.c_lflag & ICANON) {                              
a0003728:	e595803c 	ldr	r8, [r5, #60]	; 0x3c                          
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
a000372c:	e3130a01 	tst	r3, #4096	; 0x1000                            
    tty->flow_ctrl |= FL_MDXOF;                                       
a0003730:	159520b8 	ldrne	r2, [r5, #184]	; 0xb8                       
a0003734:	13822b01 	orrne	r2, r2, #1024	; 0x400                       
a0003738:	158520b8 	strne	r2, [r5, #184]	; 0xb8                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
a000373c:	e3130b01 	tst	r3, #1024	; 0x400                             
    tty->flow_ctrl |= FL_MDXON;                                       
a0003740:	159530b8 	ldrne	r3, [r5, #184]	; 0xb8                       
a0003744:	13833c02 	orrne	r3, r3, #512	; 0x200                        
a0003748:	158530b8 	strne	r3, [r5, #184]	; 0xb8                       
    tty->termios = *(struct termios *)args->buffer;                   
                                                                      
    /* check for and process change in flow control options */        
    termios_set_flowctrl(tty);                                        
                                                                      
    if (tty->termios.c_lflag & ICANON) {                              
a000374c:	e2188002 	ands	r8, r8, #2                                   
a0003750:	0a000045 	beq	a000386c <rtems_termios_ioctl+0x318>          
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
a0003754:	e3a03000 	mov	r3, #0                                        
a0003758:	e585306c 	str	r3, [r5, #108]	; 0x6c                         
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
a000375c:	e5853070 	str	r3, [r5, #112]	; 0x70                         
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
a0003760:	e5853074 	str	r3, [r5, #116]	; 0x74                         
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
a0003764:	e59530a8 	ldr	r3, [r5, #168]	; 0xa8                         
a0003768:	e3530000 	cmp	r3, #0                                        
a000376c:	0affff92 	beq	a00035bc <rtems_termios_ioctl+0x68>           
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
a0003770:	e5950010 	ldr	r0, [r5, #16]                                 
a0003774:	e1a01007 	mov	r1, r7                                        
a0003778:	e12fff33 	blx	r3                                            
a000377c:	eaffff8e 	b	a00035bc <rtems_termios_ioctl+0x68>             
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
a0003780:	e5952060 	ldr	r2, [r5, #96]	; 0x60                          <== NOT EXECUTED
a0003784:	e595305c 	ldr	r3, [r5, #92]	; 0x5c                          <== NOT EXECUTED
      if ( rawnc < 0 )                                                
        rawnc += tty->rawInBuf.Size;                                  
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
a0003788:	e5950020 	ldr	r0, [r5, #32]                                 <== NOT EXECUTED
a000378c:	e5941008 	ldr	r1, [r4, #8]                                  <== NOT EXECUTED
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
      if ( rawnc < 0 )                                                
a0003790:	e0523003 	subs	r3, r2, r3                                   <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
a0003794:	45952064 	ldrmi	r2, [r5, #100]	; 0x64                       <== NOT EXECUTED
a0003798:	40833002 	addmi	r3, r3, r2                                  <== NOT EXECUTED
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
a000379c:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
a00037a0:	e0622000 	rsb	r2, r2, r0                                    <== NOT EXECUTED
a00037a4:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a00037a8:	e5813000 	str	r3, [r1]                                      <== NOT EXECUTED
    }                                                                 
    break;                                                            
a00037ac:	eaffff82 	b	a00035bc <rtems_termios_ioctl+0x68>             <== 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) {                                            
a00037b0:	e3530001 	cmp	r3, #1                                        
a00037b4:	1affff8b 	bne	a00035e8 <rtems_termios_ioctl+0x94>           
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
a00037b8:	e5947008 	ldr	r7, [r4, #8]                                  
a00037bc:	e285c030 	add	ip, r5, #48	; 0x30                            
a00037c0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a00037c4:	e1a0e007 	mov	lr, r7                                        
a00037c8:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a00037cc:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a00037d0:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a00037d4:	e59c3000 	ldr	r3, [ip]                                      
a00037d8:	e58e3000 	str	r3, [lr]                                      
    break;                                                            
a00037dc:	eaffff76 	b	a00035bc <rtems_termios_ioctl+0x68>             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
a00037e0:	e59f2120 	ldr	r2, [pc, #288]	; a0003908 <rtems_termios_ioctl+0x3b4>
a00037e4:	e1530002 	cmp	r3, r2                                        
a00037e8:	0a000017 	beq	a000384c <rtems_termios_ioctl+0x2f8>          
a00037ec:	e2822105 	add	r2, r2, #1073741825	; 0x40000001              
a00037f0:	e1530002 	cmp	r3, r2                                        
a00037f4:	1affff7b 	bne	a00035e8 <rtems_termios_ioctl+0x94>           
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
a00037f8:	e59f7104 	ldr	r7, [pc, #260]	; a0003904 <rtems_termios_ioctl+0x3b0>
a00037fc:	e59530cc 	ldr	r3, [r5, #204]	; 0xcc                         
a0003800:	e0873283 	add	r3, r7, r3, lsl #5                            
a0003804:	e5933004 	ldr	r3, [r3, #4]                                  
a0003808:	e3530000 	cmp	r3, #0                                        
a000380c:	0a000002 	beq	a000381c <rtems_termios_ioctl+0x2c8>          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
a0003810:	e1a00005 	mov	r0, r5                                        
a0003814:	e12fff33 	blx	r3                                            
a0003818:	e1a06000 	mov	r6, r0                                        
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
a000381c:	e5943008 	ldr	r3, [r4, #8]                                  
a0003820:	e5932000 	ldr	r2, [r3]                                      
    tty->t_sc = NULL; /* ensure that no more valid data */            
a0003824:	e3a03000 	mov	r3, #0                                        
a0003828:	e58530d0 	str	r3, [r5, #208]	; 0xd0                         
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
a000382c:	e7973282 	ldr	r3, [r7, r2, lsl #5]                          
     * 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);                                
a0003830:	e58520cc 	str	r2, [r5, #204]	; 0xcc                         
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
a0003834:	e3530000 	cmp	r3, #0                                        
a0003838:	0affff5f 	beq	a00035bc <rtems_termios_ioctl+0x68>           
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
a000383c:	e1a00005 	mov	r0, r5                                        
a0003840:	e12fff33 	blx	r3                                            
a0003844:	e1a06000 	mov	r6, r0                                        
a0003848:	eaffff5b 	b	a00035bc <rtems_termios_ioctl+0x68>             
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
a000384c:	e5943008 	ldr	r3, [r4, #8]                                  
a0003850:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         
a0003854:	e5832000 	str	r2, [r3]                                      
    break;                                                            
a0003858:	eaffff57 	b	a00035bc <rtems_termios_ioctl+0x68>             
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
a000385c:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a0003860:	e58520d4 	str	r2, [r5, #212]	; 0xd4                         <== NOT EXECUTED
a0003864:	e58530d8 	str	r3, [r5, #216]	; 0xd8                         <== NOT EXECUTED
    break;                                                            
a0003868:	eaffff53 	b	a00035bc <rtems_termios_ioctl+0x68>             <== NOT EXECUTED
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
a000386c:	e5d5a046 	ldrb	sl, [r5, #70]	; 0x46                         <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
a0003870:	eb000596 	bl	a0004ed0 <rtems_clock_get_ticks_per_second>    <== NOT EXECUTED
a0003874:	e59f3090 	ldr	r3, [pc, #144]	; a000390c <rtems_termios_ioctl+0x3b8><== NOT EXECUTED
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
a0003878:	e000009a 	mul	r0, sl, r0                                    <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
a000387c:	e5d52046 	ldrb	r2, [r5, #70]	; 0x46                         <== NOT EXECUTED
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
a0003880:	e0831390 	umull	r1, r3, r0, r3                              <== NOT EXECUTED
      if (tty->termios.c_cc[VTIME]) {                                 
a0003884:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
a0003888:	e1a031a3 	lsr	r3, r3, #3                                    <== NOT EXECUTED
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
a000388c:	e5853054 	str	r3, [r5, #84]	; 0x54                          <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
a0003890:	0a00000a 	beq	a00038c0 <rtems_termios_ioctl+0x36c>          <== NOT EXECUTED
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
a0003894:	e5d52047 	ldrb	r2, [r5, #71]	; 0x47                         <== NOT EXECUTED
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
a0003898:	e5853070 	str	r3, [r5, #112]	; 0x70                         <== NOT EXECUTED
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } 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;                   
a000389c:	e585806c 	str	r8, [r5, #108]	; 0x6c                         <== NOT EXECUTED
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
a00038a0:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00038a4:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a00038a8:	e5853074 	str	r3, [r5, #116]	; 0x74                         <== NOT EXECUTED
a00038ac:	eaffffac 	b	a0003764 <rtems_termios_ioctl+0x210>            <== NOT EXECUTED
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
a00038b0:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a00038b4:	e3833c01 	orr	r3, r3, #256	; 0x100                          
a00038b8:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         
a00038bc:	eaffff98 	b	a0003724 <rtems_termios_ioctl+0x1d0>            
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
a00038c0:	e5d53047 	ldrb	r3, [r5, #71]	; 0x47                         <== NOT EXECUTED
a00038c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
a00038c8:	03a03001 	moveq	r3, #1                                      <== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
a00038cc:	1585206c 	strne	r2, [r5, #108]	; 0x6c                       <== NOT EXECUTED
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
a00038d0:	15852070 	strne	r2, [r5, #112]	; 0x70                       <== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
a00038d4:	15852074 	strne	r2, [r5, #116]	; 0x74                       <== NOT EXECUTED
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
a00038d8:	0585306c 	streq	r3, [r5, #108]	; 0x6c                       <== NOT EXECUTED
a00038dc:	eaffffa0 	b	a0003764 <rtems_termios_ioctl+0x210>            <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
a00038e0:	e5952084 	ldr	r2, [r5, #132]	; 0x84                         <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
a00038e4:	e595107c 	ldr	r1, [r5, #124]	; 0x7c                         <== NOT EXECUTED
a00038e8:	e59530a4 	ldr	r3, [r5, #164]	; 0xa4                         <== NOT EXECUTED
a00038ec:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a00038f0:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a00038f4:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a00038f8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00038fc:	eaffff63 	b	a0003690 <rtems_termios_ioctl+0x13c>            <== NOT EXECUTED
                                                                      

a0002ec4 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
a0002ec4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
a0002ec8:	e59f74a0 	ldr	r7, [pc, #1184]	; a0003370 <rtems_termios_open+0x4ac>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
a0002ecc:	e1a06001 	mov	r6, r1                                        
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
a0002ed0:	e3a01000 	mov	r1, #0                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
a0002ed4:	e24dd01c 	sub	sp, sp, #28                                   
a0002ed8:	e1a05000 	mov	r5, r0                                        
a0002edc:	e1a08002 	mov	r8, r2                                        
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
a0002ee0:	e5970000 	ldr	r0, [r7]                                      
a0002ee4:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
a0002ee8:	e58d3014 	str	r3, [sp, #20]                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
a0002eec:	eb00099f 	bl	a0005570 <rtems_semaphore_obtain>              
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
a0002ef0:	e250a000 	subs	sl, r0, #0                                   
a0002ef4:	1a000021 	bne	a0002f80 <rtems_termios_open+0xbc>            
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
a0002ef8:	e59fb474 	ldr	fp, [pc, #1140]	; a0003374 <rtems_termios_open+0x4b0>
a0002efc:	e59b9000 	ldr	r9, [fp]                                      
a0002f00:	e3590000 	cmp	r9, #0                                        
a0002f04:	0a00002d 	beq	a0002fc0 <rtems_termios_open+0xfc>            
a0002f08:	e1a04009 	mov	r4, r9                                        
a0002f0c:	ea000002 	b	a0002f1c <rtems_termios_open+0x58>              
a0002f10:	e5944000 	ldr	r4, [r4]                                      
a0002f14:	e3540000 	cmp	r4, #0                                        
a0002f18:	0a000028 	beq	a0002fc0 <rtems_termios_open+0xfc>            
    if ((tty->major == major) && (tty->minor == minor))               
a0002f1c:	e594300c 	ldr	r3, [r4, #12]                                 
a0002f20:	e1530005 	cmp	r3, r5                                        
a0002f24:	1afffff9 	bne	a0002f10 <rtems_termios_open+0x4c>            
a0002f28:	e5943010 	ldr	r3, [r4, #16]                                 
a0002f2c:	e1530006 	cmp	r3, r6                                        
a0002f30:	1afffff6 	bne	a0002f10 <rtems_termios_open+0x4c>            
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  if (!tty->refcount++) {                                             
a0002f34:	e5943008 	ldr	r3, [r4, #8]                                  
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
a0002f38:	e5981000 	ldr	r1, [r8]                                      
  if (!tty->refcount++) {                                             
a0002f3c:	e2832001 	add	r2, r3, #1                                    
a0002f40:	e3530000 	cmp	r3, #0                                        
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
a0002f44:	e5814034 	str	r4, [r1, #52]	; 0x34                          
  if (!tty->refcount++) {                                             
a0002f48:	e5842008 	str	r2, [r4, #8]                                  
a0002f4c:	1a000009 	bne	a0002f78 <rtems_termios_open+0xb4>            
    if (tty->device.firstOpen)                                        
a0002f50:	e5943098 	ldr	r3, [r4, #152]	; 0x98                         
a0002f54:	e3530000 	cmp	r3, #0                                        
a0002f58:	0a000003 	beq	a0002f6c <rtems_termios_open+0xa8>            
      (*tty->device.firstOpen)(major, minor, arg);                    
a0002f5c:	e1a00005 	mov	r0, r5                                        
a0002f60:	e1a01006 	mov	r1, r6                                        
a0002f64:	e1a02008 	mov	r2, r8                                        
a0002f68:	e12fff33 	blx	r3                                            
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a0002f6c:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0002f70:	e3530002 	cmp	r3, #2                                        
a0002f74:	0a000004 	beq	a0002f8c <rtems_termios_open+0xc8>            
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
a0002f78:	e5970000 	ldr	r0, [r7]                                      
a0002f7c:	eb0009c4 	bl	a0005694 <rtems_semaphore_release>             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002f80:	e1a0000a 	mov	r0, sl                                        
a0002f84:	e28dd01c 	add	sp, sp, #28                                   
a0002f88:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_start(                                          
a0002f8c:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         
a0002f90:	e59f13e0 	ldr	r1, [pc, #992]	; a0003378 <rtems_termios_open+0x4b4>
a0002f94:	e1a02004 	mov	r2, r4                                        
a0002f98:	eb000a91 	bl	a00059e4 <rtems_task_start>                    
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
a0002f9c:	e3500000 	cmp	r0, #0                                        
a0002fa0:	1a0000d6 	bne	a0003300 <rtems_termios_open+0x43c>           
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
a0002fa4:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         
a0002fa8:	e59f13cc 	ldr	r1, [pc, #972]	; a000337c <rtems_termios_open+0x4b8>
a0002fac:	e1a02004 	mov	r2, r4                                        
a0002fb0:	eb000a8b 	bl	a00059e4 <rtems_task_start>                    
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
a0002fb4:	e3500000 	cmp	r0, #0                                        
a0002fb8:	0affffee 	beq	a0002f78 <rtems_termios_open+0xb4>            
a0002fbc:	ea0000cf 	b	a0003300 <rtems_termios_open+0x43c>             <== NOT EXECUTED
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
a0002fc0:	e3a00001 	mov	r0, #1                                        
a0002fc4:	e3a010e8 	mov	r1, #232	; 0xe8                               
a0002fc8:	ebfffb3b 	bl	a0001cbc <calloc>                              
    if (tty == NULL) {                                                
a0002fcc:	e3500000 	cmp	r0, #0                                        
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
a0002fd0:	e58d0018 	str	r0, [sp, #24]                                 
a0002fd4:	e1a04000 	mov	r4, r0                                        
    if (tty == NULL) {                                                
a0002fd8:	0a0000b3 	beq	a00032ac <rtems_termios_open+0x3e8>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
a0002fdc:	e59f039c 	ldr	r0, [pc, #924]	; a0003380 <rtems_termios_open+0x4bc>
a0002fe0:	e59d1018 	ldr	r1, [sp, #24]                                 
a0002fe4:	e5903000 	ldr	r3, [r0]                                      
a0002fe8:	e5813064 	str	r3, [r1, #100]	; 0x64                         
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
a0002fec:	e5910064 	ldr	r0, [r1, #100]	; 0x64                         
a0002ff0:	ebfffca5 	bl	a000228c <malloc>                              
a0002ff4:	e59d2018 	ldr	r2, [sp, #24]                                 
    if (tty->rawInBuf.theBuf == NULL) {                               
a0002ff8:	e3500000 	cmp	r0, #0                                        
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
a0002ffc:	e1a03000 	mov	r3, r0                                        
a0003000:	e5820058 	str	r0, [r2, #88]	; 0x58                          
    if (tty->rawInBuf.theBuf == NULL) {                               
a0003004:	0a0000ac 	beq	a00032bc <rtems_termios_open+0x3f8>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
a0003008:	e59fc370 	ldr	ip, [pc, #880]	; a0003380 <rtems_termios_open+0x4bc>
a000300c:	e59de018 	ldr	lr, [sp, #24]                                 
a0003010:	e59c2004 	ldr	r2, [ip, #4]                                  
a0003014:	e58e2088 	str	r2, [lr, #136]	; 0x88                         
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
a0003018:	e59e0088 	ldr	r0, [lr, #136]	; 0x88                         
a000301c:	e58d300c 	str	r3, [sp, #12]                                 
a0003020:	ebfffc99 	bl	a000228c <malloc>                              
a0003024:	e1a02000 	mov	r2, r0                                        
    if (tty->rawOutBuf.theBuf == NULL) {                              
a0003028:	e3500000 	cmp	r0, #0                                        
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
a000302c:	e59d0018 	ldr	r0, [sp, #24]                                 
    if (tty->rawOutBuf.theBuf == NULL) {                              
a0003030:	e59d300c 	ldr	r3, [sp, #12]                                 
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
a0003034:	e580207c 	str	r2, [r0, #124]	; 0x7c                         
    if (tty->rawOutBuf.theBuf == NULL) {                              
a0003038:	0a000097 	beq	a000329c <rtems_termios_open+0x3d8>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
a000303c:	e59f133c 	ldr	r1, [pc, #828]	; a0003380 <rtems_termios_open+0x4bc>
a0003040:	e5910008 	ldr	r0, [r1, #8]                                  
a0003044:	e58d2010 	str	r2, [sp, #16]                                 
a0003048:	e58d300c 	str	r3, [sp, #12]                                 
a000304c:	ebfffc8e 	bl	a000228c <malloc>                              
a0003050:	e59dc018 	ldr	ip, [sp, #24]                                 
    if (tty->cbuf == NULL) {                                          
a0003054:	e3500000 	cmp	r0, #0                                        
a0003058:	e59d2010 	ldr	r2, [sp, #16]                                 
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
a000305c:	e58c001c 	str	r0, [ip, #28]                                 
    if (tty->cbuf == NULL) {                                          
a0003060:	0a00008a 	beq	a0003290 <rtems_termios_open+0x3cc>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
a0003064:	e59de018 	ldr	lr, [sp, #24]                                 
a0003068:	e3a03000 	mov	r3, #0                                        
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
a000306c:	e1590003 	cmp	r9, r3                                        
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
a0003070:	e58e3004 	str	r3, [lr, #4]                                  
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
a0003074:	e58e30d4 	str	r3, [lr, #212]	; 0xd4                         
    tty->tty_snd.sw_arg = NULL;                                       
a0003078:	e58e30d8 	str	r3, [lr, #216]	; 0xd8                         
    tty->tty_rcv.sw_pfn = NULL;                                       
a000307c:	e58e30dc 	str	r3, [lr, #220]	; 0xdc                         
    tty->tty_rcv.sw_arg = NULL;                                       
a0003080:	e58e30e0 	str	r3, [lr, #224]	; 0xe0                         
    tty->tty_rcvwakeup  = 0;                                          
a0003084:	e58e30e4 	str	r3, [lr, #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)                                
a0003088:	e59f32f4 	ldr	r3, [pc, #756]	; a0003384 <rtems_termios_open+0x4c0>
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
a000308c:	e59d0018 	ldr	r0, [sp, #24]                                 
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
a0003090:	e59f12e8 	ldr	r1, [pc, #744]	; a0003380 <rtems_termios_open+0x4bc>
    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)                                
a0003094:	e5932000 	ldr	r2, [r3]                                      
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
a0003098:	1589e004 	strne	lr, [r9, #4]                                
    rtems_termios_ttyHead = tty;                                      
a000309c:	e58b0000 	str	r0, [fp]                                      
    if (rtems_termios_ttyTail == NULL)                                
a00030a0:	e3520000 	cmp	r2, #0                                        
      rtems_termios_ttyTail = tty;                                    
a00030a4:	05830000 	streq	r0, [r3]                                    
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
a00030a8:	e5d1000c 	ldrb	r0, [r1, #12]                                
    tty->tty_rcvwakeup  = 0;                                          
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
a00030ac:	e58e9000 	str	r9, [lr]                                      
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
a00030b0:	e59d2018 	ldr	r2, [sp, #24]                                 
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
a00030b4:	e59d9018 	ldr	r9, [sp, #24]                                 
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
a00030b8:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a00030bc:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a00030c0:	e282c014 	add	ip, r2, #20                                   
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
a00030c4:	e5896010 	str	r6, [r9, #16]                                 
    tty->major = major;                                               
a00030c8:	e589500c 	str	r5, [r9, #12]                                 
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
a00030cc:	e3a03000 	mov	r3, #0                                        
a00030d0:	e3a01001 	mov	r1, #1                                        
a00030d4:	e3800c69 	orr	r0, r0, #26880	; 0x6900                       
a00030d8:	e3a02054 	mov	r2, #84	; 0x54                                
a00030dc:	e58dc000 	str	ip, [sp]                                      
a00030e0:	eb000888 	bl	a0005308 <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)                                       
a00030e4:	e2503000 	subs	r3, r0, #0                                   
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
a00030e8:	e59f9290 	ldr	r9, [pc, #656]	; a0003380 <rtems_termios_open+0x4bc>
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
a00030ec:	1a000083 	bne	a0003300 <rtems_termios_open+0x43c>           
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
a00030f0:	e5d9000c 	ldrb	r0, [r9, #12]                                
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
a00030f4:	e59de018 	ldr	lr, [sp, #24]                                 
a00030f8:	e3a01001 	mov	r1, #1                                        
a00030fc:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0003100:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0003104:	e28ec018 	add	ip, lr, #24                                   
a0003108:	e3800c6f 	orr	r0, r0, #28416	; 0x6f00                       
a000310c:	e3a02054 	mov	r2, #84	; 0x54                                
a0003110:	e58dc000 	str	ip, [sp]                                      
a0003114:	eb00087b 	bl	a0005308 <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)                                       
a0003118:	e2501000 	subs	r1, r0, #0                                   
a000311c:	1a000077 	bne	a0003300 <rtems_termios_open+0x43c>           
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
a0003120:	e5d9000c 	ldrb	r0, [r9, #12]                                
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->osem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
a0003124:	e59d2018 	ldr	r2, [sp, #24]                                 
a0003128:	e1a03001 	mov	r3, r1                                        
a000312c:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0003130:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0003134:	e282c08c 	add	ip, r2, #140	; 0x8c                           
a0003138:	e3800b1e 	orr	r0, r0, #30720	; 0x7800                       
a000313c:	e3a02020 	mov	r2, #32                                       
a0003140:	e58dc000 	str	ip, [sp]                                      
a0003144:	eb00086f 	bl	a0005308 <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)                                       
a0003148:	e250b000 	subs	fp, r0, #0                                   
a000314c:	1a00006b 	bne	a0003300 <rtems_termios_open+0x43c>           
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
a0003150:	e59d3018 	ldr	r3, [sp, #24]                                 
a0003154:	e59dc014 	ldr	ip, [sp, #20]                                 
a0003158:	e283e098 	add	lr, r3, #152	; 0x98                           
a000315c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0003160:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0003164:	e89c000f 	ldm	ip, {r0, r1, r2, r3}                          
a0003168:	e88e000f 	stm	lr, {r0, r1, r2, r3}                          
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a000316c:	e59dc018 	ldr	ip, [sp, #24]                                 
a0003170:	e59c30b4 	ldr	r3, [ip, #180]	; 0xb4                         
      RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                     
      RTEMS_NO_PRIORITY,                                              
      &tty->rawOutBuf.Semaphore);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
a0003174:	e58cb094 	str	fp, [ip, #148]	; 0x94                         
    tty->device = *callbacks;                                         
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a0003178:	e3530002 	cmp	r3, #2                                        
a000317c:	0a000060 	beq	a0003304 <rtems_termios_open+0x440>           
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
a0003180:	e59d2018 	ldr	r2, [sp, #24]                                 
a0003184:	e59230a0 	ldr	r3, [r2, #160]	; 0xa0                         
a0003188:	e3530000 	cmp	r3, #0                                        
a000318c:	0a00004d 	beq	a00032c8 <rtems_termios_open+0x404>           
a0003190:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
a0003194:	e3530002 	cmp	r3, #2                                        
a0003198:	0a00004a 	beq	a00032c8 <rtems_termios_open+0x404>           
    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;                                               
a000319c:	e59dc018 	ldr	ip, [sp, #24]                                 
    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';                                 
a00031a0:	e3a03000 	mov	r3, #0                                        
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00031a4:	e59f01d4 	ldr	r0, [pc, #468]	; a0003380 <rtems_termios_open+0x4bc>
    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;                                               
a00031a8:	e58c30b8 	str	r3, [ip, #184]	; 0xb8                         
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
a00031ac:	e59c9064 	ldr	r9, [ip, #100]	; 0x64                         
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00031b0:	e5d0e00c 	ldrb	lr, [r0, #12]                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
a00031b4:	e3a02c82 	mov	r2, #33280	; 0x8200                           
    /* 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;                        
a00031b8:	e1a090a9 	lsr	r9, r9, #1                                    
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00031bc:	e35e007a 	cmp	lr, #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;                        
a00031c0:	e58d9008 	str	r9, [sp, #8]                                  
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00031c4:	e28e9001 	add	r9, lr, #1                                    
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
a00031c8:	e59de018 	ldr	lr, [sp, #24]                                 
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
a00031cc:	e282203b 	add	r2, r2, #59	; 0x3b                            
    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;                        
a00031d0:	e59cb064 	ldr	fp, [ip, #100]	; 0x64                         
    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';                                 
a00031d4:	e5ce304c 	strb	r3, [lr, #76]	; 0x4c                         
    tty->termios.c_cc[VEOL2] = '\000';                                
a00031d8:	e5ce3051 	strb	r3, [lr, #81]	; 0x51                         
    tty->termios.c_cc[VSTART] = '\021';                               
a00031dc:	e3a03011 	mov	r3, #17                                       
a00031e0:	e5ce3049 	strb	r3, [lr, #73]	; 0x49                         
    tty->termios.c_cc[VSTOP] = '\023';                                
a00031e4:	e3a03013 	mov	r3, #19                                       
a00031e8:	e5ce304a 	strb	r3, [lr, #74]	; 0x4a                         
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
a00031ec:	e58e203c 	str	r2, [lr, #60]	; 0x3c                          
    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';                                
a00031f0:	e3a0301a 	mov	r3, #26                                       
    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';                                
a00031f4:	e3a02003 	mov	r2, #3                                        
a00031f8:	e5ce2041 	strb	r2, [lr, #65]	; 0x41                         
    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';                                
a00031fc:	e5ce304b 	strb	r3, [lr, #75]	; 0x4b                         
    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';                                
a0003200:	e3a0201c 	mov	r2, #28                                       
    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';                             
a0003204:	e3a03012 	mov	r3, #18                                       
    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';                                
a0003208:	e5ce2042 	strb	r2, [lr, #66]	; 0x42                         
    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';                             
a000320c:	e5ce304d 	strb	r3, [lr, #77]	; 0x4d                         
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
a0003210:	e3a0207f 	mov	r2, #127	; 0x7f                               
    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';                             
a0003214:	e3a0300f 	mov	r3, #15                                       
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
a0003218:	e5ce2043 	strb	r2, [lr, #67]	; 0x43                         
    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';                             
a000321c:	e5ce304e 	strb	r3, [lr, #78]	; 0x4e                         
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
a0003220:	e3a02015 	mov	r2, #21                                       
    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';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
a0003224:	e3a03017 	mov	r3, #23                                       
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
a0003228:	e3a01e8b 	mov	r1, #2224	; 0x8b0                             
a000322c:	e281100d 	add	r1, r1, #13                                   
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
a0003230:	e5ce2044 	strb	r2, [lr, #68]	; 0x44                         
    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';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
a0003234:	e5ce304f 	strb	r3, [lr, #79]	; 0x4f                         
                                                                      
    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';                                 
a0003238:	e3a02004 	mov	r2, #4                                        
    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';                               
a000323c:	e3a03016 	mov	r3, #22                                       
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
a0003240:	e3a00b06 	mov	r0, #6144	; 0x1800                            
a0003244:	e2800005 	add	r0, r0, #5                                    
                                                                      
    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';                                 
a0003248:	e5ce2045 	strb	r2, [lr, #69]	; 0x45                         
    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';                               
a000324c:	e5ce3050 	strb	r3, [lr, #80]	; 0x50                         
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
a0003250:	e58e1038 	str	r1, [lr, #56]	; 0x38                          
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a0003254:	e59f1124 	ldr	r1, [pc, #292]	; a0003380 <rtems_termios_open+0x4bc>
    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;                        
a0003258:	e08bb08b 	add	fp, fp, fp, lsl #1                            
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
a000325c:	e58e0034 	str	r0, [lr, #52]	; 0x34                          
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
a0003260:	e59d0008 	ldr	r0, [sp, #8]                                  
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
a0003264:	e3a0cc25 	mov	ip, #9472	; 0x2500                            
a0003268:	e28cc002 	add	ip, ip, #2                                    
    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;                        
a000326c:	e1a0b12b 	lsr	fp, fp, #2                                    
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
a0003270:	0282205d 	addeq	r2, r2, #93	; 0x5d                          
a0003274:	01a03001 	moveq	r3, r1                                      
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a0003278:	e5c1900c 	strb	r9, [r1, #12]                                
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
a000327c:	e58ec030 	str	ip, [lr, #48]	; 0x30                          
    /* 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;                        
a0003280:	e58e00bc 	str	r0, [lr, #188]	; 0xbc                         
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
a0003284:	e58eb0c0 	str	fp, [lr, #192]	; 0xc0                         
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
a0003288:	05c3200c 	strbeq	r2, [r3, #12]                              
a000328c:	eaffff28 	b	a0002f34 <rtems_termios_open+0x70>              
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
a0003290:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0003294:	ebfffb15 	bl	a0001ef0 <free>                                <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
a0003298:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a000329c:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a00032a0:	ebfffb12 	bl	a0001ef0 <free>                                <== NOT EXECUTED
            free(tty);                                                
a00032a4:	e59d0018 	ldr	r0, [sp, #24]                                 <== NOT EXECUTED
a00032a8:	ebfffb10 	bl	a0001ef0 <free>                                <== NOT EXECUTED
      rtems_semaphore_release (rtems_termios_ttyMutex);               
a00032ac:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
a00032b0:	eb0008f7 	bl	a0005694 <rtems_semaphore_release>             <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
a00032b4:	e3a0a01a 	mov	sl, #26                                       <== NOT EXECUTED
a00032b8:	eaffff30 	b	a0002f80 <rtems_termios_open+0xbc>              <== NOT EXECUTED
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
    if (tty->rawInBuf.theBuf == NULL) {                               
            free(tty);                                                
a00032bc:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a00032c0:	ebfffb0a 	bl	a0001ef0 <free>                                <== NOT EXECUTED
a00032c4:	eafffff8 	b	a00032ac <rtems_termios_open+0x3e8>             <== NOT EXECUTED
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
        rtems_build_name ('T', 'R', 'r', c),                          
a00032c8:	e59f30b0 	ldr	r3, [pc, #176]	; a0003380 <rtems_termios_open+0x4bc>
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
a00032cc:	e59d9018 	ldr	r9, [sp, #24]                                 
a00032d0:	e3a01000 	mov	r1, #0                                        
        rtems_build_name ('T', 'R', 'r', c),                          
a00032d4:	e5d3000c 	ldrb	r0, [r3, #12]                                
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
a00032d8:	e289c068 	add	ip, r9, #104	; 0x68                           
a00032dc:	e3a02024 	mov	r2, #36	; 0x24                                
a00032e0:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a00032e4:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a00032e8:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       
a00032ec:	e1a03001 	mov	r3, r1                                        
a00032f0:	e58dc000 	str	ip, [sp]                                      
a00032f4:	eb000803 	bl	a0005308 <rtems_semaphore_create>              
        rtems_build_name ('T', 'R', 'r', c),                          
        0,                                                            
        RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,               
        RTEMS_NO_PRIORITY,                                            
        &tty->rawInBuf.Semaphore);                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
a00032f8:	e3500000 	cmp	r0, #0                                        
a00032fc:	0affffa6 	beq	a000319c <rtems_termios_open+0x2d8>           
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
a0003300:	eb000a3e 	bl	a0005c00 <rtems_fatal_error_occurred>          
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
                                   rtems_build_name ('T', 'x', 'T', c),
a0003304:	e5d9000c 	ldrb	r0, [r9, #12]                                
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
a0003308:	e28cc0c8 	add	ip, ip, #200	; 0xc8                           
a000330c:	e3a0100a 	mov	r1, #10                                       
a0003310:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0003314:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   
a0003318:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       
a000331c:	e3a02b01 	mov	r2, #1024	; 0x400                             
a0003320:	e3a03c05 	mov	r3, #1280	; 0x500                             
a0003324:	e88d1800 	stm	sp, {fp, ip}                                  
a0003328:	eb000903 	bl	a000573c <rtems_task_create>                   
           TERMIOS_TXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
a000332c:	e250e000 	subs	lr, r0, #0                                   
a0003330:	1afffff2 	bne	a0003300 <rtems_termios_open+0x43c>           
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
a0003334:	e5d9000c 	ldrb	r0, [r9, #12]                                
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
a0003338:	e59d1018 	ldr	r1, [sp, #24]                                 
a000333c:	e3a02b01 	mov	r2, #1024	; 0x400                             
a0003340:	e3800452 	orr	r0, r0, #1375731712	; 0x52000000              
a0003344:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   
a0003348:	e281c0c4 	add	ip, r1, #196	; 0xc4                           
a000334c:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       
a0003350:	e3a01009 	mov	r1, #9                                        
a0003354:	e3a03c05 	mov	r3, #1280	; 0x500                             
a0003358:	e58de000 	str	lr, [sp]                                      
a000335c:	e58dc004 	str	ip, [sp, #4]                                  
a0003360:	eb0008f5 	bl	a000573c <rtems_task_create>                   
           TERMIOS_RXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
a0003364:	e3500000 	cmp	r0, #0                                        
a0003368:	0affff84 	beq	a0003180 <rtems_termios_open+0x2bc>           
a000336c:	eaffffe3 	b	a0003300 <rtems_termios_open+0x43c>             <== NOT EXECUTED
                                                                      

a0003910 <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) {
a0003910:	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)           
{                                                                     
a0003914:	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) {           
a0003918:	e3530000 	cmp	r3, #0                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
a000391c:	e1a04002 	mov	r4, r2                                        
a0003920:	e1a09000 	mov	r9, r0                                        
a0003924:	e1a0a001 	mov	sl, r1                                        
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
a0003928:	0a000037 	beq	a0003a0c <rtems_termios_puts+0xfc>            
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
a000392c:	e3510000 	cmp	r1, #0                                        
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
a0003930:	e5928080 	ldr	r8, [r2, #128]	; 0x80                         
  while (len) {                                                       
a0003934:	0a00002b 	beq	a00039e8 <rtems_termios_puts+0xd8>            
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
a0003938:	e3a07002 	mov	r7, #2                                        
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
a000393c:	e3a0b001 	mov	fp, #1                                        
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
a0003940:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         
a0003944:	e2880001 	add	r0, r8, #1                                    
a0003948:	eb003631 	bl	a0011214 <__umodsi3>                           
a000394c:	e1a08000 	mov	r8, r0                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003950:	e10f5000 	mrs	r5, CPSR                                      
a0003954:	e3853080 	orr	r3, r5, #128	; 0x80                           
a0003958:	e129f003 	msr	CPSR_fc, r3                                   
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
a000395c:	e5946084 	ldr	r6, [r4, #132]	; 0x84                         
a0003960:	e1560000 	cmp	r6, r0                                        
a0003964:	1a00000d 	bne	a00039a0 <rtems_termios_puts+0x90>            
      tty->rawOutBufState = rob_wait;                                 
a0003968:	e5847094 	str	r7, [r4, #148]	; 0x94                         
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000396c:	e129f005 	msr	CPSR_fc, r5                                   
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
a0003970:	e3a01000 	mov	r1, #0                                        
a0003974:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
a0003978:	e1a02001 	mov	r2, r1                                        
a000397c:	eb0006fb 	bl	a0005570 <rtems_semaphore_obtain>              
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
a0003980:	e3500000 	cmp	r0, #0                                        
a0003984:	1a000026 	bne	a0003a24 <rtems_termios_puts+0x114>           
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003988:	e10f5000 	mrs	r5, CPSR                                      
a000398c:	e3853080 	orr	r3, r5, #128	; 0x80                           
a0003990:	e129f003 	msr	CPSR_fc, r3                                   
     * 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) {                          
a0003994:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         
a0003998:	e1530006 	cmp	r3, r6                                        
a000399c:	0afffff1 	beq	a0003968 <rtems_termios_puts+0x58>            
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
a00039a0:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         
a00039a4:	e4d91001 	ldrb	r1, [r9], #1                                 
a00039a8:	e594207c 	ldr	r2, [r4, #124]	; 0x7c                         
a00039ac:	e7c21003 	strb	r1, [r2, r3]                                 
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
a00039b0:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
    tty->rawOutBuf.Head = newHead;                                    
a00039b4:	e5848080 	str	r8, [r4, #128]	; 0x80                         
    if (tty->rawOutBufState == rob_idle) {                            
a00039b8:	e3530000 	cmp	r3, #0                                        
a00039bc:	1a000006 	bne	a00039dc <rtems_termios_puts+0xcc>            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
a00039c0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
a00039c4:	e3130010 	tst	r3, #16                                       
a00039c8:	0a000007 	beq	a00039ec <rtems_termios_puts+0xdc>            
        (*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;                                   
a00039cc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00039d0:	e3833020 	orr	r3, r3, #32                                   <== NOT EXECUTED
a00039d4:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
a00039d8:	e584b094 	str	fp, [r4, #148]	; 0x94                         
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00039dc:	e129f005 	msr	CPSR_fc, r5                                   
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
a00039e0:	e25aa001 	subs	sl, sl, #1                                   
a00039e4:	1affffd5 	bne	a0003940 <rtems_termios_puts+0x30>            
a00039e8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
a00039ec:	e5942084 	ldr	r2, [r4, #132]	; 0x84                         
    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,                              
a00039f0:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         
a00039f4:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         
a00039f8:	e5940010 	ldr	r0, [r4, #16]                                 
a00039fc:	e0811002 	add	r1, r1, r2                                    
a0003a00:	e3a02001 	mov	r2, #1                                        
a0003a04:	e12fff33 	blx	r3                                            
a0003a08:	eafffff2 	b	a00039d8 <rtems_termios_puts+0xc8>              
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
a0003a0c:	e59230a4 	ldr	r3, [r2, #164]	; 0xa4                         
a0003a10:	e5920010 	ldr	r0, [r2, #16]                                 
a0003a14:	e1a01009 	mov	r1, r9                                        
a0003a18:	e1a0200a 	mov	r2, sl                                        
a0003a1c:	e12fff33 	blx	r3                                            
    return;                                                           
a0003a20:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
a0003a24:	eb000875 	bl	a0005c00 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0004138 <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;
a0004138:	e5903000 	ldr	r3, [r0]                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a000413c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
a0004140:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0004144:	e3a01000 	mov	r1, #0                                        
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0004148:	e24dd008 	sub	sp, sp, #8                                    
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
a000414c:	e5908010 	ldr	r8, [r0, #16]                                 
  char      *buffer = args->buffer;                                   
a0004150:	e590a00c 	ldr	sl, [r0, #12]                                 
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0004154:	e1a09000 	mov	r9, r0                                        
  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);
a0004158:	e1a02001 	mov	r2, r1                                        
a000415c:	e5940014 	ldr	r0, [r4, #20]                                 
a0004160:	eb000502 	bl	a0005570 <rtems_semaphore_obtain>              
  if (sc != RTEMS_SUCCESSFUL)                                         
a0004164:	e3500000 	cmp	r0, #0                                        
a0004168:	e58d0000 	str	r0, [sp]                                      
a000416c:	1a00000d 	bne	a00041a8 <rtems_termios_read+0x70>            
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
a0004170:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a0004174:	e59f3350 	ldr	r3, [pc, #848]	; a00044cc <rtems_termios_read+0x394>
a0004178:	e0833282 	add	r3, r3, r2, lsl #5                            
a000417c:	e5933008 	ldr	r3, [r3, #8]                                  
a0004180:	e3530000 	cmp	r3, #0                                        
a0004184:	0a00000a 	beq	a00041b4 <rtems_termios_read+0x7c>            
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
a0004188:	e1a00004 	mov	r0, r4                                        
a000418c:	e1a01009 	mov	r1, r9                                        
a0004190:	e12fff33 	blx	r3                                            
    tty->tty_rcvwakeup = 0;                                           
a0004194:	e3a03000 	mov	r3, #0                                        
  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);          
a0004198:	e58d0000 	str	r0, [sp]                                      
    tty->tty_rcvwakeup = 0;                                           
a000419c:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         
    rtems_semaphore_release (tty->isem);                              
a00041a0:	e5940014 	ldr	r0, [r4, #20]                                 
a00041a4:	eb00053a 	bl	a0005694 <rtems_semaphore_release>             
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
a00041a8:	e59d0000 	ldr	r0, [sp]                                      
a00041ac:	e28dd008 	add	sp, sp, #8                                    
a00041b0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
a00041b4:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          
a00041b8:	e5943020 	ldr	r3, [r4, #32]                                 
a00041bc:	e1520003 	cmp	r2, r3                                        
a00041c0:	0a000018 	beq	a0004228 <rtems_termios_read+0xf0>            
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
a00041c4:	e3580000 	cmp	r8, #0                                        
a00041c8:	0a00000e 	beq	a0004208 <rtems_termios_read+0xd0>            
a00041cc:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
a00041d0:	e5942020 	ldr	r2, [r4, #32]                                 
a00041d4:	e1530002 	cmp	r3, r2                                        
a00041d8:	ba000003 	blt	a00041ec <rtems_termios_read+0xb4>            
a00041dc:	ea000009 	b	a0004208 <rtems_termios_read+0xd0>              <== NOT EXECUTED
a00041e0:	e5942020 	ldr	r2, [r4, #32]                                 
a00041e4:	e1520003 	cmp	r2, r3                                        
a00041e8:	da000006 	ble	a0004208 <rtems_termios_read+0xd0>            
    *buffer++ = tty->cbuf[tty->cindex++];                             
a00041ec:	e594201c 	ldr	r2, [r4, #28]                                 
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
a00041f0:	e2588001 	subs	r8, r8, #1                                   
    *buffer++ = tty->cbuf[tty->cindex++];                             
a00041f4:	e7d22003 	ldrb	r2, [r2, r3]                                 
a00041f8:	e2833001 	add	r3, r3, #1                                    
a00041fc:	e4ca2001 	strb	r2, [sl], #1                                 
a0004200:	e5843024 	str	r3, [r4, #36]	; 0x24                          
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
a0004204:	1afffff5 	bne	a00041e0 <rtems_termios_read+0xa8>            
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
a0004208:	e5993010 	ldr	r3, [r9, #16]                                 
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
a000420c:	e5940014 	ldr	r0, [r4, #20]                                 
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
a0004210:	e0688003 	rsb	r8, r8, r3                                    
  tty->tty_rcvwakeup = 0;                                             
a0004214:	e3a03000 	mov	r3, #0                                        
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
a0004218:	e5898018 	str	r8, [r9, #24]                                 
  tty->tty_rcvwakeup = 0;                                             
a000421c:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         
  rtems_semaphore_release (tty->isem);                                
a0004220:	eb00051b 	bl	a0005694 <rtems_semaphore_release>             
  return sc;                                                          
a0004224:	eaffffdf 	b	a00041a8 <rtems_termios_read+0x70>              
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
a0004228:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
a000422c:	e59d1000 	ldr	r1, [sp]                                      
    tty->read_start_column = tty->column;                             
a0004230:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
    if (tty->device.pollRead != NULL &&                               
a0004234:	e3530000 	cmp	r3, #0                                        
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
a0004238:	e5841020 	str	r1, [r4, #32]                                 
a000423c:	e5841024 	str	r1, [r4, #36]	; 0x24                          
    tty->read_start_column = tty->column;                             
a0004240:	e584202c 	str	r2, [r4, #44]	; 0x2c                          
    if (tty->device.pollRead != NULL &&                               
a0004244:	0a000002 	beq	a0004254 <rtems_termios_read+0x11c>           
a0004248:	e59420b4 	ldr	r2, [r4, #180]	; 0xb4                         
a000424c:	e3520000 	cmp	r2, #0                                        
a0004250:	0a000062 	beq	a00043e0 <rtems_termios_read+0x2a8>           
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
a0004254:	e5946074 	ldr	r6, [r4, #116]	; 0x74                         
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
a0004258:	e59f7270 	ldr	r7, [pc, #624]	; a00044d0 <rtems_termios_read+0x398>
      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))               
a000425c:	e3a0bc02 	mov	fp, #512	; 0x200                              
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
a0004260:	e2843049 	add	r3, r4, #73	; 0x49                            
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
a0004264:	e3a05001 	mov	r5, #1                                        
      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))               
a0004268:	e28bb002 	add	fp, fp, #2                                    
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
a000426c:	e58d3004 	str	r3, [sp, #4]                                  
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a0004270:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          
a0004274:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          
a0004278:	e1520003 	cmp	r2, r3                                        
a000427c:	1a00000a 	bne	a00042ac <rtems_termios_read+0x174>           
a0004280:	ea000041 	b	a000438c <rtems_termios_read+0x254>             
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
a0004284:	e1a00006 	mov	r0, r6                                        
a0004288:	e1a01004 	mov	r1, r4                                        
a000428c:	ebffff61 	bl	a0004018 <siproc>                              
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a0004290:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          
a0004294:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
a0004298:	e3500000 	cmp	r0, #0                                        
a000429c:	13a05000 	movne	r5, #0                                      
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00042a0:	e1520003 	cmp	r2, r3                                        
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
a00042a4:	e5946070 	ldr	r6, [r4, #112]	; 0x70                         
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00042a8:	0a000037 	beq	a000438c <rtems_termios_read+0x254>           
                       (tty->ccount < (CBUFSIZE-1))) {                
a00042ac:	e5973008 	ldr	r3, [r7, #8]                                  
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00042b0:	e5942020 	ldr	r2, [r4, #32]                                 
                       (tty->ccount < (CBUFSIZE-1))) {                
a00042b4:	e2433001 	sub	r3, r3, #1                                    
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00042b8:	e1520003 	cmp	r2, r3                                        
a00042bc:	aa000032 	bge	a000438c <rtems_termios_read+0x254>           
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
a00042c0:	e594005c 	ldr	r0, [r4, #92]	; 0x5c                          
a00042c4:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         
a00042c8:	e2800001 	add	r0, r0, #1                                    
a00042cc:	eb0033d0 	bl	a0011214 <__umodsi3>                           
      c = tty->rawInBuf.theBuf[newHead];                              
a00042d0:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          
a00042d4:	e7d36000 	ldrb	r6, [r3, r0]                                 
      tty->rawInBuf.Head = newHead;                                   
a00042d8:	e584005c 	str	r0, [r4, #92]	; 0x5c                          
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
a00042dc:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          
a00042e0:	e5942064 	ldr	r2, [r4, #100]	; 0x64                         
          % tty->rawInBuf.Size)                                       
a00042e4:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
a00042e8:	e0823003 	add	r3, r2, r3                                    
          % tty->rawInBuf.Size)                                       
a00042ec:	e0600003 	rsb	r0, r0, r3                                    
a00042f0:	eb0033c7 	bl	a0011214 <__umodsi3>                           
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
a00042f4:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         
a00042f8:	e1500003 	cmp	r0, r3                                        
a00042fc:	2a000013 	bcs	a0004350 <rtems_termios_read+0x218>           
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
a0004300:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
a0004304:	e3a03c02 	mov	r3, #512	; 0x200                              
a0004308:	e2833002 	add	r3, r3, #2                                    
      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;                                
a000430c:	e3c22001 	bic	r2, r2, #1                                    
a0004310:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
a0004314:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         
a0004318:	e0023003 	and	r3, r2, r3                                    
a000431c:	e153000b 	cmp	r3, fp                                        
a0004320:	0a000022 	beq	a00043b0 <rtems_termios_read+0x278>           
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
a0004324:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
a0004328:	e3130c01 	tst	r3, #256	; 0x100                              
a000432c:	0a000007 	beq	a0004350 <rtems_termios_read+0x218>           
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
a0004330:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
a0004334:	e59430b0 	ldr	r3, [r4, #176]	; 0xb0                         <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
a0004338:	e3c22004 	bic	r2, r2, #4                                    <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
a000433c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
a0004340:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
a0004344:	0a000001 	beq	a0004350 <rtems_termios_read+0x218>           <== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
a0004348:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a000434c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
a0004350:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0004354:	e3130002 	tst	r3, #2                                        
a0004358:	1affffc9 	bne	a0004284 <rtems_termios_read+0x14c>           
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
a000435c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0004360:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0004364:	ebffff2b 	bl	a0004018 <siproc>                              <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
a0004368:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a000436c:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
a0004370:	e5946070 	ldr	r6, [r4, #112]	; 0x70                         <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
a0004374:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a0004378:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a000437c:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
a0004380:	a3a05000 	movge	r5, #0                                      <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a0004384:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0004388:	1affffc7 	bne	a00042ac <rtems_termios_read+0x174>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
a000438c:	e3550000 	cmp	r5, #0                                        
a0004390:	0affff8b 	beq	a00041c4 <rtems_termios_read+0x8c>            
      sc = rtems_semaphore_obtain(                                    
a0004394:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         
a0004398:	e594106c 	ldr	r1, [r4, #108]	; 0x6c                         
a000439c:	e1a02006 	mov	r2, r6                                        
a00043a0:	eb000472 	bl	a0005570 <rtems_semaphore_obtain>              
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
a00043a4:	e3500000 	cmp	r0, #0                                        
a00043a8:	0affffb0 	beq	a0004270 <rtems_termios_read+0x138>           
a00043ac:	eaffff84 	b	a00041c4 <rtems_termios_read+0x8c>              <== NOT EXECUTED
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
a00043b0:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a00043b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00043b8:	0a000002 	beq	a00043c8 <rtems_termios_read+0x290>           <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
a00043bc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00043c0:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a00043c4:	0affffd6 	beq	a0004324 <rtems_termios_read+0x1ec>           <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
a00043c8:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a00043cc:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00043d0:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
a00043d4:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a00043d8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00043dc:	eaffffdb 	b	a0004350 <rtems_termios_read+0x218>             <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
a00043e0:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          
a00043e4:	e3120002 	tst	r2, #2                                        
a00043e8:	0a00000a 	beq	a0004418 <rtems_termios_read+0x2e0>           
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
a00043ec:	e5940010 	ldr	r0, [r4, #16]                                 
a00043f0:	e12fff33 	blx	r3                                            
      if (n < 0) {                                                    
a00043f4:	e3500000 	cmp	r0, #0                                        
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
a00043f8:	e1a01004 	mov	r1, r4                                        
a00043fc:	e20000ff 	and	r0, r0, #255	; 0xff                           
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
a0004400:	ba00002d 	blt	a00044bc <rtems_termios_read+0x384>           
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
a0004404:	ebffff03 	bl	a0004018 <siproc>                              
a0004408:	e3500000 	cmp	r0, #0                                        
a000440c:	1affff6c 	bne	a00041c4 <rtems_termios_read+0x8c>            
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
a0004410:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a0004414:	eafffff4 	b	a00043ec <rtems_termios_read+0x2b4>             
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
a0004418:	eb0002b4 	bl	a0004ef0 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
a000441c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
a0004420:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0004424:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0004428:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      if (n < 0) {                                                    
a000442c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004430:	ba00000c 	blt	a0004468 <rtems_termios_read+0x330>           <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
a0004434:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
a0004438:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000443c:	ebfffef5 	bl	a0004018 <siproc>                              <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
a0004440:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0004444:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0004448:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000444c:	aaffff5c 	bge	a00041c4 <rtems_termios_read+0x8c>            <== NOT EXECUTED
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
a0004450:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004454:	0afffff1 	beq	a0004420 <rtems_termios_read+0x2e8>           <== NOT EXECUTED
a0004458:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a000445c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004460:	0affffee 	beq	a0004420 <rtems_termios_read+0x2e8>           <== NOT EXECUTED
a0004464:	eaffffeb 	b	a0004418 <rtems_termios_read+0x2e0>             <== NOT EXECUTED
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
a0004468:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a000446c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004470:	0a000008 	beq	a0004498 <rtems_termios_read+0x360>           <== NOT EXECUTED
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
a0004474:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a0004478:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000447c:	0a000002 	beq	a000448c <rtems_termios_read+0x354>           <== NOT EXECUTED
a0004480:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0004484:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004488:	1a000005 	bne	a00044a4 <rtems_termios_read+0x36c>           <== NOT EXECUTED
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
a000448c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0004490:	eb00056d 	bl	a0005a4c <rtems_task_wake_after>               <== NOT EXECUTED
a0004494:	eaffffe1 	b	a0004420 <rtems_termios_read+0x2e8>             <== NOT EXECUTED
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
a0004498:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a000449c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00044a0:	0affff47 	beq	a00041c4 <rtems_termios_read+0x8c>            <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
a00044a4:	eb000291 	bl	a0004ef0 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
          if ((now - then) > tty->vtimeTicks) {                       
a00044a8:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          <== NOT EXECUTED
a00044ac:	e0650000 	rsb	r0, r5, r0                                    <== NOT EXECUTED
a00044b0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00044b4:	9afffff4 	bls	a000448c <rtems_termios_read+0x354>           <== NOT EXECUTED
a00044b8:	eaffff41 	b	a00041c4 <rtems_termios_read+0x8c>              <== NOT EXECUTED
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
a00044bc:	e3a00001 	mov	r0, #1                                        
a00044c0:	eb000561 	bl	a0005a4c <rtems_task_wake_after>               
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
a00044c4:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a00044c8:	eaffffc7 	b	a00043ec <rtems_termios_read+0x2b4>             
                                                                      

a0004848 <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))
a0004848:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         
a000484c:	e3a02b01 	mov	r2, #1024	; 0x400                             
a0004850:	e2822001 	add	r2, r2, #1                                    
a0004854:	e3c33fff 	bic	r3, r3, #1020	; 0x3fc                         
a0004858:	e1a03a83 	lsl	r3, r3, #21                                   
 * 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)      
{                                                                     
a000485c:	e92d4070 	push	{r4, r5, r6, lr}                             
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
a0004860:	e1a03aa3 	lsr	r3, r3, #21                                   
a0004864:	e1530002 	cmp	r3, r2                                        
 * 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)      
{                                                                     
a0004868:	e1a04000 	mov	r4, r0                                        
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
a000486c:	0a000047 	beq	a0004990 <rtems_termios_refill_transmitter+0x148>
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
a0004870:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         
a0004874:	e2033003 	and	r3, r3, #3                                    
a0004878:	e3530002 	cmp	r3, #2                                        
a000487c:	0a000055 	beq	a00049d8 <rtems_termios_refill_transmitter+0x190>
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
a0004880:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         
a0004884:	e5903084 	ldr	r3, [r0, #132]	; 0x84                         
a0004888:	e1520003 	cmp	r2, r3                                        
a000488c:	0a00002a 	beq	a000493c <rtems_termios_refill_transmitter+0xf4>
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0004890:	e10f3000 	mrs	r3, CPSR                                      
a0004894:	e3832080 	orr	r2, r3, #128	; 0x80                           
a0004898:	e129f002 	msr	CPSR_fc, r2                                   
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
a000489c:	e3a02000 	mov	r2, #0                                        
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
a00048a0:	e5900090 	ldr	r0, [r0, #144]	; 0x90                         
    tty->t_dqlen = 0;                                                 
a00048a4:	e5842090 	str	r2, [r4, #144]	; 0x90                         
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00048a8:	e129f003 	msr	CPSR_fc, r3                                   
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
a00048ac:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         
a00048b0:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         
a00048b4:	e0800003 	add	r0, r0, r3                                    
a00048b8:	eb003255 	bl	a0011214 <__umodsi3>                           
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
a00048bc:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
a00048c0:	e1a05000 	mov	r5, r0                                        
    tty->rawOutBuf.Tail = newTail;                                    
a00048c4:	e5840084 	str	r0, [r4, #132]	; 0x84                         
    if (tty->rawOutBufState == rob_wait) {                            
a00048c8:	e3530002 	cmp	r3, #2                                        
a00048cc:	0a00002c 	beq	a0004984 <rtems_termios_refill_transmitter+0x13c>
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
a00048d0:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         
a00048d4:	e1530005 	cmp	r3, r5                                        
a00048d8:	0a00001f 	beq	a000495c <rtems_termios_refill_transmitter+0x114>
      if ( tty->tty_snd.sw_pfn != NULL) {                             
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
a00048dc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
a00048e0:	e2033e21 	and	r3, r3, #528	; 0x210                          
a00048e4:	e3530e21 	cmp	r3, #528	; 0x210                              
a00048e8:	0a00004c 	beq	a0004a20 <rtems_termios_refill_transmitter+0x1d8>
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
a00048ec:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
a00048f0:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         
a00048f4:	e5940010 	ldr	r0, [r4, #16]                                 
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
a00048f8:	e1550003 	cmp	r5, r3                                        
        nToSend = tty->rawOutBuf.Size - newTail;                      
a00048fc:	85946088 	ldrhi	r6, [r4, #136]	; 0x88                       
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
a0004900:	95946080 	ldrls	r6, [r4, #128]	; 0x80                       
      /* 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)) {                   
a0004904:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
a0004908:	80656006 	rsbhi	r6, r5, r6                                  
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
a000490c:	90656006 	rsbls	r6, r5, r6                                  
      /* 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)) {                   
a0004910:	e3130c06 	tst	r3, #1536	; 0x600                             
a0004914:	13a06001 	movne	r6, #1                                      
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
a0004918:	e3a03001 	mov	r3, #1                                        
a000491c:	e5843094 	str	r3, [r4, #148]	; 0x94                         
        nToSend = tty->rawOutBuf.Head - newTail;                      
      /* when flow control XON or XOF, don't send blocks of data     */
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
        nToSend = 1;                                                  
a0004920:	e1a02006 	mov	r2, r6                                        
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
a0004924:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         
a0004928:	e0811005 	add	r1, r1, r5                                    
a000492c:	e12fff33 	blx	r3                                            
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
a0004930:	e5845084 	str	r5, [r4, #132]	; 0x84                         
  }                                                                   
  return nToSend;                                                     
}                                                                     
a0004934:	e1a00006 	mov	r0, r6                                        
a0004938:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
a000493c:	e5903094 	ldr	r3, [r0, #148]	; 0x94                         
a0004940:	e3530002 	cmp	r3, #2                                        
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
a0004944:	13a06000 	movne	r6, #0                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
a0004948:	1afffff9 	bne	a0004934 <rtems_termios_refill_transmitter+0xec>
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
a000494c:	e590008c 	ldr	r0, [r0, #140]	; 0x8c                         <== NOT EXECUTED
a0004950:	eb00034f 	bl	a0005694 <rtems_semaphore_release>             <== NOT EXECUTED
      }                                                               
      return 0;                                                       
a0004954:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0004958:	eafffff5 	b	a0004934 <rtems_termios_refill_transmitter+0xec><== NOT EXECUTED
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
a000495c:	e59430d4 	ldr	r3, [r4, #212]	; 0xd4                         
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
a0004960:	e3a06000 	mov	r6, #0                                        
a0004964:	e5846094 	str	r6, [r4, #148]	; 0x94                         
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
a0004968:	e1530006 	cmp	r3, r6                                        
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
a000496c:	01a06003 	moveq	r6, r3                                      
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
a0004970:	0affffee 	beq	a0004930 <rtems_termios_refill_transmitter+0xe8>
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
a0004974:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a0004978:	e59410d8 	ldr	r1, [r4, #216]	; 0xd8                         <== NOT EXECUTED
a000497c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0004980:	eaffffea 	b	a0004930 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
a0004984:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
a0004988:	eb000341 	bl	a0005694 <rtems_semaphore_release>             
a000498c:	eaffffcf 	b	a00048d0 <rtems_termios_refill_transmitter+0x88>
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
a0004990:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a0004994:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
a0004998:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a000499c:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a00049a0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00049a4:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00049a8:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00049ac:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a00049b0:	e5941090 	ldr	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
a00049b4:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a00049b8:	e2411001 	sub	r1, r1, #1                                    <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
a00049bc:	e3822002 	orr	r2, r2, #2                                    <== NOT EXECUTED
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a00049c0:	e5841090 	str	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
a00049c4:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00049c8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
a00049cc:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
a00049d0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00049d4:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
     * FIXME: this .write call will generate another                  
     * dequeue callback. This will advance the "Tail" in the data     
     * buffer, although the corresponding data is not yet out!        
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
a00049d8:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a00049dc:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
a00049e0:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a00049e4:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a00049e8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00049ec:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00049f0:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00049f4:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a00049f8:	e5941090 	ldr	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
a00049fc:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a0004a00:	e2411001 	sub	r1, r1, #1                                    <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
a0004a04:	e3c22002 	bic	r2, r2, #2                                    <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a0004a08:	e5841090 	str	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
a0004a0c:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0004a10:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
a0004a14:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
a0004a18:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0004a1c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0004a20:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0004a24:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0004a28:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl |= FL_OSTOP;                                     
a0004a2c:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
a0004a30:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0004a34:	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;                                     
a0004a38:	e3822020 	orr	r2, r2, #32                                   <== NOT EXECUTED
a0004a3c:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0004a40:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
a0004a44:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0004a48:	eaffffb8 	b	a0004930 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
                                                                      

a00047bc <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
a00047bc:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a00047c0:	e24dd008 	sub	sp, sp, #8                                    
a00047c4:	e1a04000 	mov	r4, r0                                        
a00047c8:	e28d7007 	add	r7, sp, #7                                    
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a00047cc:	e3a06000 	mov	r6, #0                                        
a00047d0:	ea000005 	b	a00047ec <rtems_termios_rxdaemon+0x30>          
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a00047d4:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a00047d8:	e5940010 	ldr	r0, [r4, #16]                                 
a00047dc:	e12fff33 	blx	r3                                            
    if (c != EOF) {                                                   
a00047e0:	e3700001 	cmn	r0, #1                                        
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a00047e4:	e1a03000 	mov	r3, r0                                        
    if (c != EOF) {                                                   
a00047e8:	1a000010 	bne	a0004830 <rtems_termios_rxdaemon+0x74>        
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a00047ec:	e1a0300d 	mov	r3, sp                                        
a00047f0:	e3a01002 	mov	r1, #2                                        
a00047f4:	e3a02000 	mov	r2, #0                                        
a00047f8:	e3a00003 	mov	r0, #3                                        
a00047fc:	eb0001db 	bl	a0004f70 <rtems_event_receive>                 
      (TERMIOS_RX_PROC_EVENT | TERMIOS_RX_TERMINATE_EVENT),           
      RTEMS_EVENT_ANY | RTEMS_WAIT,                                   
      RTEMS_NO_TIMEOUT,                                               
      &the_event                                                      
    );                                                                
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
a0004800:	e59d3000 	ldr	r3, [sp]                                      
a0004804:	e3130001 	tst	r3, #1                                        
a0004808:	0afffff1 	beq	a00047d4 <rtems_termios_rxdaemon+0x18>        
      tty->rxTaskId = 0;                                              
a000480c:	e58460c4 	str	r6, [r4, #196]	; 0xc4                         <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
a0004810:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0004814:	eb000417 	bl	a0005878 <rtems_task_delete>                   <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a0004818:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a000481c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0004820:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if (c != EOF) {                                                   
a0004824:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a0004828:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    if (c != EOF) {                                                   
a000482c:	0affffee 	beq	a00047ec <rtems_termios_rxdaemon+0x30>        <== NOT EXECUTED
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
a0004830:	e1a00004 	mov	r0, r4                                        
a0004834:	e1a01007 	mov	r1, r7                                        
a0004838:	e3a02001 	mov	r2, #1                                        
    c = tty->device.pollRead(tty->minor);                             
    if (c != EOF) {                                                   
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
a000483c:	e5cd3007 	strb	r3, [sp, #7]                                 
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
a0004840:	ebffff26 	bl	a00044e0 <rtems_termios_enqueue_raw_characters>
a0004844:	eaffffe8 	b	a00047ec <rtems_termios_rxdaemon+0x30>          
                                                                      

a0004a4c <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
a0004a4c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0004a50:	e59f6060 	ldr	r6, [pc, #96]	; a0004ab8 <rtems_termios_txdaemon+0x6c>
a0004a54:	e24dd004 	sub	sp, sp, #4                                    
a0004a58:	e1a04000 	mov	r4, r0                                        
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a0004a5c:	e3a07000 	mov	r7, #0                                        
a0004a60:	ea000008 	b	a0004a88 <rtems_termios_txdaemon+0x3c>          
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
a0004a64:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
a0004a68:	e1a00004 	mov	r0, r4                                        
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
a0004a6c:	e0863283 	add	r3, r6, r3, lsl #5                            
a0004a70:	e5933014 	ldr	r3, [r3, #20]                                 
a0004a74:	e3530000 	cmp	r3, #0                                        
a0004a78:	0a000000 	beq	a0004a80 <rtems_termios_txdaemon+0x34>        
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
a0004a7c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
a0004a80:	e1a00004 	mov	r0, r4                                        
a0004a84:	ebffff6f 	bl	a0004848 <rtems_termios_refill_transmitter>    
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a0004a88:	e1a0300d 	mov	r3, sp                                        
a0004a8c:	e3a01002 	mov	r1, #2                                        
a0004a90:	e3a02000 	mov	r2, #0                                        
a0004a94:	e3a00003 	mov	r0, #3                                        
a0004a98:	eb000134 	bl	a0004f70 <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) {              
a0004a9c:	e59d3000 	ldr	r3, [sp]                                      
a0004aa0:	e3130001 	tst	r3, #1                                        
a0004aa4:	0affffee 	beq	a0004a64 <rtems_termios_txdaemon+0x18>        
      tty->txTaskId = 0;                                              
a0004aa8:	e58470c8 	str	r7, [r4, #200]	; 0xc8                         <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
a0004aac:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0004ab0:	eb000370 	bl	a0005878 <rtems_task_delete>                   <== NOT EXECUTED
a0004ab4:	eaffffea 	b	a0004a64 <rtems_termios_txdaemon+0x18>          <== NOT EXECUTED
                                                                      

a0015bd8 <rtems_timer_server_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
a0015bd8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0015bdc:	e1a06001 	mov	r6, r1                                        
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
a0015be0:	e59f10cc 	ldr	r1, [pc, #204]	; a0015cb4 <rtems_timer_server_fire_after+0xdc>
  rtems_id                           id,                              
  rtems_interval                     ticks,                           
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
a0015be4:	e1a07000 	mov	r7, r0                                        
a0015be8:	e24dd004 	sub	sp, sp, #4                                    
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
a0015bec:	e5914000 	ldr	r4, [r1]                                      
  rtems_id                           id,                              
  rtems_interval                     ticks,                           
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
a0015bf0:	e1a05002 	mov	r5, r2                                        
a0015bf4:	e1a08003 	mov	r8, r3                                        
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
a0015bf8:	e3540000 	cmp	r4, #0                                        
    return RTEMS_INCORRECT_STATE;                                     
a0015bfc:	03a0000e 	moveq	r0, #14                                     
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
a0015c00:	0a000005 	beq	a0015c1c <rtems_timer_server_fire_after+0x44> 
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
a0015c04:	e3520000 	cmp	r2, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a0015c08:	03a00009 	moveq	r0, #9                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
a0015c0c:	0a000002 	beq	a0015c1c <rtems_timer_server_fire_after+0x44> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
a0015c10:	e3560000 	cmp	r6, #0                                        
    return RTEMS_INVALID_NUMBER;                                      
a0015c14:	03a0000a 	moveq	r0, #10                                     
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
a0015c18:	1a000001 	bne	a0015c24 <rtems_timer_server_fire_after+0x4c> 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0015c1c:	e28dd004 	add	sp, sp, #4                                    
a0015c20:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a0015c24:	e59f008c 	ldr	r0, [pc, #140]	; a0015cb8 <rtems_timer_server_fire_after+0xe0>
a0015c28:	e1a01007 	mov	r1, r7                                        
a0015c2c:	e1a0200d 	mov	r2, sp                                        
a0015c30:	eb000afa 	bl	a0018820 <_Objects_Get>                        
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a0015c34:	e59d3000 	ldr	r3, [sp]                                      
a0015c38:	e1a0a000 	mov	sl, r0                                        
a0015c3c:	e3530000 	cmp	r3, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0015c40:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a0015c44:	1afffff4 	bne	a0015c1c <rtems_timer_server_fire_after+0x44> 
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
a0015c48:	e28a0010 	add	r0, sl, #16                                   
a0015c4c:	eb001317 	bl	a001a8b0 <_Watchdog_Remove>                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0015c50:	e10f2000 	mrs	r2, CPSR                                      
a0015c54:	e3823080 	orr	r3, r2, #128	; 0x80                           
a0015c58:	e129f003 	msr	CPSR_fc, r3                                   
        /*                                                            
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
a0015c5c:	e59a3018 	ldr	r3, [sl, #24]                                 
a0015c60:	e3530000 	cmp	r3, #0                                        
a0015c64:	1a00000e 	bne	a0015ca4 <rtems_timer_server_fire_after+0xcc> 
        /*                                                            
         *  OK.  Now we now the timer was not rescheduled by an interrupt
         *  so we can atomically initialize it as in use.             
         */                                                           
                                                                      
        the_timer->the_class = TIMER_INTERVAL_ON_TASK;                
a0015c68:	e3a01001 	mov	r1, #1                                        
a0015c6c:	e58a1038 	str	r1, [sl, #56]	; 0x38                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0015c70:	e58a3018 	str	r3, [sl, #24]                                 
  the_watchdog->routine   = routine;                                  
a0015c74:	e58a502c 	str	r5, [sl, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a0015c78:	e58a7030 	str	r7, [sl, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a0015c7c:	e58a8034 	str	r8, [sl, #52]	; 0x34                          
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
        the_timer->Ticker.initial = ticks;                            
a0015c80:	e58a601c 	str	r6, [sl, #28]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0015c84:	e129f002 	msr	CPSR_fc, r2                                   
      _ISR_Enable( level );                                           
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
a0015c88:	e1a00004 	mov	r0, r4                                        
a0015c8c:	e5943004 	ldr	r3, [r4, #4]                                  
a0015c90:	e1a0100a 	mov	r1, sl                                        
a0015c94:	e12fff33 	blx	r3                                            
                                                                      
      _Thread_Enable_dispatch();                                      
a0015c98:	eb000d33 	bl	a001916c <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a0015c9c:	e3a00000 	mov	r0, #0                                        
a0015ca0:	eaffffdd 	b	a0015c1c <rtems_timer_server_fire_after+0x44>   
a0015ca4:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
          _ISR_Enable( level );                                       
          _Thread_Enable_dispatch();                                  
a0015ca8:	eb000d2f 	bl	a001916c <_Thread_Enable_dispatch>             <== NOT EXECUTED
          return RTEMS_SUCCESSFUL;                                    
a0015cac:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0015cb0:	eaffffd9 	b	a0015c1c <rtems_timer_server_fire_after+0x44>   <== NOT EXECUTED
                                                                      

a00068fc <rtems_verror>: { int local_errno = 0; int chars_written = 0; rtems_status_code status; if (error_flag & RTEMS_ERROR_PANIC) {
a00068fc:	e3100202 	tst	r0, #536870912	; 0x20000000                   
static int rtems_verror(                                              
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
a0006900:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0006904:	e1a04000 	mov	r4, r0                                        
a0006908:	e1a08001 	mov	r8, r1                                        
a000690c:	e1a06002 	mov	r6, r2                                        
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
a0006910:	0a00000d 	beq	a000694c <rtems_verror+0x50>                  
    if (rtems_panic_in_progress++)                                    
a0006914:	e59f212c 	ldr	r2, [pc, #300]	; a0006a48 <rtems_verror+0x14c>
a0006918:	e5921000 	ldr	r1, [r2]                                      
a000691c:	e2813001 	add	r3, r1, #1                                    
a0006920:	e3510000 	cmp	r1, #0                                        
a0006924:	e5823000 	str	r3, [r2]                                      
a0006928:	0a000004 	beq	a0006940 <rtems_verror+0x44>                  
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000692c:	e59f3118 	ldr	r3, [pc, #280]	; a0006a4c <rtems_verror+0x150><== NOT EXECUTED
a0006930:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
a0006934:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a0006938:	e5831000 	str	r1, [r3]                                      <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
a000693c:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
a0006940:	e3530002 	cmp	r3, #2                                        
      return 0;                                                       
a0006944:	c3a06000 	movgt	r6, #0                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
    if (rtems_panic_in_progress++)                                    
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
a0006948:	ca000024 	bgt	a00069e0 <rtems_verror+0xe4>                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
a000694c:	e59f50fc 	ldr	r5, [pc, #252]	; a0006a50 <rtems_verror+0x154>
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
a0006950:	e3c47207 	bic	r7, r4, #1879048192	; 0x70000000              
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
a0006954:	e5953000 	ldr	r3, [r5]                                      
a0006958:	e5930008 	ldr	r0, [r3, #8]                                  
a000695c:	eb0032f2 	bl	a001352c <fflush>                              
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
a0006960:	e2144101 	ands	r4, r4, #1073741824	; 0x40000000             
a0006964:	1a00002a 	bne	a0006a14 <rtems_verror+0x118>                 
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
a0006968:	e5953000 	ldr	r3, [r5]                                      
a000696c:	e1a02006 	mov	r2, r6                                        
a0006970:	e1a01008 	mov	r1, r8                                        
a0006974:	e593000c 	ldr	r0, [r3, #12]                                 
a0006978:	eb004b62 	bl	a0019708 <vfprintf>                            
                                                                      
  if (status)                                                         
a000697c:	e3570000 	cmp	r7, #0                                        
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
a0006980:	e1a06000 	mov	r6, r0                                        
                                                                      
  if (status)                                                         
a0006984:	1a000017 	bne	a00069e8 <rtems_verror+0xec>                  
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
a0006988:	e3540000 	cmp	r4, #0                                        
a000698c:	0a00000b 	beq	a00069c0 <rtems_verror+0xc4>                  
    if ((local_errno > 0) && *strerror(local_errno))                  
a0006990:	da000004 	ble	a00069a8 <rtems_verror+0xac>                  
a0006994:	e1a00004 	mov	r0, r4                                        
a0006998:	eb0036d2 	bl	a00144e8 <strerror>                            
a000699c:	e5d03000 	ldrb	r3, [r0]                                     
a00069a0:	e3530000 	cmp	r3, #0                                        
a00069a4:	1a00001d 	bne	a0006a20 <rtems_verror+0x124>                 
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
a00069a8:	e5953000 	ldr	r3, [r5]                                      
a00069ac:	e59f10a0 	ldr	r1, [pc, #160]	; a0006a54 <rtems_verror+0x158>
a00069b0:	e1a02004 	mov	r2, r4                                        
a00069b4:	e593000c 	ldr	r0, [r3, #12]                                 
a00069b8:	eb0033c1 	bl	a00138c4 <fprintf>                             
a00069bc:	e0866000 	add	r6, r6, r0                                    
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
a00069c0:	e5953000 	ldr	r3, [r5]                                      
a00069c4:	e59f108c 	ldr	r1, [pc, #140]	; a0006a58 <rtems_verror+0x15c>
a00069c8:	e593000c 	ldr	r0, [r3, #12]                                 
a00069cc:	eb0033bc 	bl	a00138c4 <fprintf>                             
                                                                      
  (void) fflush(stderr);                                              
a00069d0:	e5953000 	ldr	r3, [r5]                                      
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
a00069d4:	e0806006 	add	r6, r0, r6                                    
                                                                      
  (void) fflush(stderr);                                              
a00069d8:	e593000c 	ldr	r0, [r3, #12]                                 
a00069dc:	eb0032d2 	bl	a001352c <fflush>                              
                                                                      
  return chars_written;                                               
}                                                                     
a00069e0:	e1a00006 	mov	r0, r6                                        
a00069e4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
a00069e8:	e59f3060 	ldr	r3, [pc, #96]	; a0006a50 <rtems_verror+0x154> 
a00069ec:	e1a00007 	mov	r0, r7                                        
a00069f0:	e5933000 	ldr	r3, [r3]                                      
a00069f4:	e593700c 	ldr	r7, [r3, #12]                                 
a00069f8:	ebffffbb 	bl	a00068ec <rtems_status_text>                   
a00069fc:	e59f1058 	ldr	r1, [pc, #88]	; a0006a5c <rtems_verror+0x160> 
a0006a00:	e1a02000 	mov	r2, r0                                        
a0006a04:	e1a00007 	mov	r0, r7                                        
a0006a08:	eb0033ad 	bl	a00138c4 <fprintf>                             
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
a0006a0c:	e0866000 	add	r6, r6, r0                                    
a0006a10:	eaffffdc 	b	a0006988 <rtems_verror+0x8c>                    
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
    local_errno = errno;                                              
a0006a14:	eb0031cd 	bl	a0013150 <__errno>                             
a0006a18:	e5904000 	ldr	r4, [r0]                                      
a0006a1c:	eaffffd1 	b	a0006968 <rtems_verror+0x6c>                    
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
    if ((local_errno > 0) && *strerror(local_errno))                  
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
a0006a20:	e5953000 	ldr	r3, [r5]                                      
a0006a24:	e1a00004 	mov	r0, r4                                        
a0006a28:	e593400c 	ldr	r4, [r3, #12]                                 
a0006a2c:	eb0036ad 	bl	a00144e8 <strerror>                            
a0006a30:	e59f1028 	ldr	r1, [pc, #40]	; a0006a60 <rtems_verror+0x164> 
a0006a34:	e1a02000 	mov	r2, r0                                        
a0006a38:	e1a00004 	mov	r0, r4                                        
a0006a3c:	eb0033a0 	bl	a00138c4 <fprintf>                             
a0006a40:	e0866000 	add	r6, r6, r0                                    
a0006a44:	eaffffdd 	b	a00069c0 <rtems_verror+0xc4>                    
                                                                      

a0002674 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
a0002674:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002678:	e59fb0fc 	ldr	fp, [pc, #252]	; a000277c <scanInt+0x108>     
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a000267c:	e59fa0fc 	ldr	sl, [pc, #252]	; a0002780 <scanInt+0x10c>     
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0002680:	e59f90fc 	ldr	r9, [pc, #252]	; a0002784 <scanInt+0x110>     
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a0002684:	e24dd004 	sub	sp, sp, #4                                    
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
a0002688:	e3a06000 	mov	r6, #0                                        
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a000268c:	e1a04000 	mov	r4, r0                                        
a0002690:	e58d1000 	str	r1, [sp]                                      
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
a0002694:	e3e07102 	mvn	r7, #-2147483648	; 0x80000000                 
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
a0002698:	e1a05006 	mov	r5, r6                                        
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a000269c:	e3a0800a 	mov	r8, #10                                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00026a0:	e5943004 	ldr	r3, [r4, #4]                                  
a00026a4:	e2433001 	sub	r3, r3, #1                                    
a00026a8:	e3530000 	cmp	r3, #0                                        
a00026ac:	e5843004 	str	r3, [r4, #4]                                  
a00026b0:	ba00001b 	blt	a0002724 <scanInt+0xb0>                       
a00026b4:	e5943000 	ldr	r3, [r4]                                      
a00026b8:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':')                                                     
a00026bc:	e350003a 	cmp	r0, #58	; 0x3a                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00026c0:	e5843000 	str	r3, [r4]                                      
    if (c == ':')                                                     
a00026c4:	0a00001b 	beq	a0002738 <scanInt+0xc4>                       
      break;                                                          
    if (sign == 0) {                                                  
a00026c8:	e3560000 	cmp	r6, #0                                        
a00026cc:	1a000004 	bne	a00026e4 <scanInt+0x70>                       
      if (c == '-') {                                                 
a00026d0:	e350002d 	cmp	r0, #45	; 0x2d                                
        sign = -1;                                                    
        limit++;                                                      
a00026d4:	02877001 	addeq	r7, r7, #1                                  
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
a00026d8:	03e06000 	mvneq	r6, #0                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
a00026dc:	0affffef 	beq	a00026a0 <scanInt+0x2c>                       
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
a00026e0:	e3a06001 	mov	r6, #1                                        
    }                                                                 
    if (!isdigit(c))                                                  
a00026e4:	e59a3000 	ldr	r3, [sl]                                      
a00026e8:	e0833000 	add	r3, r3, r0                                    
a00026ec:	e5d33001 	ldrb	r3, [r3, #1]                                 
a00026f0:	e2133004 	ands	r3, r3, #4                                   
a00026f4:	0a00001e 	beq	a0002774 <scanInt+0x100>                      
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a00026f8:	e0832799 	umull	r2, r3, r9, r7                              
a00026fc:	e15501a3 	cmp	r5, r3, lsr #3                                
a0002700:	8a000018 	bhi	a0002768 <scanInt+0xf4>                       
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
a0002704:	e2400030 	sub	r0, r0, #48	; 0x30                            
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
a0002708:	0a000012 	beq	a0002758 <scanInt+0xe4>                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a000270c:	e5943004 	ldr	r3, [r4, #4]                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a0002710:	e0250598 	mla	r5, r8, r5, r0                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002714:	e2433001 	sub	r3, r3, #1                                    
a0002718:	e3530000 	cmp	r3, #0                                        
a000271c:	e5843004 	str	r3, [r4, #4]                                  
a0002720:	aaffffe3 	bge	a00026b4 <scanInt+0x40>                       
a0002724:	e59b0000 	ldr	r0, [fp]                                      <== NOT EXECUTED
a0002728:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000272c:	eb00364b 	bl	a0010060 <__srget_r>                           <== NOT EXECUTED
    if (c == ':')                                                     
a0002730:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
a0002734:	1affffe3 	bne	a00026c8 <scanInt+0x54>                       <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
a0002738:	e3560000 	cmp	r6, #0                                        
    return 0;                                                         
a000273c:	01a00006 	moveq	r0, r6                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
a0002740:	0a000009 	beq	a000276c <scanInt+0xf8>                       
    return 0;                                                         
  *val = i * sign;                                                    
a0002744:	e0050596 	mul	r5, r6, r5                                    
a0002748:	e59d3000 	ldr	r3, [sp]                                      
  return 1;                                                           
a000274c:	e3a00001 	mov	r0, #1                                        
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
a0002750:	e5835000 	str	r5, [r3]                                      
  return 1;                                                           
a0002754:	ea000004 	b	a000276c <scanInt+0xf8>                         
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
a0002758:	e0030598 	mul	r3, r8, r5                                    <== NOT EXECUTED
a000275c:	e0633007 	rsb	r3, r3, r7                                    <== NOT EXECUTED
a0002760:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0002764:	9affffe8 	bls	a000270c <scanInt+0x98>                       <== NOT EXECUTED
      return 0;                                                       
a0002768:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
a000276c:	e28dd004 	add	sp, sp, #4                                    
a0002770:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
a0002774:	e1a00003 	mov	r0, r3                                        
a0002778:	eafffffb 	b	a000276c <scanInt+0xf8>                         
                                                                      

a0002788 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
a0002788:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000278c:	e1a05002 	mov	r5, r2                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a0002790:	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)
{                                                                     
a0002794:	e59d7018 	ldr	r7, [sp, #24]                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002798:	e59f60d8 	ldr	r6, [pc, #216]	; a0002878 <scanString+0xf0>   
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
a000279c:	e1a04000 	mov	r4, r0                                        
a00027a0:	e1a08003 	mov	r8, r3                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a00027a4:	e5812000 	str	r2, [r1]                                      
a00027a8:	ea000013 	b	a00027fc <scanString+0x74>                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00027ac:	e5943000 	ldr	r3, [r4]                                      
a00027b0:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':') {                                                   
a00027b4:	e350003a 	cmp	r0, #58	; 0x3a                                
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00027b8:	e5843000 	str	r3, [r4]                                      
    if (c == ':') {                                                   
a00027bc:	0a000018 	beq	a0002824 <scanString+0x9c>                    
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
a00027c0:	e350000a 	cmp	r0, #10                                       
a00027c4:	0a000025 	beq	a0002860 <scanString+0xd8>                    
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
a00027c8:	e3700001 	cmn	r0, #1                                        
a00027cc:	0a000021 	beq	a0002858 <scanString+0xd0>                    
      return 0;                                                       
    if (*nleft < 2)                                                   
a00027d0:	e5983000 	ldr	r3, [r8]                                      
a00027d4:	e3530001 	cmp	r3, #1                                        
a00027d8:	9a000024 	bls	a0002870 <scanString+0xe8>                    
      return 0;                                                       
    **bufp = c;                                                       
a00027dc:	e5953000 	ldr	r3, [r5]                                      
a00027e0:	e5c30000 	strb	r0, [r3]                                     
    ++(*bufp);                                                        
a00027e4:	e5952000 	ldr	r2, [r5]                                      
    --(*nleft);                                                       
a00027e8:	e5983000 	ldr	r3, [r8]                                      
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a00027ec:	e2822001 	add	r2, r2, #1                                    
    --(*nleft);                                                       
a00027f0:	e2433001 	sub	r3, r3, #1                                    
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a00027f4:	e5852000 	str	r2, [r5]                                      
    --(*nleft);                                                       
a00027f8:	e5883000 	str	r3, [r8]                                      
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00027fc:	e5943004 	ldr	r3, [r4, #4]                                  
a0002800:	e2433001 	sub	r3, r3, #1                                    
a0002804:	e3530000 	cmp	r3, #0                                        
a0002808:	e5843004 	str	r3, [r4, #4]                                  
a000280c:	aaffffe6 	bge	a00027ac <scanString+0x24>                    
a0002810:	e5960000 	ldr	r0, [r6]                                      
a0002814:	e1a01004 	mov	r1, r4                                        
a0002818:	eb003610 	bl	a0010060 <__srget_r>                           
    if (c == ':') {                                                   
a000281c:	e350003a 	cmp	r0, #58	; 0x3a                                
a0002820:	1affffe6 	bne	a00027c0 <scanString+0x38>                    
        if (nlFlag)                                                   
a0002824:	e3570000 	cmp	r7, #0                                        
a0002828:	1a00000a 	bne	a0002858 <scanString+0xd0>                    
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a000282c:	e5953000 	ldr	r3, [r5]                                      
a0002830:	e3a02000 	mov	r2, #0                                        
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
a0002834:	e3a00001 	mov	r0, #1                                        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a0002838:	e5c32000 	strb	r2, [r3]                                     
  ++(*bufp);                                                          
a000283c:	e5952000 	ldr	r2, [r5]                                      
  --(*nleft);                                                         
a0002840:	e5983000 	ldr	r3, [r8]                                      
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a0002844:	e0822000 	add	r2, r2, r0                                    
  --(*nleft);                                                         
a0002848:	e2433001 	sub	r3, r3, #1                                    
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a000284c:	e5852000 	str	r2, [r5]                                      
  --(*nleft);                                                         
a0002850:	e5883000 	str	r3, [r8]                                      
  return 1;                                                           
a0002854:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
a0002858:	e3a00000 	mov	r0, #0                                        
a000285c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
a0002860:	e3570000 	cmp	r7, #0                                        
a0002864:	1afffff0 	bne	a000282c <scanString+0xa4>                    
            return 0;                                                 
a0002868:	e1a00007 	mov	r0, r7                                        
a000286c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
a0002870:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
a0002874:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a000287c <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
a000287c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0002880:	e24dd014 	sub	sp, sp, #20                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002884:	e28d5008 	add	r5, sp, #8                                    
a0002888:	e28d4004 	add	r4, sp, #4                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a000288c:	e58d2008 	str	r2, [sp, #8]                                  
a0002890:	e58d3004 	str	r3, [sp, #4]                                  
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002894:	e3a06000 	mov	r6, #0                                        
a0002898:	e1a02005 	mov	r2, r5                                        
a000289c:	e1a03004 	mov	r3, r4                                        
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a00028a0:	e1a07000 	mov	r7, r0                                        
a00028a4:	e1a08001 	mov	r8, r1                                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a00028a8:	e58d6000 	str	r6, [sp]                                      
a00028ac:	ebffffb5 	bl	a0002788 <scanString>                          
a00028b0:	e3500000 	cmp	r0, #0                                        
a00028b4:	1a000001 	bne	a00028c0 <scangr+0x44>                        
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
a00028b8:	e28dd014 	add	sp, sp, #20                                   
a00028bc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
a00028c0:	e1a00007 	mov	r0, r7                                        
a00028c4:	e2881004 	add	r1, r8, #4                                    
a00028c8:	e1a02005 	mov	r2, r5                                        
a00028cc:	e1a03004 	mov	r3, r4                                        
a00028d0:	e58d6000 	str	r6, [sp]                                      
a00028d4:	ebffffab 	bl	a0002788 <scanString>                          
a00028d8:	e3500000 	cmp	r0, #0                                        
a00028dc:	0afffff5 	beq	a00028b8 <scangr+0x3c>                        
   || !scanInt(fp, &grgid)                                            
a00028e0:	e1a00007 	mov	r0, r7                                        
a00028e4:	e28d1010 	add	r1, sp, #16                                   
a00028e8:	ebffff61 	bl	a0002674 <scanInt>                             
a00028ec:	e3500000 	cmp	r0, #0                                        
a00028f0:	0afffff0 	beq	a00028b8 <scangr+0x3c>                        
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
a00028f4:	e3a06001 	mov	r6, #1                                        
a00028f8:	e1a00007 	mov	r0, r7                                        
a00028fc:	e28d100c 	add	r1, sp, #12                                   
a0002900:	e1a02005 	mov	r2, r5                                        
a0002904:	e1a03004 	mov	r3, r4                                        
a0002908:	e58d6000 	str	r6, [sp]                                      
a000290c:	ebffff9d 	bl	a0002788 <scanString>                          
a0002910:	e3500000 	cmp	r0, #0                                        
a0002914:	0affffe7 	beq	a00028b8 <scangr+0x3c>                        
    return 0;                                                         
  grp->gr_gid = grgid;                                                
a0002918:	e1dd31b0 	ldrh	r3, [sp, #16]                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a000291c:	e59d100c 	ldr	r1, [sp, #12]                                 
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
a0002920:	e1c830b8 	strh	r3, [r8, #8]                                 
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002924:	e5d13000 	ldrb	r3, [r1]                                     
a0002928:	e3530000 	cmp	r3, #0                                        
a000292c:	03a06017 	moveq	r6, #23                                     
a0002930:	0a000007 	beq	a0002954 <scangr+0xd8>                        
a0002934:	e1a02001 	mov	r2, r1                                        
    if(*cp == ',')                                                    
a0002938:	e353002c 	cmp	r3, #44	; 0x2c                                
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a000293c:	e5f23001 	ldrb	r3, [r2, #1]!                                
    if(*cp == ',')                                                    
      memcount++;                                                     
a0002940:	02866001 	addeq	r6, r6, #1                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002944:	e3530000 	cmp	r3, #0                                        
a0002948:	1afffffa 	bne	a0002938 <scangr+0xbc>                        
a000294c:	e1a06106 	lsl	r6, r6, #2                                    
a0002950:	e2866013 	add	r6, r6, #19                                   
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
a0002954:	e59d3004 	ldr	r3, [sp, #4]                                  
a0002958:	e1530006 	cmp	r3, r6                                        
    return 0;                                                         
a000295c:	33a00000 	movcc	r0, #0                                      
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
a0002960:	3affffd4 	bcc	a00028b8 <scangr+0x3c>                        
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
a0002964:	e59d0008 	ldr	r0, [sp, #8]                                  
a0002968:	e280000f 	add	r0, r0, #15                                   
a000296c:	e3c0000f 	bic	r0, r0, #15                                   
a0002970:	e588000c 	str	r0, [r8, #12]                                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
a0002974:	e5801000 	str	r1, [r0]                                      
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002978:	e59d200c 	ldr	r2, [sp, #12]                                 
a000297c:	e5d23000 	ldrb	r3, [r2]                                     
a0002980:	e3530000 	cmp	r3, #0                                        
a0002984:	0a000010 	beq	a00029cc <scangr+0x150>                       
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
a0002988:	e2822001 	add	r2, r2, #1                                    
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a000298c:	e3a01001 	mov	r1, #1                                        
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
a0002990:	e3a00000 	mov	r0, #0                                        
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
a0002994:	e353002c 	cmp	r3, #44	; 0x2c                                
      *cp = '\0';                                                     
a0002998:	05420001 	strbeq	r0, [r2, #-1]                              
      grp->gr_mem[memcount++] = cp + 1;                               
a000299c:	0598300c 	ldreq	r3, [r8, #12]                               
a00029a0:	07832101 	streq	r2, [r3, r1, lsl #2]                        
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00029a4:	e4d23001 	ldrb	r3, [r2], #1                                 
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
a00029a8:	02811001 	addeq	r1, r1, #1                                  
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00029ac:	e3530000 	cmp	r3, #0                                        
a00029b0:	1afffff7 	bne	a0002994 <scangr+0x118>                       
a00029b4:	e598000c 	ldr	r0, [r8, #12]                                 
a00029b8:	e1a01101 	lsl	r1, r1, #2                                    
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
a00029bc:	e3a03000 	mov	r3, #0                                        
a00029c0:	e7803001 	str	r3, [r0, r1]                                  
  return 1;                                                           
a00029c4:	e3a00001 	mov	r0, #1                                        
a00029c8:	eaffffba 	b	a00028b8 <scangr+0x3c>                          
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00029cc:	e3a01004 	mov	r1, #4                                        <== NOT EXECUTED
a00029d0:	eafffff9 	b	a00029bc <scangr+0x140>                         <== NOT EXECUTED
                                                                      

a000867c <sem_timedwait>: int sem_timedwait( sem_t *sem, const struct timespec *abstime ) {
a000867c:	e92d4010 	push	{r4, lr}                                     
a0008680:	e24dd004 	sub	sp, sp, #4                                    
a0008684:	e1a04000 	mov	r4, r0                                        
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
a0008688:	e1a00001 	mov	r0, r1                                        
a000868c:	e1a0100d 	mov	r1, sp                                        
a0008690:	eb00164d 	bl	a000dfcc <_POSIX_Absolute_timeout_to_ticks>    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
a0008694:	e3500003 	cmp	r0, #3                                        
a0008698:	0a000005 	beq	a00086b4 <sem_timedwait+0x38>                 
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
a000869c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00086a0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00086a4:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
a00086a8:	eb001960 	bl	a000ec30 <_POSIX_Semaphore_Wait_support>       <== NOT EXECUTED
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
a00086ac:	e28dd004 	add	sp, sp, #4                                    
a00086b0:	e8bd8010 	pop	{r4, pc}                                      
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
a00086b4:	e1a00004 	mov	r0, r4                                        
a00086b8:	e3a01001 	mov	r1, #1                                        
a00086bc:	e59d2000 	ldr	r2, [sp]                                      
a00086c0:	eb00195a 	bl	a000ec30 <_POSIX_Semaphore_Wait_support>       
a00086c4:	eafffff8 	b	a00086ac <sem_timedwait+0x30>                   
                                                                      

a0005ebc <sigaction>: struct sigaction *oact ) { ISR_Level level; if ( oact )
a0005ebc:	e3520000 	cmp	r2, #0                                        
int sigaction(                                                        
  int                     sig,                                        
  const struct sigaction *act,                                        
  struct sigaction       *oact                                        
)                                                                     
{                                                                     
a0005ec0:	e92d4070 	push	{r4, r5, r6, lr}                             
a0005ec4:	e1a04000 	mov	r4, r0                                        
a0005ec8:	e1a05001 	mov	r5, r1                                        
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
a0005ecc:	0a00000a 	beq	a0005efc <sigaction+0x40>                     
    *oact = _POSIX_signals_Vectors[ sig ];                            
a0005ed0:	e3a0100c 	mov	r1, #12                                       
a0005ed4:	e59f00ec 	ldr	r0, [pc, #236]	; a0005fc8 <sigaction+0x10c>   
a0005ed8:	e0010194 	mul	r1, r4, r1                                    
a0005edc:	e1a03002 	mov	r3, r2                                        
a0005ee0:	e790c001 	ldr	ip, [r0, r1]                                  
a0005ee4:	e0801001 	add	r1, r0, r1                                    
a0005ee8:	e483c004 	str	ip, [r3], #4                                  
a0005eec:	e5910004 	ldr	r0, [r1, #4]                                  
a0005ef0:	e5820004 	str	r0, [r2, #4]                                  
a0005ef4:	e5912008 	ldr	r2, [r1, #8]                                  
a0005ef8:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  if ( !sig )                                                         
a0005efc:	e3540000 	cmp	r4, #0                                        
a0005f00:	0a00002b 	beq	a0005fb4 <sigaction+0xf8>                     
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
a0005f04:	e2443001 	sub	r3, r4, #1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
a0005f08:	e353001f 	cmp	r3, #31                                       
a0005f0c:	8a000028 	bhi	a0005fb4 <sigaction+0xf8>                     
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
a0005f10:	e3540009 	cmp	r4, #9                                        
a0005f14:	0a000026 	beq	a0005fb4 <sigaction+0xf8>                     
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
a0005f18:	e3550000 	cmp	r5, #0                                        
a0005f1c:	0a000022 	beq	a0005fac <sigaction+0xf0>                     
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0005f20:	e10f6000 	mrs	r6, CPSR                                      
a0005f24:	e3863080 	orr	r3, r6, #128	; 0x80                           
a0005f28:	e129f003 	msr	CPSR_fc, r3                                   
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
a0005f2c:	e5953008 	ldr	r3, [r5, #8]                                  
a0005f30:	e3530000 	cmp	r3, #0                                        
a0005f34:	0a00000f 	beq	a0005f78 <sigaction+0xbc>                     
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
a0005f38:	e1a00004 	mov	r0, r4                                        
a0005f3c:	eb001724 	bl	a000bbd4 <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
a0005f40:	e1a03005 	mov	r3, r5                                        
a0005f44:	e3a0000c 	mov	r0, #12                                       
a0005f48:	e4931004 	ldr	r1, [r3], #4                                  
a0005f4c:	e59f2074 	ldr	r2, [pc, #116]	; a0005fc8 <sigaction+0x10c>   
a0005f50:	e0040490 	mul	r4, r0, r4                                    
a0005f54:	e7821004 	str	r1, [r2, r4]                                  
a0005f58:	e5951004 	ldr	r1, [r5, #4]                                  
a0005f5c:	e0824004 	add	r4, r2, r4                                    
a0005f60:	e5841004 	str	r1, [r4, #4]                                  
a0005f64:	e5933004 	ldr	r3, [r3, #4]                                  
a0005f68:	e5843008 	str	r3, [r4, #8]                                  
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0005f6c:	e129f006 	msr	CPSR_fc, r6                                   
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
a0005f70:	e3a00000 	mov	r0, #0                                        
a0005f74:	e8bd8070 	pop	{r4, r5, r6, pc}                              
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
a0005f78:	e3a0300c 	mov	r3, #12                                       
a0005f7c:	e0040493 	mul	r4, r3, r4                                    
a0005f80:	e59f1044 	ldr	r1, [pc, #68]	; a0005fcc <sigaction+0x110>    
a0005f84:	e59f203c 	ldr	r2, [pc, #60]	; a0005fc8 <sigaction+0x10c>    
a0005f88:	e0813004 	add	r3, r1, r4                                    
a0005f8c:	e791c004 	ldr	ip, [r1, r4]                                  
a0005f90:	e9930003 	ldmib	r3, {r0, r1}                                
a0005f94:	e0823004 	add	r3, r2, r4                                    
a0005f98:	e782c004 	str	ip, [r2, r4]                                  
a0005f9c:	e9830003 	stmib	r3, {r0, r1}                                
a0005fa0:	e129f006 	msr	CPSR_fc, r6                                   
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
a0005fa4:	e3a00000 	mov	r0, #0                                        
a0005fa8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a0005fac:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
}                                                                     
a0005fb0:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0005fb4:	eb002379 	bl	a000eda0 <__errno>                             
a0005fb8:	e3a03016 	mov	r3, #22                                       
a0005fbc:	e5803000 	str	r3, [r0]                                      
a0005fc0:	e3e00000 	mvn	r0, #0                                        
a0005fc4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a0008404 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
a0008404:	e92d4010 	push	{r4, lr}                                     
a0008408:	e1a04001 	mov	r4, r1                                        
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
a000840c:	e3a01000 	mov	r1, #0                                        
a0008410:	e1a02001 	mov	r2, r1                                        
a0008414:	ebffff8a 	bl	a0008244 <sigtimedwait>                        
                                                                      
  if ( status != -1 ) {                                               
a0008418:	e3700001 	cmn	r0, #1                                        
a000841c:	0a000004 	beq	a0008434 <sigwait+0x30>                       
    if ( sig )                                                        
a0008420:	e3540000 	cmp	r4, #0                                        
a0008424:	0a000005 	beq	a0008440 <sigwait+0x3c>                       
      *sig = status;                                                  
a0008428:	e5840000 	str	r0, [r4]                                      
    return 0;                                                         
a000842c:	e3a00000 	mov	r0, #0                                        
a0008430:	e8bd8010 	pop	{r4, pc}                                      
  }                                                                   
                                                                      
  return errno;                                                       
a0008434:	eb0022d3 	bl	a0010f88 <__errno>                             
a0008438:	e5900000 	ldr	r0, [r0]                                      
a000843c:	e8bd8010 	pop	{r4, pc}                                      
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
a0008440:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return errno;                                                       
}                                                                     
a0008444:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0004018 <siproc>: int i; /* * Obtain output semaphore if character will be echoed */ if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a0004018:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          
a000401c:	e3a03ee7 	mov	r3, #3696	; 0xe70                             
a0004020:	e2833008 	add	r3, r3, #8                                    
a0004024:	e0023003 	and	r3, r2, r3                                    
a0004028:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
a000402c:	e92d4030 	push	{r4, r5, lr}                                 
a0004030:	e1a04001 	mov	r4, r1                                        
a0004034:	e1a05000 	mov	r5, r0                                        
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a0004038:	1a000001 	bne	a0004044 <siproc+0x2c>                        
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
a000403c:	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);                                               
a0004040:	eaffff7d 	b	a0003e3c <iproc>                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
a0004044:	e3a01000 	mov	r1, #0                                        
a0004048:	e1a02001 	mov	r2, r1                                        
a000404c:	e5940018 	ldr	r0, [r4, #24]                                 
a0004050:	eb000546 	bl	a0005570 <rtems_semaphore_obtain>              
    i = iproc (c, tty);                                               
a0004054:	e1a01004 	mov	r1, r4                                        
a0004058:	e1a00005 	mov	r0, r5                                        
a000405c:	ebffff76 	bl	a0003e3c <iproc>                               
a0004060:	e1a05000 	mov	r5, r0                                        
    rtems_semaphore_release (tty->osem);                              
a0004064:	e5940018 	ldr	r0, [r4, #24]                                 
a0004068:	eb000589 	bl	a0005694 <rtems_semaphore_release>             
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
a000406c:	e1a00005 	mov	r0, r5                                        
a0004070:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a0005bf4 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
a0005bf4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0005bf8:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a0005bfc:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
a0005c00:	ebfff46f 	bl	a0002dc4 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a0005c04:	e2505000 	subs	r5, r0, #0                                   
a0005c08:	1a00003a 	bne	a0005cf8 <unlink+0x104>                       
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
a0005c0c:	e28d4018 	add	r4, sp, #24                                   
a0005c10:	e1a00007 	mov	r0, r7                                        
a0005c14:	e28d102c 	add	r1, sp, #44	; 0x2c                            
a0005c18:	e1a02004 	mov	r2, r4                                        
a0005c1c:	ebfff884 	bl	a0003e34 <rtems_filesystem_get_start_loc>      
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
a0005c20:	e1a06005 	mov	r6, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a0005c24:	e28dc004 	add	ip, sp, #4                                    
a0005c28:	e1a0e004 	mov	lr, r4                                        
a0005c2c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0005c30:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0005c34:	e59e3000 	ldr	r3, [lr]                                      
  name = path + parentpathlen;                                        
a0005c38:	e0875005 	add	r5, r7, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0005c3c:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a0005c40:	e58c3000 	str	r3, [ip]                                      
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0005c44:	eb00335b 	bl	a00129b8 <strlen>                              
a0005c48:	e1a01000 	mov	r1, r0                                        
a0005c4c:	e1a00005 	mov	r0, r5                                        
a0005c50:	ebfff46a 	bl	a0002e00 <rtems_filesystem_prefix_separators>  
a0005c54:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0005c58:	e1a00007 	mov	r0, r7                                        
a0005c5c:	eb003355 	bl	a00129b8 <strlen>                              
a0005c60:	e28d5004 	add	r5, sp, #4                                    
a0005c64:	e1a01000 	mov	r1, r0                                        
a0005c68:	e3a02000 	mov	r2, #0                                        
a0005c6c:	e1a00007 	mov	r0, r7                                        
a0005c70:	e1a03005 	mov	r3, r5                                        
a0005c74:	e58d2000 	str	r2, [sp]                                      
a0005c78:	ebfff405 	bl	a0002c94 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a0005c7c:	e3500000 	cmp	r0, #0                                        
a0005c80:	1a000014 	bne	a0005cd8 <unlink+0xe4>                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
a0005c84:	e59d3010 	ldr	r3, [sp, #16]                                 
a0005c88:	e1a00005 	mov	r0, r5                                        
a0005c8c:	e5933010 	ldr	r3, [r3, #16]                                 
a0005c90:	e12fff33 	blx	r3                                            
a0005c94:	e3500001 	cmp	r0, #1                                        
a0005c98:	0a000022 	beq	a0005d28 <unlink+0x134>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
a0005c9c:	e59d3010 	ldr	r3, [sp, #16]                                 
a0005ca0:	e1a01005 	mov	r1, r5                                        
a0005ca4:	e1a00004 	mov	r0, r4                                        
a0005ca8:	e593300c 	ldr	r3, [r3, #12]                                 
a0005cac:	e12fff33 	blx	r3                                            
a0005cb0:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0005cb4:	e1a00005 	mov	r0, r5                                        
a0005cb8:	ebfff46a 	bl	a0002e68 <rtems_filesystem_freenode>           
  if ( free_parentloc )                                               
a0005cbc:	e3560000 	cmp	r6, #0                                        
a0005cc0:	0a000001 	beq	a0005ccc <unlink+0xd8>                        
    rtems_filesystem_freenode( &parentloc );                          
a0005cc4:	e1a00004 	mov	r0, r4                                        
a0005cc8:	ebfff466 	bl	a0002e68 <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
}                                                                     
a0005ccc:	e1a00007 	mov	r0, r7                                        
a0005cd0:	e28dd030 	add	sp, sp, #48	; 0x30                            
a0005cd4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
a0005cd8:	e3560000 	cmp	r6, #0                                        
a0005cdc:	1a000001 	bne	a0005ce8 <unlink+0xf4>                        
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
a0005ce0:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0005ce4:	eafffff8 	b	a0005ccc <unlink+0xd8>                          <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
a0005ce8:	e1a00004 	mov	r0, r4                                        
a0005cec:	ebfff45d 	bl	a0002e68 <rtems_filesystem_freenode>           
    return -1;                                                        
a0005cf0:	e3e07000 	mvn	r7, #0                                        
a0005cf4:	eafffff4 	b	a0005ccc <unlink+0xd8>                          
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
a0005cf8:	e3a03000 	mov	r3, #0                                        
a0005cfc:	e28d4018 	add	r4, sp, #24                                   
a0005d00:	e58d3000 	str	r3, [sp]                                      
a0005d04:	e3a02002 	mov	r2, #2                                        
a0005d08:	e1a00007 	mov	r0, r7                                        
a0005d0c:	e1a01005 	mov	r1, r5                                        
a0005d10:	e1a03004 	mov	r3, r4                                        
a0005d14:	ebfff408 	bl	a0002d3c <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
a0005d18:	e3500000 	cmp	r0, #0                                        
a0005d1c:	1affffef 	bne	a0005ce0 <unlink+0xec>                        
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
a0005d20:	e3a06001 	mov	r6, #1                                        
a0005d24:	eaffffbe 	b	a0005c24 <unlink+0x30>                          
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
a0005d28:	e1a00005 	mov	r0, r5                                        
a0005d2c:	ebfff44d 	bl	a0002e68 <rtems_filesystem_freenode>           
    if ( free_parentloc )                                             
a0005d30:	e3560000 	cmp	r6, #0                                        
a0005d34:	0a000001 	beq	a0005d40 <unlink+0x14c>                       
      rtems_filesystem_freenode( &parentloc );                        
a0005d38:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0005d3c:	ebfff449 	bl	a0002e68 <rtems_filesystem_freenode>           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a0005d40:	eb002f57 	bl	a0011aa4 <__errno>                             
a0005d44:	e3a03015 	mov	r3, #21                                       
a0005d48:	e5803000 	str	r3, [r0]                                      
a0005d4c:	e3e07000 	mvn	r7, #0                                        
a0005d50:	eaffffdd 	b	a0005ccc <unlink+0xd8>                          
                                                                      

a0005d90 <unmount>: */ int unmount( const char *path ) {
a0005d90:	e92d4070 	push	{r4, r5, r6, lr}                             
a0005d94:	e24dd018 	sub	sp, sp, #24                                   
a0005d98:	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 ) )
a0005d9c:	eb0027fb 	bl	a000fd90 <strlen>                              
a0005da0:	e28d4004 	add	r4, sp, #4                                    
a0005da4:	e1a01000 	mov	r1, r0                                        
a0005da8:	e3a0c001 	mov	ip, #1                                        
a0005dac:	e1a00005 	mov	r0, r5                                        
a0005db0:	e3a02000 	mov	r2, #0                                        
a0005db4:	e1a03004 	mov	r3, r4                                        
a0005db8:	e58dc000 	str	ip, [sp]                                      
a0005dbc:	ebfff340 	bl	a0002ac4 <rtems_filesystem_evaluate_path>      
a0005dc0:	e3500000 	cmp	r0, #0                                        
a0005dc4:	1a00001a 	bne	a0005e34 <unmount+0xa4>                       
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
a0005dc8:	e59d5014 	ldr	r5, [sp, #20]                                 
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
a0005dcc:	e59d3004 	ldr	r3, [sp, #4]                                  
a0005dd0:	e595201c 	ldr	r2, [r5, #28]                                 
a0005dd4:	e1520003 	cmp	r2, r3                                        
a0005dd8:	1a00002d 	bne	a0005e94 <unmount+0x104>                      
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0005ddc:	e1a00004 	mov	r0, r4                                        
a0005de0:	ebfff382 	bl	a0002bf0 <rtems_filesystem_freenode>           
   *        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 )                
a0005de4:	e59f30f8 	ldr	r3, [pc, #248]	; a0005ee4 <unmount+0x154>     
a0005de8:	e5933000 	ldr	r3, [r3]                                      
a0005dec:	e5933014 	ldr	r3, [r3, #20]                                 
a0005df0:	e1530005 	cmp	r3, r5                                        
a0005df4:	0a00002d 	beq	a0005eb0 <unmount+0x120>                      
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
a0005df8:	e59f00e8 	ldr	r0, [pc, #232]	; a0005ee8 <unmount+0x158>     
a0005dfc:	e595102c 	ldr	r1, [r5, #44]	; 0x2c                          
a0005e00:	ebfff5de 	bl	a0003580 <rtems_filesystem_mount_iterate>      
a0005e04:	e3500000 	cmp	r0, #0                                        
a0005e08:	1a000028 	bne	a0005eb0 <unmount+0x120>                      
   *  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 )             
a0005e0c:	e1a00005 	mov	r0, r5                                        
a0005e10:	ebfff47e 	bl	a0003010 <rtems_libio_is_open_files_in_fs>     
a0005e14:	e3500001 	cmp	r0, #1                                        
a0005e18:	0a000024 	beq	a0005eb0 <unmount+0x120>                      
   * 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 )             
a0005e1c:	e5953014 	ldr	r3, [r5, #20]                                 
a0005e20:	e1a00005 	mov	r0, r5                                        
a0005e24:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0005e28:	e12fff33 	blx	r3                                            
a0005e2c:	e2506000 	subs	r6, r0, #0                                   
a0005e30:	0a000002 	beq	a0005e40 <unmount+0xb0>                       
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
      rtems_fatal_error_occurred( 0 );                                
    return -1;                                                        
a0005e34:	e3e00000 	mvn	r0, #0                                        
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0005e38:	e28dd018 	add	sp, sp, #24                                   
a0005e3c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   *  NOTE:  Fatal error is called in a case which should never happen
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
a0005e40:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a0005e44:	e1a00005 	mov	r0, r5                                        
a0005e48:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
a0005e4c:	e12fff33 	blx	r3                                            
a0005e50:	e2504000 	subs	r4, r0, #0                                   
a0005e54:	1a00001a 	bne	a0005ec4 <unmount+0x134>                      
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a0005e58:	e59f608c 	ldr	r6, [pc, #140]	; a0005eec <unmount+0x15c>     
a0005e5c:	e1a01004 	mov	r1, r4                                        
a0005e60:	e1a02004 	mov	r2, r4                                        
a0005e64:	e5960000 	ldr	r0, [r6]                                      
a0005e68:	eb000294 	bl	a00068c0 <rtems_semaphore_obtain>              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a0005e6c:	e1a00005 	mov	r0, r5                                        
a0005e70:	eb0004f4 	bl	a0007248 <_Chain_Extract>                      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a0005e74:	e5960000 	ldr	r0, [r6]                                      
a0005e78:	eb0002d9 	bl	a00069e4 <rtems_semaphore_release>             
  /*                                                                  
   *  Free the memory node that was allocated in mount                
   *  Free the memory associated with the extracted mount table entry.
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
a0005e7c:	e2850008 	add	r0, r5, #8                                    
a0005e80:	ebfff35a 	bl	a0002bf0 <rtems_filesystem_freenode>           
  free( mt_entry );                                                   
a0005e84:	e1a00005 	mov	r0, r5                                        
a0005e88:	ebfff35d 	bl	a0002c04 <free>                                
                                                                      
  return 0;                                                           
a0005e8c:	e1a00004 	mov	r0, r4                                        
a0005e90:	eaffffe8 	b	a0005e38 <unmount+0xa8>                         
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
a0005e94:	e1a00004 	mov	r0, r4                                        
a0005e98:	ebfff354 	bl	a0002bf0 <rtems_filesystem_freenode>           
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0005e9c:	eb00223f 	bl	a000e7a0 <__errno>                             
a0005ea0:	e3a0300d 	mov	r3, #13                                       
a0005ea4:	e5803000 	str	r3, [r0]                                      
a0005ea8:	e3e00000 	mvn	r0, #0                                        
a0005eac:	eaffffe1 	b	a0005e38 <unmount+0xa8>                         
   *  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 );                    
a0005eb0:	eb00223a 	bl	a000e7a0 <__errno>                             
a0005eb4:	e3a03010 	mov	r3, #16                                       
a0005eb8:	e5803000 	str	r3, [r0]                                      
a0005ebc:	e3e00000 	mvn	r0, #0                                        
a0005ec0:	eaffffdc 	b	a0005e38 <unmount+0xa8>                         
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
a0005ec4:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
a0005ec8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0005ecc:	e5933020 	ldr	r3, [r3, #32]                                 <== NOT EXECUTED
a0005ed0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0005ed4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0005ed8:	0affffd5 	beq	a0005e34 <unmount+0xa4>                       <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
a0005edc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0005ee0:	eb000403 	bl	a0006ef4 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0005ee4 <utime>: int utime( const char *path, const struct utimbuf *times ) {
a0005ee4:	e92d4070 	push	{r4, r5, r6, lr}                             
a0005ee8:	e24dd018 	sub	sp, sp, #24                                   
a0005eec:	e1a05001 	mov	r5, r1                                        
a0005ef0:	e1a06000 	mov	r6, r0                                        
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
a0005ef4:	eb0029ff 	bl	a00106f8 <strlen>                              
a0005ef8:	e28d4004 	add	r4, sp, #4                                    
a0005efc:	e3a03001 	mov	r3, #1                                        
a0005f00:	e1a01000 	mov	r1, r0                                        
a0005f04:	e58d3000 	str	r3, [sp]                                      
a0005f08:	e3a02000 	mov	r2, #0                                        
a0005f0c:	e1a00006 	mov	r0, r6                                        
a0005f10:	e1a03004 	mov	r3, r4                                        
a0005f14:	ebfff1f4 	bl	a00026ec <rtems_filesystem_evaluate_path>      
a0005f18:	e3500000 	cmp	r0, #0                                        
    return -1;                                                        
a0005f1c:	13e05000 	mvnne	r5, #0                                      
{                                                                     
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
a0005f20:	1a000009 	bne	a0005f4c <utime+0x68>                         
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
a0005f24:	e3550000 	cmp	r5, #0                                        
a0005f28:	0a00000a 	beq	a0005f58 <utime+0x74>                         
a0005f2c:	e8950006 	ldm	r5, {r1, r2}                                  
    now.actime = now.modtime = time( NULL );                          
    times = &now;                                                     
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
a0005f30:	e59d3010 	ldr	r3, [sp, #16]                                 
a0005f34:	e1a00004 	mov	r0, r4                                        
a0005f38:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a0005f3c:	e12fff33 	blx	r3                                            
a0005f40:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0005f44:	e1a00004 	mov	r0, r4                                        
a0005f48:	ebfff316 	bl	a0002ba8 <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
}                                                                     
a0005f4c:	e1a00005 	mov	r0, r5                                        
a0005f50:	e28dd018 	add	sp, sp, #24                                   
a0005f54:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
    now.actime = now.modtime = time( NULL );                          
a0005f58:	eb002a39 	bl	a0010844 <time>                                <== NOT EXECUTED
a0005f5c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0005f60:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a0005f64:	eafffff1 	b	a0005f30 <utime+0x4c>                           <== NOT EXECUTED
                                                                      

a0004b30 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
a0004b30:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0004b34:	e1a0a000 	mov	sl, r0                                        
  for (; *fmt != '\0'; fmt++) {                                       
a0004b38:	e5d00000 	ldrb	r0, [r0]                                     
 */                                                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
a0004b3c:	e24dd01c 	sub	sp, sp, #28                                   
a0004b40:	e58d1004 	str	r1, [sp, #4]                                  
  for (; *fmt != '\0'; fmt++) {                                       
a0004b44:	e3500000 	cmp	r0, #0                                        
a0004b48:	0a000072 	beq	a0004d18 <vprintk+0x1e8>                      
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
a0004b4c:	e59f8370 	ldr	r8, [pc, #880]	; a0004ec4 <vprintk+0x394>     
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
a0004b50:	e28db008 	add	fp, sp, #8                                    
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
a0004b54:	e3500025 	cmp	r0, #37	; 0x25                                
a0004b58:	1a000070 	bne	a0004d20 <vprintk+0x1f0>                      
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
a0004b5c:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0004b60:	e3500030 	cmp	r0, #48	; 0x30                                
      lead = '0';                                                     
      fmt++;                                                          
a0004b64:	05fa0001 	ldrbeq	r0, [sl, #1]!                              
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
a0004b68:	03a01030 	moveq	r1, #48	; 0x30                              
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
a0004b6c:	13a02020 	movne	r2, #32                                     
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
a0004b70:	058d1000 	streq	r1, [sp]                                    
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
a0004b74:	158d2000 	strne	r2, [sp]                                    
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
a0004b78:	e350002d 	cmp	r0, #45	; 0x2d                                
      minus = true;                                                   
      fmt++;                                                          
a0004b7c:	05fa0001 	ldrbeq	r0, [sl, #1]!                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
a0004b80:	03a07001 	moveq	r7, #1                                      
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
a0004b84:	13a07000 	movne	r7, #0                                      
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
a0004b88:	e2403030 	sub	r3, r0, #48	; 0x30                            
a0004b8c:	e3530009 	cmp	r3, #9                                        
a0004b90:	83a05000 	movhi	r5, #0                                      
a0004b94:	8a000009 	bhi	a0004bc0 <vprintk+0x90>                       
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
a0004b98:	e28a3001 	add	r3, sl, #1                                    
a0004b9c:	e3a05000 	mov	r5, #0                                        
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
a0004ba0:	e3a0100a 	mov	r1, #10                                       
a0004ba4:	e0250591 	mla	r5, r1, r5, r0                                
a0004ba8:	e1a0a003 	mov	sl, r3                                        
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
a0004bac:	e4d30001 	ldrb	r0, [r3], #1                                 
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
a0004bb0:	e2455030 	sub	r5, r5, #48	; 0x30                            
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
a0004bb4:	e2402030 	sub	r2, r0, #48	; 0x30                            
a0004bb8:	e3520009 	cmp	r2, #9                                        
a0004bbc:	9afffff7 	bls	a0004ba0 <vprintk+0x70>                       
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
a0004bc0:	e350006c 	cmp	r0, #108	; 0x6c                               
      lflag = true;                                                   
      c = *++fmt;                                                     
a0004bc4:	05fa0001 	ldrbeq	r0, [sl, #1]!                              
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
a0004bc8:	03a03001 	moveq	r3, #1                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
a0004bcc:	13a03000 	movne	r3, #0                                      
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
a0004bd0:	e3500063 	cmp	r0, #99	; 0x63                                
a0004bd4:	0a000098 	beq	a0004e3c <vprintk+0x30c>                      
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      BSP_output_char(chr);                                           
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
a0004bd8:	e3500073 	cmp	r0, #115	; 0x73                               
a0004bdc:	0a00005a 	beq	a0004d4c <vprintk+0x21c>                      
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
a0004be0:	e350006f 	cmp	r0, #111	; 0x6f                               
a0004be4:	1350004f 	cmpne	r0, #79	; 0x4f                              
      base = 8; sign = false;                                         
a0004be8:	03a02000 	moveq	r2, #0                                      
a0004bec:	03a09008 	moveq	r9, #8                                      
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
a0004bf0:	0a000009 	beq	a0004c1c <vprintk+0xec>                       
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
a0004bf4:	e3500069 	cmp	r0, #105	; 0x69                               
a0004bf8:	13500049 	cmpne	r0, #73	; 0x49                              
a0004bfc:	0a000004 	beq	a0004c14 <vprintk+0xe4>                       
                c == 'd' || c == 'D' ) {                              
a0004c00:	e3500064 	cmp	r0, #100	; 0x64                               
a0004c04:	13500044 	cmpne	r0, #68	; 0x44                              
a0004c08:	13a02000 	movne	r2, #0                                      
a0004c0c:	03a02001 	moveq	r2, #1                                      
a0004c10:	1a000093 	bne	a0004e64 <vprintk+0x334>                      
      base = 10; sign = true;                                         
a0004c14:	e3a02001 	mov	r2, #1                                        
a0004c18:	e3a0900a 	mov	r9, #10                                       
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
a0004c1c:	e3530000 	cmp	r3, #0                                        
a0004c20:	0a000044 	beq	a0004d38 <vprintk+0x208>                      
a0004c24:	e59d1004 	ldr	r1, [sp, #4]                                  
a0004c28:	e5917000 	ldr	r7, [r1]                                      
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
a0004c2c:	e2811004 	add	r1, r1, #4                                    
a0004c30:	e58d1004 	str	r1, [sp, #4]                                  
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
a0004c34:	e3520000 	cmp	r2, #0                                        
a0004c38:	0a000001 	beq	a0004c44 <vprintk+0x114>                      
a0004c3c:	e3570000 	cmp	r7, #0                                        
a0004c40:	ba000098 	blt	a0004ea8 <vprintk+0x378>                      
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a0004c44:	e1a00007 	mov	r0, r7                                        
a0004c48:	e1a01009 	mov	r1, r9                                        
a0004c4c:	eb00312a 	bl	a00110fc <__aeabi_uidiv>                       
a0004c50:	e3500000 	cmp	r0, #0                                        
a0004c54:	e1a04000 	mov	r4, r0                                        
a0004c58:	e1a06000 	mov	r6, r0                                        
a0004c5c:	01a04007 	moveq	r4, r7                                      
a0004c60:	03a07001 	moveq	r7, #1                                      
a0004c64:	0a000010 	beq	a0004cac <vprintk+0x17c>                      
a0004c68:	e20930ff 	and	r3, r9, #255	; 0xff                           
a0004c6c:	e1a02007 	mov	r2, r7                                        
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
a0004c70:	e3a06000 	mov	r6, #0                                        
a0004c74:	e1a07003 	mov	r7, r3                                        
a0004c78:	ea000001 	b	a0004c84 <vprintk+0x154>                        
  while ((n = unsigned_num / base) > 0) {                             
a0004c7c:	e1a02004 	mov	r2, r4                                        
a0004c80:	e1a04000 	mov	r4, r0                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
a0004c84:	e0030794 	mul	r3, r4, r7                                    
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a0004c88:	e1a00004 	mov	r0, r4                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
a0004c8c:	e0633002 	rsb	r3, r3, r2                                    
a0004c90:	e7cb3006 	strb	r3, [fp, r6]                                 
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a0004c94:	e1a01009 	mov	r1, r9                                        
a0004c98:	eb003117 	bl	a00110fc <__aeabi_uidiv>                       
a0004c9c:	e3500000 	cmp	r0, #0                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
a0004ca0:	e2866001 	add	r6, r6, #1                                    
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a0004ca4:	1afffff4 	bne	a0004c7c <vprintk+0x14c>                      
a0004ca8:	e2867001 	add	r7, r6, #1                                    
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
a0004cac:	e28d101c 	add	r1, sp, #28                                   
a0004cb0:	e0816006 	add	r6, r1, r6                                    
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
a0004cb4:	e1570005 	cmp	r7, r5                                        
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
a0004cb8:	e5464014 	strb	r4, [r6, #-20]                               
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
a0004cbc:	2a000006 	bcs	a0004cdc <vprintk+0x1ac>                      
a0004cc0:	e59d4000 	ldr	r4, [sp]                                      
    BSP_output_char(lead);                                            
a0004cc4:	e5983000 	ldr	r3, [r8]                                      
a0004cc8:	e1a00004 	mov	r0, r4                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
a0004ccc:	e2455001 	sub	r5, r5, #1                                    
    BSP_output_char(lead);                                            
a0004cd0:	e12fff33 	blx	r3                                            
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
a0004cd4:	e1570005 	cmp	r7, r5                                        
a0004cd8:	3afffff9 	bcc	a0004cc4 <vprintk+0x194>                      
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
a0004cdc:	e3570000 	cmp	r7, #0                                        
a0004ce0:	0a000009 	beq	a0004d0c <vprintk+0x1dc>                      
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
a0004ce4:	e08b5007 	add	r5, fp, r7                                    
a0004ce8:	e3a04000 	mov	r4, #0                                        
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
a0004cec:	e5752001 	ldrb	r2, [r5, #-1]!                               
a0004cf0:	e59f11d0 	ldr	r1, [pc, #464]	; a0004ec8 <vprintk+0x398>     
a0004cf4:	e5983000 	ldr	r3, [r8]                                      
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
a0004cf8:	e2844001 	add	r4, r4, #1                                    
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
a0004cfc:	e7d10002 	ldrb	r0, [r1, r2]                                 
a0004d00:	e12fff33 	blx	r3                                            
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
a0004d04:	e1570004 	cmp	r7, r4                                        
a0004d08:	8afffff7 	bhi	a0004cec <vprintk+0x1bc>                      
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a0004d0c:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0004d10:	e3500000 	cmp	r0, #0                                        
a0004d14:	1affff8e 	bne	a0004b54 <vprintk+0x24>                       
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
a0004d18:	e28dd01c 	add	sp, sp, #28                                   
a0004d1c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
a0004d20:	e5983000 	ldr	r3, [r8]                                      
a0004d24:	e12fff33 	blx	r3                                            
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a0004d28:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0004d2c:	e3500000 	cmp	r0, #0                                        
a0004d30:	1affff87 	bne	a0004b54 <vprintk+0x24>                       
a0004d34:	eafffff7 	b	a0004d18 <vprintk+0x1e8>                        
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
a0004d38:	e59d3004 	ldr	r3, [sp, #4]                                  
a0004d3c:	e5937000 	ldr	r7, [r3]                                      
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
a0004d40:	e2833004 	add	r3, r3, #4                                    
a0004d44:	e58d3004 	str	r3, [sp, #4]                                  
a0004d48:	eaffffb9 	b	a0004c34 <vprintk+0x104>                        
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
a0004d4c:	e59d3004 	ldr	r3, [sp, #4]                                  
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
a0004d50:	e59f2174 	ldr	r2, [pc, #372]	; a0004ecc <vprintk+0x39c>     
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
a0004d54:	e59d1004 	ldr	r1, [sp, #4]                                  
a0004d58:	e5933000 	ldr	r3, [r3]                                      
a0004d5c:	e2819004 	add	r9, r1, #4                                    
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
a0004d60:	e3530000 	cmp	r3, #0                                        
a0004d64:	01a03002 	moveq	r3, r2                                      
a0004d68:	e58d3000 	str	r3, [sp]                                      
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
a0004d6c:	e5d34000 	ldrb	r4, [r3]                                     
a0004d70:	e3540000 	cmp	r4, #0                                        
a0004d74:	0a000004 	beq	a0004d8c <vprintk+0x25c>                      
a0004d78:	e3a04000 	mov	r4, #0                                        
a0004d7c:	e5f32001 	ldrb	r2, [r3, #1]!                                
a0004d80:	e2844001 	add	r4, r4, #1                                    
a0004d84:	e3520000 	cmp	r2, #0                                        
a0004d88:	1afffffb 	bne	a0004d7c <vprintk+0x24c>                      
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
a0004d8c:	e3570000 	cmp	r7, #0                                        
a0004d90:	1a000008 	bne	a0004db8 <vprintk+0x288>                      
        for ( i=len ; i<width ; i++ )                                 
a0004d94:	e1540005 	cmp	r4, r5                                        
a0004d98:	2a000006 	bcs	a0004db8 <vprintk+0x288>                      
a0004d9c:	e1a06004 	mov	r6, r4                                        
          BSP_output_char(' ');                                       
a0004da0:	e5983000 	ldr	r3, [r8]                                      
a0004da4:	e3a00020 	mov	r0, #32                                       
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
a0004da8:	e2866001 	add	r6, r6, #1                                    
          BSP_output_char(' ');                                       
a0004dac:	e12fff33 	blx	r3                                            
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
a0004db0:	e1560005 	cmp	r6, r5                                        
a0004db4:	3afffff9 	bcc	a0004da0 <vprintk+0x270>                      
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
a0004db8:	e3550000 	cmp	r5, #0                                        
a0004dbc:	1a000002 	bne	a0004dcc <vprintk+0x29c>                      
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
a0004dc0:	e3540000 	cmp	r4, #0                                        
a0004dc4:	0a00000d 	beq	a0004e00 <vprintk+0x2d0>                      
a0004dc8:	e1a05004 	mov	r5, r4                                        
a0004dcc:	e59d3000 	ldr	r3, [sp]                                      
a0004dd0:	e5d30000 	ldrb	r0, [r3]                                     
a0004dd4:	e3500000 	cmp	r0, #0                                        
a0004dd8:	0a000008 	beq	a0004e00 <vprintk+0x2d0>                      
        BSP_output_char(*str);                                        
a0004ddc:	e5983000 	ldr	r3, [r8]                                      
a0004de0:	e12fff33 	blx	r3                                            
a0004de4:	e59d6000 	ldr	r6, [sp]                                      
a0004de8:	ea000001 	b	a0004df4 <vprintk+0x2c4>                        
a0004dec:	e5983000 	ldr	r3, [r8]                                      
a0004df0:	e12fff33 	blx	r3                                            
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
a0004df4:	e5f60001 	ldrb	r0, [r6, #1]!                                
a0004df8:	e3500000 	cmp	r0, #0                                        
a0004dfc:	1afffffa 	bne	a0004dec <vprintk+0x2bc>                      
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
a0004e00:	e3570000 	cmp	r7, #0                                        
a0004e04:	0a000007 	beq	a0004e28 <vprintk+0x2f8>                      
        for ( i=len ; i<width ; i++ )                                 
a0004e08:	e1540005 	cmp	r4, r5                                        
a0004e0c:	2a000005 	bcs	a0004e28 <vprintk+0x2f8>                      
          BSP_output_char(' ');                                       
a0004e10:	e5983000 	ldr	r3, [r8]                                      
a0004e14:	e3a00020 	mov	r0, #32                                       
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
a0004e18:	e2844001 	add	r4, r4, #1                                    
          BSP_output_char(' ');                                       
a0004e1c:	e12fff33 	blx	r3                                            
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
a0004e20:	e1540005 	cmp	r4, r5                                        
a0004e24:	3afffff9 	bcc	a0004e10 <vprintk+0x2e0>                      
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
a0004e28:	e58d9004 	str	r9, [sp, #4]                                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a0004e2c:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0004e30:	e3500000 	cmp	r0, #0                                        
a0004e34:	1affff46 	bne	a0004b54 <vprintk+0x24>                       
a0004e38:	eaffffb6 	b	a0004d18 <vprintk+0x1e8>                        
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
a0004e3c:	e59d2004 	ldr	r2, [sp, #4]                                  
      BSP_output_char(chr);                                           
a0004e40:	e5983000 	ldr	r3, [r8]                                      
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
a0004e44:	e2824004 	add	r4, r2, #4                                    
      BSP_output_char(chr);                                           
a0004e48:	e5d20000 	ldrb	r0, [r2]                                     
a0004e4c:	e12fff33 	blx	r3                                            
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
a0004e50:	e58d4004 	str	r4, [sp, #4]                                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a0004e54:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0004e58:	e3500000 	cmp	r0, #0                                        
a0004e5c:	1affff3c 	bne	a0004b54 <vprintk+0x24>                       
a0004e60:	eaffffac 	b	a0004d18 <vprintk+0x1e8>                        <== NOT EXECUTED
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
a0004e64:	e3500075 	cmp	r0, #117	; 0x75                               
a0004e68:	13500055 	cmpne	r0, #85	; 0x55                              
a0004e6c:	13a01000 	movne	r1, #0                                      
a0004e70:	03a01001 	moveq	r1, #1                                      
      base = 10; sign = false;                                        
a0004e74:	03a0900a 	moveq	r9, #10                                     
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
a0004e78:	0affff67 	beq	a0004c1c <vprintk+0xec>                       
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
a0004e7c:	e3500078 	cmp	r0, #120	; 0x78                               
a0004e80:	13500058 	cmpne	r0, #88	; 0x58                              
a0004e84:	13a02000 	movne	r2, #0                                      
a0004e88:	03a02001 	moveq	r2, #1                                      
      base = 16; sign = false;                                        
a0004e8c:	03a09010 	moveq	r9, #16                                     
a0004e90:	01a02001 	moveq	r2, r1                                      
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
a0004e94:	0affff60 	beq	a0004c1c <vprintk+0xec>                       
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
a0004e98:	e3500070 	cmp	r0, #112	; 0x70                               
a0004e9c:	1affff9f 	bne	a0004d20 <vprintk+0x1f0>                      
      base = 16; sign = false; lflag = true;                          
a0004ea0:	e3a09010 	mov	r9, #16                                       
a0004ea4:	eaffff5e 	b	a0004c24 <vprintk+0xf4>                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
a0004ea8:	e5983000 	ldr	r3, [r8]                                      
a0004eac:	e3a0002d 	mov	r0, #45	; 0x2d                                
a0004eb0:	e12fff33 	blx	r3                                            
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
a0004eb4:	e3550000 	cmp	r5, #0                                        
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
    unsigned_num = (unsigned long) -num;                              
a0004eb8:	e2677000 	rsb	r7, r7, #0                                    
    if (maxwidth) maxwidth--;                                         
a0004ebc:	12455001 	subne	r5, r5, #1                                  
a0004ec0:	eaffff5f 	b	a0004c44 <vprintk+0x114>                        
                                                                      

a0012c8c <write>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0012c8c:	e59f30a8 	ldr	r3, [pc, #168]	; a0012d3c <write+0xb0>        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0012c90:	e92d4030 	push	{r4, r5, lr}                                 
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0012c94:	e593c000 	ldr	ip, [r3]                                      
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0012c98:	e1a05001 	mov	r5, r1                                        
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0012c9c:	e150000c 	cmp	r0, ip                                        
a0012ca0:	2a00001b 	bcs	a0012d14 <write+0x88>                         
  iop = rtems_libio_iop( fd );                                        
a0012ca4:	e59fc094 	ldr	ip, [pc, #148]	; a0012d40 <write+0xb4>        
a0012ca8:	e3a04038 	mov	r4, #56	; 0x38                                
a0012cac:	e59cc000 	ldr	ip, [ip]                                      
a0012cb0:	e024c490 	mla	r4, r0, r4, ip                                
  rtems_libio_check_is_open( iop );                                   
a0012cb4:	e5940014 	ldr	r0, [r4, #20]                                 
a0012cb8:	e3100c01 	tst	r0, #256	; 0x100                              
a0012cbc:	0a000014 	beq	a0012d14 <write+0x88>                         
  rtems_libio_check_buffer( buffer );                                 
a0012cc0:	e3510000 	cmp	r1, #0                                        
a0012cc4:	0a000017 	beq	a0012d28 <write+0x9c>                         
  rtems_libio_check_count( count );                                   
a0012cc8:	e3520000 	cmp	r2, #0                                        
a0012ccc:	0a00000e 	beq	a0012d0c <write+0x80>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0012cd0:	e3100004 	tst	r0, #4                                        
a0012cd4:	0a000013 	beq	a0012d28 <write+0x9c>                         
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
a0012cd8:	e5943020 	ldr	r3, [r4, #32]                                 
a0012cdc:	e1a00004 	mov	r0, r4                                        
a0012ce0:	e593300c 	ldr	r3, [r3, #12]                                 
a0012ce4:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0012ce8:	e3500000 	cmp	r0, #0                                        
a0012cec:	da000007 	ble	a0012d10 <write+0x84>                         
    iop->offset += rc;                                                
a0012cf0:	e284300c 	add	r3, r4, #12                                   
a0012cf4:	e893000c 	ldm	r3, {r2, r3}                                  
a0012cf8:	e0922000 	adds	r2, r2, r0                                   
a0012cfc:	e0a33fc0 	adc	r3, r3, r0, asr #31                           
a0012d00:	e584200c 	str	r2, [r4, #12]                                 
a0012d04:	e5843010 	str	r3, [r4, #16]                                 
a0012d08:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
a0012d0c:	e1a00002 	mov	r0, r2                                        
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
a0012d10:	e8bd8030 	pop	{r4, r5, pc}                                  
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0012d14:	ebffeb49 	bl	a000da40 <__errno>                             
a0012d18:	e3a03009 	mov	r3, #9                                        
a0012d1c:	e5803000 	str	r3, [r0]                                      
a0012d20:	e3e00000 	mvn	r0, #0                                        
a0012d24:	e8bd8030 	pop	{r4, r5, pc}                                  
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0012d28:	ebffeb44 	bl	a000da40 <__errno>                             <== NOT EXECUTED
a0012d2c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0012d30:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0012d34:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0012d38:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0006390 <writev>: int bytes; rtems_libio_t *iop; ssize_t old; bool all_zeros; rtems_libio_check_fd( fd );
a0006390:	e59f315c 	ldr	r3, [pc, #348]	; a00064f4 <writev+0x164>      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0006394:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0006398:	e5933000 	ldr	r3, [r3]                                      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a000639c:	e1a05002 	mov	r5, r2                                        
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a00063a0:	e1500003 	cmp	r0, r3                                        
a00063a4:	2a00004b 	bcs	a00064d8 <writev+0x148>                       
  iop = rtems_libio_iop( fd );                                        
a00063a8:	e59f3148 	ldr	r3, [pc, #328]	; a00064f8 <writev+0x168>      
a00063ac:	e3a08038 	mov	r8, #56	; 0x38                                
a00063b0:	e5933000 	ldr	r3, [r3]                                      
a00063b4:	e0283890 	mla	r8, r0, r8, r3                                
  rtems_libio_check_is_open( iop );                                   
a00063b8:	e5983014 	ldr	r3, [r8, #20]                                 
a00063bc:	e3130c01 	tst	r3, #256	; 0x100                              
a00063c0:	0a000044 	beq	a00064d8 <writev+0x148>                       
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a00063c4:	e3130004 	tst	r3, #4                                        
a00063c8:	0a00003c 	beq	a00064c0 <writev+0x130>                       
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a00063cc:	e3510000 	cmp	r1, #0                                        
a00063d0:	0a00003a 	beq	a00064c0 <writev+0x130>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a00063d4:	e3520000 	cmp	r2, #0                                        
a00063d8:	da000038 	ble	a00064c0 <writev+0x130>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a00063dc:	e3520b01 	cmp	r2, #1024	; 0x400                             
a00063e0:	ca000036 	bgt	a00064c0 <writev+0x130>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00063e4:	e1a04001 	mov	r4, r1                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a00063e8:	e3a0cc7f 	mov	ip, #32512	; 0x7f00                           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a00063ec:	e3a01000 	mov	r1, #0                                        
a00063f0:	e1a02004 	mov	r2, r4                                        
a00063f4:	e3a06001 	mov	r6, #1                                        
a00063f8:	e1a07001 	mov	r7, r1                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a00063fc:	e28cc0ff 	add	ip, ip, #255	; 0xff                           
a0006400:	ea000000 	b	a0006408 <writev+0x78>                          
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0006404:	e1a07003 	mov	r7, r3                                        
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
                                                                      
    if ( !iov[v].iov_base )                                           
a0006408:	e5923000 	ldr	r3, [r2]                                      
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
a000640c:	e2811001 	add	r1, r1, #1                                    
                                                                      
    if ( !iov[v].iov_base )                                           
a0006410:	e3530000 	cmp	r3, #0                                        
a0006414:	0a000029 	beq	a00064c0 <writev+0x130>                       
      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 )                                             
a0006418:	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++ ) {                    
a000641c:	e2822008 	add	r2, r2, #8                                    
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0006420:	e0873000 	add	r3, r7, r0                                    
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
a0006424:	e3500000 	cmp	r0, #0                                        
a0006428:	13a06000 	movne	r6, #0                                      
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a000642c:	e1570003 	cmp	r7, r3                                        
a0006430:	d153000c 	cmple	r3, ip                                      
a0006434:	d3a07000 	movle	r7, #0                                      
a0006438:	c3a07001 	movgt	r7, #1                                      
a000643c:	ca00001f 	bgt	a00064c0 <writev+0x130>                       
   *  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++ ) {                    
a0006440:	e1550001 	cmp	r5, r1                                        
a0006444:	caffffee 	bgt	a0006404 <writev+0x74>                        
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
a0006448:	e3560000 	cmp	r6, #0                                        
a000644c:	1a00001f 	bne	a00064d0 <writev+0x140>                       
a0006450:	e1a07006 	mov	r7, r6                                        
a0006454:	ea000003 	b	a0006468 <writev+0xd8>                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0006458:	e2866001 	add	r6, r6, #1                                    
a000645c:	e1550006 	cmp	r5, r6                                        
a0006460:	e2844008 	add	r4, r4, #8                                    
a0006464:	da000019 	ble	a00064d0 <writev+0x140>                       
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a0006468:	e5942004 	ldr	r2, [r4, #4]                                  
a000646c:	e3520000 	cmp	r2, #0                                        
a0006470:	0afffff8 	beq	a0006458 <writev+0xc8>                        
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
a0006474:	e5983020 	ldr	r3, [r8, #32]                                 
a0006478:	e5941000 	ldr	r1, [r4]                                      
a000647c:	e1a00008 	mov	r0, r8                                        
a0006480:	e593300c 	ldr	r3, [r3, #12]                                 
a0006484:	e12fff33 	blx	r3                                            
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
a0006488:	e3500000 	cmp	r0, #0                                        
a000648c:	ba000016 	blt	a00064ec <writev+0x15c>                       
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a0006490:	0a000006 	beq	a00064b0 <writev+0x120>                       
      iop->offset += bytes;                                           
a0006494:	e288300c 	add	r3, r8, #12                                   
a0006498:	e893000c 	ldm	r3, {r2, r3}                                  
a000649c:	e0922000 	adds	r2, r2, r0                                   
a00064a0:	e0a33fc0 	adc	r3, r3, r0, asr #31                           
a00064a4:	e588200c 	str	r2, [r8, #12]                                 
a00064a8:	e5883010 	str	r3, [r8, #16]                                 
      total       += bytes;                                           
a00064ac:	e0877000 	add	r7, r7, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a00064b0:	e5943004 	ldr	r3, [r4, #4]                                  
a00064b4:	e1500003 	cmp	r0, r3                                        
a00064b8:	0affffe6 	beq	a0006458 <writev+0xc8>                        
a00064bc:	ea000003 	b	a00064d0 <writev+0x140>                         <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a00064c0:	eb002192 	bl	a000eb10 <__errno>                             
a00064c4:	e3a03016 	mov	r3, #22                                       
a00064c8:	e5803000 	str	r3, [r0]                                      
a00064cc:	e3e07000 	mvn	r7, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a00064d0:	e1a00007 	mov	r0, r7                                        
a00064d4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a00064d8:	eb00218c 	bl	a000eb10 <__errno>                             
a00064dc:	e3a03009 	mov	r3, #9                                        
a00064e0:	e5803000 	str	r3, [r0]                                      
a00064e4:	e3e07000 	mvn	r7, #0                                        
a00064e8:	eafffff8 	b	a00064d0 <writev+0x140>                         
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
a00064ec:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a00064f0:	eafffff6 	b	a00064d0 <writev+0x140>                         <== NOT EXECUTED