RTEMS 4.11
Annotated Report
Mon Jan 10 07:15:18 2011

a000d7d8 <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 ) {                                              
a000d7d8:	e5903000 	ldr	r3, [r0]                                      
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a000d7dc:	e5902010 	ldr	r2, [r0, #16]                                 
  switch( node->type ) {                                              
a000d7e0:	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;                                   
a000d7e4:	e5922034 	ldr	r2, [r2, #52]	; 0x34                          
  switch( node->type ) {                                              
a000d7e8:	e2433001 	sub	r3, r3, #1                                    
a000d7ec:	e3530006 	cmp	r3, #6                                        
a000d7f0:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a000d7f4:	ea000008 	b	a000d81c <IMFS_Set_handlers+0x44>               <== NOT EXECUTED
a000d7f8:	a000d844 	.word	0xa000d844                                  <== NOT EXECUTED
a000d7fc:	a000d854 	.word	0xa000d854                                  <== NOT EXECUTED
a000d800:	a000d834 	.word	0xa000d834                                  <== NOT EXECUTED
a000d804:	a000d834 	.word	0xa000d834                                  <== NOT EXECUTED
a000d808:	a000d824 	.word	0xa000d824                                  <== NOT EXECUTED
a000d80c:	a000d824 	.word	0xa000d824                                  <== NOT EXECUTED
a000d810:	a000d814 	.word	0xa000d814                                  <== NOT EXECUTED
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
a000d814:	e5923010 	ldr	r3, [r2, #16]                                 
a000d818:	e5803008 	str	r3, [r0, #8]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000d81c:	e3a00000 	mov	r0, #0                                        
a000d820:	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;                      
a000d824:	e5923008 	ldr	r3, [r2, #8]                                  
a000d828:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000d82c:	e3a00000 	mov	r0, #0                                        
a000d830:	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;                            
a000d834:	e59f3028 	ldr	r3, [pc, #40]	; a000d864 <IMFS_Set_handlers+0x8c>
a000d838:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000d83c:	e3a00000 	mov	r0, #0                                        
a000d840:	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;                    
a000d844:	e592300c 	ldr	r3, [r2, #12]                                 
a000d848:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000d84c:	e3a00000 	mov	r0, #0                                        
a000d850:	e12fff1e 	bx	lr                                             
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
a000d854:	e59f300c 	ldr	r3, [pc, #12]	; a000d868 <IMFS_Set_handlers+0x90>
a000d858:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000d85c:	e3a00000 	mov	r0, #0                                        
a000d860:	e12fff1e 	bx	lr                                             
                                                                      

a000d598 <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
a000d598:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
a000d59c:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
a000d5a0:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
a000d5a4:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
a000d5a8:	e1c413bc 	strh	r1, [r4, #60]	; 0x3c                         <== NOT EXECUTED
  jnode->st_gid = group;                                              
a000d5ac:	e1c423be 	strh	r2, [r4, #62]	; 0x3e                         <== NOT EXECUTED
                                                                      
  IMFS_update_ctime( jnode );                                         
a000d5b0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000d5b4:	ebffe3c1 	bl	a00064c0 <gettimeofday>                        <== NOT EXECUTED
a000d5b8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000d5bc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
a000d5c0:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000d5c4:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000d5c8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a000d8f8 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
a000d8f8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
a000d8fc:	e3d25007 	bics	r5, r2, #7                                   
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
a000d900:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a000d904:	e58d2000 	str	r2, [sp]                                      
a000d908:	e1a0a000 	mov	sl, r0                                        
a000d90c:	e1a04001 	mov	r4, r1                                        
a000d910:	e1a07003 	mov	r7, r3                                        
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
a000d914:	1a000081 	bne	a000db20 <IMFS_eval_path+0x228>               
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
a000d918:	e5936000 	ldr	r6, [r3]                                      
a000d91c:	e28d8004 	add	r8, sp, #4                                    
a000d920:	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 );  
a000d924:	e1a02008 	mov	r2, r8                                        
a000d928:	e1a03009 	mov	r3, r9                                        
a000d92c:	e08a0005 	add	r0, sl, r5                                    
a000d930:	e1a01004 	mov	r1, r4                                        
a000d934:	eb0001df 	bl	a000e0b8 <IMFS_get_token>                      
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a000d938:	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 );  
a000d93c:	e1a0b000 	mov	fp, r0                                        
    pathnamelen -= len;                                               
a000d940:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a000d944:	e3530000 	cmp	r3, #0                                        
a000d948:	0a00004e 	beq	a000da88 <IMFS_eval_path+0x190>               
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
a000d94c:	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;                                               
a000d950:	e0624004 	rsb	r4, r2, r4                                    
    i += len;                                                         
a000d954:	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 )                                  
a000d958:	1a00000f 	bne	a000d99c <IMFS_eval_path+0xa4>                
   *  new fs root node and let let the mounted filesystem set the handlers.
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
a000d95c:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a000d960:	e3520001 	cmp	r2, #1                                        
a000d964:	0a000068 	beq	a000db0c <IMFS_eval_path+0x214>               
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a000d968:	e1a00007 	mov	r0, r7                                        
a000d96c:	ebffff99 	bl	a000d7d8 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a000d970:	e59d1000 	ldr	r1, [sp]                                      
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a000d974:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a000d978:	e1a00007 	mov	r0, r7                                        
a000d97c:	ebffffba 	bl	a000d86c <IMFS_evaluate_permission>            
a000d980:	e3500000 	cmp	r0, #0                                        
a000d984:	1a000036 	bne	a000da64 <IMFS_eval_path+0x16c>               
    rtems_set_errno_and_return_minus_one( EACCES );                   
a000d988:	eb000e07 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000d98c:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a000d990:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d994:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000d998:	ea000031 	b	a000da64 <IMFS_eval_path+0x16c>                 <== NOT EXECUTED
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
a000d99c:	e596104c 	ldr	r1, [r6, #76]	; 0x4c                          
a000d9a0:	e3510001 	cmp	r1, #1                                        
a000d9a4:	0a000031 	beq	a000da70 <IMFS_eval_path+0x178>               
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
a000d9a8:	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;                                      
a000d9ac:	e1a06003 	mov	r6, r3                                        
                                                                      
    switch( type ) {                                                  
a000d9b0:	0a000006 	beq	a000d9d0 <IMFS_eval_path+0xd8>                
a000d9b4:	e35b0004 	cmp	fp, #4                                        
a000d9b8:	0a000025 	beq	a000da54 <IMFS_eval_path+0x15c>               
a000d9bc:	e35b0002 	cmp	fp, #2                                        
a000d9c0:	0a000013 	beq	a000da14 <IMFS_eval_path+0x11c>               
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
a000d9c4:	e35b0004 	cmp	fp, #4                                        
a000d9c8:	1affffd5 	bne	a000d924 <IMFS_eval_path+0x2c>                
a000d9cc:	eaffffe2 	b	a000d95c <IMFS_eval_path+0x64>                  <== NOT EXECUTED
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
a000d9d0:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a000d9d4:	e3530003 	cmp	r3, #3                                        
a000d9d8:	0a00002f 	beq	a000da9c <IMFS_eval_path+0x1a4>               
	   * It would be a design error if we evaluated the link and         
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
a000d9dc:	e3530004 	cmp	r3, #4                                        
a000d9e0:	0a000058 	beq	a000db48 <IMFS_eval_path+0x250>               
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
a000d9e4:	e3530001 	cmp	r3, #1                                        
a000d9e8:	1a000051 	bne	a000db34 <IMFS_eval_path+0x23c>               
                                                                      
        /*                                                            
         *  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 ) {                   
a000d9ec:	e596e05c 	ldr	lr, [r6, #92]	; 0x5c                          
a000d9f0:	e35e0000 	cmp	lr, #0                                        
a000d9f4:	1a000047 	bne	a000db18 <IMFS_eval_path+0x220>               
        }                                                             
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
a000d9f8:	e1a00006 	mov	r0, r6                                        
a000d9fc:	e1a01008 	mov	r1, r8                                        
a000da00:	eb00018b 	bl	a000e034 <IMFS_find_match_in_dir>              
        if ( !node )                                                  
a000da04:	e2506000 	subs	r6, r0, #0                                   
a000da08:	0a00001e 	beq	a000da88 <IMFS_eval_path+0x190>               
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
a000da0c:	e5876000 	str	r6, [r7]                                      
a000da10:	eaffffc3 	b	a000d924 <IMFS_eval_path+0x2c>                  
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
a000da14:	e59f1154 	ldr	r1, [pc, #340]	; a000db70 <IMFS_eval_path+0x278>
a000da18:	e5912000 	ldr	r2, [r1]                                      
a000da1c:	e5922018 	ldr	r2, [r2, #24]                                 
a000da20:	e1520003 	cmp	r2, r3                                        
a000da24:	0affffbe 	beq	a000d924 <IMFS_eval_path+0x2c>                
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
a000da28:	e597e010 	ldr	lr, [r7, #16]                                 
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
a000da2c:	e59e201c 	ldr	r2, [lr, #28]                                 
a000da30:	e1520003 	cmp	r2, r3                                        
a000da34:	0a00001e 	beq	a000dab4 <IMFS_eval_path+0x1bc>               
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
a000da38:	e5936008 	ldr	r6, [r3, #8]                                  
a000da3c:	e3560000 	cmp	r6, #0                                        
a000da40:	1afffff1 	bne	a000da0c <IMFS_eval_path+0x114>               
            rtems_set_errno_and_return_minus_one( ENOENT );           
a000da44:	eb000dd8 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000da48:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000da4c:	e580b000 	str	fp, [r0]                                      <== NOT EXECUTED
a000da50:	ea000003 	b	a000da64 <IMFS_eval_path+0x16c>                 <== NOT EXECUTED
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a000da54:	eb000dd4 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000da58:	e3a0305b 	mov	r3, #91	; 0x5b                                <== NOT EXECUTED
a000da5c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000da60:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a000da64:	e1a00006 	mov	r0, r6                                        
a000da68:	e28dd040 	add	sp, sp, #64	; 0x40                            
a000da6c:	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 ) )
a000da70:	e1a00007 	mov	r0, r7                                        
a000da74:	ebffff7c 	bl	a000d86c <IMFS_evaluate_permission>            
a000da78:	e3500000 	cmp	r0, #0                                        
a000da7c:	0affffc1 	beq	a000d988 <IMFS_eval_path+0x90>                
a000da80:	e5973000 	ldr	r3, [r7]                                      
a000da84:	eaffffc7 	b	a000d9a8 <IMFS_eval_path+0xb0>                  
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
a000da88:	eb000dc7 	bl	a00111ac <__errno>                             
a000da8c:	e3a03002 	mov	r3, #2                                        
a000da90:	e5803000 	str	r3, [r0]                                      
a000da94:	e3e06000 	mvn	r6, #0                                        
a000da98:	eafffff1 	b	a000da64 <IMFS_eval_path+0x16c>                 
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
          IMFS_evaluate_hard_link( pathloc, 0 );                      
a000da9c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000daa0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000daa4:	ebffff80 	bl	a000d8ac <IMFS_evaluate_hard_link>             <== NOT EXECUTED
          node = pathloc->node_access;                                
a000daa8:	e5976000 	ldr	r6, [r7]                                      <== NOT EXECUTED
a000daac:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          <== NOT EXECUTED
a000dab0:	eaffffcb 	b	a000d9e4 <IMFS_eval_path+0xec>                  <== NOT EXECUTED
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
a000dab4:	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;              
a000dab8:	e28d6028 	add	r6, sp, #40	; 0x28                            
a000dabc:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000dac0:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
      *pathloc = newloc;                                              
a000dac4:	e28dc028 	add	ip, sp, #40	; 0x28                            
a000dac8:	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;              
a000dacc:	e59ec000 	ldr	ip, [lr]                                      
      *pathloc = newloc;                                              
a000dad0:	e1a0e007 	mov	lr, r7                                        
a000dad4:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a000dad8:	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;                                              
a000dadc:	e58ec000 	str	ip, [lr]                                      
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a000dae0:	e597300c 	ldr	r3, [r7, #12]                                 
a000dae4:	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;              
a000dae8:	e586c000 	str	ip, [r6]                                      
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a000daec:	e08a0000 	add	r0, sl, r0                                    
a000daf0:	e593c000 	ldr	ip, [r3]                                      
a000daf4:	e0841001 	add	r1, r4, r1                                    
a000daf8:	e59d2000 	ldr	r2, [sp]                                      
a000dafc:	e1a03007 	mov	r3, r7                                        
a000db00:	e12fff3c 	blx	ip                                            
a000db04:	e1a06000 	mov	r6, r0                                        
a000db08:	eaffffd5 	b	a000da64 <IMFS_eval_path+0x16c>                 
   *                                                                  
   *  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 ) {                       
a000db0c:	e593e05c 	ldr	lr, [r3, #92]	; 0x5c                          
a000db10:	e35e0000 	cmp	lr, #0                                        
a000db14:	0affff93 	beq	a000d968 <IMFS_eval_path+0x70>                
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a000db18:	e28ee01c 	add	lr, lr, #28                                   
a000db1c:	eaffffe5 	b	a000dab8 <IMFS_eval_path+0x1c0>                 
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
a000db20:	eb000da1 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000db24:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a000db28:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000db2c:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000db30:	eaffffcb 	b	a000da64 <IMFS_eval_path+0x16c>                 <== NOT EXECUTED
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
a000db34:	eb000d9c 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000db38:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a000db3c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000db40:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000db44:	eaffffc6 	b	a000da64 <IMFS_eval_path+0x16c>                 <== NOT EXECUTED
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a000db48:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000db4c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000db50:	eb000007 	bl	a000db74 <IMFS_evaluate_sym_link>              <== NOT EXECUTED
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
a000db54:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a000db58:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
a000db5c:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
          if ( result == -1 )                                         
a000db60:	0affffbf 	beq	a000da64 <IMFS_eval_path+0x16c>               <== NOT EXECUTED
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
a000db64:	e1a06003 	mov	r6, r3                                        <== NOT EXECUTED
a000db68:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          <== NOT EXECUTED
a000db6c:	eaffff9c 	b	a000d9e4 <IMFS_eval_path+0xec>                  <== NOT EXECUTED
                                                                      

a000dcdc <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 */ ) {
a000dcdc:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000dce0:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a000dce4:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
a000dce8:	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    */       
)                                                                     
{                                                                     
a000dcec:	e1a0a000 	mov	sl, r0                                        
a000dcf0:	e58d2000 	str	r2, [sp]                                      
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a000dcf4:	eb001116 	bl	a0012154 <strlen>                              
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
  int                                 i = 0;                          
a000dcf8:	e3a07000 	mov	r7, #0                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a000dcfc:	e1a04000 	mov	r4, r0                                        
a000dd00:	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 );          
a000dd04:	e1a01004 	mov	r1, r4                                        
a000dd08:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a000dd0c:	e08a0007 	add	r0, sl, r7                                    
a000dd10:	e1a02008 	mov	r2, r8                                        
a000dd14:	eb0000e7 	bl	a000e0b8 <IMFS_get_token>                      
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a000dd18:	e5963000 	ldr	r3, [r6]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a000dd1c:	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 );          
a000dd20:	e1a09000 	mov	r9, r0                                        
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a000dd24:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a000dd28:	e06b4004 	rsb	r4, fp, r4                                    
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a000dd2c:	0a000035 	beq	a000de08 <IMFS_evaluate_for_make+0x12c>       
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
a000dd30:	e3500000 	cmp	r0, #0                                        
a000dd34:	1a000006 	bne	a000dd54 <IMFS_evaluate_for_make+0x78>        
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
a000dd38:	eb000d1b 	bl	a00111ac <__errno>                             
a000dd3c:	e3a03011 	mov	r3, #17                                       
a000dd40:	e5803000 	str	r3, [r0]                                      
a000dd44:	e3e05000 	mvn	r5, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a000dd48:	e1a00005 	mov	r0, r5                                        
a000dd4c:	e28dd040 	add	sp, sp, #64	; 0x40                            
a000dd50:	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 )                             
a000dd54:	e595104c 	ldr	r1, [r5, #76]	; 0x4c                          
a000dd58:	e3510001 	cmp	r1, #1                                        
a000dd5c:	0a000044 	beq	a000de74 <IMFS_evaluate_for_make+0x198>       
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
a000dd60:	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;                                      
a000dd64:	e1a05003 	mov	r5, r3                                        
                                                                      
    switch( type ) {                                                  
a000dd68:	e3590004 	cmp	r9, #4                                        
a000dd6c:	979ff109 	ldrls	pc, [pc, r9, lsl #2]                        
a000dd70:	eaffffe3 	b	a000dd04 <IMFS_evaluate_for_make+0x28>          <== NOT EXECUTED
a000dd74:	a000dd38 	.word	0xa000dd38                                  <== NOT EXECUTED
a000dd78:	a000dd04 	.word	0xa000dd04                                  <== NOT EXECUTED
a000dd7c:	a000ddd8 	.word	0xa000ddd8                                  <== NOT EXECUTED
a000dd80:	a000dd88 	.word	0xa000dd88                                  <== NOT EXECUTED
a000dd84:	a000de1c 	.word	0xa000de1c                                  <== NOT EXECUTED
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
a000dd88:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a000dd8c:	e3530003 	cmp	r3, #3                                        
a000dd90:	0a00006a 	beq	a000df40 <IMFS_evaluate_for_make+0x264>       
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
a000dd94:	e3530004 	cmp	r3, #4                                        
a000dd98:	0a000068 	beq	a000df40 <IMFS_evaluate_for_make+0x264>       
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
a000dd9c:	e3550000 	cmp	r5, #0                                        
a000dda0:	0a00005f 	beq	a000df24 <IMFS_evaluate_for_make+0x248>       
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
a000dda4:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a000dda8:	e3530001 	cmp	r3, #1                                        
a000ddac:	1a00005c 	bne	a000df24 <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 ) {                   
a000ddb0:	e595c05c 	ldr	ip, [r5, #92]	; 0x5c                          
a000ddb4:	e35c0000 	cmp	ip, #0                                        
a000ddb8:	1a00005e 	bne	a000df38 <IMFS_evaluate_for_make+0x25c>       
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a000ddbc:	e1a00005 	mov	r0, r5                                        
a000ddc0:	e1a01008 	mov	r1, r8                                        
a000ddc4:	eb00009a 	bl	a000e034 <IMFS_find_match_in_dir>              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
a000ddc8:	e2505000 	subs	r5, r0, #0                                   
a000ddcc:	0a000017 	beq	a000de30 <IMFS_evaluate_for_make+0x154>       
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
a000ddd0:	e5865000 	str	r5, [r6]                                      
a000ddd4:	eaffffca 	b	a000dd04 <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 )
a000ddd8:	e59f1180 	ldr	r1, [pc, #384]	; a000df60 <IMFS_evaluate_for_make+0x284>
a000dddc:	e5912000 	ldr	r2, [r1]                                      
a000dde0:	e5922018 	ldr	r2, [r2, #24]                                 
a000dde4:	e1530002 	cmp	r3, r2                                        
a000dde8:	0affffc5 	beq	a000dd04 <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){
a000ddec:	e596c010 	ldr	ip, [r6, #16]                                 
a000ddf0:	e59c201c 	ldr	r2, [ip, #28]                                 
a000ddf4:	e1530002 	cmp	r3, r2                                        
a000ddf8:	0a000023 	beq	a000de8c <IMFS_evaluate_for_make+0x1b0>       
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
a000ddfc:	e5935008 	ldr	r5, [r3, #8]                                  
a000de00:	e3550000 	cmp	r5, #0                                        
a000de04:	1afffff1 	bne	a000ddd0 <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 );                 
a000de08:	eb000ce7 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000de0c:	e3a03002 	mov	r3, #2                                        <== NOT EXECUTED
a000de10:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000de14:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a000de18:	eaffffca 	b	a000dd48 <IMFS_evaluate_for_make+0x6c>          <== NOT EXECUTED
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a000de1c:	eb000ce2 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000de20:	e3a0305b 	mov	r3, #91	; 0x5b                                <== NOT EXECUTED
a000de24:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000de28:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a000de2c:	eaffffc5 	b	a000dd48 <IMFS_evaluate_for_make+0x6c>          <== NOT EXECUTED
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
a000de30:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          
a000de34:	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++) {                                      
a000de38:	e08a4007 	add	r4, sl, r7                                    
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
a000de3c:	e0633007 	rsb	r3, r3, r7                                    
a000de40:	e08a3003 	add	r3, sl, r3                                    
a000de44:	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++) {                                      
a000de48:	e7da0007 	ldrb	r0, [sl, r7]                                 
a000de4c:	e3500000 	cmp	r0, #0                                        
a000de50:	1a000003 	bne	a000de64 <IMFS_evaluate_for_make+0x188>       
a000de54:	ea000021 	b	a000dee0 <IMFS_evaluate_for_make+0x204>         
a000de58:	e5f40001 	ldrb	r0, [r4, #1]!                                <== NOT EXECUTED
a000de5c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000de60:	0a00001e 	beq	a000dee0 <IMFS_evaluate_for_make+0x204>       <== NOT EXECUTED
    if ( !IMFS_is_separator( path[ i ] ) )                            
a000de64:	ebffe523 	bl	a00072f8 <rtems_filesystem_is_separator>       <== NOT EXECUTED
a000de68:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000de6c:	1afffff9 	bne	a000de58 <IMFS_evaluate_for_make+0x17c>       <== NOT EXECUTED
a000de70:	eaffffe4 	b	a000de08 <IMFS_evaluate_for_make+0x12c>         <== NOT EXECUTED
     * 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 ) )
a000de74:	e1a00006 	mov	r0, r6                                        
a000de78:	ebfffe7b 	bl	a000d86c <IMFS_evaluate_permission>            
a000de7c:	e3500000 	cmp	r0, #0                                        
a000de80:	0a000022 	beq	a000df10 <IMFS_evaluate_for_make+0x234>       
a000de84:	e5963000 	ldr	r3, [r6]                                      
a000de88:	eaffffb4 	b	a000dd60 <IMFS_evaluate_for_make+0x84>          
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a000de8c:	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;           
a000de90:	e28d4028 	add	r4, sp, #40	; 0x28                            
a000de94:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000de98:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
a000de9c:	e28de028 	add	lr, sp, #40	; 0x28                            
a000dea0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000dea4:	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;           
a000dea8:	e59cc000 	ldr	ip, [ip]                                      
          *pathloc = newloc;                                          
a000deac:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a000deb0:	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;                                          
a000deb4:	e58ec000 	str	ip, [lr]                                      
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a000deb8:	e596300c 	ldr	r3, [r6, #12]                                 
a000debc:	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;           
a000dec0:	e584c000 	str	ip, [r4]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a000dec4:	e5933004 	ldr	r3, [r3, #4]                                  
a000dec8:	e08a0000 	add	r0, sl, r0                                    
a000decc:	e1a01006 	mov	r1, r6                                        
a000ded0:	e59d2000 	ldr	r2, [sp]                                      
a000ded4:	e12fff33 	blx	r3                                            
a000ded8:	e1a05000 	mov	r5, r0                                        
a000dedc:	eaffff99 	b	a000dd48 <IMFS_evaluate_for_make+0x6c>          
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a000dee0:	e1a00006 	mov	r0, r6                                        
a000dee4:	ebfffe3b 	bl	a000d7d8 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
a000dee8:	e5963000 	ldr	r3, [r6]                                      
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a000deec:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
a000def0:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a000def4:	e3530001 	cmp	r3, #1                                        
a000def8:	1a000009 	bne	a000df24 <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 ) )   
a000defc:	e1a00006 	mov	r0, r6                                        
a000df00:	e3a01003 	mov	r1, #3                                        
a000df04:	ebfffe58 	bl	a000d86c <IMFS_evaluate_permission>            
a000df08:	e3500000 	cmp	r0, #0                                        
a000df0c:	1affff8d 	bne	a000dd48 <IMFS_evaluate_for_make+0x6c>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
a000df10:	eb000ca5 	bl	a00111ac <__errno>                             
a000df14:	e3a0300d 	mov	r3, #13                                       
a000df18:	e5803000 	str	r3, [r0]                                      
a000df1c:	e3e05000 	mvn	r5, #0                                        
a000df20:	eaffff88 	b	a000dd48 <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 );                  
a000df24:	eb000ca0 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000df28:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a000df2c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000df30:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a000df34:	eaffff83 	b	a000dd48 <IMFS_evaluate_for_make+0x6c>          <== NOT EXECUTED
	 * 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;           
a000df38:	e28cc01c 	add	ip, ip, #28                                   
a000df3c:	eaffffd3 	b	a000de90 <IMFS_evaluate_for_make+0x1b4>         
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a000df40:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000df44:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000df48:	ebffff2e 	bl	a000dc08 <IMFS_evaluate_link>                  <== NOT EXECUTED
                                                                      
          if ( result == -1 )                                         
a000df4c:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a000df50:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
          if ( result == -1 )                                         
a000df54:	0affff7b 	beq	a000dd48 <IMFS_evaluate_for_make+0x6c>        <== NOT EXECUTED
a000df58:	e5965000 	ldr	r5, [r6]                                      <== NOT EXECUTED
a000df5c:	eaffff8e 	b	a000dd9c <IMFS_evaluate_for_make+0xc0>          <== NOT EXECUTED
                                                                      

a000d8ac <IMFS_evaluate_hard_link>: int IMFS_evaluate_hard_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
a000d8ac:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_assert( jnode->type == IMFS_HARD_LINK );                       
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
  node->node_access = jnode->info.hard_link.link_node;                
a000d8b0:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a000d8b4:	e1a04000 	mov	r4, r0                                        
a000d8b8:	e1a05001 	mov	r5, r1                                        
  IMFS_assert( jnode->type == IMFS_HARD_LINK );                       
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
  node->node_access = jnode->info.hard_link.link_node;                
a000d8bc:	e5933050 	ldr	r3, [r3, #80]	; 0x50                          
a000d8c0:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
a000d8c4:	ebffffc3 	bl	a000d7d8 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a000d8c8:	e1a00004 	mov	r0, r4                                        
a000d8cc:	e1a01005 	mov	r1, r5                                        
a000d8d0:	ebffffe5 	bl	a000d86c <IMFS_evaluate_permission>            
a000d8d4:	e3500000 	cmp	r0, #0                                        
a000d8d8:	0a000001 	beq	a000d8e4 <IMFS_evaluate_hard_link+0x38>       
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
a000d8dc:	e3a00000 	mov	r0, #0                                        
}                                                                     
a000d8e0:	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 );                   
a000d8e4:	eb000e30 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000d8e8:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a000d8ec:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d8f0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d8f4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000dc08 <IMFS_evaluate_link>: */ int IMFS_evaluate_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
a000dc08:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
a000dc0c:	e59f60c4 	ldr	r6, [pc, #196]	; a000dcd8 <IMFS_evaluate_link+0xd0>
 */                                                                   
int IMFS_evaluate_link(                                               
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a000dc10:	e1a05000 	mov	r5, r0                                        
a000dc14:	e1a07001 	mov	r7, r1                                        
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
a000dc18:	e5962000 	ldr	r2, [r6]                                      
a000dc1c:	ea000004 	b	a000dc34 <IMFS_evaluate_link+0x2c>              
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
a000dc20:	e3530004 	cmp	r3, #4                                        
a000dc24:	0a00001b 	beq	a000dc98 <IMFS_evaluate_link+0x90>            
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
a000dc28:	e2433003 	sub	r3, r3, #3                                    
a000dc2c:	e3530001 	cmp	r3, #1                                        
a000dc30:	8a000014 	bhi	a000dc88 <IMFS_evaluate_link+0x80>            
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
a000dc34:	e1d233b0 	ldrh	r3, [r2, #48]	; 0x30                         
{                                                                     
  IMFS_jnode_t                     *jnode;                            
  int                               result = 0;                       
                                                                      
  do {                                                                
    jnode  = node->node_access;                                       
a000dc38:	e5954000 	ldr	r4, [r5]                                      
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
a000dc3c:	e2833001 	add	r3, r3, #1                                    
a000dc40:	e1a03803 	lsl	r3, r3, #16                                   
a000dc44:	e1a03823 	lsr	r3, r3, #16                                   
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
a000dc48:	e3530005 	cmp	r3, #5                                        
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
a000dc4c:	e1c233b0 	strh	r3, [r2, #48]	; 0x30                         
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
a000dc50:	8a000019 	bhi	a000dcbc <IMFS_evaluate_link+0xb4>            
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
a000dc54:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000dc58:	e3530003 	cmp	r3, #3                                        
a000dc5c:	1affffef 	bne	a000dc20 <IMFS_evaluate_link+0x18>            
      result = IMFS_evaluate_hard_link( node, flags );                
a000dc60:	e1a00005 	mov	r0, r5                                        
a000dc64:	e1a01007 	mov	r1, r7                                        
a000dc68:	ebffff0f 	bl	a000d8ac <IMFS_evaluate_hard_link>             
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
a000dc6c:	e3500000 	cmp	r0, #0                                        
a000dc70:	1a00000d 	bne	a000dcac <IMFS_evaluate_link+0xa4>            
a000dc74:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000dc78:	e5962000 	ldr	r2, [r6]                                      
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
a000dc7c:	e2433003 	sub	r3, r3, #3                                    
a000dc80:	e3530001 	cmp	r3, #1                                        
a000dc84:	9affffea 	bls	a000dc34 <IMFS_evaluate_link+0x2c>            
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a000dc88:	e3a03000 	mov	r3, #0                                        
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
a000dc8c:	e3a00000 	mov	r0, #0                                        
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a000dc90:	e1c233b0 	strh	r3, [r2, #48]	; 0x30                         
                                                                      
  return result;                                                      
}                                                                     
a000dc94:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
a000dc98:	e1a00005 	mov	r0, r5                                        
a000dc9c:	e1a01007 	mov	r1, r7                                        
a000dca0:	ebffffb3 	bl	a000db74 <IMFS_evaluate_sym_link>              
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
a000dca4:	e3500000 	cmp	r0, #0                                        
a000dca8:	0afffff1 	beq	a000dc74 <IMFS_evaluate_link+0x6c>            
a000dcac:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a000dcb0:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000dcb4:	e1c233b0 	strh	r3, [r2, #48]	; 0x30                         <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a000dcb8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
a000dcbc:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000dcc0:	e1c233b0 	strh	r3, [r2, #48]	; 0x30                         <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ELOOP );                  
a000dcc4:	eb000d38 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000dcc8:	e3a0305c 	mov	r3, #92	; 0x5c                                <== NOT EXECUTED
a000dccc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000dcd0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000dcd4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a000d86c <IMFS_evaluate_permission>: uid_t st_uid; gid_t st_gid; IMFS_jnode_t *jnode; int flags_to_test; if ( !rtems_libio_is_valid_perms( flags ) )
a000d86c:	e3d13007 	bics	r3, r1, #7                                   
 */                                                                   
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
a000d870:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
a000d874:	1a000007 	bne	a000d898 <IMFS_evaluate_permission+0x2c>      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a000d878:	e5903000 	ldr	r3, [r0]                                      
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
a000d87c:	e1a01301 	lsl	r1, r1, #6                                    
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a000d880:	e5930030 	ldr	r0, [r3, #48]	; 0x30                          
a000d884:	e0010000 	and	r0, r1, r0                                    
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
a000d888:	e1510000 	cmp	r1, r0                                        
a000d88c:	13a00000 	movne	r0, #0                                      
a000d890:	03a00001 	moveq	r0, #1                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
a000d894:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
a000d898:	eb000e43 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000d89c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000d8a0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d8a4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d8a8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000db74 <IMFS_evaluate_sym_link>: int IMFS_evaluate_sym_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
a000db74:	e92d4070 	push	{r4, r5, r6, lr}                             
  IMFS_jnode_t                     *jnode  = node->node_access;       
a000db78:	e5906000 	ldr	r6, [r0]                                      
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a000db7c:	e24dd004 	sub	sp, sp, #4                                    
a000db80:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
  node->node_access = jnode->Parent;                                  
a000db84:	e5963008 	ldr	r3, [r6, #8]                                  
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a000db88:	e1a02000 	mov	r2, r0                                        
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a000db8c:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
  node->node_access = jnode->Parent;                                  
a000db90:	e5803000 	str	r3, [r0]                                      
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a000db94:	e1a0100d 	mov	r1, sp                                        
a000db98:	e5960050 	ldr	r0, [r6, #80]	; 0x50                          
a000db9c:	eb0003ac 	bl	a000ea54 <rtems_filesystem_get_sym_start_loc>  
  );                                                                  
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
  result = IMFS_eval_path(                                            
a000dba0:	e59d3000 	ldr	r3, [sp]                                      
a000dba4:	e5966050 	ldr	r6, [r6, #80]	; 0x50                          
a000dba8:	e0866003 	add	r6, r6, r3                                    
a000dbac:	e1a00006 	mov	r0, r6                                        
a000dbb0:	eb001167 	bl	a0012154 <strlen>                              
a000dbb4:	e1a02005 	mov	r2, r5                                        
a000dbb8:	e1a01000 	mov	r1, r0                                        
a000dbbc:	e1a03004 	mov	r3, r4                                        
a000dbc0:	e1a00006 	mov	r0, r6                                        
a000dbc4:	ebffff4b 	bl	a000d8f8 <IMFS_eval_path>                      
a000dbc8:	e1a06000 	mov	r6, r0                                        
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
a000dbcc:	e1a00004 	mov	r0, r4                                        
a000dbd0:	ebffff00 	bl	a000d7d8 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a000dbd4:	e1a00004 	mov	r0, r4                                        
a000dbd8:	e1a01005 	mov	r1, r5                                        
a000dbdc:	ebffff22 	bl	a000d86c <IMFS_evaluate_permission>            
a000dbe0:	e3500000 	cmp	r0, #0                                        
a000dbe4:	0a000002 	beq	a000dbf4 <IMFS_evaluate_sym_link+0x80>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a000dbe8:	e1a00006 	mov	r0, r6                                        
a000dbec:	e28dd004 	add	sp, sp, #4                                    
a000dbf0:	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 );                   
a000dbf4:	eb000d6c 	bl	a00111ac <__errno>                             
a000dbf8:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a000dbfc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000dc00:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000dc04:	eafffff7 	b	a000dbe8 <IMFS_evaluate_sym_link+0x74>          <== NOT EXECUTED
                                                                      

a0010bf0 <IMFS_fchmod>: int IMFS_fchmod( rtems_filesystem_location_info_t *loc, mode_t mode ) {
a0010bf0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
a0010bf4:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a0010bf8:	e1a02a01 	lsl	r2, r1, #20                                   <== NOT EXECUTED
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
a0010bfc:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a0010c00:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          <== NOT EXECUTED
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
a0010c04:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0010c08:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a0010c0c:	e3c33eff 	bic	r3, r3, #4080	; 0xff0                         <== NOT EXECUTED
a0010c10:	e3c3300f 	bic	r3, r3, #15                                   <== NOT EXECUTED
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
a0010c14:	e1833a22 	orr	r3, r3, r2, lsr #20                           <== NOT EXECUTED
a0010c18:	e5843030 	str	r3, [r4, #48]	; 0x30                          <== NOT EXECUTED
                                                                      
  IMFS_update_ctime( jnode );                                         
a0010c1c:	ebffd627 	bl	a00064c0 <gettimeofday>                        <== NOT EXECUTED
a0010c20:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0010c24:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  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 );                                         
a0010c28:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0010c2c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0010c30:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0010c34 <IMFS_fdatasync>: int IMFS_fdatasync( rtems_libio_t *iop ) { return 0; }
a0010c34:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0010c38:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0007064 <IMFS_fifo_ioctl>: int IMFS_fifo_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a0007064:	e1a03000 	mov	r3, r0                                        
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a0007068:	e59f0070 	ldr	r0, [pc, #112]	; a00070e0 <IMFS_fifo_ioctl+0x7c>
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a000706c:	e92d4010 	push	{r4, lr}                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a0007070:	e1510000 	cmp	r1, r0                                        
a0007074:	0a000007 	beq	a0007098 <IMFS_fifo_ioctl+0x34>               
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
a0007078:	e5930018 	ldr	r0, [r3, #24]                                 <== NOT EXECUTED
a000707c:	e5900050 	ldr	r0, [r0, #80]	; 0x50                          <== NOT EXECUTED
a0007080:	eb002775 	bl	a0010e5c <pipe_ioctl>                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0007084:	e2502000 	subs	r2, r0, #0                                   <== NOT EXECUTED
a0007088:	b2624000 	rsblt	r4, r2, #0                                  <== NOT EXECUTED
a000708c:	ba00000f 	blt	a00070d0 <IMFS_fifo_ioctl+0x6c>               <== NOT EXECUTED
}                                                                     
a0007090:	e1a00002 	mov	r0, r2                                        
a0007094:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
a0007098:	e3520000 	cmp	r2, #0                                        
a000709c:	0a00000a 	beq	a00070cc <IMFS_fifo_ioctl+0x68>               
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
a00070a0:	e5922000 	ldr	r2, [r2]                                      
a00070a4:	e3520000 	cmp	r2, #0                                        
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
a00070a8:	15931014 	ldrne	r1, [r3, #20]                               
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a00070ac:	05931014 	ldreq	r1, [r3, #20]                               
      return 0;                                                       
a00070b0:	13a02000 	movne	r2, #0                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
a00070b4:	13811001 	orrne	r1, r1, #1                                  
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a00070b8:	03c11001 	biceq	r1, r1, #1                                  
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
a00070bc:	15831014 	strne	r1, [r3, #20]                               
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a00070c0:	05831014 	streq	r1, [r3, #20]                               
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a00070c4:	e1a00002 	mov	r0, r2                                        
a00070c8:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
a00070cc:	e3a0400e 	mov	r4, #14                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a00070d0:	eb00301c 	bl	a0013148 <__errno>                             
a00070d4:	e3e02000 	mvn	r2, #0                                        
a00070d8:	e5804000 	str	r4, [r0]                                      
a00070dc:	eaffffeb 	b	a0007090 <IMFS_fifo_ioctl+0x2c>                 
                                                                      

a00071d4 <IMFS_fifo_open>: uint32_t mode ) { IMFS_jnode_t *jnode = iop->pathinfo.node_access; int err = fifo_open(&JNODE2PIPE(jnode), iop);
a00071d4:	e5903018 	ldr	r3, [r0, #24]                                 
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a00071d8:	e92d4010 	push	{r4, lr}                                     
a00071dc:	e1a01000 	mov	r1, r0                                        
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = fifo_open(&JNODE2PIPE(jnode), iop);                       
a00071e0:	e2830050 	add	r0, r3, #80	; 0x50                            
a00071e4:	eb00251e 	bl	a0010664 <fifo_open>                           
  IMFS_FIFO_RETURN(err);                                              
a00071e8:	e2504000 	subs	r4, r0, #0                                   
a00071ec:	ba000001 	blt	a00071f8 <IMFS_fifo_open+0x24>                
}                                                                     
a00071f0:	e1a00004 	mov	r0, r4                                        
a00071f4:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = fifo_open(&JNODE2PIPE(jnode), iop);                       
  IMFS_FIFO_RETURN(err);                                              
a00071f8:	eb002fd2 	bl	a0013148 <__errno>                             
a00071fc:	e2644000 	rsb	r4, r4, #0                                    
a0007200:	e5804000 	str	r4, [r0]                                      
a0007204:	e3e04000 	mvn	r4, #0                                        
a0007208:	eafffff8 	b	a00071f0 <IMFS_fifo_open+0x1c>                  <== NOT EXECUTED
                                                                      

a0007144 <IMFS_fifo_read>: ssize_t IMFS_fifo_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a0007144:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
a0007148:	e5904018 	ldr	r4, [r0, #24]                                 
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000714c:	e1a03000 	mov	r3, r0                                        
a0007150:	e24dd008 	sub	sp, sp, #8                                    
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
a0007154:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          
a0007158:	eb002652 	bl	a0010aa8 <pipe_read>                           
  if (err > 0)                                                        
a000715c:	e2505000 	subs	r5, r0, #0                                   
a0007160:	da000007 	ble	a0007184 <IMFS_fifo_read+0x40>                
    IMFS_update_atime(jnode);                                         
a0007164:	e1a0000d 	mov	r0, sp                                        
a0007168:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000716c:	eb00040a 	bl	a000819c <gettimeofday>                        <== NOT EXECUTED
a0007170:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0007174:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0007178:	e5843040 	str	r3, [r4, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a000717c:	e28dd008 	add	sp, sp, #8                                    
a0007180:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
  if (err > 0)                                                        
    IMFS_update_atime(jnode);                                         
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0007184:	01a00005 	moveq	r0, r5                                      
a0007188:	0afffffb 	beq	a000717c <IMFS_fifo_read+0x38>                
a000718c:	eb002fed 	bl	a0013148 <__errno>                             <== NOT EXECUTED
a0007190:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a0007194:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a0007198:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000719c:	eafffff6 	b	a000717c <IMFS_fifo_read+0x38>                  <== NOT EXECUTED
                                                                      

a00070e4 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
a00070e4:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
a00070e8:	e5904018 	ldr	r4, [r0, #24]                                 <== NOT EXECUTED
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00070ec:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a00070f0:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
a00070f4:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a00070f8:	eb0026d6 	bl	a0010c58 <pipe_write>                          <== NOT EXECUTED
  if (err > 0) {                                                      
a00070fc:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a0007100:	da000008 	ble	a0007128 <IMFS_fifo_write+0x44>               <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
a0007104:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0007108:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000710c:	eb000422 	bl	a000819c <gettimeofday>                        <== NOT EXECUTED
a0007110:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0007114:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0007118:	e5843044 	str	r3, [r4, #68]	; 0x44                          <== NOT EXECUTED
a000711c:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a0007120:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0007124:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0007128:	01a00005 	moveq	r0, r5                                      <== NOT EXECUTED
a000712c:	0afffffb 	beq	a0007120 <IMFS_fifo_write+0x3c>               <== NOT EXECUTED
a0007130:	eb003004 	bl	a0013148 <__errno>                             <== NOT EXECUTED
a0007134:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a0007138:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a000713c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007140:	eafffff6 	b	a0007120 <IMFS_fifo_write+0x3c>                 <== NOT EXECUTED
                                                                      

a000df64 <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 ) {
a000df64:	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;     
a000df68:	e1a0c000 	mov	ip, r0                                        
a000df6c:	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                 
)                                                                     
{                                                                     
a000df70:	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;                                   
a000df74:	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                 
)                                                                     
{                                                                     
a000df78:	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;                                   
a000df7c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000df80:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
a000df84:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
a000df88:	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;                                   
a000df8c:	e1a0500d 	mov	r5, sp                                        
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
a000df90:	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;                                   
a000df94:	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 );                                       
a000df98:	e1a0000d 	mov	r0, sp                                        
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
a000df9c:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
a000dfa0:	e58d4000 	str	r4, [sp]                                      
     IMFS_Set_handlers( &loc );                                       
a000dfa4:	ebfffe0b 	bl	a000d7d8 <IMFS_Set_handlers>                   
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
a000dfa8:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
a000dfac:	e2842054 	add	r2, r4, #84	; 0x54                            
a000dfb0:	e3530001 	cmp	r3, #1                                        
a000dfb4:	1a000010 	bne	a000dffc <IMFS_fsunmount+0x98>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
a000dfb8:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000dfbc:	e1530002 	cmp	r3, r2                                        
a000dfc0:	0a000014 	beq	a000e018 <IMFS_fsunmount+0xb4>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
a000dfc4:	e3540000 	cmp	r4, #0                                        
a000dfc8:	0a000008 	beq	a000dff0 <IMFS_fsunmount+0x8c>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
a000dfcc:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000dfd0:	e3530001 	cmp	r3, #1                                        
a000dfd4:	1affffef 	bne	a000df98 <IMFS_fsunmount+0x34>                
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
a000dfd8:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000dfdc:	e2842054 	add	r2, r4, #84	; 0x54                            
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
a000dfe0:	e1530002 	cmp	r3, r2                                        
a000dfe4:	0affffeb 	beq	a000df98 <IMFS_fsunmount+0x34>                
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
a000dfe8:	e2534000 	subs	r4, r3, #0                                   
a000dfec:	1affffe9 	bne	a000df98 <IMFS_fsunmount+0x34>                
                                                                      
   return 0;                                                          
a000dff0:	e1a00004 	mov	r0, r4                                        
}                                                                     
a000dff4:	e28dd014 	add	sp, sp, #20                                   
a000dff8:	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 );                           
a000dffc:	e1a0100d 	mov	r1, sp                                        
a000e000:	e3a00000 	mov	r0, #0                                        
a000e004:	ebffdfbb 	bl	a0005ef8 <IMFS_unlink>                         
        if (result != 0)                                              
a000e008:	e3500000 	cmp	r0, #0                                        
a000e00c:	1a000006 	bne	a000e02c <IMFS_fsunmount+0xc8>                
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
a000e010:	e1a04006 	mov	r4, r6                                        
a000e014:	eaffffea 	b	a000dfc4 <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 );                           
a000e018:	e3a00000 	mov	r0, #0                                        
a000e01c:	e1a0100d 	mov	r1, sp                                        
a000e020:	ebffdfb4 	bl	a0005ef8 <IMFS_unlink>                         
        if (result != 0)                                              
a000e024:	e3500000 	cmp	r0, #0                                        
a000e028:	0afffff8 	beq	a000e010 <IMFS_fsunmount+0xac>                
          return -1;                                                  
a000e02c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000e030:	eaffffef 	b	a000dff4 <IMFS_fsunmount+0x90>                  <== NOT EXECUTED
                                                                      

a000e0b8 <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
a000e0b8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a000e0bc:	e1a05001 	mov	r5, r1                                        
a000e0c0:	e1a04002 	mov	r4, r2                                        
a000e0c4:	e1a0a003 	mov	sl, r3                                        
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
a000e0c8:	e5d07000 	ldrb	r7, [r0]                                     
a000e0cc:	e1a08000 	mov	r8, r0                                        
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
a000e0d0:	e3a06000 	mov	r6, #0                                        
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
a000e0d4:	ea000006 	b	a000e0f4 <IMFS_get_token+0x3c>                  
a000e0d8:	e1560005 	cmp	r6, r5                                        
a000e0dc:	aa000008 	bge	a000e104 <IMFS_get_token+0x4c>                
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
a000e0e0:	e3560020 	cmp	r6, #32                                       
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
a000e0e4:	e7c47006 	strb	r7, [r4, r6]                                 
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
a000e0e8:	0a00001b 	beq	a000e15c <IMFS_get_token+0xa4>                
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
a000e0ec:	e5f87001 	ldrb	r7, [r8, #1]!                                
a000e0f0:	e2866001 	add	r6, r6, #1                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
a000e0f4:	e1a00007 	mov	r0, r7                                        
a000e0f8:	ebffe47e 	bl	a00072f8 <rtems_filesystem_is_separator>       
a000e0fc:	e3500000 	cmp	r0, #0                                        
a000e100:	0afffff4 	beq	a000e0d8 <IMFS_get_token+0x20>                
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
a000e104:	e3560000 	cmp	r6, #0                                        
a000e108:	1a000006 	bne	a000e128 <IMFS_get_token+0x70>                
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
a000e10c:	e3570000 	cmp	r7, #0                                        
a000e110:	13550000 	cmpne	r5, #0                                      
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
a000e114:	13a06001 	movne	r6, #1                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
a000e118:	e5c47000 	strb	r7, [r4]                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
a000e11c:	e1a00006 	mov	r0, r6                                        
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
a000e120:	e58a6000 	str	r6, [sl]                                      
a000e124:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
a000e128:	e0843006 	add	r3, r4, r6                                    
a000e12c:	e5533001 	ldrb	r3, [r3, #-1]                                
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
a000e130:	e1a00004 	mov	r0, r4                                        
a000e134:	e59f1044 	ldr	r1, [pc, #68]	; a000e180 <IMFS_get_token+0xc8>
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
a000e138:	e3530000 	cmp	r3, #0                                        
    token[i] = '\0';                                                  
a000e13c:	13a03000 	movne	r3, #0                                      
a000e140:	17c43006 	strbne	r3, [r4, r6]                               
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
a000e144:	e58a6000 	str	r6, [sl]                                      
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
a000e148:	eb000f25 	bl	a0011de4 <strcmp>                              
a000e14c:	e3500000 	cmp	r0, #0                                        
a000e150:	1a000003 	bne	a000e164 <IMFS_get_token+0xac>                
      type = IMFS_UP_DIR;                                             
a000e154:	e3a00002 	mov	r0, #2                                        
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
a000e158:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
       return IMFS_INVALID_TOKEN;                                     
a000e15c:	e3a00004 	mov	r0, #4                                        <== NOT EXECUTED
a000e160:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
a000e164:	e1a00004 	mov	r0, r4                                        
a000e168:	e59f1014 	ldr	r1, [pc, #20]	; a000e184 <IMFS_get_token+0xcc>
a000e16c:	eb000f1c 	bl	a0011de4 <strcmp>                              
a000e170:	e3500000 	cmp	r0, #0                                        
a000e174:	03a00001 	moveq	r0, #1                                      
a000e178:	13a00003 	movne	r0, #3                                      
a000e17c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a0005adc <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 ) {
a0005adc:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0005ae0:	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,       
a0005ae4:	e59f10e0 	ldr	r1, [pc, #224]	; a0005bcc <IMFS_initialize_support+0xf0>
   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          
)                                                                     
{                                                                     
a0005ae8:	e1a04000 	mov	r4, r0                                        
a0005aec:	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,       
a0005af0:	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          
)                                                                     
{                                                                     
a0005af4:	e1a07003 	mov	r7, r3                                        
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
a0005af8:	e3510010 	cmp	r1, #16                                       
a0005afc:	0a00000a 	beq	a0005b2c <IMFS_initialize_support+0x50>       
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
a0005b00:	e351000f 	cmp	r1, #15                                       
a0005b04:	c3a02005 	movgt	r2, #5                                      
a0005b08:	c3a03020 	movgt	r3, #32                                     
a0005b0c:	da000005 	ble	a0005b28 <IMFS_initialize_support+0x4c>       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
a0005b10:	e1510003 	cmp	r1, r3                                        
a0005b14:	0a000004 	beq	a0005b2c <IMFS_initialize_support+0x50>       
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
a0005b18:	ba000002 	blt	a0005b28 <IMFS_initialize_support+0x4c>       
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
a0005b1c:	e2522001 	subs	r2, r2, #1                                   
a0005b20:	e1a03083 	lsl	r3, r3, #1                                    
a0005b24:	1afffff9 	bne	a0005b10 <IMFS_initialize_support+0x34>       
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
a0005b28:	e3a01080 	mov	r1, #128	; 0x80                               
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
a0005b2c:	e59f509c 	ldr	r5, [pc, #156]	; a0005bd0 <IMFS_initialize_support+0xf4>
a0005b30:	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();
a0005b34:	eb001f17 	bl	a000d798 <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;
a0005b38:	e59fe094 	ldr	lr, [pc, #148]	; a0005bd4 <IMFS_initialize_support+0xf8>
a0005b3c:	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();
a0005b40:	e584001c 	str	r0, [r4, #28]                                 
a0005b44:	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;
a0005b48:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0005b4c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0005b50:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0005b54:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0005b58:	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;    
a0005b5c:	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;
a0005b60:	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;              
a0005b64:	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 ) );                    
a0005b68:	e3a00001 	mov	r0, #1                                        
a0005b6c:	e3a01014 	mov	r1, #20                                       
a0005b70:	eb0001af 	bl	a0006234 <calloc>                              
  if ( !fs_info ) {                                                   
a0005b74:	e3500000 	cmp	r0, #0                                        
a0005b78:	0a00000c 	beq	a0005bb0 <IMFS_initialize_support+0xd4>       
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a0005b7c:	e5952004 	ldr	r2, [r5, #4]                                  
  fs_info->ino_count             = 1;                                 
a0005b80:	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;                                   
a0005b84:	e5840034 	str	r0, [r4, #52]	; 0x34                          
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a0005b88:	e0821003 	add	r1, r2, r3                                    
a0005b8c:	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;                     
a0005b90:	e59d201c 	ldr	r2, [sp, #28]                                 
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
a0005b94:	e9800408 	stmib	r0, {r3, sl}                                
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
a0005b98:	e580700c 	str	r7, [r0, #12]                                 
  fs_info->fifo_handlers         = fifo_handlers;                     
a0005b9c:	e5802010 	str	r2, [r0, #16]                                 
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a0005ba0:	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;                                 
a0005ba4:	e5863038 	str	r3, [r6, #56]	; 0x38                          
                                                                      
  return 0;                                                           
a0005ba8:	e3a00000 	mov	r0, #0                                        
}                                                                     
a0005bac:	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);                      
a0005bb0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0005bb4:	eb00020c 	bl	a00063ec <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a0005bb8:	eb002d7b 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0005bbc:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0005bc0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005bc4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005bc8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a0005bd8 <IMFS_link>: int i; /* * Verify this node can be linked to. */ info.hard_link.link_node = to_loc->node_access;
a0005bd8:	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 */            
)                                                                     
{                                                                     
a0005bdc:	e92d4070 	push	{r4, r5, r6, lr}                             
a0005be0:	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 )               
a0005be4:	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 */            
)                                                                     
{                                                                     
a0005be8:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0005bec:	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 )               
a0005bf0:	e3520007 	cmp	r2, #7                                        
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a0005bf4:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
a0005bf8:	8a00001e 	bhi	a0005c78 <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 );             
a0005bfc:	e1a00006 	mov	r0, r6                                        
a0005c00:	eb003153 	bl	a0012154 <strlen>                              
a0005c04:	e28d4004 	add	r4, sp, #4                                    
a0005c08:	e1a01000 	mov	r1, r0                                        
a0005c0c:	e1a02004 	mov	r2, r4                                        
a0005c10:	e28d3044 	add	r3, sp, #68	; 0x44                            
a0005c14:	e1a00006 	mov	r0, r6                                        
a0005c18:	eb002126 	bl	a000e0b8 <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(                                        
a0005c1c:	e28d2028 	add	r2, sp, #40	; 0x28                            
a0005c20:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a0005c24:	e58d2000 	str	r2, [sp]                                      
a0005c28:	e3a01003 	mov	r1, #3                                        
a0005c2c:	e1a00005 	mov	r0, r5                                        
a0005c30:	e1a02004 	mov	r2, r4                                        
a0005c34:	e2433001 	sub	r3, r3, #1                                    
a0005c38:	eb001e82 	bl	a000d648 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a0005c3c:	e3500000 	cmp	r0, #0                                        
a0005c40:	0a000011 	beq	a0005c8c <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++;                               
a0005c44:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
  IMFS_update_ctime( info.hard_link.link_node );                      
a0005c48:	e28d003c 	add	r0, sp, #60	; 0x3c                            
a0005c4c:	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++;                               
a0005c50:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a0005c54:	e2822001 	add	r2, r2, #1                                    
a0005c58:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
a0005c5c:	eb000217 	bl	a00064c0 <gettimeofday>                        
a0005c60:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
a0005c64:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
                                                                      
  return 0;                                                           
a0005c68:	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 );                      
a0005c6c:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a0005c70:	e28dd048 	add	sp, sp, #72	; 0x48                            
a0005c74:	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 );                   
a0005c78:	eb002d4b 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0005c7c:	e3a0301f 	mov	r3, #31                                       <== NOT EXECUTED
a0005c80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005c84:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005c88:	eafffff8 	b	a0005c70 <IMFS_link+0x98>                       <== NOT EXECUTED
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a0005c8c:	eb002d46 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0005c90:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0005c94:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005c98:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005c9c:	eafffff3 	b	a0005c70 <IMFS_link+0x98>                       <== NOT EXECUTED
                                                                      

a000ff80 <IMFS_memfile_addblock>: */ MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
a000ff80:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );                 
                                                                      
  /*                                                                  
   * Obtain the pointer for the specified block number                
   */                                                                 
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
a000ff84:	e3a02001 	mov	r2, #1                                        
a000ff88:	ebfffee9 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      
  if ( *block_entry_ptr )                                             
a000ff8c:	e5904000 	ldr	r4, [r0]                                      
  IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );                 
                                                                      
  /*                                                                  
   * Obtain the pointer for the specified block number                
   */                                                                 
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
a000ff90:	e1a05000 	mov	r5, r0                                        
  if ( *block_entry_ptr )                                             
a000ff94:	e3540000 	cmp	r4, #0                                        
a000ff98:	0a000001 	beq	a000ffa4 <IMFS_memfile_addblock+0x24>         
    return 0;                                                         
a000ff9c:	e3a00000 	mov	r0, #0                                        
a000ffa0:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   *  There is no memory for this block number so allocate it.        
   */                                                                 
  memory = memfile_alloc_block();                                     
a000ffa4:	ebfffed5 	bl	a000fb00 <memfile_alloc_block>                 
  if ( !memory )                                                      
a000ffa8:	e3500000 	cmp	r0, #0                                        
a000ffac:	0a000002 	beq	a000ffbc <IMFS_memfile_addblock+0x3c>         
    return 1;                                                         
                                                                      
  *block_entry_ptr = memory;                                          
a000ffb0:	e5850000 	str	r0, [r5]                                      
  return 0;                                                           
a000ffb4:	e1a00004 	mov	r0, r4                                        
a000ffb8:	e8bd8030 	pop	{r4, r5, pc}                                  
  /*                                                                  
   *  There is no memory for this block number so allocate it.        
   */                                                                 
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
    return 1;                                                         
a000ffbc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
                                                                      
  *block_entry_ptr = memory;                                          
  return 0;                                                           
}                                                                     
a000ffc0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a00101ac <IMFS_memfile_extend>: IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE ); /* * Verify new file size is supported */ if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )
a00101ac:	e59f3128 	ldr	r3, [pc, #296]	; a00102dc <IMFS_memfile_extend+0x130>
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a00101b0:	e92d4df0 	push	{r4, r5, r6, r7, r8, sl, fp, lr}             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a00101b4:	e593b000 	ldr	fp, [r3]                                      
a00101b8:	e3a03000 	mov	r3, #0                                        
a00101bc:	e1530002 	cmp	r3, r2                                        
a00101c0:	e1a0312b 	lsr	r3, fp, #2                                    
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a00101c4:	e1a06002 	mov	r6, r2                                        
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a00101c8:	e0223393 	mla	r2, r3, r3, r3                                
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a00101cc:	e24dd004 	sub	sp, sp, #4                                    
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a00101d0:	e0233392 	mla	r3, r2, r3, r3                                
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a00101d4:	e1a04000 	mov	r4, r0                                        
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a00101d8:	e2433001 	sub	r3, r3, #1                                    
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a00101dc:	e1a08001 	mov	r8, r1                                        
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a00101e0:	e003039b 	mul	r3, fp, r3                                    
a00101e4:	da000034 	ble	a00102bc <IMFS_memfile_extend+0x110>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
a00101e8:	e5947054 	ldr	r7, [r4, #84]	; 0x54                          
a00101ec:	e594a050 	ldr	sl, [r4, #80]	; 0x50                          
a00101f0:	e1560007 	cmp	r6, r7                                        
a00101f4:	da000027 	ble	a0010298 <IMFS_memfile_extend+0xec>           
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a00101f8:	e1a0cfcb 	asr	ip, fp, #31                                   
a00101fc:	e1a0300c 	mov	r3, ip                                        
a0010200:	e1a0200b 	mov	r2, fp                                        
a0010204:	e1a00008 	mov	r0, r8                                        
a0010208:	e1a01006 	mov	r1, r6                                        
a001020c:	e58dc000 	str	ip, [sp]                                      
a0010210:	eb0011fd 	bl	a0014a0c <__divdi3>                            
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a0010214:	e59dc000 	ldr	ip, [sp]                                      
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a0010218:	e1a05000 	mov	r5, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a001021c:	e1a01007 	mov	r1, r7                                        
a0010220:	e1a0000a 	mov	r0, sl                                        
a0010224:	e1a0200b 	mov	r2, fp                                        
a0010228:	e1a0300c 	mov	r3, ip                                        
a001022c:	eb0011f6 	bl	a0014a0c <__divdi3>                            
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a0010230:	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;
a0010234:	e1a0a000 	mov	sl, r0                                        
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a0010238:	3a00001b 	bcc	a00102ac <IMFS_memfile_extend+0x100>          
a001023c:	e1a07000 	mov	r7, r0                                        
a0010240:	ea000002 	b	a0010250 <IMFS_memfile_extend+0xa4>             
a0010244:	e2877001 	add	r7, r7, #1                                    
a0010248:	e1550007 	cmp	r5, r7                                        
a001024c:	3a000016 	bcc	a00102ac <IMFS_memfile_extend+0x100>          
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
a0010250:	e1a01007 	mov	r1, r7                                        
a0010254:	e1a00004 	mov	r0, r4                                        
a0010258:	ebffff48 	bl	a000ff80 <IMFS_memfile_addblock>               
a001025c:	e3500000 	cmp	r0, #0                                        
a0010260:	0afffff7 	beq	a0010244 <IMFS_memfile_extend+0x98>           
a0010264:	ea000003 	b	a0010278 <IMFS_memfile_extend+0xcc>             <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
a0010268:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a001026c:	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-- ) {                        
a0010270:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
         IMFS_memfile_remove_block( the_jnode, block );               
a0010274:	ebffffc2 	bl	a0010184 <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-- ) {                        
a0010278:	e15a0007 	cmp	sl, r7                                        <== NOT EXECUTED
a001027c:	9afffff9 	bls	a0010268 <IMFS_memfile_extend+0xbc>           <== NOT EXECUTED
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
a0010280:	eb0003c9 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0010284:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a0010288:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a001028c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
a0010290:	e28dd004 	add	sp, sp, #4                                    
a0010294:	e8bd8df0 	pop	{r4, r5, r6, r7, r8, sl, fp, pc}              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
a0010298:	1a000001 	bne	a00102a4 <IMFS_memfile_extend+0xf8>           
a001029c:	e158000a 	cmp	r8, sl                                        
a00102a0:	8affffd4 	bhi	a00101f8 <IMFS_memfile_extend+0x4c>           
    return 0;                                                         
a00102a4:	e3a00000 	mov	r0, #0                                        
a00102a8:	eafffff8 	b	a0010290 <IMFS_memfile_extend+0xe4>             
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
a00102ac:	e5848050 	str	r8, [r4, #80]	; 0x50                          
a00102b0:	e5846054 	str	r6, [r4, #84]	; 0x54                          
  return 0;                                                           
a00102b4:	e3a00000 	mov	r0, #0                                        
a00102b8:	eafffff4 	b	a0010290 <IMFS_memfile_extend+0xe4>             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a00102bc:	1a000001 	bne	a00102c8 <IMFS_memfile_extend+0x11c>          
a00102c0:	e1530001 	cmp	r3, r1                                        
a00102c4:	8affffc7 	bhi	a00101e8 <IMFS_memfile_extend+0x3c>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00102c8:	eb0003b7 	bl	a00111ac <__errno>                             
a00102cc:	e3a03016 	mov	r3, #22                                       
a00102d0:	e5803000 	str	r3, [r0]                                      
a00102d4:	e3e00000 	mvn	r0, #0                                        
a00102d8:	eaffffec 	b	a0010290 <IMFS_memfile_extend+0xe4>             
                                                                      

a000fb34 <IMFS_memfile_get_block_pointer>: my_block = block; /* * Is the block number in the simple indirect portion? */ if ( my_block <= LAST_INDIRECT ) {
a000fb34:	e59f3200 	ldr	r3, [pc, #512]	; a000fd3c <IMFS_memfile_get_block_pointer+0x208>
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000fb38:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
a000fb3c:	e5935000 	ldr	r5, [r3]                                      
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000fb40:	e24dd004 	sub	sp, sp, #4                                    
a000fb44:	e1a04000 	mov	r4, r0                                        
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
a000fb48:	e1a05125 	lsr	r5, r5, #2                                    
a000fb4c:	e2453001 	sub	r3, r5, #1                                    
a000fb50:	e1510003 	cmp	r1, r3                                        
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000fb54:	e1a06002 	mov	r6, r2                                        
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
a000fb58:	8a000007 	bhi	a000fb7c <IMFS_memfile_get_block_pointer+0x48>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
a000fb5c:	e3520000 	cmp	r2, #0                                        
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
a000fb60:	e5900058 	ldr	r0, [r0, #88]	; 0x58                          
                                                                      
    if ( malloc_it ) {                                                
a000fb64:	0a00001c 	beq	a000fbdc <IMFS_memfile_get_block_pointer+0xa8>
                                                                      
      if ( !p ) {                                                     
a000fb68:	e3500000 	cmp	r0, #0                                        
a000fb6c:	0a000041 	beq	a000fc78 <IMFS_memfile_get_block_pointer+0x144>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
a000fb70:	e0800101 	add	r0, r0, r1, lsl #2                            
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
a000fb74:	e28dd004 	add	sp, sp, #4                                    
a000fb78:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
a000fb7c:	e0275595 	mla	r7, r5, r5, r5                                
a000fb80:	e2473001 	sub	r3, r7, #1                                    
a000fb84:	e1510003 	cmp	r1, r3                                        
a000fb88:	8a000016 	bhi	a000fbe8 <IMFS_memfile_get_block_pointer+0xb4>
    my_block -= FIRST_DOUBLY_INDIRECT;                                
a000fb8c:	e0657001 	rsb	r7, r5, r1                                    
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fb90:	e1a00007 	mov	r0, r7                                        
a000fb94:	e1a01005 	mov	r1, r5                                        
a000fb98:	eb001367 	bl	a001493c <__umodsi3>                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fb9c:	e1a01005 	mov	r1, r5                                        
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fba0:	e1a08000 	mov	r8, r0                                        
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fba4:	e1a00007 	mov	r0, r7                                        
a000fba8:	eb00131d 	bl	a0014824 <__aeabi_uidiv>                       
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
a000fbac:	e3560000 	cmp	r6, #0                                        
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fbb0:	e1a05000 	mov	r5, r0                                        
                                                                      
    p = info->doubly_indirect;                                        
a000fbb4:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          
    if ( malloc_it ) {                                                
a000fbb8:	0a00003f 	beq	a000fcbc <IMFS_memfile_get_block_pointer+0x188>
                                                                      
      if ( !p ) {                                                     
a000fbbc:	e3530000 	cmp	r3, #0                                        
a000fbc0:	0a000045 	beq	a000fcdc <IMFS_memfile_get_block_pointer+0x1a8>
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
a000fbc4:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          
a000fbc8:	e0835105 	add	r5, r3, r5, lsl #2                            
      if ( !p1 ) {                                                    
a000fbcc:	e3500000 	cmp	r0, #0                                        
a000fbd0:	0a00002f 	beq	a000fc94 <IMFS_memfile_get_block_pointer+0x160>
                                                                      
    p = (block_p *)p[ doubly ];                                       
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
a000fbd4:	e0800108 	add	r0, r0, r8, lsl #2                            
a000fbd8:	eaffffe5 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
a000fbdc:	e3500000 	cmp	r0, #0                                        
a000fbe0:	1affffe2 	bne	a000fb70 <IMFS_memfile_get_block_pointer+0x3c>
a000fbe4:	eaffffe2 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
a000fbe8:	e0235597 	mla	r3, r7, r5, r5                                
a000fbec:	e2433001 	sub	r3, r3, #1                                    
a000fbf0:	e1510003 	cmp	r1, r3                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
a000fbf4:	83a00000 	movhi	r0, #0                                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
a000fbf8:	8affffdd 	bhi	a000fb74 <IMFS_memfile_get_block_pointer+0x40>
    my_block -= FIRST_TRIPLY_INDIRECT;                                
a000fbfc:	e0677001 	rsb	r7, r7, r1                                    
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fc00:	e1a00007 	mov	r0, r7                                        
a000fc04:	e1a01005 	mov	r1, r5                                        
a000fc08:	eb00134b 	bl	a001493c <__umodsi3>                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fc0c:	e1a01005 	mov	r1, r5                                        
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fc10:	e1a0a000 	mov	sl, r0                                        
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000fc14:	e1a00007 	mov	r0, r7                                        
a000fc18:	eb001301 	bl	a0014824 <__aeabi_uidiv>                       
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000fc1c:	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;                     
a000fc20:	e1a08000 	mov	r8, r0                                        
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000fc24:	eb0012fe 	bl	a0014824 <__aeabi_uidiv>                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000fc28:	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;                       
a000fc2c:	e1a07000 	mov	r7, r0                                        
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000fc30:	e1a00008 	mov	r0, r8                                        
a000fc34:	eb001340 	bl	a001493c <__umodsi3>                           
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
a000fc38:	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;                               
a000fc3c:	e1a05000 	mov	r5, r0                                        
                                                                      
    p = info->triply_indirect;                                        
a000fc40:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          
                                                                      
    if ( malloc_it ) {                                                
a000fc44:	0a000029 	beq	a000fcf0 <IMFS_memfile_get_block_pointer+0x1bc>
      if ( !p ) {                                                     
a000fc48:	e3500000 	cmp	r0, #0                                        
a000fc4c:	0a000035 	beq	a000fd28 <IMFS_memfile_get_block_pointer+0x1f4>
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
a000fc50:	e7903107 	ldr	r3, [r0, r7, lsl #2]                          
a000fc54:	e0807107 	add	r7, r0, r7, lsl #2                            
      if ( !p1 ) {                                                    
a000fc58:	e3530000 	cmp	r3, #0                                        
a000fc5c:	0a00002c 	beq	a000fd14 <IMFS_memfile_get_block_pointer+0x1e0>
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
a000fc60:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          
a000fc64:	e0835105 	add	r5, r3, r5, lsl #2                            
      if ( !p2 ) {                                                    
a000fc68:	e3500000 	cmp	r0, #0                                        
a000fc6c:	0a00000d 	beq	a000fca8 <IMFS_memfile_get_block_pointer+0x174>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000fc70:	e080010a 	add	r0, r0, sl, lsl #2                            
a000fc74:	eaffffbe 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000fc78:	e58d1000 	str	r1, [sp]                                      
a000fc7c:	ebffff9f 	bl	a000fb00 <memfile_alloc_block>                 
        if ( !p )                                                     
a000fc80:	e3500000 	cmp	r0, #0                                        
a000fc84:	e59d1000 	ldr	r1, [sp]                                      
           return 0;                                                  
        info->indirect = p;                                           
a000fc88:	15840058 	strne	r0, [r4, #88]	; 0x58                        
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
a000fc8c:	1affffb7 	bne	a000fb70 <IMFS_memfile_get_block_pointer+0x3c>
a000fc90:	eaffffb7 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  <== NOT EXECUTED
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
a000fc94:	ebffff99 	bl	a000fb00 <memfile_alloc_block>                 
        if ( !p1 )                                                    
a000fc98:	e3500000 	cmp	r0, #0                                        
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
a000fc9c:	15850000 	strne	r0, [r5]                                    
                                                                      
    p = (block_p *)p[ doubly ];                                       
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
a000fca0:	10800108 	addne	r0, r0, r8, lsl #2                          
a000fca4:	eaffffb2 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
a000fca8:	ebffff94 	bl	a000fb00 <memfile_alloc_block>                 
        if ( !p2 )                                                    
a000fcac:	e3500000 	cmp	r0, #0                                        
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
a000fcb0:	15850000 	strne	r0, [r5]                                    
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000fcb4:	1080010a 	addne	r0, r0, sl, lsl #2                          
a000fcb8:	eaffffad 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a000fcbc:	e3530000 	cmp	r3, #0                                        
a000fcc0:	1a000001 	bne	a000fccc <IMFS_memfile_get_block_pointer+0x198>
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
           return 0;                                                  
a000fcc4:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a000fcc8:	eaffffa9 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  <== NOT EXECUTED
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
a000fccc:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          
    if ( !p )                                                         
a000fcd0:	e3500000 	cmp	r0, #0                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
a000fcd4:	10800108 	addne	r0, r0, r8, lsl #2                          
a000fcd8:	eaffffa5 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000fcdc:	ebffff87 	bl	a000fb00 <memfile_alloc_block>                 
        if ( !p )                                                     
a000fce0:	e2503000 	subs	r3, r0, #0                                   
a000fce4:	0afffff6 	beq	a000fcc4 <IMFS_memfile_get_block_pointer+0x190>
           return 0;                                                  
        info->doubly_indirect = p;                                    
a000fce8:	e584305c 	str	r3, [r4, #92]	; 0x5c                          
a000fcec:	eaffffb4 	b	a000fbc4 <IMFS_memfile_get_block_pointer+0x90>  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a000fcf0:	e3500000 	cmp	r0, #0                                        
a000fcf4:	0affff9e 	beq	a000fb74 <IMFS_memfile_get_block_pointer+0x40>
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
a000fcf8:	e7900107 	ldr	r0, [r0, r7, lsl #2]                          
    if ( !p1 )                                                        
a000fcfc:	e3500000 	cmp	r0, #0                                        
a000fd00:	0affff9b 	beq	a000fb74 <IMFS_memfile_get_block_pointer+0x40>
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
a000fd04:	e7900105 	ldr	r0, [r0, r5, lsl #2]                          
    if ( !p2 )                                                        
a000fd08:	e3500000 	cmp	r0, #0                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000fd0c:	1080010a 	addne	r0, r0, sl, lsl #2                          
a000fd10:	eaffff97 	b	a000fb74 <IMFS_memfile_get_block_pointer+0x40>  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
a000fd14:	ebffff79 	bl	a000fb00 <memfile_alloc_block>                 
        if ( !p1 )                                                    
a000fd18:	e2503000 	subs	r3, r0, #0                                   
a000fd1c:	0affffe8 	beq	a000fcc4 <IMFS_memfile_get_block_pointer+0x190>
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
a000fd20:	e5873000 	str	r3, [r7]                                      
a000fd24:	eaffffcd 	b	a000fc60 <IMFS_memfile_get_block_pointer+0x12c> 
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000fd28:	ebffff74 	bl	a000fb00 <memfile_alloc_block>                 
        if ( !p )                                                     
a000fd2c:	e3500000 	cmp	r0, #0                                        
a000fd30:	0affff8f 	beq	a000fb74 <IMFS_memfile_get_block_pointer+0x40>
           return 0;                                                  
        info->triply_indirect = p;                                    
a000fd34:	e5840060 	str	r0, [r4, #96]	; 0x60                          
a000fd38:	eaffffc4 	b	a000fc50 <IMFS_memfile_get_block_pointer+0x11c> 
                                                                      

a000fd40 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
a000fd40:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000fd44:	e1a09000 	mov	r9, r0                                        
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000fd48:	e590004c 	ldr	r0, [r0, #76]	; 0x4c                          
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a000fd4c:	e24dd014 	sub	sp, sp, #20                                   
a000fd50:	e1a07001 	mov	r7, r1                                        
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000fd54:	e3500006 	cmp	r0, #6                                        
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a000fd58:	e1a08002 	mov	r8, r2                                        
a000fd5c:	e1a0b003 	mov	fp, r3                                        
a000fd60:	e59d5038 	ldr	r5, [sp, #56]	; 0x38                          
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000fd64:	0a00005c 	beq	a000fedc <IMFS_memfile_read+0x19c>            
  /*                                                                  
   *  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 )                        
a000fd68:	e5992054 	ldr	r2, [r9, #84]	; 0x54                          
                                                                      
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
a000fd6c:	e1a03001 	mov	r3, r1                                        
  if ( last_byte > the_jnode->info.file.size )                        
a000fd70:	e3a01000 	mov	r1, #0                                        
a000fd74:	e1510002 	cmp	r1, r2                                        
a000fd78:	e5992050 	ldr	r2, [r9, #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;                                         
a000fd7c:	e0851007 	add	r1, r5, r7                                    
  if ( last_byte > the_jnode->info.file.size )                        
a000fd80:	da00003d 	ble	a000fe7c <IMFS_memfile_read+0x13c>            
    my_length = the_jnode->info.file.size - start;                    
a000fd84:	e0635002 	rsb	r5, r3, r2                                    
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000fd88:	e59f61b8 	ldr	r6, [pc, #440]	; a000ff48 <IMFS_memfile_read+0x208>
a000fd8c:	e1a00007 	mov	r0, r7                                        
a000fd90:	e1a01008 	mov	r1, r8                                        
a000fd94:	e5964000 	ldr	r4, [r6]                                      
a000fd98:	e1a02004 	mov	r2, r4                                        
a000fd9c:	e1a03fc2 	asr	r3, r2, #31                                   
a000fda0:	e98d000c 	stmib	sp, {r2, r3}                                
a000fda4:	eb001445 	bl	a0014ec0 <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000fda8:	e99d000c 	ldmib	sp, {r2, r3}                                
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000fdac:	e1a0a000 	mov	sl, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000fdb0:	e1a01008 	mov	r1, r8                                        
a000fdb4:	e1a00007 	mov	r0, r7                                        
a000fdb8:	eb001313 	bl	a0014a0c <__divdi3>                            
  if ( start_offset )  {                                              
a000fdbc:	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;                       
a000fdc0:	e1a07000 	mov	r7, r0                                        
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
a000fdc4:	01a0800b 	moveq	r8, fp                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
a000fdc8:	0a000014 	beq	a000fe20 <IMFS_memfile_read+0xe0>             
    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 );
a000fdcc:	e1a00009 	mov	r0, r9                                        
a000fdd0:	e1a01007 	mov	r1, r7                                        
a000fdd4:	e3a02000 	mov	r2, #0                                        
a000fdd8:	ebffff55 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000fddc:	e3500000 	cmp	r0, #0                                        
a000fde0:	0a000023 	beq	a000fe74 <IMFS_memfile_read+0x134>            
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
a000fde4:	e5901000 	ldr	r1, [r0]                                      
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  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;            
a000fde8:	e06a3004 	rsb	r3, sl, r4                                    
a000fdec:	e1550003 	cmp	r5, r3                                        
a000fdf0:	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 );           
a000fdf4:	e081100a 	add	r1, r1, sl                                    
a000fdf8:	e1a02003 	mov	r2, r3                                        
a000fdfc:	e1a0000b 	mov	r0, fp                                        
a000fe00:	e58d3000 	str	r3, [sp]                                      
a000fe04:	eb000716 	bl	a0011a64 <memcpy>                              
    dest += to_copy;                                                  
a000fe08:	e59d3000 	ldr	r3, [sp]                                      
    block++;                                                          
    my_length -= to_copy;                                             
a000fe0c:	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++;                                                          
a000fe10:	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;                                                  
a000fe14:	e08b8003 	add	r8, fp, r3                                    
    block++;                                                          
    my_length -= to_copy;                                             
a000fe18:	e0635005 	rsb	r5, r3, r5                                    
    copied += to_copy;                                                
a000fe1c:	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 ) {               
a000fe20:	e1550004 	cmp	r5, r4                                        
a000fe24:	2a000008 	bcs	a000fe4c <IMFS_memfile_read+0x10c>            
a000fe28:	ea000017 	b	a000fe8c <IMFS_memfile_read+0x14c>              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a000fe2c:	e5931000 	ldr	r1, [r3]                                      
a000fe30:	eb00070b 	bl	a0011a64 <memcpy>                              
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000fe34:	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;                                                  
a000fe38:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
a000fe3c:	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 ) {               
a000fe40:	e1530005 	cmp	r3, r5                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a000fe44:	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 ) {               
a000fe48:	8a00000f 	bhi	a000fe8c <IMFS_memfile_read+0x14c>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000fe4c:	e3a02000 	mov	r2, #0                                        
a000fe50:	e1a01007 	mov	r1, r7                                        
a000fe54:	e1a00009 	mov	r0, r9                                        
a000fe58:	ebffff35 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000fe5c:	e2503000 	subs	r3, r0, #0                                   
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a000fe60:	e1a02004 	mov	r2, r4                                        
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
a000fe64:	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 );                      
a000fe68:	e1a00008 	mov	r0, r8                                        
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  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 )                                                 
a000fe6c:	1affffee 	bne	a000fe2c <IMFS_memfile_read+0xec>             
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
a000fe70:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
a000fe74:	e28dd014 	add	sp, sp, #20                                   
a000fe78:	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 )                        
a000fe7c:	1affffc1 	bne	a000fd88 <IMFS_memfile_read+0x48>             
a000fe80:	e1510002 	cmp	r1, r2                                        
a000fe84:	9affffbf 	bls	a000fd88 <IMFS_memfile_read+0x48>             
a000fe88:	eaffffbd 	b	a000fd84 <IMFS_memfile_read+0x44>               
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
a000fe8c:	e3550000 	cmp	r5, #0                                        
a000fe90:	0a00000a 	beq	a000fec0 <IMFS_memfile_read+0x180>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000fe94:	e1a00009 	mov	r0, r9                                        
a000fe98:	e1a01007 	mov	r1, r7                                        
a000fe9c:	e3a02000 	mov	r2, #0                                        
a000fea0:	ebffff23 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a000fea4:	e2503000 	subs	r3, r0, #0                                   
a000fea8:	0afffff0 	beq	a000fe70 <IMFS_memfile_read+0x130>            
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
a000feac:	e1a00008 	mov	r0, r8                                        
a000feb0:	e5931000 	ldr	r1, [r3]                                      
a000feb4:	e1a02005 	mov	r2, r5                                        
a000feb8:	eb0006e9 	bl	a0011a64 <memcpy>                              
    copied += my_length;                                              
a000febc:	e08aa005 	add	sl, sl, r5                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000fec0:	e28d000c 	add	r0, sp, #12                                   
a000fec4:	e3a01000 	mov	r1, #0                                        
a000fec8:	ebffd97c 	bl	a00064c0 <gettimeofday>                        
a000fecc:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  return copied;                                                      
a000fed0:	e1a0000a 	mov	r0, sl                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000fed4:	e5893040 	str	r3, [r9, #64]	; 0x40                          
                                                                      
  return copied;                                                      
a000fed8:	eaffffe5 	b	a000fe74 <IMFS_memfile_read+0x134>              
  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))        
a000fedc:	e2894050 	add	r4, r9, #80	; 0x50                            
a000fee0:	e8940018 	ldm	r4, {r3, r4}                                  
a000fee4:	e1a00003 	mov	r0, r3                                        
a000fee8:	e1a01004 	mov	r1, r4                                        
a000feec:	e3a02000 	mov	r2, #0                                        
a000fef0:	e0500007 	subs	r0, r0, r7                                   
a000fef4:	e0c11008 	sbc	r1, r1, r8                                    
a000fef8:	e1520001 	cmp	r2, r1                                        
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
a000fefc:	e5992058 	ldr	r2, [r9, #88]	; 0x58                          
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a000ff00:	da00000b 	ble	a000ff34 <IMFS_memfile_read+0x1f4>            
      my_length = the_jnode->info.linearfile.size - start;            
a000ff04:	e067a003 	rsb	sl, r7, r3                                    
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
a000ff08:	e0821007 	add	r1, r2, r7                                    
a000ff0c:	e1a0000b 	mov	r0, fp                                        
a000ff10:	e1a0200a 	mov	r2, sl                                        
a000ff14:	eb0006d2 	bl	a0011a64 <memcpy>                              
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000ff18:	e28d000c 	add	r0, sp, #12                                   
a000ff1c:	e3a01000 	mov	r1, #0                                        
a000ff20:	ebffd966 	bl	a00064c0 <gettimeofday>                        
a000ff24:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  return copied;                                                      
a000ff28:	e1a0000a 	mov	r0, sl                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000ff2c:	e5893040 	str	r3, [r9, #64]	; 0x40                          
a000ff30:	eaffffcf 	b	a000fe74 <IMFS_memfile_read+0x134>              
  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))        
a000ff34:	1a000001 	bne	a000ff40 <IMFS_memfile_read+0x200>            
a000ff38:	e1550000 	cmp	r5, r0                                        
a000ff3c:	8afffff0 	bhi	a000ff04 <IMFS_memfile_read+0x1c4>            
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
a000ff40:	e1a0a005 	mov	sl, r5                                        <== NOT EXECUTED
a000ff44:	eaffffef 	b	a000ff08 <IMFS_memfile_read+0x1c8>              <== NOT EXECUTED
                                                                      

a0010038 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
a0010038:	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;                                 
a001003c:	e59f613c 	ldr	r6, [pc, #316]	; a0010180 <IMFS_memfile_remove+0x148>
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
a0010040:	e5903058 	ldr	r3, [r0, #88]	; 0x58                          
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
a0010044:	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;                                 
a0010048:	e5967000 	ldr	r7, [r6]                                      
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
a001004c:	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;                                 
a0010050:	e1a07127 	lsr	r7, r7, #2                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
a0010054:	0a000002 	beq	a0010064 <IMFS_memfile_remove+0x2c>           
    memfile_free_blocks_in_table( &info->indirect, to_free );         
a0010058:	e2800058 	add	r0, r0, #88	; 0x58                            <== NOT EXECUTED
a001005c:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0010060:	ebffffdf 	bl	a000ffe4 <memfile_free_blocks_in_table>        <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
a0010064:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          
a0010068:	e3530000 	cmp	r3, #0                                        
a001006c:	0a000015 	beq	a00100c8 <IMFS_memfile_remove+0x90>           
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a0010070:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a0010074:	e1b02122 	lsrs	r2, r2, #2                                   <== NOT EXECUTED
a0010078:	0a00000f 	beq	a00100bc <IMFS_memfile_remove+0x84>           <== NOT EXECUTED
a001007c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0010080:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a0010084:	ea000000 	b	a001008c <IMFS_memfile_remove+0x54>             <== NOT EXECUTED
a0010088:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
a001008c:	e7930102 	ldr	r0, [r3, r2, lsl #2]                          <== NOT EXECUTED
a0010090:	e1a02102 	lsl	r2, r2, #2                                    <== NOT EXECUTED
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a0010094:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
a0010098:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
a001009c:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a00100a0:	e0830002 	add	r0, r3, r2                                    <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
a00100a4:	0a000000 	beq	a00100ac <IMFS_memfile_remove+0x74>           <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
a00100a8:	ebffffcd 	bl	a000ffe4 <memfile_free_blocks_in_table>        <== NOT EXECUTED
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a00100ac:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a00100b0:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a00100b4:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a00100b8:	3afffff2 	bcc	a0010088 <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 );  
a00100bc:	e28a005c 	add	r0, sl, #92	; 0x5c                            <== NOT EXECUTED
a00100c0:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a00100c4:	ebffffc6 	bl	a000ffe4 <memfile_free_blocks_in_table>        <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
a00100c8:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          
a00100cc:	e3500000 	cmp	r0, #0                                        
a00100d0:	0a000028 	beq	a0010178 <IMFS_memfile_remove+0x140>          
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a00100d4:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a00100d8:	e1b03123 	lsrs	r3, r3, #2                                   <== NOT EXECUTED
a00100dc:	0a000022 	beq	a001016c <IMFS_memfile_remove+0x134>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a00100e0:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a00100e4:	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];                       
a00100e8:	13a09000 	movne	r9, #0                                      <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a00100ec:	11a08009 	movne	r8, r9                                      <== NOT EXECUTED
a00100f0:	0a00001d 	beq	a001016c <IMFS_memfile_remove+0x134>          <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
a00100f4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00100f8:	0a00000e 	beq	a0010138 <IMFS_memfile_remove+0x100>          <== NOT EXECUTED
a00100fc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0010100:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
        if ( p[j] ) {                                                 
a0010104:	e7953100 	ldr	r3, [r5, r0, lsl #2]                          <== NOT EXECUTED
a0010108:	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++ ) {                
a001010c:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
        if ( p[j] ) {                                                 
a0010110:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
a0010114:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0010118:	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] ) {                                                 
a001011c:	0a000000 	beq	a0010124 <IMFS_memfile_remove+0xec>           <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
a0010120:	ebffffaf 	bl	a000ffe4 <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++ ) {                
a0010124:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a0010128:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a001012c:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a0010130:	3afffff3 	bcc	a0010104 <IMFS_memfile_remove+0xcc>           <== NOT EXECUTED
a0010134:	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(                                   
a0010138:	e0800009 	add	r0, r0, r9                                    <== NOT EXECUTED
a001013c:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0010140:	ebffffa7 	bl	a000ffe4 <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++ ) {                  
a0010144:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a0010148:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
a001014c:	e1a03123 	lsr	r3, r3, #2                                    <== NOT EXECUTED
a0010150:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a0010154:	9a000004 	bls	a001016c <IMFS_memfile_remove+0x134>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a0010158:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a001015c:	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];                       
a0010160:	e7905108 	ldr	r5, [r0, r8, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a0010164:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a0010168:	1affffe1 	bne	a00100f4 <IMFS_memfile_remove+0xbc>           <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
a001016c:	e28a0060 	add	r0, sl, #96	; 0x60                            <== NOT EXECUTED
a0010170:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0010174:	ebffff9a 	bl	a000ffe4 <memfile_free_blocks_in_table>        <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0010178:	e3a00000 	mov	r0, #0                                        
a001017c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

a0010184 <IMFS_memfile_remove_block>: */ MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
a0010184:	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 );  
a0010188:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a001018c:	ebfffe68 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      <== NOT EXECUTED
  IMFS_assert( block_ptr );                                           
                                                                      
  ptr = *block_ptr;                                                   
  *block_ptr = 0;                                                     
a0010190:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
a0010194:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  IMFS_assert( block_ptr );                                           
                                                                      
  ptr = *block_ptr;                                                   
a0010198:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
  *block_ptr = 0;                                                     
a001019c:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
  memfile_free_block( ptr );                                          
a00101a0:	ebffff87 	bl	a000ffc4 <memfile_free_block>                  <== NOT EXECUTED
                                                                      
  return 1;                                                           
}                                                                     
a00101a4:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a00101a8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a00102e0 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
a00102e0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a00102e4:	e1a09000 	mov	r9, r0                                        
a00102e8:	e24dd010 	sub	sp, sp, #16                                   
   *  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 + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
a00102ec:	e5900054 	ldr	r0, [r0, #84]	; 0x54                          
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a00102f0:	e59db034 	ldr	fp, [sp, #52]	; 0x34                          
a00102f4:	e1a06001 	mov	r6, r1                                        
   *  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 + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
a00102f8:	e3500000 	cmp	r0, #0                                        
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a00102fc:	e1a07002 	mov	r7, r2                                        
a0010300:	e1a08003 	mov	r8, r3                                        
  /*                                                                  
   *  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 + my_length;                                      
a0010304:	e08b1001 	add	r1, fp, r1                                    
  if ( last_byte > the_jnode->info.file.size ) {                      
a0010308:	ba000054 	blt	a0010460 <IMFS_memfile_write+0x180>           
a001030c:	0a000050 	beq	a0010454 <IMFS_memfile_write+0x174>           
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a0010310:	e59f5170 	ldr	r5, [pc, #368]	; a0010488 <IMFS_memfile_write+0x1a8>
a0010314:	e1a00006 	mov	r0, r6                                        
a0010318:	e1a01007 	mov	r1, r7                                        
a001031c:	e5954000 	ldr	r4, [r5]                                      
a0010320:	e1a02004 	mov	r2, r4                                        
a0010324:	e1a03fc2 	asr	r3, r2, #31                                   
a0010328:	e88d000c 	stm	sp, {r2, r3}                                  
a001032c:	eb0012e3 	bl	a0014ec0 <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a0010330:	e89d000c 	ldm	sp, {r2, r3}                                  
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a0010334:	e1a0a000 	mov	sl, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a0010338:	e1a01007 	mov	r1, r7                                        
a001033c:	e1a00006 	mov	r0, r6                                        
a0010340:	eb0011b1 	bl	a0014a0c <__divdi3>                            
  if ( start_offset )  {                                              
a0010344:	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;                       
a0010348:	e1a07000 	mov	r7, r0                                        
  if ( start_offset )  {                                              
a001034c:	01a0600b 	moveq	r6, fp                                      
a0010350:	1a000016 	bne	a00103b0 <IMFS_memfile_write+0xd0>            
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0010354:	e1560004 	cmp	r6, r4                                        
a0010358:	2a000008 	bcs	a0010380 <IMFS_memfile_write+0xa0>            
a001035c:	ea000027 	b	a0010400 <IMFS_memfile_write+0x120>             
    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 );                       
a0010360:	e5900000 	ldr	r0, [r0]                                      
a0010364:	eb0005be 	bl	a0011a64 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0010368:	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;                                                   
a001036c:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
a0010370:	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 ) {               
a0010374:	e1530006 	cmp	r3, r6                                        
 *  IMFS_memfile_write                                                
 *                                                                    
 *  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(                            
a0010378:	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 ) {               
a001037c:	8a00001f 	bhi	a0010400 <IMFS_memfile_write+0x120>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a0010380:	e1a01007 	mov	r1, r7                                        
a0010384:	e3a02000 	mov	r2, #0                                        
a0010388:	e1a00009 	mov	r0, r9                                        
a001038c:	ebfffde8 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a0010390:	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 );                       
a0010394:	e1a01008 	mov	r1, r8                                        
a0010398:	e1a02004 	mov	r2, r4                                        
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
a001039c:	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 )                                                 
a00103a0:	1affffee 	bne	a0010360 <IMFS_memfile_write+0x80>            
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
a00103a4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
a00103a8:	e28dd010 	add	sp, sp, #16                                   
a00103ac:	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 );
a00103b0:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a00103b4:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a00103b8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00103bc:	ebfffddc 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      <== NOT EXECUTED
    if ( !block_ptr )                                                 
a00103c0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00103c4:	0afffff7 	beq	a00103a8 <IMFS_memfile_write+0xc8>            <== NOT EXECUTED
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a00103c8:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  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;            
a00103cc:	e06a4004 	rsb	r4, sl, r4                                    <== NOT EXECUTED
a00103d0:	e154000b 	cmp	r4, fp                                        <== NOT EXECUTED
a00103d4:	21a0400b 	movcs	r4, fp                                      <== NOT EXECUTED
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a00103d8:	e080000a 	add	r0, r0, sl                                    <== NOT EXECUTED
a00103dc:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a00103e0:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a00103e4:	eb00059e 	bl	a0011a64 <memcpy>                              <== NOT EXECUTED
    src += to_copy;                                                   
a00103e8:	e0888004 	add	r8, r8, r4                                    <== NOT EXECUTED
    block++;                                                          
    my_length -= to_copy;                                             
a00103ec:	e064600b 	rsb	r6, r4, fp                                    <== NOT EXECUTED
    copied += to_copy;                                                
a00103f0:	e1a0a004 	mov	sl, r4                                        <== NOT EXECUTED
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
a00103f4:	e2877001 	add	r7, r7, #1                                    <== NOT EXECUTED
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a00103f8:	e5954000 	ldr	r4, [r5]                                      <== NOT EXECUTED
a00103fc:	eaffffd4 	b	a0010354 <IMFS_memfile_write+0x74>              <== NOT EXECUTED
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
a0010400:	e3560000 	cmp	r6, #0                                        
a0010404:	0a00000a 	beq	a0010434 <IMFS_memfile_write+0x154>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a0010408:	e1a00009 	mov	r0, r9                                        
a001040c:	e1a01007 	mov	r1, r7                                        
a0010410:	e3a02000 	mov	r2, #0                                        
a0010414:	ebfffdc6 	bl	a000fb34 <IMFS_memfile_get_block_pointer>      
    if ( !block_ptr )                                                 
a0010418:	e3500000 	cmp	r0, #0                                        
a001041c:	0affffe0 	beq	a00103a4 <IMFS_memfile_write+0xc4>            
      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 );                     
a0010420:	e5900000 	ldr	r0, [r0]                                      
a0010424:	e1a01008 	mov	r1, r8                                        
a0010428:	e1a02006 	mov	r2, r6                                        
a001042c:	eb00058c 	bl	a0011a64 <memcpy>                              
    my_length = 0;                                                    
    copied += to_copy;                                                
a0010430:	e08aa006 	add	sl, sl, r6                                    
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
a0010434:	e28d0008 	add	r0, sp, #8                                    
a0010438:	e3a01000 	mov	r1, #0                                        
a001043c:	ebffd81f 	bl	a00064c0 <gettimeofday>                        
a0010440:	e59d3008 	ldr	r3, [sp, #8]                                  
                                                                      
  return copied;                                                      
a0010444:	e1a0000a 	mov	r0, sl                                        
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
a0010448:	e5893044 	str	r3, [r9, #68]	; 0x44                          
a001044c:	e5893048 	str	r3, [r9, #72]	; 0x48                          
                                                                      
  return copied;                                                      
a0010450:	eaffffd4 	b	a00103a8 <IMFS_memfile_write+0xc8>              
   *  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 + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
a0010454:	e5993050 	ldr	r3, [r9, #80]	; 0x50                          
a0010458:	e1530001 	cmp	r3, r1                                        
a001045c:	2affffab 	bcs	a0010310 <IMFS_memfile_write+0x30>            
    status = IMFS_memfile_extend( the_jnode, last_byte );             
a0010460:	e1a00009 	mov	r0, r9                                        
a0010464:	e3a02000 	mov	r2, #0                                        
a0010468:	ebffff4f 	bl	a00101ac <IMFS_memfile_extend>                 
    if ( status )                                                     
a001046c:	e3500000 	cmp	r0, #0                                        
a0010470:	0affffa6 	beq	a0010310 <IMFS_memfile_write+0x30>            
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a0010474:	eb00034c 	bl	a00111ac <__errno>                             
a0010478:	e3a0301c 	mov	r3, #28                                       
a001047c:	e5803000 	str	r3, [r0]                                      
a0010480:	e3e00000 	mvn	r0, #0                                        
a0010484:	eaffffc7 	b	a00103a8 <IMFS_memfile_write+0xc8>              
                                                                      

a0005d58 <IMFS_mount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
a0005d58:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a0005d5c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0005d60:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0005d64:	e3520001 	cmp	r2, #1                                        
a0005d68:	1a000002 	bne	a0005d78 <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;                              
a0005d6c:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
  return 0;                                                           
a0005d70:	e3a00000 	mov	r0, #0                                        
}                                                                     
a0005d74:	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 );                  
a0005d78:	eb002d0b 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0005d7c:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0005d80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005d84:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005d88:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0008754 <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
a0008754:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
a0008758:	e59f50f8 	ldr	r5, [pc, #248]	; a0008858 <IMFS_print_jnode+0x104>
 *  This routine prints the contents of the specified jnode.          
 */                                                                   
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
a000875c:	e1a04000 	mov	r4, r0                                        
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
a0008760:	e280000c 	add	r0, r0, #12                                   
a0008764:	e5953000 	ldr	r3, [r5]                                      
a0008768:	e5931008 	ldr	r1, [r3, #8]                                  
a000876c:	eb0034ee 	bl	a0015b2c <fputs>                               
  switch( the_jnode->type ) {                                         
a0008770:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
a0008774:	e2423001 	sub	r3, r2, #1                                    
a0008778:	e3530006 	cmp	r3, #6                                        
a000877c:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a0008780:	ea000023 	b	a0008814 <IMFS_print_jnode+0xc0>                <== NOT EXECUTED
a0008784:	a0008828 	.word	0xa0008828                                  <== NOT EXECUTED
a0008788:	a000883c 	.word	0xa000883c                                  <== NOT EXECUTED
a000878c:	a00087a0 	.word	0xa00087a0                                  <== NOT EXECUTED
a0008790:	a00087a0 	.word	0xa00087a0                                  <== NOT EXECUTED
a0008794:	a00087d8 	.word	0xa00087d8                                  <== NOT EXECUTED
a0008798:	a00087f8 	.word	0xa00087f8                                  <== NOT EXECUTED
a000879c:	a00087bc 	.word	0xa00087bc                                  <== NOT EXECUTED
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
a00087a0:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a00087a4:	e59f00b0 	ldr	r0, [pc, #176]	; a000885c <IMFS_print_jnode+0x108><== NOT EXECUTED
a00087a8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00087ac:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a00087b0:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
a00087b4:	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" );                       
a00087b8:	ea00380b 	b	a00167ec <fwrite>                               <== NOT EXECUTED
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
a00087bc:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a00087c0:	e59f0098 	ldr	r0, [pc, #152]	; a0008860 <IMFS_print_jnode+0x10c><== NOT EXECUTED
a00087c4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00087c8:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a00087cc:	e3a02012 	mov	r2, #18                                       <== NOT EXECUTED
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
a00087d0:	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" );                        
a00087d4:	ea003804 	b	a00167ec <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 ")",                          
a00087d8:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a00087dc:	e59f1080 	ldr	r1, [pc, #128]	; a0008864 <IMFS_print_jnode+0x110><== NOT EXECUTED
a00087e0:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          <== NOT EXECUTED
a00087e4:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a00087e8:	eb00347a 	bl	a00159d8 <fprintf>                             <== NOT EXECUTED
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
a00087ec:	e59f0074 	ldr	r0, [pc, #116]	; a0008868 <IMFS_print_jnode+0x114>
}                                                                     
a00087f0:	e8bd4030 	pop	{r4, r5, lr}                                  
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
a00087f4:	ea003bde 	b	a0017774 <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)",                       
a00087f8:	e5953000 	ldr	r3, [r5]                                      
a00087fc:	e59f1068 	ldr	r1, [pc, #104]	; a000886c <IMFS_print_jnode+0x118>
a0008800:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0008804:	e5930008 	ldr	r0, [r3, #8]                                  
a0008808:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          
a000880c:	eb003471 	bl	a00159d8 <fprintf>                             
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
a0008810:	eafffff5 	b	a00087ec <IMFS_print_jnode+0x98>                
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
a0008814:	e5953000 	ldr	r3, [r5]                                      
a0008818:	e59f1050 	ldr	r1, [pc, #80]	; a0008870 <IMFS_print_jnode+0x11c><== NOT EXECUTED
a000881c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
a0008820:	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 );            
a0008824:	ea00346b 	b	a00159d8 <fprintf>                              <== NOT EXECUTED
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
a0008828:	e5953000 	ldr	r3, [r5]                                      
a000882c:	e3a0002f 	mov	r0, #47	; 0x2f                                
a0008830:	e5931008 	ldr	r1, [r3, #8]                                  
a0008834:	eb003487 	bl	a0015a58 <fputc>                               
      break;                                                          
a0008838:	eaffffeb 	b	a00087ec <IMFS_print_jnode+0x98>                
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
a000883c:	e5953000 	ldr	r3, [r5]                                      
a0008840:	e59f102c 	ldr	r1, [pc, #44]	; a0008874 <IMFS_print_jnode+0x120>
a0008844:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0008848:	e5930008 	ldr	r0, [r3, #8]                                  
a000884c:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a0008850:	eb003460 	bl	a00159d8 <fprintf>                             
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
a0008854:	eaffffe4 	b	a00087ec <IMFS_print_jnode+0x98>                
                                                                      

a0005d98 <IMFS_readlink>: node = loc->node_access; IMFS_assert( node->type == IMFS_SYM_LINK ); for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0005d98:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
ssize_t IMFS_readlink(                                                
  rtems_filesystem_location_info_t  *loc,                             
  char                              *buf,         /* OUT */           
  size_t                             bufsize                          
)                                                                     
{                                                                     
a0005d9c:	e52d4004 	push	{r4}		; (str r4, [sp, #-4]!)                 <== NOT EXECUTED
  IMFS_jnode_t      *node;                                            
  ssize_t            i;                                               
                                                                      
  node = loc->node_access;                                            
a0005da0:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0005da4:	01a00002 	moveq	r0, r2                                      <== NOT EXECUTED
a0005da8:	0a000010 	beq	a0005df0 <IMFS_readlink+0x58>                 <== NOT EXECUTED
a0005dac:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0005db0:	e5d33000 	ldrb	r3, [r3]                                     <== NOT EXECUTED
a0005db4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0005db8:	01a00003 	moveq	r0, r3                                      <== NOT EXECUTED
a0005dbc:	0a00000b 	beq	a0005df0 <IMFS_readlink+0x58>                 <== NOT EXECUTED
a0005dc0:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a0005dc4:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
a0005dc8:	ea000003 	b	a0005ddc <IMFS_readlink+0x44>                   <== NOT EXECUTED
a0005dcc:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0005dd0:	e7d33000 	ldrb	r3, [r3, r0]                                 <== NOT EXECUTED
a0005dd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0005dd8:	0a000004 	beq	a0005df0 <IMFS_readlink+0x58>                 <== NOT EXECUTED
a0005ddc:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a0005de0:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
    buf[i] = node->info.sym_link.name[i];                             
a0005de4:	e7c1300c 	strb	r3, [r1, ip]                                 <== NOT EXECUTED
                                                                      
  node = loc->node_access;                                            
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0005de8:	e1a0c000 	mov	ip, r0                                        <== NOT EXECUTED
a0005dec:	3afffff6 	bcc	a0005dcc <IMFS_readlink+0x34>                 <== NOT EXECUTED
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
a0005df0:	e8bd0010 	pop	{r4}                                          <== NOT EXECUTED
a0005df4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0005df8 <IMFS_rename>: rtems_filesystem_location_info_t *old_parent_loc, /* IN */ rtems_filesystem_location_info_t *old_loc, /* IN */ rtems_filesystem_location_info_t *new_parent_loc, /* IN */ const char *new_name /* IN */ ) {
a0005df8:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
a0005dfc:	e5914000 	ldr	r4, [r1]                                      <== NOT EXECUTED
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
a0005e00:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
a0005e04:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
a0005e08:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
a0005e0c:	e284000c 	add	r0, r4, #12                                   <== NOT EXECUTED
a0005e10:	e3a02020 	mov	r2, #32                                       <== NOT EXECUTED
a0005e14:	eb0030e6 	bl	a00121b4 <strncpy>                             <== NOT EXECUTED
                                                                      
  if ( the_jnode->Parent != NULL )                                    
a0005e18:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a0005e1c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0005e20:	0a000001 	beq	a0005e2c <IMFS_rename+0x34>                   <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a0005e24:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0005e28:	eb00118c 	bl	a000a460 <_Chain_Extract>                      <== NOT EXECUTED
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
a0005e2c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
a0005e30:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0005e34:	e2830050 	add	r0, r3, #80	; 0x50                            <== NOT EXECUTED
  the_jnode->Parent = new_parent;                                     
a0005e38:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
a0005e3c:	eb00117c 	bl	a000a434 <_Chain_Append>                       <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
a0005e40:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0005e44:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0005e48:	eb00019c 	bl	a00064c0 <gettimeofday>                        <== NOT EXECUTED
a0005e4c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0005e50:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
a0005e54:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0005e58:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0005e5c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000e268 <IMFS_stat>: { IMFS_fs_info_t *fs_info; IMFS_jnode_t *the_jnode; IMFS_device_t *io; the_jnode = loc->node_access;
a000e268:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a000e26c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
a000e270:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a000e274:	e2422002 	sub	r2, r2, #2                                    
a000e278:	e3520005 	cmp	r2, #5                                        
a000e27c:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a000e280:	ea000027 	b	a000e324 <IMFS_stat+0xbc>                       <== NOT EXECUTED
a000e284:	a000e310 	.word	0xa000e310                                  <== NOT EXECUTED
a000e288:	a000e324 	.word	0xa000e324                                  <== NOT EXECUTED
a000e28c:	a000e29c 	.word	0xa000e29c                                  <== NOT EXECUTED
a000e290:	a000e338 	.word	0xa000e338                                  <== NOT EXECUTED
a000e294:	a000e338 	.word	0xa000e338                                  <== NOT EXECUTED
a000e298:	a000e29c 	.word	0xa000e29c                                  <== NOT EXECUTED
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
a000e29c:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
a000e2a0:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
a000e2a4:	e5814020 	str	r4, [r1, #32]                                 <== NOT EXECUTED
a000e2a8:	e5815024 	str	r5, [r1, #36]	; 0x24                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
a000e2ac:	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;                                 
a000e2b0:	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;                              
a000e2b4:	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 );
a000e2b8:	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;                                  
a000e2bc:	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;                              
a000e2c0:	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 );
a000e2c4:	e5927000 	ldr	r7, [r2]                                      
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a000e2c8:	e3a02cff 	mov	r2, #65280	; 0xff00                           
a000e2cc:	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;                              
a000e2d0:	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;                                
a000e2d4:	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 =                                                       
a000e2d8:	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;                                  
a000e2dc:	e1d323bc 	ldrh	r2, [r3, #60]	; 0x3c                         
  buf->st_gid   = the_jnode->st_gid;                                  
a000e2e0:	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;                                
a000e2e4:	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;                              
a000e2e8:	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;                                  
a000e2ec:	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 =                                                       
a000e2f0:	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;                                  
a000e2f4:	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;                                 
a000e2f8:	e581600c 	str	r6, [r1, #12]                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a000e2fc:	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;                              
a000e300:	e5814028 	str	r4, [r1, #40]	; 0x28                          
  buf->st_mtime = the_jnode->stat_mtime;                              
a000e304:	e581c030 	str	ip, [r1, #48]	; 0x30                          
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
a000e308:	e3a00000 	mov	r0, #0                                        
}                                                                     
a000e30c:	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 );
a000e310:	e593c054 	ldr	ip, [r3, #84]	; 0x54                          
a000e314:	e5932050 	ldr	r2, [r3, #80]	; 0x50                          
a000e318:	e581c01c 	str	ip, [r1, #28]                                 
a000e31c:	e5812018 	str	r2, [r1, #24]                                 
      break;                                                          
a000e320:	eaffffe1 	b	a000e2ac <IMFS_stat+0x44>                       
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
a000e324:	eb000ba0 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000e328:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000e32c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000e330:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000e334:	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;                       
a000e338:	e2835050 	add	r5, r3, #80	; 0x50                            
a000e33c:	e8950030 	ldm	r5, {r4, r5}                                  
a000e340:	e5814020 	str	r4, [r1, #32]                                 
a000e344:	e5815024 	str	r5, [r1, #36]	; 0x24                          
      break;                                                          
a000e348:	eaffffd7 	b	a000e2ac <IMFS_stat+0x44>                       
                                                                      

a0005e60 <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
a0005e60:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0005e64:	e1a06000 	mov	r6, r0                                        
a0005e68:	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 );     
a0005e6c:	e1a00002 	mov	r0, r2                                        
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
a0005e70:	e1a07002 	mov	r7, r2                                        
a0005e74:	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 );     
a0005e78:	eb0030b5 	bl	a0012154 <strlen>                              
a0005e7c:	e28d4004 	add	r4, sp, #4                                    
a0005e80:	e1a01000 	mov	r1, r0                                        
a0005e84:	e1a02004 	mov	r2, r4                                        
a0005e88:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0005e8c:	e1a00007 	mov	r0, r7                                        
a0005e90:	eb002088 	bl	a000e0b8 <IMFS_get_token>                      
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
a0005e94:	e1a00005 	mov	r0, r5                                        
a0005e98:	eb003099 	bl	a0012104 <strdup>                              
  if (info.sym_link.name == NULL) {                                   
a0005e9c:	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);                             
a0005ea0:	e58d0028 	str	r0, [sp, #40]	; 0x28                          
  if (info.sym_link.name == NULL) {                                   
a0005ea4:	0a00000e 	beq	a0005ee4 <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(                                        
a0005ea8:	e28d2028 	add	r2, sp, #40	; 0x28                            
a0005eac:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a0005eb0:	e58d2000 	str	r2, [sp]                                      
a0005eb4:	e3a01004 	mov	r1, #4                                        
a0005eb8:	e1a00006 	mov	r0, r6                                        
a0005ebc:	e1a02004 	mov	r2, r4                                        
a0005ec0:	e2433001 	sub	r3, r3, #1                                    
a0005ec4:	eb001ddf 	bl	a000d648 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
a0005ec8:	e3500000 	cmp	r0, #0                                        
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
a0005ecc:	13a00000 	movne	r0, #0                                      
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
a0005ed0:	0a000001 	beq	a0005edc <IMFS_symlink+0x7c>                  
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0005ed4:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0005ed8:	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);                                         
a0005edc:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          <== NOT EXECUTED
a0005ee0:	eb000141 	bl	a00063ec <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a0005ee4:	eb002cb0 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0005ee8:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0005eec:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005ef0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005ef4:	eafffff6 	b	a0005ed4 <IMFS_symlink+0x74>                    <== NOT EXECUTED
                                                                      

a0005ef8 <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
a0005ef8:	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;                                            
a0005efc:	e5915000 	ldr	r5, [r1]                                      
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a0005f00:	e24dd01c 	sub	sp, sp, #28                                   
a0005f04:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a0005f08:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a0005f0c:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a0005f10:	e3530003 	cmp	r3, #3                                        
a0005f14:	0a000006 	beq	a0005f34 <IMFS_unlink+0x3c>                   
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
a0005f18:	e5943008 	ldr	r3, [r4, #8]                                  
a0005f1c:	e1a00006 	mov	r0, r6                                        
a0005f20:	e1a01004 	mov	r1, r4                                        
a0005f24:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0005f28:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0005f2c:	e28dd01c 	add	sp, sp, #28                                   
a0005f30:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
a0005f34:	e595e050 	ldr	lr, [r5, #80]	; 0x50                          <== NOT EXECUTED
a0005f38:	e35e0000 	cmp	lr, #0                                        <== NOT EXECUTED
a0005f3c:	0a00001f 	beq	a0005fc0 <IMFS_unlink+0xc8>                   <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
a0005f40:	e1a0c00d 	mov	ip, sp                                        <== NOT EXECUTED
a0005f44:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
a0005f48:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0005f4c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0005f50:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
    the_link.node_access = node->info.hard_link.link_node;            
a0005f54:	e28d801c 	add	r8, sp, #28                                   <== NOT EXECUTED
    IMFS_Set_handlers( &the_link );                                   
a0005f58:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
a0005f5c:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
    the_link.node_access = node->info.hard_link.link_node;            
a0005f60:	e528e01c 	str	lr, [r8, #-28]!                               <== NOT EXECUTED
    IMFS_Set_handlers( &the_link );                                   
a0005f64:	eb001e1b 	bl	a000d7d8 <IMFS_Set_handlers>                   <== NOT EXECUTED
    /*                                                                
     *  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)               
a0005f68:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          <== NOT EXECUTED
a0005f6c:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         <== NOT EXECUTED
a0005f70:	e3520001 	cmp	r2, #1                                        <== NOT EXECUTED
a0005f74:	0a000008 	beq	a0005f9c <IMFS_unlink+0xa4>                   <== NOT EXECUTED
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
a0005f78:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a0005f7c:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         <== NOT EXECUTED
        IMFS_update_ctime( node->info.hard_link.link_node );          
a0005f80:	e28d0014 	add	r0, sp, #20                                   <== NOT EXECUTED
a0005f84:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0005f88:	eb00014c 	bl	a00064c0 <gettimeofday>                        <== NOT EXECUTED
a0005f8c:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          <== NOT EXECUTED
a0005f90:	e59d2014 	ldr	r2, [sp, #20]                                 <== NOT EXECUTED
a0005f94:	e5832048 	str	r2, [r3, #72]	; 0x48                          <== NOT EXECUTED
a0005f98:	eaffffde 	b	a0005f18 <IMFS_unlink+0x20>                     <== NOT EXECUTED
     *  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 );
a0005f9c:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
a0005fa0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0005fa4:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a0005fa8:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          <== NOT EXECUTED
a0005fac:	e12fff33 	blx	r3                                            <== NOT EXECUTED
        if ( result != 0 )                                            
a0005fb0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0005fb4:	0affffd7 	beq	a0005f18 <IMFS_unlink+0x20>                   <== NOT EXECUTED
            return -1;                                                
a0005fb8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005fbc:	eaffffda 	b	a0005f2c <IMFS_unlink+0x34>                     <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0005fc0:	eb002c79 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0005fc4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0005fc8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005fcc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005fd0:	eaffffd5 	b	a0005f2c <IMFS_unlink+0x34>                     <== NOT EXECUTED
                                                                      

a0005fd4 <IMFS_unmount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
a0005fd4:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a0005fd8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0005fdc:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0005fe0:	e3520001 	cmp	r2, #1                                        
a0005fe4:	1a000005 	bne	a0006000 <IMFS_unmount+0x2c>                  
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
a0005fe8:	e593205c 	ldr	r2, [r3, #92]	; 0x5c                          
a0005fec:	e3520000 	cmp	r2, #0                                        
a0005ff0:	0a000007 	beq	a0006014 <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;                                  
a0005ff4:	e3a00000 	mov	r0, #0                                        
a0005ff8:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
                                                                      
  return 0;                                                           
}                                                                     
a0005ffc:	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 );                  
a0006000:	eb002c69 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0006004:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0006008:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000600c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0006010:	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 */        
a0006014:	eb002c64 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0006018:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000601c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0006020:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0006024:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0006028 <IMFS_utime>: int IMFS_utime( rtems_filesystem_location_info_t *pathloc, /* IN */ time_t actime, /* IN */ time_t modtime /* IN */ ) {
a0006028:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
a000602c:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
                                                                      
  the_jnode->stat_atime = actime;                                     
  the_jnode->stat_mtime = modtime;                                    
  the_jnode->stat_ctime = time( NULL );                               
a0006030:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
{                                                                     
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
                                                                      
  the_jnode->stat_atime = actime;                                     
a0006034:	e5841040 	str	r1, [r4, #64]	; 0x40                          <== NOT EXECUTED
  the_jnode->stat_mtime = modtime;                                    
a0006038:	e5842044 	str	r2, [r4, #68]	; 0x44                          <== NOT EXECUTED
  the_jnode->stat_ctime = time( NULL );                               
a000603c:	eb003097 	bl	a00122a0 <time>                                <== NOT EXECUTED
a0006040:	e5840048 	str	r0, [r4, #72]	; 0x48                          <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0006044:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006048:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a000578c <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
a000578c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
a0005790:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
a0005794:	e59060b4 	ldr	r6, [r0, #180]	; 0xb4                         <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a0005798:	e24dd010 	sub	sp, sp, #16                                   <== NOT EXECUTED
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
a000579c:	e283c010 	add	ip, r3, #16                                   <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
a00057a0:	e2466010 	sub	r6, r6, #16                                   <== NOT EXECUTED
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
a00057a4:	e28cb010 	add	fp, ip, #16                                   <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
a00057a8:	e3c61003 	bic	r1, r6, #3                                    <== NOT EXECUTED
a00057ac:	e08b1001 	add	r1, fp, r1                                    <== NOT EXECUTED
a00057b0:	e15b0001 	cmp	fp, r1                                        <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a00057b4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
a00057b8:	e59090e4 	ldr	r9, [r0, #228]	; 0xe4                         <== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
a00057bc:	2a00000b 	bcs	a00057f0 <Stack_check_Dump_threads_usage+0x64><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
a00057c0:	e59c0010 	ldr	r0, [ip, #16]                                 <== NOT EXECUTED
a00057c4:	e59f20cc 	ldr	r2, [pc, #204]	; a0005898 <Stack_check_Dump_threads_usage+0x10c><== NOT EXECUTED
a00057c8:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
 *  Try to print out how much stack was actually used by the task.    
 */                                                                   
static void                   *print_context;                         
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
a00057cc:	02833024 	addeq	r3, r3, #36	; 0x24                          <== NOT EXECUTED
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
a00057d0:	0a000003 	beq	a00057e4 <Stack_check_Dump_threads_usage+0x58><== NOT EXECUTED
a00057d4:	ea000026 	b	a0005874 <Stack_check_Dump_threads_usage+0xe8>  <== NOT EXECUTED
a00057d8:	e4932004 	ldr	r2, [r3], #4                                  <== NOT EXECUTED
a00057dc:	e1520000 	cmp	r2, r0                                        <== NOT EXECUTED
a00057e0:	1a000023 	bne	a0005874 <Stack_check_Dump_threads_usage+0xe8><== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
a00057e4:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
a00057e8:	e1a0b003 	mov	fp, r3                                        <== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
a00057ec:	8afffff9 	bhi	a00057d8 <Stack_check_Dump_threads_usage+0x4c><== NOT EXECUTED
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
a00057f0:	e3a0b000 	mov	fp, #0                                        <== NOT EXECUTED
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
a00057f4:	e5958008 	ldr	r8, [r5, #8]                                  <== NOT EXECUTED
a00057f8:	e59f409c 	ldr	r4, [pc, #156]	; a000589c <Stack_check_Dump_threads_usage+0x110><== NOT EXECUTED
a00057fc:	e3a01005 	mov	r1, #5                                        <== NOT EXECUTED
a0005800:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
a0005804:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0005808:	e8940480 	ldm	r4, {r7, sl}                                  <== NOT EXECUTED
a000580c:	eb001034 	bl	a00098e4 <rtems_object_get_name>               <== NOT EXECUTED
a0005810:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a0005814:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a0005818:	e59f1080 	ldr	r1, [pc, #128]	; a00058a0 <Stack_check_Dump_threads_usage+0x114><== NOT EXECUTED
a000581c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0005820:	e12fff37 	blx	r7                                            <== NOT EXECUTED
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
a0005824:	e59530b4 	ldr	r3, [r5, #180]	; 0xb4                         <== NOT EXECUTED
a0005828:	e59520b8 	ldr	r2, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
a000582c:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
a0005830:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
a0005834:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a0005838:	e59f1064 	ldr	r1, [pc, #100]	; a00058a4 <Stack_check_Dump_threads_usage+0x118><== NOT EXECUTED
a000583c:	e58d9000 	str	r9, [sp]                                      <== NOT EXECUTED
a0005840:	e58d6004 	str	r6, [sp, #4]                                  <== NOT EXECUTED
a0005844:	e594c000 	ldr	ip, [r4]                                      <== NOT EXECUTED
a0005848:	e12fff3c 	blx	ip                                            <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
a000584c:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a0005850:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0005854:	0a00000a 	beq	a0005884 <Stack_check_Dump_threads_usage+0xf8><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
a0005858:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a000585c:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a0005860:	e59f1040 	ldr	r1, [pc, #64]	; a00058a8 <Stack_check_Dump_threads_usage+0x11c><== NOT EXECUTED
a0005864:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
a0005868:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
a000586c:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
a0005870:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
a0005874:	e35b0000 	cmp	fp, #0                                        <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
a0005878:	108cc006 	addne	ip, ip, r6                                  <== NOT EXECUTED
a000587c:	106bb00c 	rsbne	fp, fp, ip                                  <== NOT EXECUTED
a0005880:	eaffffdb 	b	a00057f4 <Stack_check_Dump_threads_usage+0x68>  <== NOT EXECUTED
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
a0005884:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a0005888:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a000588c:	e59f1018 	ldr	r1, [pc, #24]	; a00058ac <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
a0005890:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0005894:	eafffff4 	b	a000586c <Stack_check_Dump_threads_usage+0xe0>  <== NOT EXECUTED
                                                                      

a0005960 <Stack_check_report_blown_task>: Thread_Control *running, bool pattern_ok ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok) {
a0005960:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0005964:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0005968:	e24dd020 	sub	sp, sp, #32                                   <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
a000596c:	e59f0084 	ldr	r0, [pc, #132]	; a00059f8 <Stack_check_report_blown_task+0x98><== NOT EXECUTED
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
a0005970:	e20140ff 	and	r4, r1, #255	; 0xff                           <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
a0005974:	e59650b8 	ldr	r5, [r6, #184]	; 0xb8                         <== NOT EXECUTED
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
a0005978:	eb00066b 	bl	a000732c <printk>                              <== NOT EXECUTED
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
a000597c:	e59f0078 	ldr	r0, [pc, #120]	; a00059fc <Stack_check_report_blown_task+0x9c><== NOT EXECUTED
a0005980:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0005984:	eb000668 	bl	a000732c <printk>                              <== NOT EXECUTED
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
a0005988:	e59f0070 	ldr	r0, [pc, #112]	; a0005a00 <Stack_check_report_blown_task+0xa0><== NOT EXECUTED
a000598c:	e5961008 	ldr	r1, [r6, #8]                                  <== NOT EXECUTED
a0005990:	eb000665 	bl	a000732c <printk>                              <== NOT EXECUTED
  printk(                                                             
a0005994:	e59f0068 	ldr	r0, [pc, #104]	; a0005a04 <Stack_check_report_blown_task+0xa4><== NOT EXECUTED
a0005998:	e596100c 	ldr	r1, [r6, #12]                                 <== NOT EXECUTED
a000599c:	eb000662 	bl	a000732c <printk>                              <== NOT EXECUTED
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
a00059a0:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a00059a4:	e3a01020 	mov	r1, #32                                       <== NOT EXECUTED
a00059a8:	e5960008 	ldr	r0, [r6, #8]                                  <== NOT EXECUTED
a00059ac:	eb000fcc 	bl	a00098e4 <rtems_object_get_name>               <== NOT EXECUTED
a00059b0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a00059b4:	e59f004c 	ldr	r0, [pc, #76]	; a0005a08 <Stack_check_report_blown_task+0xa8><== NOT EXECUTED
a00059b8:	eb00065b 	bl	a000732c <printk>                              <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
a00059bc:	e59620b8 	ldr	r2, [r6, #184]	; 0xb8                         <== NOT EXECUTED
a00059c0:	e59610b4 	ldr	r1, [r6, #180]	; 0xb4                         <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
a00059c4:	e59f0040 	ldr	r0, [pc, #64]	; a0005a0c <Stack_check_report_blown_task+0xac><== NOT EXECUTED
a00059c8:	e0823001 	add	r3, r2, r1                                    <== NOT EXECUTED
a00059cc:	eb000656 	bl	a000732c <printk>                              <== NOT EXECUTED
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
a00059d0:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a00059d4:	0a000001 	beq	a00059e0 <Stack_check_report_blown_task+0x80> <== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
a00059d8:	e3a00081 	mov	r0, #129	; 0x81                               <== NOT EXECUTED
a00059dc:	eb0011eb 	bl	a000a190 <rtems_fatal_error_occurred>          <== NOT EXECUTED
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
a00059e0:	e59f0028 	ldr	r0, [pc, #40]	; a0005a10 <Stack_check_report_blown_task+0xb0><== NOT EXECUTED
a00059e4:	e3a01010 	mov	r1, #16                                       <== NOT EXECUTED
a00059e8:	e2852008 	add	r2, r5, #8                                    <== NOT EXECUTED
a00059ec:	e2853018 	add	r3, r5, #24                                   <== NOT EXECUTED
a00059f0:	eb00064d 	bl	a000732c <printk>                              <== NOT EXECUTED
a00059f4:	eafffff7 	b	a00059d8 <Stack_check_report_blown_task+0x78>   <== NOT EXECUTED
                                                                      

a000ff88 <TOD_MICROSECONDS_TO_TICKS>: uint32_t TOD_MICROSECONDS_TO_TICKS( uint32_t microseconds ) { return (microseconds / rtems_configuration_get_microseconds_per_tick());
a000ff88:	e59f300c 	ldr	r3, [pc, #12]	; a000ff9c <TOD_MICROSECONDS_TO_TICKS+0x14><== NOT EXECUTED
#include <rtems/score/tod.h>                                          
                                                                      
uint32_t TOD_MICROSECONDS_TO_TICKS(                                   
  uint32_t microseconds                                               
)                                                                     
{                                                                     
a000ff8c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  return (microseconds / rtems_configuration_get_microseconds_per_tick());
a000ff90:	e593100c 	ldr	r1, [r3, #12]                                 <== NOT EXECUTED
a000ff94:	eb004b73 	bl	a0022d68 <__aeabi_uidiv>                       <== NOT EXECUTED
}                                                                     
a000ff98:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a001043c <TOD_TICKS_PER_SECOND_method>: #include <rtems/config.h> #include <rtems/score/tod.h> uint32_t TOD_TICKS_PER_SECOND_method(void) { return (TOD_MICROSECONDS_PER_SECOND /
a001043c:	e59f3014 	ldr	r3, [pc, #20]	; a0010458 <TOD_TICKS_PER_SECOND_method+0x1c><== NOT EXECUTED
a0010440:	e3a0093d 	mov	r0, #999424	; 0xf4000                         <== NOT EXECUTED
#include <rtems/system.h>                                             
#include <rtems/config.h>                                             
#include <rtems/score/tod.h>                                          
                                                                      
uint32_t TOD_TICKS_PER_SECOND_method(void)                            
{                                                                     
a0010444:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  return (TOD_MICROSECONDS_PER_SECOND /                               
a0010448:	e593100c 	ldr	r1, [r3, #12]                                 <== NOT EXECUTED
a001044c:	e2800d09 	add	r0, r0, #576	; 0x240                          <== NOT EXECUTED
a0010450:	eb0030f2 	bl	a001c820 <__aeabi_uidiv>                       <== NOT EXECUTED
      rtems_configuration_get_microseconds_per_tick());               
}                                                                     
a0010454:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a001af8c <_CORE_message_queue_Broadcast>: { Thread_Control *the_thread; uint32_t number_broadcasted; Thread_Wait_information *waitp; if ( size > the_message_queue->maximum_message_size ) {
a001af8c:	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                    
)                                                                     
{                                                                     
a001af90:	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 ) {             
a001af94:	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                    
)                                                                     
{                                                                     
a001af98:	e1a07000 	mov	r7, r0                                        
a001af9c:	e1a05002 	mov	r5, r2                                        
a001afa0:	e1a08001 	mov	r8, r1                                        
a001afa4:	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 ) {             
a001afa8:	3a000013 	bcc	a001affc <_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 ) {         
a001afac:	e5906048 	ldr	r6, [r0, #72]	; 0x48                          
a001afb0:	e3560000 	cmp	r6, #0                                        
a001afb4:	0a000009 	beq	a001afe0 <_CORE_message_queue_Broadcast+0x54> 
    *count = 0;                                                       
a001afb8:	e3a00000 	mov	r0, #0                                        
a001afbc:	e58a0000 	str	r0, [sl]                                      
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
a001afc0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
a001afc4:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a001afc8:	e1a01008 	mov	r1, r8                                        
a001afcc:	e1a02005 	mov	r2, r5                                        
a001afd0:	eb00206e 	bl	a0023190 <memcpy>                              
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a001afd4:	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;                                          
a001afd8:	e2866001 	add	r6, r6, #1                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a001afdc:	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 =                                                
a001afe0:	e1a00007 	mov	r0, r7                                        
a001afe4:	eb000ac9 	bl	a001db10 <_Thread_queue_Dequeue>               
a001afe8:	e2504000 	subs	r4, r0, #0                                   
a001afec:	1afffff4 	bne	a001afc4 <_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;                                        
a001aff0:	e58a6000 	str	r6, [sl]                                      
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
a001aff4:	e1a00004 	mov	r0, r4                                        
a001aff8:	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;                    
a001affc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
a001b000:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a0013410 <_CORE_message_queue_Submit>: ) { CORE_message_queue_Buffer_control *the_message; Thread_Control *the_thread; if ( size > the_message_queue->maximum_message_size ) {
a0013410:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
  #endif                                                              
  CORE_message_queue_Submit_types            submit_type,             
  bool                                       wait,                    
  Watchdog_Interval                          timeout                  
)                                                                     
{                                                                     
a0013414:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0013418:	e1530002 	cmp	r3, r2                                        
  #endif                                                              
  CORE_message_queue_Submit_types            submit_type,             
  bool                                       wait,                    
  Watchdog_Interval                          timeout                  
)                                                                     
{                                                                     
a001341c:	e1a04000 	mov	r4, r0                                        
a0013420:	e1a05002 	mov	r5, r2                                        
a0013424:	e1a0a001 	mov	sl, r1                                        
a0013428:	e59d7020 	ldr	r7, [sp, #32]                                 
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a001342c:	3a000015 	bcc	a0013488 <_CORE_message_queue_Submit+0x78>    
  }                                                                   
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
a0013430:	e5906048 	ldr	r6, [r0, #72]	; 0x48                          
a0013434:	e3560000 	cmp	r6, #0                                        
a0013438:	0a000014 	beq	a0013490 <_CORE_message_queue_Submit+0x80>    
                                                                      
  /*                                                                  
   *  No one waiting on the message queue at this time, so attempt to 
   *  queue the message up for a future receive.                      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages <                
a001343c:	e5943044 	ldr	r3, [r4, #68]	; 0x44                          
a0013440:	e1530006 	cmp	r3, r6                                        
a0013444:	8a000001 	bhi	a0013450 <_CORE_message_queue_Submit+0x40>    
    );                                                                
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
  }                                                                   
                                                                      
  #if !defined(RTEMS_SCORE_COREMSG_ENABLE_BLOCKING_SEND)              
    return CORE_MESSAGE_QUEUE_STATUS_TOO_MANY;                        
a0013448:	e3a00002 	mov	r0, #2                                        <== NOT EXECUTED
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
a001344c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
_CORE_message_queue_Allocate_message_buffer (                         
    CORE_message_queue_Control *the_message_queue                     
)                                                                     
{                                                                     
   return (CORE_message_queue_Buffer_control *)                       
     _Chain_Get( &the_message_queue->Inactive_messages );             
a0013450:	e2840060 	add	r0, r4, #96	; 0x60                            
a0013454:	ebffff6d 	bl	a0013210 <_Chain_Get>                          
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
a0013458:	e1a0100a 	mov	r1, sl                                        
_CORE_message_queue_Allocate_message_buffer (                         
    CORE_message_queue_Control *the_message_queue                     
)                                                                     
{                                                                     
   return (CORE_message_queue_Buffer_control *)                       
     _Chain_Get( &the_message_queue->Inactive_messages );             
a001345c:	e1a06000 	mov	r6, r0                                        
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
a0013460:	e1a02005 	mov	r2, r5                                        
a0013464:	e280000c 	add	r0, r0, #12                                   
a0013468:	eb001dba 	bl	a001ab58 <memcpy>                              
      size                                                            
    );                                                                
    the_message->Contents.size = size;                                
    _CORE_message_queue_Set_message_priority( the_message, submit_type );
                                                                      
    _CORE_message_queue_Insert_message(                               
a001346c:	e1a00004 	mov	r0, r4                                        
    _CORE_message_queue_Copy_buffer(                                  
      buffer,                                                         
      the_message->Contents.buffer,                                   
      size                                                            
    );                                                                
    the_message->Contents.size = size;                                
a0013470:	e5865008 	str	r5, [r6, #8]                                  
    _CORE_message_queue_Set_message_priority( the_message, submit_type );
                                                                      
    _CORE_message_queue_Insert_message(                               
a0013474:	e1a01006 	mov	r1, r6                                        
a0013478:	e1a02007 	mov	r2, r7                                        
a001347c:	eb00133a 	bl	a001816c <_CORE_message_queue_Insert_message>  
       the_message_queue,                                             
       the_message,                                                   
       submit_type                                                    
    );                                                                
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
a0013480:	e3a00000 	mov	r0, #0                                        
a0013484:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
{                                                                     
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
a0013488:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a001348c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
a0013490:	eb000782 	bl	a00152a0 <_Thread_queue_Dequeue>               
    if ( the_thread ) {                                               
a0013494:	e2508000 	subs	r8, r0, #0                                   
a0013498:	05946048 	ldreq	r6, [r4, #72]	; 0x48                        
a001349c:	0affffe6 	beq	a001343c <_CORE_message_queue_Submit+0x2c>    
a00134a0:	e598002c 	ldr	r0, [r8, #44]	; 0x2c                          
a00134a4:	e1a0100a 	mov	r1, sl                                        
a00134a8:	e1a02005 	mov	r2, r5                                        
a00134ac:	eb001da9 	bl	a001ab58 <memcpy>                              
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
a00134b0:	e5983028 	ldr	r3, [r8, #40]	; 0x28                          
                                                                      
      #if defined(RTEMS_MULTIPROCESSING)                              
        if ( !_Objects_Is_local_id( the_thread->Object.id ) )         
          (*api_message_queue_mp_support) ( the_thread, id );         
      #endif                                                          
      return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                    
a00134b4:	e1a00006 	mov	r0, r6                                        
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
a00134b8:	e5835000 	str	r5, [r3]                                      
      the_thread->Wait.count = (uint32_t) submit_type;                
a00134bc:	e5887024 	str	r7, [r8, #36]	; 0x24                          
                                                                      
      #if defined(RTEMS_MULTIPROCESSING)                              
        if ( !_Objects_Is_local_id( the_thread->Object.id ) )         
          (*api_message_queue_mp_support) ( the_thread, id );         
      #endif                                                          
      return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                    
a00134c0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a000a4b8 <_CORE_mutex_Initialize>: CORE_mutex_Status _CORE_mutex_Initialize( CORE_mutex_Control *the_mutex, CORE_mutex_Attributes *the_mutex_attributes, uint32_t initial_lock ) {
a000a4b8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                initial_lock == CORE_MUTEX_UNLOCKED );                
 */                                                                   
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
a000a4bc:	e3a05000 	mov	r5, #0                                        
CORE_mutex_Status _CORE_mutex_Initialize(                             
  CORE_mutex_Control           *the_mutex,                            
  CORE_mutex_Attributes        *the_mutex_attributes,                 
  uint32_t                      initial_lock                          
)                                                                     
{                                                                     
a000a4c0:	e1a0c000 	mov	ip, r0                                        
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
a000a4c4:	e1520005 	cmp	r2, r5                                        
CORE_mutex_Status _CORE_mutex_Initialize(                             
  CORE_mutex_Control           *the_mutex,                            
  CORE_mutex_Attributes        *the_mutex_attributes,                 
  uint32_t                      initial_lock                          
)                                                                     
{                                                                     
a000a4c8:	e1a06002 	mov	r6, r2                                        
/* Add this to the RTEMS environment later ?????????                  
  rtems_assert( initial_lock == CORE_MUTEX_LOCKED ||                  
                initial_lock == CORE_MUTEX_UNLOCKED );                
 */                                                                   
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
a000a4cc:	e2807040 	add	r7, r0, #64	; 0x40                            
CORE_mutex_Status _CORE_mutex_Initialize(                             
  CORE_mutex_Control           *the_mutex,                            
  CORE_mutex_Attributes        *the_mutex_attributes,                 
  uint32_t                      initial_lock                          
)                                                                     
{                                                                     
a000a4d0:	e1a04001 	mov	r4, r1                                        
/* Add this to the RTEMS environment later ?????????                  
  rtems_assert( initial_lock == CORE_MUTEX_LOCKED ||                  
                initial_lock == CORE_MUTEX_UNLOCKED );                
 */                                                                   
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
a000a4d4:	e891000f 	ldm	r1, {r0, r1, r2, r3}                          
  the_mutex->lock          = initial_lock;                            
a000a4d8:	e58c6050 	str	r6, [ip, #80]	; 0x50                          
/* Add this to the RTEMS environment later ?????????                  
  rtems_assert( initial_lock == CORE_MUTEX_LOCKED ||                  
                initial_lock == CORE_MUTEX_UNLOCKED );                
 */                                                                   
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
a000a4dc:	e887000f 	stm	r7, {r0, r1, r2, r3}                          
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
a000a4e0:	e58c5058 	str	r5, [ip, #88]	; 0x58                          
#endif                                                                
                                                                      
      _Thread_Executing->resource_count++;                            
    }                                                                 
  } else {                                                            
    the_mutex->nest_count = 0;                                        
a000a4e4:	158c5054 	strne	r5, [ip, #84]	; 0x54                        
    the_mutex->holder     = NULL;                                     
a000a4e8:	158c505c 	strne	r5, [ip, #92]	; 0x5c                        
    the_mutex->holder_id  = 0;                                        
a000a4ec:	158c5060 	strne	r5, [ip, #96]	; 0x60                        
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
a000a4f0:	1a00000b 	bne	a000a524 <_CORE_mutex_Initialize+0x6c>        
    the_mutex->nest_count = 1;                                        
    the_mutex->holder     = _Thread_Executing;                        
a000a4f4:	e59f3074 	ldr	r3, [pc, #116]	; a000a570 <_CORE_mutex_Initialize+0xb8>
  the_mutex->Attributes    = *the_mutex_attributes;                   
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
    the_mutex->nest_count = 1;                                        
a000a4f8:	e3a01001 	mov	r1, #1                                        
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
a000a4fc:	e59c2048 	ldr	r2, [ip, #72]	; 0x48                          
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
    the_mutex->nest_count = 1;                                        
    the_mutex->holder     = _Thread_Executing;                        
a000a500:	e5933004 	ldr	r3, [r3, #4]                                  
  the_mutex->Attributes    = *the_mutex_attributes;                   
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
    the_mutex->nest_count = 1;                                        
a000a504:	e58c1054 	str	r1, [ip, #84]	; 0x54                          
    the_mutex->holder     = _Thread_Executing;                        
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a000a508:	e3520002 	cmp	r2, #2                                        
  the_mutex->blocked_count = 0;                                       
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
    the_mutex->nest_count = 1;                                        
    the_mutex->holder     = _Thread_Executing;                        
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
a000a50c:	e5931008 	ldr	r1, [r3, #8]                                  
  the_mutex->lock          = initial_lock;                            
  the_mutex->blocked_count = 0;                                       
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
    the_mutex->nest_count = 1;                                        
    the_mutex->holder     = _Thread_Executing;                        
a000a510:	e58c305c 	str	r3, [ip, #92]	; 0x5c                          
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
a000a514:	e58c1060 	str	r1, [ip, #96]	; 0x60                          
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a000a518:	0a00000a 	beq	a000a548 <_CORE_mutex_Initialize+0x90>        
a000a51c:	e3520003 	cmp	r2, #3                                        
a000a520:	0a000008 	beq	a000a548 <_CORE_mutex_Initialize+0x90>        
    the_mutex->nest_count = 0;                                        
    the_mutex->holder     = NULL;                                     
    the_mutex->holder_id  = 0;                                        
  }                                                                   
                                                                      
  _Thread_queue_Initialize(                                           
a000a524:	e5941008 	ldr	r1, [r4, #8]                                  
a000a528:	e1a0000c 	mov	r0, ip                                        
a000a52c:	e3a02b01 	mov	r2, #1024	; 0x400                             
a000a530:	e2511000 	subs	r1, r1, #0                                   
a000a534:	13a01001 	movne	r1, #1                                      
a000a538:	e3a03005 	mov	r3, #5                                        
a000a53c:	eb000837 	bl	a000c620 <_Thread_queue_Initialize>            
      THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY,
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
a000a540:	e3a00000 	mov	r0, #0                                        
a000a544:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    the_mutex->holder     = _Thread_Executing;                        
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
a000a548:	e5931014 	ldr	r1, [r3, #20]                                 
a000a54c:	e59c204c 	ldr	r2, [ip, #76]	; 0x4c                          
a000a550:	e1510002 	cmp	r1, r2                                        
a000a554:	3a000003 	bcc	a000a568 <_CORE_mutex_Initialize+0xb0>        
       _Chain_Prepend_unprotected( &_Thread_Executing->lock_mutex,    
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = _Thread_Executing->current_priority;
#endif                                                                
                                                                      
      _Thread_Executing->resource_count++;                            
a000a558:	e593201c 	ldr	r2, [r3, #28]                                 <== NOT EXECUTED
a000a55c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a000a560:	e583201c 	str	r2, [r3, #28]                                 <== NOT EXECUTED
a000a564:	eaffffee 	b	a000a524 <_CORE_mutex_Initialize+0x6c>          <== NOT EXECUTED
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
             the_mutex->Attributes.priority_ceiling )                 
       return CORE_MUTEX_STATUS_CEILING_VIOLATED;                     
a000a568:	e3a00006 	mov	r0, #6                                        
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
a000a56c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a000f0b0 <_CORE_mutex_Seize_interrupt_trylock>: { Thread_Control *executing; /* disabled when you get here */ executing = _Thread_Executing;
a000f0b0:	e59f2160 	ldr	r2, [pc, #352]	; a000f218 <_CORE_mutex_Seize_interrupt_trylock+0x168>
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
a000f0b4:	e590c050 	ldr	ip, [r0, #80]	; 0x50                          
#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__)                 
int _CORE_mutex_Seize_interrupt_trylock(                              
  CORE_mutex_Control  *the_mutex,                                     
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
a000f0b8:	e1a03000 	mov	r3, r0                                        
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
a000f0bc:	e5922004 	ldr	r2, [r2, #4]                                  
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
a000f0c0:	e3a00000 	mov	r0, #0                                        
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
a000f0c4:	e15c0000 	cmp	ip, r0                                        
a000f0c8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
a000f0cc:	e5820034 	str	r0, [r2, #52]	; 0x34                          
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
a000f0d0:	0a00000e 	beq	a000f110 <_CORE_mutex_Seize_interrupt_trylock+0x60>
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
a000f0d4:	e593c048 	ldr	ip, [r3, #72]	; 0x48                          
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
a000f0d8:	e5925008 	ldr	r5, [r2, #8]                                  
    the_mutex->nest_count = 1;                                        
a000f0dc:	e3a04001 	mov	r4, #1                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a000f0e0:	e35c0002 	cmp	ip, #2                                        
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
a000f0e4:	e5830050 	str	r0, [r3, #80]	; 0x50                          
    the_mutex->holder     = executing;                                
a000f0e8:	e583205c 	str	r2, [r3, #92]	; 0x5c                          
    the_mutex->holder_id  = executing->Object.id;                     
a000f0ec:	e5835060 	str	r5, [r3, #96]	; 0x60                          
    the_mutex->nest_count = 1;                                        
a000f0f0:	e5834054 	str	r4, [r3, #84]	; 0x54                          
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a000f0f4:	0a00000a 	beq	a000f124 <_CORE_mutex_Seize_interrupt_trylock+0x74>
a000f0f8:	e35c0003 	cmp	ip, #3                                        
a000f0fc:	0a000019 	beq	a000f168 <_CORE_mutex_Seize_interrupt_trylock+0xb8>
a000f100:	e5913000 	ldr	r3, [r1]                                      
a000f104:	e129f003 	msr	CPSR_fc, r3                                   
      executing->resource_count++;                                    
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
      _ISR_Enable( *level_p );                                        
      return 0;                                                       
a000f108:	e3a00000 	mov	r0, #0                                        
a000f10c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
a000f110:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
a000f114:	e1520000 	cmp	r2, r0                                        
a000f118:	0a000008 	beq	a000f140 <_CORE_mutex_Seize_interrupt_trylock+0x90>
                                                                      
  /*                                                                  
   *  The mutex is not available and the caller must deal with the possibility
   *  of blocking.                                                    
   */                                                                 
  return 1;                                                           
a000f11c:	e3a00001 	mov	r0, #1                                        
a000f120:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
a000f124:	e592301c 	ldr	r3, [r2, #28]                                 
a000f128:	e2833001 	add	r3, r3, #1                                    
a000f12c:	e582301c 	str	r3, [r2, #28]                                 
a000f130:	e5913000 	ldr	r3, [r1]                                      
a000f134:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
      _ISR_Enable( *level_p );                                        
      return 0;                                                       
a000f138:	e3a00000 	mov	r0, #0                                        
a000f13c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
a000f140:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          
a000f144:	e3500000 	cmp	r0, #0                                        
a000f148:	1a000017 	bne	a000f1ac <_CORE_mutex_Seize_interrupt_trylock+0xfc>
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
a000f14c:	e5932054 	ldr	r2, [r3, #84]	; 0x54                          
a000f150:	e2822001 	add	r2, r2, #1                                    
a000f154:	e5832054 	str	r2, [r3, #84]	; 0x54                          
a000f158:	e5913000 	ldr	r3, [r1]                                      
a000f15c:	e129f003 	msr	CPSR_fc, r3                                   
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
a000f160:	e3a00000 	mov	r0, #0                                        
a000f164:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
a000f168:	e592c01c 	ldr	ip, [r2, #28]                                 
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
a000f16c:	e593604c 	ldr	r6, [r3, #76]	; 0x4c                          
      current = executing->current_priority;                          
a000f170:	e5925014 	ldr	r5, [r2, #20]                                 
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
a000f174:	e08c7004 	add	r7, ip, r4                                    
a000f178:	e582701c 	str	r7, [r2, #28]                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
a000f17c:	e1560005 	cmp	r6, r5                                        
a000f180:	0a000020 	beq	a000f208 <_CORE_mutex_Seize_interrupt_trylock+0x158>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
a000f184:	3a000012 	bcc	a000f1d4 <_CORE_mutex_Seize_interrupt_trylock+0x124>
        );                                                            
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
a000f188:	e3a05006 	mov	r5, #6                                        
a000f18c:	e5825034 	str	r5, [r2, #52]	; 0x34                          
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
a000f190:	e5834050 	str	r4, [r3, #80]	; 0x50                          
        the_mutex->nest_count = 0;     /* undo locking above */       
a000f194:	e5830054 	str	r0, [r3, #84]	; 0x54                          
        executing->resource_count--;   /* undo locking above */       
a000f198:	e582c01c 	str	ip, [r2, #28]                                 
a000f19c:	e5913000 	ldr	r3, [r1]                                      
a000f1a0:	e129f003 	msr	CPSR_fc, r3                                   
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
a000f1a4:	e3a00000 	mov	r0, #0                                        
a000f1a8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
a000f1ac:	e3500001 	cmp	r0, #1                                        
a000f1b0:	0a000001 	beq	a000f1bc <_CORE_mutex_Seize_interrupt_trylock+0x10c>
                                                                      
  /*                                                                  
   *  The mutex is not available and the caller must deal with the possibility
   *  of blocking.                                                    
   */                                                                 
  return 1;                                                           
a000f1b4:	e3a00001 	mov	r0, #1                                        
a000f1b8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
a000f1bc:	e3a03002 	mov	r3, #2                                        <== NOT EXECUTED
a000f1c0:	e5823034 	str	r3, [r2, #52]	; 0x34                          <== NOT EXECUTED
a000f1c4:	e5913000 	ldr	r3, [r1]                                      <== NOT EXECUTED
a000f1c8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
a000f1cc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000f1d0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000f1d4:	e59f2040 	ldr	r2, [pc, #64]	; a000f21c <_CORE_mutex_Seize_interrupt_trylock+0x16c>
a000f1d8:	e5920000 	ldr	r0, [r2]                                      
a000f1dc:	e2800001 	add	r0, r0, #1                                    
a000f1e0:	e5820000 	str	r0, [r2]                                      
a000f1e4:	e5912000 	ldr	r2, [r1]                                      
a000f1e8:	e129f002 	msr	CPSR_fc, r2                                   
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
        _Thread_Change_priority(                                      
a000f1ec:	e3a02000 	mov	r2, #0                                        
a000f1f0:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
a000f1f4:	e593104c 	ldr	r1, [r3, #76]	; 0x4c                          
a000f1f8:	ebfff1f3 	bl	a000b9cc <_Thread_Change_priority>             
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
a000f1fc:	ebfff332 	bl	a000becc <_Thread_Enable_dispatch>             
        return 0;                                                     
a000f200:	e3a00000 	mov	r0, #0                                        
a000f204:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a000f208:	e5913000 	ldr	r3, [r1]                                      
a000f20c:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
a000f210:	e3a00000 	mov	r0, #0                                        
a000f214:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a000a6ac <_CORE_mutex_Surrender>: * allowed when the mutex in quetion is FIFO or simple Priority * discipline. But Priority Ceiling or Priority Inheritance mutexes * must be released by the thread which acquired them. */ if ( the_mutex->Attributes.only_owner_release ) {
a000a6ac:	e5d03044 	ldrb	r3, [r0, #68]	; 0x44                         
#else                                                                 
  Objects_Id                         id __attribute__((unused)),      
  CORE_mutex_API_mp_support_callout  api_mutex_mp_support __attribute__((unused))
#endif                                                                
)                                                                     
{                                                                     
a000a6b0:	e92d4030 	push	{r4, r5, lr}                                 
   *  allowed when the mutex in quetion is FIFO or simple Priority    
   *  discipline.  But Priority Ceiling or Priority Inheritance mutexes
   *  must be released by the thread which acquired them.             
   */                                                                 
                                                                      
  if ( the_mutex->Attributes.only_owner_release ) {                   
a000a6b4:	e3530000 	cmp	r3, #0                                        
#else                                                                 
  Objects_Id                         id __attribute__((unused)),      
  CORE_mutex_API_mp_support_callout  api_mutex_mp_support __attribute__((unused))
#endif                                                                
)                                                                     
{                                                                     
a000a6b8:	e1a04000 	mov	r4, r0                                        
  Thread_Control *the_thread;                                         
  Thread_Control *holder;                                             
                                                                      
  holder = the_mutex->holder;                                         
a000a6bc:	e590205c 	ldr	r2, [r0, #92]	; 0x5c                          
   *  allowed when the mutex in quetion is FIFO or simple Priority    
   *  discipline.  But Priority Ceiling or Priority Inheritance mutexes
   *  must be released by the thread which acquired them.             
   */                                                                 
                                                                      
  if ( the_mutex->Attributes.only_owner_release ) {                   
a000a6c0:	0a000005 	beq	a000a6dc <_CORE_mutex_Surrender+0x30>         
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
a000a6c4:	e59f3120 	ldr	r3, [pc, #288]	; a000a7ec <_CORE_mutex_Surrender+0x140>
    if ( !_Thread_Is_executing( holder ) )                            
a000a6c8:	e5933004 	ldr	r3, [r3, #4]                                  
a000a6cc:	e1520003 	cmp	r2, r3                                        
a000a6d0:	0a000001 	beq	a000a6dc <_CORE_mutex_Surrender+0x30>         
      return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;                 
a000a6d4:	e3a00003 	mov	r0, #3                                        
a000a6d8:	e8bd8030 	pop	{r4, r5, pc}                                  
  }                                                                   
                                                                      
  /* XXX already unlocked -- not right status */                      
                                                                      
  if ( !the_mutex->nest_count )                                       
a000a6dc:	e5940054 	ldr	r0, [r4, #84]	; 0x54                          
a000a6e0:	e3500000 	cmp	r0, #0                                        
a000a6e4:	0a000023 	beq	a000a778 <_CORE_mutex_Surrender+0xcc>         
    return CORE_MUTEX_STATUS_SUCCESSFUL;                              
                                                                      
  the_mutex->nest_count--;                                            
a000a6e8:	e2400001 	sub	r0, r0, #1                                    
                                                                      
  if ( the_mutex->nest_count != 0 ) {                                 
a000a6ec:	e3500000 	cmp	r0, #0                                        
  /* XXX already unlocked -- not right status */                      
                                                                      
  if ( !the_mutex->nest_count )                                       
    return CORE_MUTEX_STATUS_SUCCESSFUL;                              
                                                                      
  the_mutex->nest_count--;                                            
a000a6f0:	e5840054 	str	r0, [r4, #84]	; 0x54                          
                                                                      
  if ( the_mutex->nest_count != 0 ) {                                 
a000a6f4:	1a000020 	bne	a000a77c <_CORE_mutex_Surrender+0xd0>         
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
a000a6f8:	e5943048 	ldr	r3, [r4, #72]	; 0x48                          
                                                                      
  /*                                                                  
   *  Formally release the mutex before possibly transferring it to a 
   *  blocked thread.                                                 
   */                                                                 
  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||   
a000a6fc:	e3530002 	cmp	r3, #2                                        
a000a700:	0a00001f 	beq	a000a784 <_CORE_mutex_Surrender+0xd8>         
a000a704:	e3530003 	cmp	r3, #3                                        
a000a708:	0a00001d 	beq	a000a784 <_CORE_mutex_Surrender+0xd8>         
    if ( holder->resource_count == 0 &&                               
         holder->real_priority != holder->current_priority ) {        
      _Thread_Change_priority( holder, holder->real_priority, true ); 
    }                                                                 
  }                                                                   
  the_mutex->holder    = NULL;                                        
a000a70c:	e3a05000 	mov	r5, #0                                        
a000a710:	e584505c 	str	r5, [r4, #92]	; 0x5c                          
  the_mutex->holder_id = 0;                                           
a000a714:	e5845060 	str	r5, [r4, #96]	; 0x60                          
                                                                      
  /*                                                                  
   *  Now we check if another thread was waiting for this mutex.  If so,
   *  transfer the mutex to that thread.                              
   */                                                                 
  if ( ( the_thread = _Thread_queue_Dequeue( &the_mutex->Wait_queue ) ) ) {
a000a718:	e1a00004 	mov	r0, r4                                        
a000a71c:	eb0006b3 	bl	a000c1f0 <_Thread_queue_Dequeue>               
a000a720:	e2503000 	subs	r3, r0, #0                                   
a000a724:	0a00002c 	beq	a000a7dc <_CORE_mutex_Surrender+0x130>        
    } else                                                            
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
      the_mutex->holder_id  = the_thread->Object.id;                  
a000a728:	e5931008 	ldr	r1, [r3, #8]                                  
      the_mutex->nest_count = 1;                                      
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
a000a72c:	e5942048 	ldr	r2, [r4, #72]	; 0x48                          
                                                                      
    } else                                                            
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
a000a730:	e584305c 	str	r3, [r4, #92]	; 0x5c                          
      the_mutex->holder_id  = the_thread->Object.id;                  
a000a734:	e5841060 	str	r1, [r4, #96]	; 0x60                          
      the_mutex->nest_count = 1;                                      
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
a000a738:	e3520002 	cmp	r2, #2                                        
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
      the_mutex->holder_id  = the_thread->Object.id;                  
      the_mutex->nest_count = 1;                                      
a000a73c:	e3a01001 	mov	r1, #1                                        
a000a740:	e5841054 	str	r1, [r4, #84]	; 0x54                          
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
a000a744:	0a00001b 	beq	a000a7b8 <_CORE_mutex_Surrender+0x10c>        
a000a748:	e3520003 	cmp	r2, #3                                        <== NOT EXECUTED
a000a74c:	0a000001 	beq	a000a758 <_CORE_mutex_Surrender+0xac>         <== NOT EXECUTED
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
a000a750:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000a754:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
a000a758:	e593c01c 	ldr	ip, [r3, #28]                                 <== NOT EXECUTED
          if (the_mutex->Attributes.priority_ceiling <                
a000a75c:	e594104c 	ldr	r1, [r4, #76]	; 0x4c                          <== NOT EXECUTED
a000a760:	e5932014 	ldr	r2, [r3, #20]                                 <== NOT EXECUTED
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
a000a764:	e28cc001 	add	ip, ip, #1                                    <== NOT EXECUTED
a000a768:	e583c01c 	str	ip, [r3, #28]                                 <== NOT EXECUTED
          if (the_mutex->Attributes.priority_ceiling <                
a000a76c:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
a000a770:	21a00005 	movcs	r0, r5                                      <== NOT EXECUTED
          the_thread->resource_count++;                               
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
          if (the_mutex->Attributes.priority_ceiling <                
a000a774:	3a000014 	bcc	a000a7cc <_CORE_mutex_Surrender+0x120>        <== NOT EXECUTED
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
a000a778:	e8bd8030 	pop	{r4, r5, pc}                                  
          /* Currently no API exercises this behavior. */             
          break;                                                      
      }                                                               
    #else                                                             
      /* must be CORE_MUTEX_NESTING_ACQUIRES or we wouldn't be here */
      return CORE_MUTEX_STATUS_SUCCESSFUL;                            
a000a77c:	e3a00000 	mov	r0, #0                                        
a000a780:	e8bd8030 	pop	{r4, r5, pc}                                  
      _CORE_mutex_Pop_priority( the_mutex, holder );                  
                                                                      
    if ( pop_status != CORE_MUTEX_STATUS_SUCCESSFUL )                 
      return pop_status;                                              
                                                                      
    holder->resource_count--;                                         
a000a784:	e592301c 	ldr	r3, [r2, #28]                                 
a000a788:	e2433001 	sub	r3, r3, #1                                    
    /*                                                                
     *  Whether or not someone is waiting for the mutex, an           
     *  inherited priority must be lowered if this is the last        
     *  mutex (i.e. resource) this task has.                          
     */                                                               
    if ( holder->resource_count == 0 &&                               
a000a78c:	e3530000 	cmp	r3, #0                                        
      _CORE_mutex_Pop_priority( the_mutex, holder );                  
                                                                      
    if ( pop_status != CORE_MUTEX_STATUS_SUCCESSFUL )                 
      return pop_status;                                              
                                                                      
    holder->resource_count--;                                         
a000a790:	e582301c 	str	r3, [r2, #28]                                 
    /*                                                                
     *  Whether or not someone is waiting for the mutex, an           
     *  inherited priority must be lowered if this is the last        
     *  mutex (i.e. resource) this task has.                          
     */                                                               
    if ( holder->resource_count == 0 &&                               
a000a794:	1affffdc 	bne	a000a70c <_CORE_mutex_Surrender+0x60>         
         holder->real_priority != holder->current_priority ) {        
a000a798:	e5921018 	ldr	r1, [r2, #24]                                 
    /*                                                                
     *  Whether or not someone is waiting for the mutex, an           
     *  inherited priority must be lowered if this is the last        
     *  mutex (i.e. resource) this task has.                          
     */                                                               
    if ( holder->resource_count == 0 &&                               
a000a79c:	e5923014 	ldr	r3, [r2, #20]                                 
a000a7a0:	e1510003 	cmp	r1, r3                                        
a000a7a4:	0affffd8 	beq	a000a70c <_CORE_mutex_Surrender+0x60>         
         holder->real_priority != holder->current_priority ) {        
      _Thread_Change_priority( holder, holder->real_priority, true ); 
a000a7a8:	e1a00002 	mov	r0, r2                                        
a000a7ac:	e3a02001 	mov	r2, #1                                        
a000a7b0:	eb000485 	bl	a000b9cc <_Thread_Change_priority>             
a000a7b4:	eaffffd4 	b	a000a70c <_CORE_mutex_Surrender+0x60>           
        case CORE_MUTEX_DISCIPLINES_FIFO:                             
        case CORE_MUTEX_DISCIPLINES_PRIORITY:                         
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
a000a7b8:	e593201c 	ldr	r2, [r3, #28]                                 
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
a000a7bc:	e1a00005 	mov	r0, r5                                        
        case CORE_MUTEX_DISCIPLINES_FIFO:                             
        case CORE_MUTEX_DISCIPLINES_PRIORITY:                         
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
a000a7c0:	e2822001 	add	r2, r2, #1                                    
a000a7c4:	e583201c 	str	r2, [r3, #28]                                 
          break;                                                      
a000a7c8:	e8bd8030 	pop	{r4, r5, pc}                                  
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
          if (the_mutex->Attributes.priority_ceiling <                
              the_thread->current_priority){                          
              _Thread_Change_priority(                                
a000a7cc:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a000a7d0:	eb00047d 	bl	a000b9cc <_Thread_Change_priority>             <== NOT EXECUTED
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
a000a7d4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000a7d8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
          }                                                           
          break;                                                      
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
a000a7dc:	e3a02001 	mov	r2, #1                                        
a000a7e0:	e5842050 	str	r2, [r4, #80]	; 0x50                          
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
a000a7e4:	e1a00003 	mov	r0, r3                                        
a000a7e8:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a000adc0 <_Chain_Get_with_empty_check>: bool _Chain_Get_with_empty_check( Chain_Control *chain, Chain_Node **node ) {
a000adc0:	e52d4004 	push	{r4}		; (str r4, [sp, #-4]!)                 <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000adc4:	e10f4000 	mrs	r4, CPSR                                      <== NOT EXECUTED
a000adc8:	e3843080 	orr	r3, r4, #128	; 0x80                           <== NOT EXECUTED
a000adcc:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_first = head->next;                                 
a000add0:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
a000add4:	e280c004 	add	ip, r0, #4                                    <== NOT EXECUTED
  Chain_Node *old_first = head->next;                                 
                                                                      
  if ( old_first != tail ) {                                          
a000add8:	e15c0003 	cmp	ip, r3                                        <== NOT EXECUTED
                                                                      
    *the_node = old_first;                                            
                                                                      
    is_empty_now = new_first == tail;                                 
  } else                                                              
    *the_node = NULL;                                                 
a000addc:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a000ade0:	05813000 	streq	r3, [r1]                                    <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool _Chain_Get_with_empty_check_unprotected(    
  Chain_Control *the_chain,                                           
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
a000ade4:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_first = head->next;                                 
                                                                      
  if ( old_first != tail ) {                                          
a000ade8:	0a000006 	beq	a000ae08 <_Chain_Get_with_empty_check+0x48>   <== NOT EXECUTED
    Chain_Node *new_first = old_first->next;                          
a000adec:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
                                                                      
    head->next = new_first;                                           
a000adf0:	e5802000 	str	r2, [r0]                                      <== NOT EXECUTED
    new_first->previous = head;                                       
a000adf4:	e5820004 	str	r0, [r2, #4]                                  <== NOT EXECUTED
                                                                      
    *the_node = old_first;                                            
                                                                      
    is_empty_now = new_first == tail;                                 
a000adf8:	e15c0002 	cmp	ip, r2                                        <== NOT EXECUTED
a000adfc:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a000ae00:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    Chain_Node *new_first = old_first->next;                          
                                                                      
    head->next = new_first;                                           
    new_first->previous = head;                                       
                                                                      
    *the_node = old_first;                                            
a000ae04:	e5813000 	str	r3, [r1]                                      <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000ae08:	e129f004 	msr	CPSR_fc, r4                                   <== NOT EXECUTED
  _ISR_Disable( level );                                              
  is_empty_now = _Chain_Get_with_empty_check_unprotected( chain, node );
  _ISR_Enable( level );                                               
                                                                      
  return is_empty_now;                                                
}                                                                     
a000ae0c:	e8bd0010 	pop	{r4}                                          <== NOT EXECUTED
a000ae10:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0009518 <_Event_Seize>: rtems_event_set pending_events; ISR_Level level; RTEMS_API_Control *api; Thread_blocking_operation_States sync_state; executing = _Thread_Executing;
a0009518:	e59fc0fc 	ldr	ip, [pc, #252]	; a000961c <_Event_Seize+0x104>
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
a000951c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
a0009520:	e59c4004 	ldr	r4, [ip, #4]                                  
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
a0009524:	e3a0c000 	mov	ip, #0                                        
a0009528:	e584c034 	str	ip, [r4, #52]	; 0x34                          
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
a000952c:	e594c0f4 	ldr	ip, [r4, #244]	; 0xf4                         
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0009530:	e10f7000 	mrs	r7, CPSR                                      
a0009534:	e3875080 	orr	r5, r7, #128	; 0x80                           
a0009538:	e129f005 	msr	CPSR_fc, r5                                   
                                                                      
  _ISR_Disable( level );                                              
  pending_events = api->pending_events;                               
a000953c:	e59c5000 	ldr	r5, [ip]                                      
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
a0009540:	e0106005 	ands	r6, r0, r5                                   
a0009544:	0a000003 	beq	a0009558 <_Event_Seize+0x40>                  
a0009548:	e1500006 	cmp	r0, r6                                        
a000954c:	0a00001f 	beq	a00095d0 <_Event_Seize+0xb8>                  
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
a0009550:	e3110002 	tst	r1, #2                                        <== NOT EXECUTED
a0009554:	1a00001d 	bne	a00095d0 <_Event_Seize+0xb8>                  <== NOT EXECUTED
    _ISR_Enable( level );                                             
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
a0009558:	e3110001 	tst	r1, #1                                        
a000955c:	1a000016 	bne	a00095bc <_Event_Seize+0xa4>                  
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  executing->Wait.count             = (uint32_t) event_in;            
  executing->Wait.return_argument   = event_out;                      
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
a0009560:	e59f50b8 	ldr	r5, [pc, #184]	; a0009620 <_Event_Seize+0x108>
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  executing->Wait.count             = (uint32_t) event_in;            
  executing->Wait.return_argument   = event_out;                      
a0009564:	e5843028 	str	r3, [r4, #40]	; 0x28                          
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
a0009568:	e3a03001 	mov	r3, #1                                        
   *  set properly when we are marked as in the event critical section.
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
a000956c:	e5841030 	str	r1, [r4, #48]	; 0x30                          
  executing->Wait.count             = (uint32_t) event_in;            
a0009570:	e5840024 	str	r0, [r4, #36]	; 0x24                          
  executing->Wait.return_argument   = event_out;                      
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
a0009574:	e5853000 	str	r3, [r5]                                      
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0009578:	e129f007 	msr	CPSR_fc, r7                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  if ( ticks ) {                                                      
a000957c:	e3520000 	cmp	r2, #0                                        
a0009580:	1a000019 	bne	a00095ec <_Event_Seize+0xd4>                  
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
a0009584:	e1a00004 	mov	r0, r4                                        
a0009588:	e3a01c01 	mov	r1, #256	; 0x100                              
a000958c:	eb000c74 	bl	a000c764 <_Thread_Set_state>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0009590:	e10f2000 	mrs	r2, CPSR                                      
a0009594:	e3823080 	orr	r3, r2, #128	; 0x80                           
a0009598:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  sync_state = _Event_Sync_state;                                     
a000959c:	e5950000 	ldr	r0, [r5]                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
a00095a0:	e3a03000 	mov	r3, #0                                        
a00095a4:	e5853000 	str	r3, [r5]                                      
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
a00095a8:	e3500001 	cmp	r0, #1                                        
a00095ac:	0a00000c 	beq	a00095e4 <_Event_Seize+0xcc>                  
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
a00095b0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
}                                                                     
a00095b4:	e8bd40f0 	pop	{r4, r5, r6, r7, lr}                          <== NOT EXECUTED
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
a00095b8:	ea0008ed 	b	a000b974 <_Thread_blocking_operation_Cancel>    <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00095bc:	e129f007 	msr	CPSR_fc, r7                                   
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
    _ISR_Enable( level );                                             
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
a00095c0:	e3a0200d 	mov	r2, #13                                       
a00095c4:	e5842034 	str	r2, [r4, #52]	; 0x34                          
    *event_out = seized_events;                                       
a00095c8:	e5836000 	str	r6, [r3]                                      
    return;                                                           
a00095cc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
a00095d0:	e1c55006 	bic	r5, r5, r6                                    
  pending_events = api->pending_events;                               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
a00095d4:	e58c5000 	str	r5, [ip]                                      
a00095d8:	e129f007 	msr	CPSR_fc, r7                                   
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
    *event_out = seized_events;                                       
a00095dc:	e5836000 	str	r6, [r3]                                      
    return;                                                           
a00095e0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a00095e4:	e129f002 	msr	CPSR_fc, r2                                   
a00095e8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  if ( ticks ) {                                                      
    _Watchdog_Initialize(                                             
a00095ec:	e5941008 	ldr	r1, [r4, #8]                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a00095f0:	e59f002c 	ldr	r0, [pc, #44]	; a0009624 <_Event_Seize+0x10c> 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a00095f4:	e3a03000 	mov	r3, #0                                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
a00095f8:	e5841068 	str	r1, [r4, #104]	; 0x68                         
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a00095fc:	e5840064 	str	r0, [r4, #100]	; 0x64                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0009600:	e5843050 	str	r3, [r4, #80]	; 0x50                          
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
a0009604:	e584306c 	str	r3, [r4, #108]	; 0x6c                         
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a0009608:	e5842054 	str	r2, [r4, #84]	; 0x54                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000960c:	e59f0014 	ldr	r0, [pc, #20]	; a0009628 <_Event_Seize+0x110> 
a0009610:	e2841048 	add	r1, r4, #72	; 0x48                            
a0009614:	eb000dce 	bl	a000cd54 <_Watchdog_Insert>                    
a0009618:	eaffffd9 	b	a0009584 <_Event_Seize+0x6c>                    
                                                                      

a0009684 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
a0009684:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_event_set     event_condition;                                
  rtems_event_set     seized_events;                                  
  rtems_option        option_set;                                     
  RTEMS_API_Control  *api;                                            
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
a0009688:	e59010f4 	ldr	r1, [r0, #244]	; 0xf4                         
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
a000968c:	e5906030 	ldr	r6, [r0, #48]	; 0x30                          
 */                                                                   
                                                                      
void _Event_Surrender(                                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a0009690:	e1a04000 	mov	r4, r0                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0009694:	e10f0000 	mrs	r0, CPSR                                      
a0009698:	e3803080 	orr	r3, r0, #128	; 0x80                           
a000969c:	e129f003 	msr	CPSR_fc, r3                                   
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
                                                                      
  _ISR_Disable( level );                                              
  pending_events  = api->pending_events;                              
a00096a0:	e5912000 	ldr	r2, [r1]                                      
  event_condition = (rtems_event_set) the_thread->Wait.count;         
a00096a4:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
a00096a8:	e013c002 	ands	ip, r3, r2                                   
a00096ac:	0a000020 	beq	a0009734 <_Event_Surrender+0xb0>              
                                                                      
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
a00096b0:	e59f50fc 	ldr	r5, [pc, #252]	; a00097b4 <_Event_Surrender+0x130>
a00096b4:	e5957000 	ldr	r7, [r5]                                      
a00096b8:	e3570000 	cmp	r7, #0                                        
a00096bc:	0a000002 	beq	a00096cc <_Event_Surrender+0x48>              
a00096c0:	e5955004 	ldr	r5, [r5, #4]                                  <== NOT EXECUTED
a00096c4:	e1540005 	cmp	r4, r5                                        <== NOT EXECUTED
a00096c8:	0a000024 	beq	a0009760 <_Event_Surrender+0xdc>              <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
a00096cc:	e5945010 	ldr	r5, [r4, #16]                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
a00096d0:	e3150c01 	tst	r5, #256	; 0x100                              
a00096d4:	0a000014 	beq	a000972c <_Event_Surrender+0xa8>              
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
a00096d8:	e153000c 	cmp	r3, ip                                        
a00096dc:	0a000001 	beq	a00096e8 <_Event_Surrender+0x64>              
a00096e0:	e3160002 	tst	r6, #2                                        <== NOT EXECUTED
a00096e4:	0a000010 	beq	a000972c <_Event_Surrender+0xa8>              <== NOT EXECUTED
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
a00096e8:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
a00096ec:	e1c2200c 	bic	r2, r2, ip                                    
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
a00096f0:	e5812000 	str	r2, [r1]                                      
      the_thread->Wait.count = 0;                                     
a00096f4:	e3a02000 	mov	r2, #0                                        
a00096f8:	e5842024 	str	r2, [r4, #36]	; 0x24                          
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
a00096fc:	e583c000 	str	ip, [r3]                                      
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0009700:	e10f3000 	mrs	r3, CPSR                                      
a0009704:	e129f000 	msr	CPSR_fc, r0                                   
a0009708:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
a000970c:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a0009710:	e3530002 	cmp	r3, #2                                        
a0009714:	0a000008 	beq	a000973c <_Event_Surrender+0xb8>              
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0009718:	e129f000 	msr	CPSR_fc, r0                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
a000971c:	e59f1094 	ldr	r1, [pc, #148]	; a00097b8 <_Event_Surrender+0x134>
a0009720:	e1a00004 	mov	r0, r4                                        
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
a0009724:	e8bd40f0 	pop	{r4, r5, r6, r7, lr}                          
a0009728:	ea000905 	b	a000bb44 <_Thread_Clear_state>                  
a000972c:	e129f000 	msr	CPSR_fc, r0                                   <== NOT EXECUTED
a0009730:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
a0009734:	e129f000 	msr	CPSR_fc, r0                                   
a0009738:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
a000973c:	e3a03003 	mov	r3, #3                                        
a0009740:	e5843050 	str	r3, [r4, #80]	; 0x50                          
a0009744:	e129f000 	msr	CPSR_fc, r0                                   
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
        (void) _Watchdog_Remove( &the_thread->Timer );                
a0009748:	e2840048 	add	r0, r4, #72	; 0x48                            
a000974c:	eb000def 	bl	a000cf10 <_Watchdog_Remove>                    
a0009750:	e59f1060 	ldr	r1, [pc, #96]	; a00097b8 <_Event_Surrender+0x134>
a0009754:	e1a00004 	mov	r0, r4                                        
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
a0009758:	e8bd40f0 	pop	{r4, r5, r6, r7, lr}                          
a000975c:	ea0008f8 	b	a000bb44 <_Thread_Clear_state>                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
a0009760:	e59f5054 	ldr	r5, [pc, #84]	; a00097bc <_Event_Surrender+0x138><== NOT EXECUTED
a0009764:	e5957000 	ldr	r7, [r5]                                      <== NOT EXECUTED
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
a0009768:	e3570002 	cmp	r7, #2                                        <== NOT EXECUTED
a000976c:	0a000002 	beq	a000977c <_Event_Surrender+0xf8>              <== NOT EXECUTED
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
a0009770:	e5957000 	ldr	r7, [r5]                                      <== NOT EXECUTED
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
a0009774:	e3570001 	cmp	r7, #1                                        <== NOT EXECUTED
a0009778:	1affffd3 	bne	a00096cc <_Event_Surrender+0x48>              <== NOT EXECUTED
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
a000977c:	e153000c 	cmp	r3, ip                                        <== NOT EXECUTED
a0009780:	0a000001 	beq	a000978c <_Event_Surrender+0x108>             <== NOT EXECUTED
a0009784:	e3160002 	tst	r6, #2                                        <== NOT EXECUTED
a0009788:	0a000007 	beq	a00097ac <_Event_Surrender+0x128>             <== NOT EXECUTED
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
a000978c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0009790:	e1c2200c 	bic	r2, r2, ip                                    <== NOT EXECUTED
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
a0009794:	e5812000 	str	r2, [r1]                                      <== NOT EXECUTED
      the_thread->Wait.count = 0;                                     
a0009798:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000979c:	e5842024 	str	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
a00097a0:	e583c000 	str	ip, [r3]                                      <== NOT EXECUTED
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
a00097a4:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
a00097a8:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
a00097ac:	e129f000 	msr	CPSR_fc, r0                                   <== NOT EXECUTED
a00097b0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a00097c0 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
a00097c0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a00097c4:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a00097c8:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a00097cc:	eb0009c7 	bl	a000bef0 <_Thread_Get>                         <== NOT EXECUTED
  switch ( location ) {                                               
a00097d0:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00097d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00097d8:	1a000010 	bne	a0009820 <_Event_Timeout+0x60>                <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00097dc:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
a00097e0:	e3821080 	orr	r1, r2, #128	; 0x80                           <== NOT EXECUTED
a00097e4:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
a00097e8:	e5803024 	str	r3, [r0, #36]	; 0x24                          <== NOT EXECUTED
        if ( _Thread_Is_executing( the_thread ) ) {                   
a00097ec:	e59f304c 	ldr	r3, [pc, #76]	; a0009840 <_Event_Timeout+0x80><== NOT EXECUTED
a00097f0:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a00097f4:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00097f8:	0a00000a 	beq	a0009828 <_Event_Timeout+0x68>                <== NOT EXECUTED
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
a00097fc:	e3a03006 	mov	r3, #6                                        <== NOT EXECUTED
a0009800:	e5803034 	str	r3, [r0, #52]	; 0x34                          <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0009804:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
a0009808:	e59f1034 	ldr	r1, [pc, #52]	; a0009844 <_Event_Timeout+0x84><== NOT EXECUTED
a000980c:	eb0008cc 	bl	a000bb44 <_Thread_Clear_state>                 <== NOT EXECUTED
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
a0009810:	e59f3030 	ldr	r3, [pc, #48]	; a0009848 <_Event_Timeout+0x88><== NOT EXECUTED
a0009814:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a0009818:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a000981c:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
a0009820:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0009824:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
a0009828:	e59f301c 	ldr	r3, [pc, #28]	; a000984c <_Event_Timeout+0x8c><== NOT EXECUTED
a000982c:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
a0009830:	e3510001 	cmp	r1, #1                                        <== NOT EXECUTED
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
a0009834:	03a01002 	moveq	r1, #2                                      <== NOT EXECUTED
a0009838:	05831000 	streq	r1, [r3]                                    <== NOT EXECUTED
a000983c:	eaffffee 	b	a00097fc <_Event_Timeout+0x3c>                  <== NOT EXECUTED
                                                                      

a000f288 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
a000f288:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000f28c:	e1a08002 	mov	r8, r2                                        
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_ALLOC_BONUS;                                               
  uintptr_t const page_size = heap->page_size;                        
a000f290:	e5902010 	ldr	r2, [r0, #16]                                 
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000f294:	e24dd01c 	sub	sp, sp, #28                                   
a000f298:	e1a05001 	mov	r5, r1                                        
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000f29c:	e2911004 	adds	r1, r1, #4                                   
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000f2a0:	e1a07000 	mov	r7, r0                                        
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000f2a4:	e58d1000 	str	r1, [sp]                                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000f2a8:	e1a0b003 	mov	fp, r3                                        
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_ALLOC_BONUS;                                               
  uintptr_t const page_size = heap->page_size;                        
a000f2ac:	e58d200c 	str	r2, [sp, #12]                                 
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000f2b0:	2a000078 	bcs	a000f498 <_Heap_Allocate_aligned_with_boundary+0x210>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
a000f2b4:	e3530000 	cmp	r3, #0                                        
a000f2b8:	1a000074 	bne	a000f490 <_Heap_Allocate_aligned_with_boundary+0x208>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000f2bc:	e5979008 	ldr	r9, [r7, #8]                                  
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
a000f2c0:	e1570009 	cmp	r7, r9                                        
a000f2c4:	0a000073 	beq	a000f498 <_Heap_Allocate_aligned_with_boundary+0x210>
  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    
a000f2c8:	e59d300c 	ldr	r3, [sp, #12]                                 
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
a000f2cc:	e2651004 	rsb	r1, r5, #4                                    
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
a000f2d0:	e3a06001 	mov	r6, #1                                        
  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    
a000f2d4:	e2833007 	add	r3, r3, #7                                    
a000f2d8:	e58d3010 	str	r3, [sp, #16]                                 
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
a000f2dc:	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 ) {                
a000f2e0:	e599a004 	ldr	sl, [r9, #4]                                  
a000f2e4:	e59d2000 	ldr	r2, [sp]                                      
a000f2e8:	e152000a 	cmp	r2, sl                                        
a000f2ec:	2a00004e 	bcs	a000f42c <_Heap_Allocate_aligned_with_boundary+0x1a4>
        if ( alignment == 0 ) {                                       
a000f2f0:	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;                  
a000f2f4:	02894008 	addeq	r4, r9, #8                                  
a000f2f8:	0a000051 	beq	a000f444 <_Heap_Allocate_aligned_with_boundary+0x1bc>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000f2fc:	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_ALLOC_BONUS;                 
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000f300:	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;                         
a000f304:	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;                
a000f308:	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;               
a000f30c:	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_ALLOC_BONUS;                 
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000f310:	e081400a 	add	r4, r1, sl                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000f314:	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;                         
a000f318:	e0633002 	rsb	r3, r3, r2                                    
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000f31c:	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    
a000f320:	e083a00a 	add	sl, r3, sl                                    
a000f324:	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;                  
a000f328:	e2893008 	add	r3, r9, #8                                    
a000f32c:	e58d3008 	str	r3, [sp, #8]                                  
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000f330:	eb001581 	bl	a001493c <__umodsi3>                           
a000f334:	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 ) {                          
a000f338:	e15a0004 	cmp	sl, r4                                        
a000f33c:	2a000003 	bcs	a000f350 <_Heap_Allocate_aligned_with_boundary+0xc8>
a000f340:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000f344:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a000f348:	eb00157b 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
a000f34c:	e060400a 	rsb	r4, r0, sl                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
a000f350:	e35b0000 	cmp	fp, #0                                        
a000f354:	0a000026 	beq	a000f3f4 <_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;                               
a000f358:	e084a005 	add	sl, r4, r5                                    <== NOT EXECUTED
a000f35c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000f360:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a000f364:	eb001574 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
a000f368:	e060000a 	rsb	r0, r0, sl                                    <== NOT EXECUTED
  /* 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 ) {
a000f36c:	e15a0000 	cmp	sl, r0                                        <== NOT EXECUTED
a000f370:	93a0a000 	movls	sl, #0                                      <== NOT EXECUTED
a000f374:	83a0a001 	movhi	sl, #1                                      <== NOT EXECUTED
a000f378:	e1540000 	cmp	r4, r0                                        <== NOT EXECUTED
a000f37c:	23a0a000 	movcs	sl, #0                                      <== NOT EXECUTED
a000f380:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a000f384:	0a00001a 	beq	a000f3f4 <_Heap_Allocate_aligned_with_boundary+0x16c><== NOT EXECUTED
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
a000f388:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
a000f38c:	e0813005 	add	r3, r1, r5                                    <== NOT EXECUTED
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
a000f390:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
a000f394:	958d9018 	strls	r9, [sp, #24]                               <== NOT EXECUTED
a000f398:	91a09003 	movls	r9, r3                                      <== NOT EXECUTED
a000f39c:	9a000002 	bls	a000f3ac <_Heap_Allocate_aligned_with_boundary+0x124><== NOT EXECUTED
a000f3a0:	ea000021 	b	a000f42c <_Heap_Allocate_aligned_with_boundary+0x1a4><== NOT EXECUTED
a000f3a4:	e1590000 	cmp	r9, r0                                        <== NOT EXECUTED
a000f3a8:	8a00003c 	bhi	a000f4a0 <_Heap_Allocate_aligned_with_boundary+0x218><== NOT EXECUTED
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
a000f3ac:	e0654000 	rsb	r4, r5, r0                                    <== NOT EXECUTED
a000f3b0:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a000f3b4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000f3b8:	eb00155f 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
a000f3bc:	e0604004 	rsb	r4, r0, r4                                    <== NOT EXECUTED
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
a000f3c0:	e084a005 	add	sl, r4, r5                                    <== NOT EXECUTED
a000f3c4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000f3c8:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a000f3cc:	eb00155a 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
a000f3d0:	e060000a 	rsb	r0, r0, sl                                    <== NOT EXECUTED
  /* 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 ) {
a000f3d4:	e15a0000 	cmp	sl, r0                                        <== NOT EXECUTED
a000f3d8:	93a0a000 	movls	sl, #0                                      <== NOT EXECUTED
a000f3dc:	83a0a001 	movhi	sl, #1                                      <== NOT EXECUTED
a000f3e0:	e1540000 	cmp	r4, r0                                        <== NOT EXECUTED
a000f3e4:	23a0a000 	movcs	sl, #0                                      <== NOT EXECUTED
a000f3e8:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a000f3ec:	1affffec 	bne	a000f3a4 <_Heap_Allocate_aligned_with_boundary+0x11c><== NOT EXECUTED
a000f3f0:	e59d9018 	ldr	r9, [sp, #24]                                 <== NOT EXECUTED
      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 ) {                           
a000f3f4:	e59d2008 	ldr	r2, [sp, #8]                                  
a000f3f8:	e1520004 	cmp	r2, r4                                        
a000f3fc:	8a00000a 	bhi	a000f42c <_Heap_Allocate_aligned_with_boundary+0x1a4>
a000f400:	e59d100c 	ldr	r1, [sp, #12]                                 
a000f404:	e1a00004 	mov	r0, r4                                        
a000f408:	eb00154b 	bl	a001493c <__umodsi3>                           
a000f40c:	e3e0a007 	mvn	sl, #7                                        
a000f410:	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 ) {            
a000f414:	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);                                        
a000f418:	e08aa004 	add	sl, sl, r4                                    
a000f41c:	e060300a 	rsb	r3, r0, sl                                    
a000f420:	e15a0000 	cmp	sl, r0                                        
a000f424:	11510003 	cmpne	r1, r3                                      
a000f428:	9a000005 	bls	a000f444 <_Heap_Allocate_aligned_with_boundary+0x1bc>
                                                                      
      if ( alloc_begin != 0 ) {                                       
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
a000f42c:	e5999008 	ldr	r9, [r9, #8]                                  
a000f430:	e2863001 	add	r3, r6, #1                                    
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
a000f434:	e1570009 	cmp	r7, r9                                        
a000f438:	0a00001d 	beq	a000f4b4 <_Heap_Allocate_aligned_with_boundary+0x22c>
a000f43c:	e1a06003 	mov	r6, r3                                        
a000f440:	eaffffa6 	b	a000f2e0 <_Heap_Allocate_aligned_with_boundary+0x58>
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
a000f444:	e3540000 	cmp	r4, #0                                        
a000f448:	0afffff7 	beq	a000f42c <_Heap_Allocate_aligned_with_boundary+0x1a4>
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
a000f44c:	e5972048 	ldr	r2, [r7, #72]	; 0x48                          
    stats->searches += search_count;                                  
a000f450:	e597304c 	ldr	r3, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000f454:	e1a00007 	mov	r0, r7                                        
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
a000f458:	e2822001 	add	r2, r2, #1                                    
    stats->searches += search_count;                                  
a000f45c:	e0833006 	add	r3, r3, r6                                    
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
a000f460:	e5872048 	str	r2, [r7, #72]	; 0x48                          
    stats->searches += search_count;                                  
a000f464:	e587304c 	str	r3, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000f468:	e1a01009 	mov	r1, r9                                        
a000f46c:	e1a02004 	mov	r2, r4                                        
a000f470:	e1a03005 	mov	r3, r5                                        
a000f474:	ebffedf8 	bl	a000ac5c <_Heap_Block_allocate>                
a000f478:	e1a00004 	mov	r0, r4                                        
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
a000f47c:	e5973044 	ldr	r3, [r7, #68]	; 0x44                          
a000f480:	e1530006 	cmp	r3, r6                                        
    stats->max_search = search_count;                                 
a000f484:	35876044 	strcc	r6, [r7, #68]	; 0x44                        
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000f488:	e28dd01c 	add	sp, sp, #28                                   
a000f48c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
a000f490:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
a000f494:	9a000008 	bls	a000f4bc <_Heap_Allocate_aligned_with_boundary+0x234><== NOT EXECUTED
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
a000f498:	e3a00000 	mov	r0, #0                                        
a000f49c:	eafffff9 	b	a000f488 <_Heap_Allocate_aligned_with_boundary+0x200>
a000f4a0:	e59d9018 	ldr	r9, [sp, #24]                                 <== NOT EXECUTED
                                                                      
      if ( alloc_begin != 0 ) {                                       
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
a000f4a4:	e2863001 	add	r3, r6, #1                                    <== NOT EXECUTED
a000f4a8:	e5999008 	ldr	r9, [r9, #8]                                  <== NOT EXECUTED
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
a000f4ac:	e1570009 	cmp	r7, r9                                        <== NOT EXECUTED
a000f4b0:	1affffe1 	bne	a000f43c <_Heap_Allocate_aligned_with_boundary+0x1b4><== NOT EXECUTED
a000f4b4:	e3a00000 	mov	r0, #0                                        
a000f4b8:	eaffffef 	b	a000f47c <_Heap_Allocate_aligned_with_boundary+0x1f4>
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
a000f4bc:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a000f4c0:	01a08002 	moveq	r8, r2                                      <== NOT EXECUTED
a000f4c4:	eaffff7c 	b	a000f2bc <_Heap_Allocate_aligned_with_boundary+0x34><== NOT EXECUTED
                                                                      

a000ac5c <_Heap_Block_allocate>: Heap_Control *heap, Heap_Block *block, uintptr_t alloc_begin, uintptr_t alloc_size ) {
a000ac5c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000ac60:	e5917004 	ldr	r7, [r1, #4]                                  
  Heap_Control *heap,                                                 
  Heap_Block *block,                                                  
  uintptr_t alloc_begin,                                              
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
a000ac64:	e1a05001 	mov	r5, r1                                        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
a000ac68:	e2426008 	sub	r6, r2, #8                                    
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a000ac6c:	e3c71001 	bic	r1, r7, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a000ac70:	e0858001 	add	r8, r5, r1                                    
  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;                 
a000ac74:	e598c004 	ldr	ip, [r8, #4]                                  
a000ac78:	e1a0a003 	mov	sl, r3                                        
a000ac7c:	e1a04000 	mov	r4, r0                                        
                                                                      
  Heap_Block *free_list_anchor = NULL;                                
                                                                      
  _HAssert( alloc_area_begin <= alloc_begin );                        
                                                                      
  if ( _Heap_Is_free( block ) ) {                                     
a000ac80:	e31c0001 	tst	ip, #1                                        
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const alloc_area_begin = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_area_offset = alloc_begin - alloc_area_begin; 
a000ac84:	e0653006 	rsb	r3, r5, r6                                    
    /* Statistics */                                                  
    --stats->free_blocks;                                             
    ++stats->used_blocks;                                             
    stats->free_size -= _Heap_Block_size( block );                    
  } else {                                                            
    free_list_anchor = _Heap_Free_list_head( heap );                  
a000ac88:	11a09000 	movne	r9, r0                                      
                                                                      
  Heap_Block *free_list_anchor = NULL;                                
                                                                      
  _HAssert( alloc_area_begin <= alloc_begin );                        
                                                                      
  if ( _Heap_Is_free( block ) ) {                                     
a000ac8c:	1a00000c 	bne	a000acc4 <_Heap_Block_allocate+0x68>          
    free_list_anchor = block->prev;                                   
                                                                      
    _Heap_Free_list_remove( block );                                  
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
a000ac90:	e590e038 	ldr	lr, [r0, #56]	; 0x38                          
    ++stats->used_blocks;                                             
a000ac94:	e590c040 	ldr	ip, [r0, #64]	; 0x40                          
    stats->free_size -= _Heap_Block_size( block );                    
a000ac98:	e590b030 	ldr	fp, [r0, #48]	; 0x30                          
  Heap_Block *free_list_anchor = NULL;                                
                                                                      
  _HAssert( alloc_area_begin <= alloc_begin );                        
                                                                      
  if ( _Heap_Is_free( block ) ) {                                     
    free_list_anchor = block->prev;                                   
a000ac9c:	e595900c 	ldr	r9, [r5, #12]                                 
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000aca0:	e5950008 	ldr	r0, [r5, #8]                                  
    free_list_anchor = block->prev;                                   
                                                                      
    _Heap_Free_list_remove( block );                                  
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
a000aca4:	e24ee001 	sub	lr, lr, #1                                    
    ++stats->used_blocks;                                             
a000aca8:	e28cc001 	add	ip, ip, #1                                    
    stats->free_size -= _Heap_Block_size( block );                    
a000acac:	e061100b 	rsb	r1, r1, fp                                    
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
a000acb0:	e5890008 	str	r0, [r9, #8]                                  
  next->prev = prev;                                                  
a000acb4:	e580900c 	str	r9, [r0, #12]                                 
    free_list_anchor = block->prev;                                   
                                                                      
    _Heap_Free_list_remove( block );                                  
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
a000acb8:	e584e038 	str	lr, [r4, #56]	; 0x38                          
    ++stats->used_blocks;                                             
a000acbc:	e584c040 	str	ip, [r4, #64]	; 0x40                          
    stats->free_size -= _Heap_Block_size( block );                    
a000acc0:	e5841030 	str	r1, [r4, #48]	; 0x30                          
  } else {                                                            
    free_list_anchor = _Heap_Free_list_head( heap );                  
  }                                                                   
                                                                      
  if ( alloc_area_offset < heap->page_size ) {                        
a000acc4:	e5941010 	ldr	r1, [r4, #16]                                 
a000acc8:	e1530001 	cmp	r3, r1                                        
a000accc:	3a000027 	bcc	a000ad70 <_Heap_Block_allocate+0x114>         
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000acd0:	e1a00002 	mov	r0, r2                                        
a000acd4:	eb002718 	bl	a001493c <__umodsi3>                           
                                                                      
  _HAssert( block_size >= heap->min_block_size );                     
  _HAssert( new_block_size >= heap->min_block_size );                 
                                                                      
  /* Statistics */                                                    
  stats->free_size += block_size;                                     
a000acd8:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
a000acdc:	e0606006 	rsb	r6, r0, r6                                    
    _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );        
  uintptr_t const new_block_begin = (uintptr_t) new_block;            
  uintptr_t const new_block_size = block_end - new_block_begin;       
                                                                      
  block_end = new_block_begin;                                        
  block_size = block_end - block_begin;                               
a000ace0:	e0651006 	rsb	r1, r5, r6                                    
                                                                      
  _HAssert( block_size >= heap->min_block_size );                     
  _HAssert( new_block_size >= heap->min_block_size );                 
                                                                      
  /* Statistics */                                                    
  stats->free_size += block_size;                                     
a000ace4:	e0833001 	add	r3, r3, r1                                    
                                                                      
  if ( _Heap_Is_prev_used( block ) ) {                                
a000ace8:	e3170001 	tst	r7, #1                                        
  uintptr_t block_end = block_begin + block_size;                     
                                                                      
  Heap_Block *const new_block =                                       
    _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );        
  uintptr_t const new_block_begin = (uintptr_t) new_block;            
  uintptr_t const new_block_size = block_end - new_block_begin;       
a000acec:	e0668008 	rsb	r8, r6, r8                                    
                                                                      
  _HAssert( block_size >= heap->min_block_size );                     
  _HAssert( new_block_size >= heap->min_block_size );                 
                                                                      
  /* Statistics */                                                    
  stats->free_size += block_size;                                     
a000acf0:	e5843030 	str	r3, [r4, #48]	; 0x30                          
                                                                      
  if ( _Heap_Is_prev_used( block ) ) {                                
a000acf4:	1a000013 	bne	a000ad48 <_Heap_Block_allocate+0xec>          
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Prev_block(                    
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block - block->prev_size);       
a000acf8:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
  } else {                                                            
    Heap_Block *const prev_block = _Heap_Prev_block( block );         
    uintptr_t const prev_block_size = _Heap_Block_size( prev_block ); 
                                                                      
    block = prev_block;                                               
    block_size += prev_block_size;                                    
a000acfc:	e1a02009 	mov	r2, r9                                        <== NOT EXECUTED
a000ad00:	e0635005 	rsb	r5, r3, r5                                    <== NOT EXECUTED
    - 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;                
a000ad04:	e5953004 	ldr	r3, [r5, #4]                                  <== NOT EXECUTED
a000ad08:	e3c33001 	bic	r3, r3, #1                                    <== NOT EXECUTED
a000ad0c:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
a000ad10:	e3813001 	orr	r3, r1, #1                                    
a000ad14:	e5853004 	str	r3, [r5, #4]                                  
                                                                      
  new_block->prev_size = block_size;                                  
a000ad18:	e5861000 	str	r1, [r6]                                      
  new_block->size_and_flag = new_block_size;                          
                                                                      
  _Heap_Block_split( heap, new_block, free_list_anchor, alloc_size ); 
a000ad1c:	e1a00004 	mov	r0, r4                                        
a000ad20:	e1a0300a 	mov	r3, sl                                        
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
                                                                      
  new_block->prev_size = block_size;                                  
  new_block->size_and_flag = new_block_size;                          
a000ad24:	e5868004 	str	r8, [r6, #4]                                  
                                                                      
  _Heap_Block_split( heap, new_block, free_list_anchor, alloc_size ); 
a000ad28:	e1a01006 	mov	r1, r6                                        
a000ad2c:	ebffff17 	bl	a000a990 <_Heap_Block_split>                   
      alloc_size                                                      
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->min_free_size > stats->free_size ) {                    
a000ad30:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
a000ad34:	e5942034 	ldr	r2, [r4, #52]	; 0x34                          
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000ad38:	e1a00006 	mov	r0, r6                                        
      alloc_size                                                      
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->min_free_size > stats->free_size ) {                    
a000ad3c:	e1520003 	cmp	r2, r3                                        
    stats->min_free_size = stats->free_size;                          
a000ad40:	85843034 	strhi	r3, [r4, #52]	; 0x34                        
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000ad44:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    _Heap_Free_list_insert_after( free_list_anchor, block );          
                                                                      
    free_list_anchor = block;                                         
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
a000ad48:	e5940038 	ldr	r0, [r4, #56]	; 0x38                          
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
a000ad4c:	e5993008 	ldr	r3, [r9, #8]                                  
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
a000ad50:	e585900c 	str	r9, [r5, #12]                                 
a000ad54:	e2800001 	add	r0, r0, #1                                    
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
a000ad58:	e5853008 	str	r3, [r5, #8]                                  
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
a000ad5c:	e583500c 	str	r5, [r3, #12]                                 
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
a000ad60:	e5895008 	str	r5, [r9, #8]                                  
a000ad64:	e1a02005 	mov	r2, r5                                        
a000ad68:	e5840038 	str	r0, [r4, #56]	; 0x38                          
a000ad6c:	eaffffe7 	b	a000ad10 <_Heap_Block_allocate+0xb4>            
  Heap_Block *block,                                                  
  Heap_Block *free_list_anchor,                                       
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
  _Heap_Block_split( heap, block, free_list_anchor, alloc_size );     
a000ad70:	e1a00004 	mov	r0, r4                                        
a000ad74:	e1a02009 	mov	r2, r9                                        
a000ad78:	e083300a 	add	r3, r3, sl                                    
a000ad7c:	e1a01005 	mov	r1, r5                                        
a000ad80:	ebffff02 	bl	a000a990 <_Heap_Block_split>                   
      alloc_size                                                      
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->min_free_size > stats->free_size ) {                    
a000ad84:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
a000ad88:	e5942034 	ldr	r2, [r4, #52]	; 0x34                          
  Heap_Block *block,                                                  
  Heap_Block *free_list_anchor,                                       
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
  _Heap_Block_split( heap, block, free_list_anchor, alloc_size );     
a000ad8c:	e1a06005 	mov	r6, r5                                        
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000ad90:	e1a00006 	mov	r0, r6                                        
      alloc_size                                                      
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->min_free_size > stats->free_size ) {                    
a000ad94:	e1520003 	cmp	r2, r3                                        
    stats->min_free_size = stats->free_size;                          
a000ad98:	85843034 	strhi	r3, [r4, #52]	; 0x34                        
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000ad9c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

a000a990 <_Heap_Block_split>: Heap_Control *heap, Heap_Block *block, Heap_Block *free_list_anchor, uintptr_t alloc_size ) {
a000a990:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
a000a994:	e5906014 	ldr	r6, [r0, #20]                                 
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const page_size = heap->page_size;                        
a000a998:	e5907010 	ldr	r7, [r0, #16]                                 
  Heap_Control *heap,                                                 
  Heap_Block *block,                                                  
  Heap_Block *free_list_anchor,                                       
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
a000a99c:	e1a05001 	mov	r5, r1                                        
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const min_alloc_size = min_block_size - HEAP_BLOCK_HEADER_SIZE;
a000a9a0:	e2468008 	sub	r8, r6, #8                                    
  return heap->stats.size;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Max( uintptr_t a, uintptr_t b )  
{                                                                     
  return a > b ? a : b;                                               
a000a9a4:	e1530008 	cmp	r3, r8                                        
a000a9a8:	21a08003 	movcs	r8, r3                                      
                                                                      
  uintptr_t const block_size = _Heap_Block_size( block );             
                                                                      
  uintptr_t const used_size =                                         
a000a9ac:	e2888008 	add	r8, r8, #8                                    
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
a000a9b0:	e1a01007 	mov	r1, r7                                        
  Heap_Control *heap,                                                 
  Heap_Block *block,                                                  
  Heap_Block *free_list_anchor,                                       
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
a000a9b4:	e1a04000 	mov	r4, r0                                        
a000a9b8:	e1a00008 	mov	r0, r8                                        
a000a9bc:	e1a09002 	mov	r9, r2                                        
a000a9c0:	eb0027dd 	bl	a001493c <__umodsi3>                           
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000a9c4:	e595a004 	ldr	sl, [r5, #4]                                  
                                                                      
  if ( remainder != 0 ) {                                             
a000a9c8:	e3500000 	cmp	r0, #0                                        
    return value - remainder + alignment;                             
a000a9cc:	10887007 	addne	r7, r8, r7                                  
    - 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;                
a000a9d0:	e3ca2001 	bic	r2, sl, #1                                    
                                                                      
  uintptr_t const used_size =                                         
    _Heap_Max( alloc_size, min_alloc_size ) + HEAP_BLOCK_HEADER_SIZE; 
  uintptr_t const used_block_size = _Heap_Align_up( used_size, page_size );
                                                                      
  uintptr_t const free_size = block_size + HEAP_ALLOC_BONUS - used_size;
a000a9d4:	e2823004 	add	r3, r2, #4                                    
  uintptr_t remainder = value % alignment;                            
                                                                      
  if ( remainder != 0 ) {                                             
    return value - remainder + alignment;                             
  } else {                                                            
    return value;                                                     
a000a9d8:	01a07008 	moveq	r7, r8                                      
  uintptr_t const free_size_limit = min_block_size + HEAP_ALLOC_BONUS;
a000a9dc:	e2866004 	add	r6, r6, #4                                    
                                                                      
  uintptr_t const used_size =                                         
    _Heap_Max( alloc_size, min_alloc_size ) + HEAP_BLOCK_HEADER_SIZE; 
  uintptr_t const used_block_size = _Heap_Align_up( used_size, page_size );
                                                                      
  uintptr_t const free_size = block_size + HEAP_ALLOC_BONUS - used_size;
a000a9e0:	e0688003 	rsb	r8, r8, r3                                    
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
                                                                      
  if ( remainder != 0 ) {                                             
    return value - remainder + alignment;                             
a000a9e4:	10607007 	rsbne	r7, r0, r7                                  
  Heap_Block *next_block = _Heap_Block_at( block, block_size );       
                                                                      
  _HAssert( used_size <= block_size + HEAP_ALLOC_BONUS );             
  _HAssert( used_size + free_size == block_size + HEAP_ALLOC_BONUS ); 
                                                                      
  if ( free_size >= free_size_limit ) {                               
a000a9e8:	e1580006 	cmp	r8, r6                                        
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a000a9ec:	e0853002 	add	r3, r5, r2                                    
a000a9f0:	3a00001c 	bcc	a000aa68 <_Heap_Block_split+0xd8>             
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
a000a9f4:	e20aa001 	and	sl, sl, #1                                    
                                                                      
  block->size_and_flag = size | flag;                                 
a000a9f8:	e187a00a 	orr	sl, r7, sl                                    
a000a9fc:	e585a004 	str	sl, [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;                
a000aa00:	e5931004 	ldr	r1, [r3, #4]                                  
    _HAssert( used_block_size + free_block_size == block_size );      
                                                                      
    _Heap_Block_set_size( block, used_block_size );                   
                                                                      
    /* Statistics */                                                  
    stats->free_size += free_block_size;                              
a000aa04:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          
  _HAssert( used_size <= block_size + HEAP_ALLOC_BONUS );             
  _HAssert( used_size + free_size == block_size + HEAP_ALLOC_BONUS ); 
                                                                      
  if ( free_size >= free_size_limit ) {                               
    Heap_Block *const free_block = _Heap_Block_at( block, used_block_size );
    uintptr_t free_block_size = block_size - used_block_size;         
a000aa08:	e0672002 	rsb	r2, r7, r2                                    
a000aa0c:	e3c11001 	bic	r1, r1, #1                                    
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000aa10:	e083c001 	add	ip, r3, r1                                    
  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;                 
a000aa14:	e59cc004 	ldr	ip, [ip, #4]                                  
    _HAssert( used_block_size + free_block_size == block_size );      
                                                                      
    _Heap_Block_set_size( block, used_block_size );                   
                                                                      
    /* Statistics */                                                  
    stats->free_size += free_block_size;                              
a000aa18:	e0800002 	add	r0, r0, r2                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a000aa1c:	e0875005 	add	r5, r7, r5                                    
                                                                      
    if ( _Heap_Is_used( next_block ) ) {                              
a000aa20:	e31c0001 	tst	ip, #1                                        
    _HAssert( used_block_size + free_block_size == block_size );      
                                                                      
    _Heap_Block_set_size( block, used_block_size );                   
                                                                      
    /* Statistics */                                                  
    stats->free_size += free_block_size;                              
a000aa24:	e5840030 	str	r0, [r4, #48]	; 0x30                          
                                                                      
    if ( _Heap_Is_used( next_block ) ) {                              
a000aa28:	1a000012 	bne	a000aa78 <_Heap_Block_split+0xe8>             
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
a000aa2c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a000aa30:	e593300c 	ldr	r3, [r3, #12]                                 <== NOT EXECUTED
    } else {                                                          
      uintptr_t const next_block_size = _Heap_Block_size( next_block );
                                                                      
      _Heap_Free_list_replace( next_block, free_block );              
                                                                      
      free_block_size += next_block_size;                             
a000aa34:	e0822001 	add	r2, r2, r1                                    <== NOT EXECUTED
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
a000aa38:	e5850008 	str	r0, [r5, #8]                                  <== NOT EXECUTED
  new_block->prev = prev;                                             
a000aa3c:	e585300c 	str	r3, [r5, #12]                                 <== NOT EXECUTED
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
a000aa40:	e5835008 	str	r5, [r3, #8]                                  <== NOT EXECUTED
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
a000aa44:	e580500c 	str	r5, [r0, #12]                                 <== NOT EXECUTED
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a000aa48:	e0823005 	add	r3, r2, r5                                    <== NOT EXECUTED
                                                                      
      next_block = _Heap_Block_at( free_block, free_block_size );     
    }                                                                 
                                                                      
    free_block->size_and_flag = free_block_size | HEAP_PREV_BLOCK_USED;
a000aa4c:	e3821001 	orr	r1, r2, #1                                    
a000aa50:	e5851004 	str	r1, [r5, #4]                                  
                                                                      
    next_block->prev_size = free_block_size;                          
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
a000aa54:	e5931004 	ldr	r1, [r3, #4]                                  
      next_block = _Heap_Block_at( free_block, free_block_size );     
    }                                                                 
                                                                      
    free_block->size_and_flag = free_block_size | HEAP_PREV_BLOCK_USED;
                                                                      
    next_block->prev_size = free_block_size;                          
a000aa58:	e5832000 	str	r2, [r3]                                      
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
a000aa5c:	e3c12001 	bic	r2, r1, #1                                    
a000aa60:	e5832004 	str	r2, [r3, #4]                                  
a000aa64:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      
    _Heap_Protection_block_initialize( heap, free_block );            
  } else {                                                            
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
a000aa68:	e5932004 	ldr	r2, [r3, #4]                                  
a000aa6c:	e3822001 	orr	r2, r2, #1                                    
a000aa70:	e5832004 	str	r2, [r3, #4]                                  
a000aa74:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      
    if ( _Heap_Is_used( next_block ) ) {                              
      _Heap_Free_list_insert_after( free_list_anchor, free_block );   
                                                                      
      /* Statistics */                                                
      ++stats->free_blocks;                                           
a000aa78:	e5940038 	ldr	r0, [r4, #56]	; 0x38                          
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
a000aa7c:	e5991008 	ldr	r1, [r9, #8]                                  
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
a000aa80:	e585900c 	str	r9, [r5, #12]                                 
a000aa84:	e2800001 	add	r0, r0, #1                                    
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
a000aa88:	e5851008 	str	r1, [r5, #8]                                  
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
a000aa8c:	e581500c 	str	r5, [r1, #12]                                 
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
a000aa90:	e5895008 	str	r5, [r9, #8]                                  
a000aa94:	e5840038 	str	r0, [r4, #56]	; 0x38                          
a000aa98:	eaffffeb 	b	a000aa4c <_Heap_Block_split+0xbc>               
                                                                      

a000f814 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
a000f814:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000f818:	e1a05000 	mov	r5, r0                                        
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
a000f81c:	e0916002 	adds	r6, r1, r2                                   
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
a000f820:	e1a04001 	mov	r4, r1                                        
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
a000f824:	e5908020 	ldr	r8, [r0, #32]                                 
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
a000f828:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
a000f82c:	e5900010 	ldr	r0, [r0, #16]                                 
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
a000f830:	e24dd024 	sub	sp, sp, #36	; 0x24                            
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
a000f834:	e3a07000 	mov	r7, #0                                        
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
a000f838:	e58d3010 	str	r3, [sp, #16]                                 
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
a000f83c:	e58d0008 	str	r0, [sp, #8]                                  
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
a000f840:	e58d7020 	str	r7, [sp, #32]                                 
  Heap_Block *extend_last_block = NULL;                               
a000f844:	e58d701c 	str	r7, [sp, #28]                                 
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
a000f848:	e5953014 	ldr	r3, [r5, #20]                                 
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
a000f84c:	e58d1018 	str	r1, [sp, #24]                                 
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
a000f850:	21a00007 	movcs	r0, r7                                      
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
a000f854:	3a000001 	bcc	a000f860 <_Heap_Extend+0x4c>                  
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
a000f858:	e28dd024 	add	sp, sp, #36	; 0x24                            
a000f85c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
a000f860:	e28dc020 	add	ip, sp, #32                                   
a000f864:	e1a01002 	mov	r1, r2                                        
a000f868:	e58dc000 	str	ip, [sp]                                      
a000f86c:	e1a00004 	mov	r0, r4                                        
a000f870:	e28dc01c 	add	ip, sp, #28                                   
a000f874:	e59d2008 	ldr	r2, [sp, #8]                                  
a000f878:	e58dc004 	str	ip, [sp, #4]                                  
a000f87c:	ebffed5f 	bl	a000ae00 <_Heap_Get_first_and_last_block>      
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
a000f880:	e3500000 	cmp	r0, #0                                        
a000f884:	0afffff3 	beq	a000f858 <_Heap_Extend+0x44>                  
a000f888:	e1a09008 	mov	r9, r8                                        
a000f88c:	e1a0b007 	mov	fp, r7                                        
a000f890:	e58d700c 	str	r7, [sp, #12]                                 
a000f894:	e58d7014 	str	r7, [sp, #20]                                 
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
a000f898:	e1590008 	cmp	r9, r8                                        
a000f89c:	05953018 	ldreq	r3, [r5, #24]                               
    uintptr_t const sub_area_end = start_block->prev_size;            
a000f8a0:	e599a000 	ldr	sl, [r9]                                      
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
a000f8a4:	11a03009 	movne	r3, r9                                      
    uintptr_t const sub_area_end = start_block->prev_size;            
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
a000f8a8:	e1530006 	cmp	r3, r6                                        
a000f8ac:	3154000a 	cmpcc	r4, sl                                      
a000f8b0:	3a00006c 	bcc	a000fa68 <_Heap_Extend+0x254>                 
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
a000f8b4:	e1530006 	cmp	r3, r6                                        
a000f8b8:	058d9014 	streq	r9, [sp, #20]                               
a000f8bc:	0a000001 	beq	a000f8c8 <_Heap_Extend+0xb4>                  
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
a000f8c0:	e156000a 	cmp	r6, sl                                        
a000f8c4:	31a0b009 	movcc	fp, r9                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000f8c8:	e1a0000a 	mov	r0, sl                                        
a000f8cc:	e59d1008 	ldr	r1, [sp, #8]                                  
a000f8d0:	eb00156e 	bl	a0014e90 <__umodsi3>                           
a000f8d4:	e24a3008 	sub	r3, sl, #8                                    
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
a000f8d8:	e15a0004 	cmp	sl, r4                                        
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
a000f8dc:	e0603003 	rsb	r3, r0, r3                                    
      start_block->prev_size = extend_area_end;                       
a000f8e0:	05896000 	streq	r6, [r9]                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
a000f8e4:	058d300c 	streq	r3, [sp, #12]                               
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
a000f8e8:	0a000001 	beq	a000f8f4 <_Heap_Extend+0xe0>                  
a000f8ec:	e154000a 	cmp	r4, sl                                        
a000f8f0:	81a07003 	movhi	r7, r3                                      
    - 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;                
a000f8f4:	e5939004 	ldr	r9, [r3, #4]                                  
a000f8f8:	e3c99001 	bic	r9, r9, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a000f8fc:	e0839009 	add	r9, r3, r9                                    
    } else if ( sub_area_end < extend_area_begin ) {                  
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
a000f900:	e1580009 	cmp	r8, r9                                        
a000f904:	1affffe3 	bne	a000f898 <_Heap_Extend+0x84>                  
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
a000f908:	e5953018 	ldr	r3, [r5, #24]                                 
a000f90c:	e1540003 	cmp	r4, r3                                        
    heap->area_begin = extend_area_begin;                             
a000f910:	35854018 	strcc	r4, [r5, #24]                               
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
a000f914:	3a000002 	bcc	a000f924 <_Heap_Extend+0x110>                 
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
a000f918:	e595301c 	ldr	r3, [r5, #28]                                 <== NOT EXECUTED
a000f91c:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
    heap->area_end = extend_area_end;                                 
a000f920:	8585601c 	strhi	r6, [r5, #28]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
a000f924:	e59d3020 	ldr	r3, [sp, #32]                                 
a000f928:	e59d201c 	ldr	r2, [sp, #28]                                 
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
a000f92c:	e595c020 	ldr	ip, [r5, #32]                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
a000f930:	e5836000 	str	r6, [r3]                                      
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
a000f934:	e0631002 	rsb	r1, r3, r2                                    
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
a000f938:	e3810001 	orr	r0, r1, #1                                    
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
a000f93c:	e5821000 	str	r1, [r2]                                      
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
a000f940:	e15c0003 	cmp	ip, r3                                        
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
a000f944:	e3a01000 	mov	r1, #0                                        
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
a000f948:	e5830004 	str	r0, [r3, #4]                                  
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
a000f94c:	e5821004 	str	r1, [r2, #4]                                  
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
    heap->first_block = extend_first_block;                           
a000f950:	85853020 	strhi	r3, [r5, #32]                               
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
a000f954:	8a000002 	bhi	a000f964 <_Heap_Extend+0x150>                 
    heap->first_block = extend_first_block;                           
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
a000f958:	e5953024 	ldr	r3, [r5, #36]	; 0x24                          <== NOT EXECUTED
a000f95c:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
    heap->last_block = extend_last_block;                             
a000f960:	35852024 	strcc	r2, [r5, #36]	; 0x24                        <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
a000f964:	e59d3014 	ldr	r3, [sp, #20]                                 
a000f968:	e3530000 	cmp	r3, #0                                        
a000f96c:	0a000050 	beq	a000fab4 <_Heap_Extend+0x2a0>                 
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a000f970:	e5958010 	ldr	r8, [r5, #16]                                 <== NOT EXECUTED
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
a000f974:	e2844008 	add	r4, r4, #8                                    <== NOT EXECUTED
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
a000f978:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000f97c:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a000f980:	eb001542 	bl	a0014e90 <__umodsi3>                           <== NOT EXECUTED
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
a000f984:	e59dc014 	ldr	ip, [sp, #20]                                 <== NOT EXECUTED
                                                                      
  if ( remainder != 0 ) {                                             
a000f988:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return value - remainder + alignment;                             
a000f98c:	10844008 	addne	r4, r4, r8                                  <== NOT EXECUTED
a000f990:	10604004 	rsbne	r4, r0, r4                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
a000f994:	e2441008 	sub	r1, r4, #8                                    <== NOT EXECUTED
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
a000f998:	e59c2000 	ldr	r2, [ip]                                      <== NOT EXECUTED
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
    new_first_block_alloc_begin - HEAP_BLOCK_HEADER_SIZE;             
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
a000f99c:	e061300c 	rsb	r3, r1, ip                                    <== NOT EXECUTED
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
a000f9a0:	e3833001 	orr	r3, r3, #1                                    <== NOT EXECUTED
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
a000f9a4:	e5042008 	str	r2, [r4, #-8]                                 <== NOT EXECUTED
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
a000f9a8:	e5813004 	str	r3, [r1, #4]                                  <== NOT EXECUTED
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
a000f9ac:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000f9b0:	ebffff8f 	bl	a000f7f4 <_Heap_Free_block>                    <== NOT EXECUTED
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
a000f9b4:	e59d000c 	ldr	r0, [sp, #12]                                 
a000f9b8:	e3500000 	cmp	r0, #0                                        
a000f9bc:	0a00002b 	beq	a000fa70 <_Heap_Extend+0x25c>                 
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
    extend_area_end - last_block_begin - HEAP_BLOCK_HEADER_SIZE,      
a000f9c0:	e2466008 	sub	r6, r6, #8                                    <== NOT EXECUTED
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
a000f9c4:	e0606006 	rsb	r6, r0, r6                                    <== NOT EXECUTED
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000f9c8:	e5951010 	ldr	r1, [r5, #16]                                 <== NOT EXECUTED
a000f9cc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000f9d0:	eb00152e 	bl	a0014e90 <__umodsi3>                           <== NOT EXECUTED
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
a000f9d4:	e59d100c 	ldr	r1, [sp, #12]                                 <== NOT EXECUTED
a000f9d8:	e0606006 	rsb	r6, r0, r6                                    <== NOT EXECUTED
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
a000f9dc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
a000f9e0:	e5913004 	ldr	r3, [r1, #4]                                  <== NOT EXECUTED
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
a000f9e4:	e0862001 	add	r2, r6, r1                                    <== NOT EXECUTED
    (last_block->size_and_flag - last_block_new_size)                 
a000f9e8:	e0663003 	rsb	r3, r6, r3                                    <== NOT EXECUTED
      | HEAP_PREV_BLOCK_USED;                                         
a000f9ec:	e3833001 	orr	r3, r3, #1                                    <== NOT EXECUTED
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
a000f9f0:	e5823004 	str	r3, [r2, #4]                                  <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
a000f9f4:	e5913004 	ldr	r3, [r1, #4]                                  <== NOT EXECUTED
a000f9f8:	e2033001 	and	r3, r3, #1                                    <== NOT EXECUTED
                                                                      
  block->size_and_flag = size | flag;                                 
a000f9fc:	e1866003 	orr	r6, r6, r3                                    <== NOT EXECUTED
a000fa00:	e5816004 	str	r6, [r1, #4]                                  <== NOT EXECUTED
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
a000fa04:	ebffff7a 	bl	a000f7f4 <_Heap_Free_block>                    <== NOT EXECUTED
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
a000fa08:	e59d200c 	ldr	r2, [sp, #12]                                 
a000fa0c:	e59d3014 	ldr	r3, [sp, #20]                                 
a000fa10:	e3520000 	cmp	r2, #0                                        
a000fa14:	03530000 	cmpeq	r3, #0                                      
a000fa18:	0a000021 	beq	a000faa4 <_Heap_Extend+0x290>                 
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
a000fa1c:	e5953024 	ldr	r3, [r5, #36]	; 0x24                          
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
a000fa20:	e595c020 	ldr	ip, [r5, #32]                                 
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
a000fa24:	e5952030 	ldr	r2, [r5, #48]	; 0x30                          
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
a000fa28:	e5930004 	ldr	r0, [r3, #4]                                  
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
a000fa2c:	e063c00c 	rsb	ip, r3, ip                                    
a000fa30:	e59d4018 	ldr	r4, [sp, #24]                                 
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
a000fa34:	e2000001 	and	r0, r0, #1                                    
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
a000fa38:	e595102c 	ldr	r1, [r5, #44]	; 0x2c                          
                                                                      
  block->size_and_flag = size | flag;                                 
a000fa3c:	e18c0000 	orr	r0, ip, r0                                    
                                                                      
  if ( extended_size_ptr != NULL )                                    
a000fa40:	e59dc010 	ldr	ip, [sp, #16]                                 
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
a000fa44:	e0642002 	rsb	r2, r4, r2                                    
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
a000fa48:	e0811002 	add	r1, r1, r2                                    
                                                                      
  if ( extended_size_ptr != NULL )                                    
a000fa4c:	e35c0000 	cmp	ip, #0                                        
a000fa50:	e5830004 	str	r0, [r3, #4]                                  
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
a000fa54:	e585102c 	str	r1, [r5, #44]	; 0x2c                          
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
a000fa58:	13a00001 	movne	r0, #1                                      
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
a000fa5c:	158c2000 	strne	r2, [ip]                                    
                                                                      
  return true;                                                        
a000fa60:	03a00001 	moveq	r0, #1                                      
a000fa64:	eaffff7b 	b	a000f858 <_Heap_Extend+0x44>                    
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
a000fa68:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000fa6c:	eaffff79 	b	a000f858 <_Heap_Extend+0x44>                    <== NOT EXECUTED
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
a000fa70:	e3570000 	cmp	r7, #0                                        
a000fa74:	0affffe3 	beq	a000fa08 <_Heap_Extend+0x1f4>                 
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
a000fa78:	e5971004 	ldr	r1, [r7, #4]                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
a000fa7c:	e59d2020 	ldr	r2, [sp, #32]                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
    _Heap_Link_above(                                                 
a000fa80:	e59d301c 	ldr	r3, [sp, #28]                                 <== NOT EXECUTED
a000fa84:	e2011001 	and	r1, r1, #1                                    <== NOT EXECUTED
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
a000fa88:	e0672002 	rsb	r2, r7, r2                                    <== NOT EXECUTED
                                                                      
  block->size_and_flag = size | flag;                                 
a000fa8c:	e1822001 	orr	r2, r2, r1                                    <== NOT EXECUTED
a000fa90:	e5872004 	str	r2, [r7, #4]                                  <== NOT EXECUTED
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
a000fa94:	e5932004 	ldr	r2, [r3, #4]                                  <== NOT EXECUTED
a000fa98:	e3822001 	orr	r2, r2, #1                                    <== NOT EXECUTED
a000fa9c:	e5832004 	str	r2, [r3, #4]                                  <== NOT EXECUTED
a000faa0:	eaffffd8 	b	a000fa08 <_Heap_Extend+0x1f4>                   <== NOT EXECUTED
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
    _Heap_Free_block( heap, extend_first_block );                     
a000faa4:	e1a00005 	mov	r0, r5                                        
a000faa8:	e59d1020 	ldr	r1, [sp, #32]                                 
a000faac:	ebffff50 	bl	a000f7f4 <_Heap_Free_block>                    
a000fab0:	eaffffd9 	b	a000fa1c <_Heap_Extend+0x208>                   
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
a000fab4:	e35b0000 	cmp	fp, #0                                        
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
a000fab8:	1062b00b 	rsbne	fp, r2, fp                                  
a000fabc:	138bb001 	orrne	fp, fp, #1                                  
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
a000fac0:	1582b004 	strne	fp, [r2, #4]                                
a000fac4:	eaffffba 	b	a000f9b4 <_Heap_Extend+0x1a0>                   
                                                                      

a000f4c8 <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
a000f4c8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a000f4cc:	e1a04000 	mov	r4, r0                                        
a000f4d0:	e1a05001 	mov	r5, r1                                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000f4d4:	e1a00001 	mov	r0, r1                                        
a000f4d8:	e5941010 	ldr	r1, [r4, #16]                                 
a000f4dc:	eb001516 	bl	a001493c <__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           
a000f4e0:	e5943020 	ldr	r3, [r4, #32]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000f4e4:	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);                                        
a000f4e8:	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;             
a000f4ec:	e1550003 	cmp	r5, r3                                        
a000f4f0:	3a000030 	bcc	a000f5b8 <_Heap_Free+0xf0>                    
a000f4f4:	e5941024 	ldr	r1, [r4, #36]	; 0x24                          
a000f4f8:	e1550001 	cmp	r5, r1                                        
a000f4fc:	8a00002d 	bhi	a000f5b8 <_Heap_Free+0xf0>                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000f500:	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;                
a000f504:	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);                 
a000f508:	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;             
a000f50c:	e1530002 	cmp	r3, r2                                        
a000f510:	8a000028 	bhi	a000f5b8 <_Heap_Free+0xf0>                    
a000f514:	e1510002 	cmp	r1, r2                                        
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
a000f518:	33a00000 	movcc	r0, #0                                      
a000f51c:	3a000027 	bcc	a000f5c0 <_Heap_Free+0xf8>                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000f520:	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 ) ) {                          
a000f524:	e2170001 	ands	r0, r7, #1                                   
a000f528:	0a000024 	beq	a000f5c0 <_Heap_Free+0xf8>                    
    return true;                                                      
  }                                                                   
                                                                      
  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 ));
a000f52c:	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;                
a000f530:	e3c77001 	bic	r7, r7, #1                                    
a000f534:	03a08000 	moveq	r8, #0                                      
a000f538:	0a000004 	beq	a000f550 <_Heap_Free+0x88>                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000f53c:	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;                 
a000f540:	e5900004 	ldr	r0, [r0, #4]                                  
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
a000f544:	e3100001 	tst	r0, #1                                        
a000f548:	13a08000 	movne	r8, #0                                      
a000f54c:	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 ) ) {                               
a000f550:	e21c0001 	ands	r0, ip, #1                                   
a000f554:	1a00001a 	bne	a000f5c4 <_Heap_Free+0xfc>                    
    uintptr_t const prev_size = block->prev_size;                     
a000f558:	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);                 
a000f55c:	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;             
a000f560:	e153000a 	cmp	r3, sl                                        
a000f564:	8a000015 	bhi	a000f5c0 <_Heap_Free+0xf8>                    
a000f568:	e151000a 	cmp	r1, sl                                        
a000f56c:	3a000013 	bcc	a000f5c0 <_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;                 
a000f570:	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) ) {                        
a000f574:	e2100001 	ands	r0, r0, #1                                   
a000f578:	0a000010 	beq	a000f5c0 <_Heap_Free+0xf8>                    
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
a000f57c:	e3580000 	cmp	r8, #0                                        
a000f580:	0a000038 	beq	a000f668 <_Heap_Free+0x1a0>                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
a000f584:	e5940038 	ldr	r0, [r4, #56]	; 0x38                          
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000f588:	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;
a000f58c:	e0867007 	add	r7, r6, r7                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000f590:	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;
a000f594:	e087c00c 	add	ip, r7, ip                                    
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
a000f598:	e2400001 	sub	r0, r0, #1                                    
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
a000f59c:	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;                                                  
a000f5a0:	e5823008 	str	r3, [r2, #8]                                  
  next->prev = prev;                                                  
a000f5a4:	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;                                        
a000f5a8:	e5840038 	str	r0, [r4, #56]	; 0x38                          
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
a000f5ac:	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;                                   
a000f5b0:	e78ac00c 	str	ip, [sl, ip]                                  
a000f5b4:	ea00000e 	b	a000f5f4 <_Heap_Free+0x12c>                     
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
a000f5b8:	e3a00000 	mov	r0, #0                                        
a000f5bc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000f5c0:	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 */                 
a000f5c4:	e3580000 	cmp	r8, #0                                        
a000f5c8:	0a000014 	beq	a000f620 <_Heap_Free+0x158>                   
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
a000f5cc:	e5923008 	ldr	r3, [r2, #8]                                  
a000f5d0:	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;              
a000f5d4:	e0877006 	add	r7, r7, r6                                    
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
a000f5d8:	e3871001 	orr	r1, r7, #1                                    
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
a000f5dc:	e5853008 	str	r3, [r5, #8]                                  
  new_block->prev = prev;                                             
a000f5e0:	e585200c 	str	r2, [r5, #12]                                 
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
a000f5e4:	e5825008 	str	r5, [r2, #8]                                  
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
a000f5e8:	e583500c 	str	r5, [r3, #12]                                 
a000f5ec:	e5851004 	str	r1, [r5, #4]                                  
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
a000f5f0:	e7857007 	str	r7, [r5, r7]                                  
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
a000f5f4:	e5942040 	ldr	r2, [r4, #64]	; 0x40                          
  ++stats->frees;                                                     
a000f5f8:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
  stats->free_size += block_size;                                     
a000f5fc:	e5941030 	ldr	r1, [r4, #48]	; 0x30                          
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
a000f600:	e2422001 	sub	r2, r2, #1                                    
  ++stats->frees;                                                     
a000f604:	e2833001 	add	r3, r3, #1                                    
  stats->free_size += block_size;                                     
a000f608:	e0816006 	add	r6, r1, r6                                    
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
a000f60c:	e5842040 	str	r2, [r4, #64]	; 0x40                          
  ++stats->frees;                                                     
a000f610:	e5843050 	str	r3, [r4, #80]	; 0x50                          
  stats->free_size += block_size;                                     
a000f614:	e5846030 	str	r6, [r4, #48]	; 0x30                          
                                                                      
  return( true );                                                     
a000f618:	e3a00001 	mov	r0, #1                                        
a000f61c:	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;         
a000f620:	e3863001 	orr	r3, r6, #1                                    
a000f624:	e5853004 	str	r3, [r5, #4]                                  
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
a000f628:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          
    if ( stats->max_free_blocks < stats->free_blocks ) {              
a000f62c:	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;               
a000f630:	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;                              
a000f634:	e5941008 	ldr	r1, [r4, #8]                                  
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
a000f638:	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;               
a000f63c:	e3c00001 	bic	r0, r0, #1                                    
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
a000f640:	e153000c 	cmp	r3, ip                                        
                                                                      
  new_block->next = next;                                             
a000f644:	e5851008 	str	r1, [r5, #8]                                  
  new_block->prev = block_before;                                     
a000f648:	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;               
a000f64c:	e5820004 	str	r0, [r2, #4]                                  
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
a000f650:	e581500c 	str	r5, [r1, #12]                                 
    next_block->prev_size = block_size;                               
a000f654:	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;                                     
a000f658:	e5845008 	str	r5, [r4, #8]                                  
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
a000f65c:	e5843038 	str	r3, [r4, #56]	; 0x38                          
    if ( stats->max_free_blocks < stats->free_blocks ) {              
      stats->max_free_blocks = stats->free_blocks;                    
a000f660:	8584303c 	strhi	r3, [r4, #60]	; 0x3c                        
a000f664:	eaffffe2 	b	a000f5f4 <_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;                  
a000f668:	e086c00c 	add	ip, r6, ip                                    
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
a000f66c:	e38c3001 	orr	r3, ip, #1                                    
a000f670:	e58a3004 	str	r3, [sl, #4]                                  
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
a000f674:	e5923004 	ldr	r3, [r2, #4]                                  
      next_block->prev_size = size;                                   
a000f678:	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;             
a000f67c:	e3c33001 	bic	r3, r3, #1                                    
a000f680:	e5823004 	str	r3, [r2, #4]                                  
a000f684:	eaffffda 	b	a000f5f4 <_Heap_Free+0x12c>                     
                                                                      

a00164b8 <_Heap_Resize_block>: void *alloc_begin_ptr, uintptr_t new_alloc_size, uintptr_t *old_size, uintptr_t *new_size ) {
a00164b8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a00164bc:	e1a04000 	mov	r4, r0                                        
a00164c0:	e1a05001 	mov	r5, r1                                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a00164c4:	e1a00001 	mov	r0, r1                                        
a00164c8:	e5941010 	ldr	r1, [r4, #16]                                 
a00164cc:	e1a07003 	mov	r7, r3                                        
a00164d0:	e1a0a002 	mov	sl, r2                                        
a00164d4:	ebfff918 	bl	a001493c <__umodsi3>                           
  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;             
a00164d8:	e5943020 	ldr	r3, [r4, #32]                                 
a00164dc:	e59d601c 	ldr	r6, [sp, #28]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a00164e0:	e2458008 	sub	r8, r5, #8                                    
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
a00164e4:	e0601008 	rsb	r1, r0, r8                                    
                                                                      
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
                                                                      
  Heap_Block *const block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
                                                                      
  *old_size = 0;                                                      
a00164e8:	e3a02000 	mov	r2, #0                                        
  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;             
a00164ec:	e1530001 	cmp	r3, r1                                        
a00164f0:	e5872000 	str	r2, [r7]                                      
  *new_size = 0;                                                      
a00164f4:	e5862000 	str	r2, [r6]                                      
a00164f8:	8a000038 	bhi	a00165e0 <_Heap_Resize_block+0x128>           
a00164fc:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
a0016500:	e1530001 	cmp	r3, r1                                        
a0016504:	3a000037 	bcc	a00165e8 <_Heap_Resize_block+0x130>           
    - 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;                
a0016508:	e5910004 	ldr	r0, [r1, #4]                                  
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t block_size = _Heap_Block_size( block );                   
  uintptr_t block_end = block_begin + block_size;                     
                                                                      
  uintptr_t alloc_size = block_end - alloc_begin + HEAP_ALLOC_BONUS;  
a001650c:	e2653004 	rsb	r3, r5, #4                                    
a0016510:	e3c00001 	bic	r0, r0, #1                                    
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t block_size = _Heap_Block_size( block );                   
  uintptr_t block_end = block_begin + block_size;                     
a0016514:	e0812000 	add	r2, r1, r0                                    
a0016518:	e592c004 	ldr	ip, [r2, #4]                                  
                                                                      
  uintptr_t alloc_size = block_end - alloc_begin + HEAP_ALLOC_BONUS;  
a001651c:	e0833002 	add	r3, r3, r2                                    
a0016520:	e3ccc001 	bic	ip, ip, #1                                    
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
a0016524:	e082800c 	add	r8, r2, ip                                    
  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;                 
a0016528:	e5988004 	ldr	r8, [r8, #4]                                  
  bool next_block_is_free = _Heap_Is_free( next_block );;             
                                                                      
  _HAssert( _Heap_Is_block_in_heap( heap, next_block ) );             
  _HAssert( _Heap_Is_prev_used( next_block ) );                       
                                                                      
  *old_size = alloc_size;                                             
a001652c:	e5873000 	str	r3, [r7]                                      
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_free(                              
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return !_Heap_Is_used( block );                                     
a0016530:	e3180001 	tst	r8, #1                                        
a0016534:	13a07000 	movne	r7, #0                                      
a0016538:	03a07001 	moveq	r7, #1                                      
                                                                      
  if ( next_block_is_free ) {                                         
a001653c:	e3570000 	cmp	r7, #0                                        
    block_size += next_block_size;                                    
    alloc_size += next_block_size;                                    
a0016540:	1083300c 	addne	r3, r3, ip                                  
  _HAssert( _Heap_Is_prev_used( next_block ) );                       
                                                                      
  *old_size = alloc_size;                                             
                                                                      
  if ( next_block_is_free ) {                                         
    block_size += next_block_size;                                    
a0016544:	1080000c 	addne	r0, r0, ip                                  
    alloc_size += next_block_size;                                    
  }                                                                   
                                                                      
  if ( new_alloc_size > alloc_size ) {                                
a0016548:	e15a0003 	cmp	sl, r3                                        
a001654c:	8a000027 	bhi	a00165f0 <_Heap_Resize_block+0x138>           
    return HEAP_RESIZE_UNSATISFIED;                                   
  }                                                                   
                                                                      
  if ( next_block_is_free ) {                                         
a0016550:	e3570000 	cmp	r7, #0                                        
a0016554:	0a000011 	beq	a00165a0 <_Heap_Resize_block+0xe8>            
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
a0016558:	e5917004 	ldr	r7, [r1, #4]                                  <== NOT EXECUTED
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a001655c:	e0803001 	add	r3, r0, r1                                    <== NOT EXECUTED
                                                                      
    next_block = _Heap_Block_at( block, block_size );                 
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
a0016560:	e594e038 	ldr	lr, [r4, #56]	; 0x38                          <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
a0016564:	e2077001 	and	r7, r7, #1                                    <== NOT EXECUTED
                                                                      
  block->size_and_flag = size | flag;                                 
a0016568:	e1800007 	orr	r0, r0, r7                                    <== NOT EXECUTED
a001656c:	e5810004 	str	r0, [r1, #4]                                  <== NOT EXECUTED
    stats->free_size -= next_block_size;                              
a0016570:	e5948030 	ldr	r8, [r4, #48]	; 0x30                          <== NOT EXECUTED
    _Heap_Block_set_size( block, block_size );                        
                                                                      
    _Heap_Free_list_remove( next_block );                             
                                                                      
    next_block = _Heap_Block_at( block, block_size );                 
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
a0016574:	e5937004 	ldr	r7, [r3, #4]                                  <== NOT EXECUTED
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
a0016578:	e5920008 	ldr	r0, [r2, #8]                                  <== NOT EXECUTED
a001657c:	e592200c 	ldr	r2, [r2, #12]                                 <== NOT EXECUTED
    _Heap_Block_set_size( block, block_size );                        
                                                                      
    _Heap_Free_list_remove( next_block );                             
                                                                      
    next_block = _Heap_Block_at( block, block_size );                 
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
a0016580:	e3877001 	orr	r7, r7, #1                                    <== NOT EXECUTED
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
a0016584:	e24ee001 	sub	lr, lr, #1                                    <== NOT EXECUTED
    stats->free_size -= next_block_size;                              
a0016588:	e06cc008 	rsb	ip, ip, r8                                    <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
a001658c:	e5820008 	str	r0, [r2, #8]                                  <== NOT EXECUTED
  next->prev = prev;                                                  
a0016590:	e580200c 	str	r2, [r0, #12]                                 <== NOT EXECUTED
    _Heap_Block_set_size( block, block_size );                        
                                                                      
    _Heap_Free_list_remove( next_block );                             
                                                                      
    next_block = _Heap_Block_at( block, block_size );                 
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
a0016594:	e5837004 	str	r7, [r3, #4]                                  <== NOT EXECUTED
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
a0016598:	e584e038 	str	lr, [r4, #56]	; 0x38                          <== NOT EXECUTED
    stats->free_size -= next_block_size;                              
a001659c:	e584c030 	str	ip, [r4, #48]	; 0x30                          <== NOT EXECUTED
  }                                                                   
                                                                      
  block = _Heap_Block_allocate( heap, block, alloc_begin, new_alloc_size );
a00165a0:	e1a02005 	mov	r2, r5                                        
a00165a4:	e1a0300a 	mov	r3, sl                                        
a00165a8:	e1a00004 	mov	r0, r4                                        
a00165ac:	ebffd1aa 	bl	a000ac5c <_Heap_Block_allocate>                
    - 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;                
a00165b0:	e5902004 	ldr	r2, [r0, #4]                                  
a00165b4:	e1a03000 	mov	r3, r0                                        
  *new_size = (uintptr_t) next_block - alloc_begin + HEAP_ALLOC_BONUS;
                                                                      
  /* Statistics */                                                    
  ++stats->resizes;                                                   
                                                                      
  return HEAP_RESIZE_SUCCESSFUL;                                      
a00165b8:	e3a00000 	mov	r0, #0                                        
a00165bc:	e3c22001 	bic	r2, r2, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a00165c0:	e2822004 	add	r2, r2, #4                                    
                                                                      
  block = _Heap_Block_allocate( heap, block, alloc_begin, new_alloc_size );
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
  *new_size = (uintptr_t) next_block - alloc_begin + HEAP_ALLOC_BONUS;
a00165c4:	e0655002 	rsb	r5, r5, r2                                    
a00165c8:	e0833005 	add	r3, r3, r5                                    
a00165cc:	e5863000 	str	r3, [r6]                                      
                                                                      
  /* Statistics */                                                    
  ++stats->resizes;                                                   
a00165d0:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a00165d4:	e2833001 	add	r3, r3, #1                                    
a00165d8:	e5843054 	str	r3, [r4, #84]	; 0x54                          
a00165dc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
      new_alloc_size,                                                 
      old_size,                                                       
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
a00165e0:	e3a00002 	mov	r0, #2                                        <== NOT EXECUTED
a00165e4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
a00165e8:	e3a00002 	mov	r0, #2                                        <== NOT EXECUTED
  }                                                                   
}                                                                     
a00165ec:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    block_size += next_block_size;                                    
    alloc_size += next_block_size;                                    
  }                                                                   
                                                                      
  if ( new_alloc_size > alloc_size ) {                                
    return HEAP_RESIZE_UNSATISFIED;                                   
a00165f0:	e3a00001 	mov	r0, #1                                        
  *new_size = 0;                                                      
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( _Heap_Is_block_in_heap( heap, block ) ) {                      
    return _Heap_Resize_block_checked(                                
a00165f4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a00165f8 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
a00165f8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a00165fc:	e1a04000 	mov	r4, r0                                        
a0016600:	e1a05001 	mov	r5, r1                                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a0016604:	e1a00001 	mov	r0, r1                                        
a0016608:	e5941010 	ldr	r1, [r4, #16]                                 
a001660c:	e1a07002 	mov	r7, r2                                        
a0016610:	ebfff8c9 	bl	a001493c <__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           
a0016614:	e5943020 	ldr	r3, [r4, #32]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a0016618:	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);                                        
a001661c:	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;             
a0016620:	e1500003 	cmp	r0, r3                                        
a0016624:	3a000012 	bcc	a0016674 <_Heap_Size_of_alloc_area+0x7c>      
a0016628:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          
a001662c:	e1500002 	cmp	r0, r2                                        
a0016630:	8a00000f 	bhi	a0016674 <_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;                
a0016634:	e5906004 	ldr	r6, [r0, #4]                                  
a0016638:	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);                 
a001663c:	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;             
a0016640:	e1530006 	cmp	r3, r6                                        
a0016644:	8a00000a 	bhi	a0016674 <_Heap_Size_of_alloc_area+0x7c>      
a0016648:	e1520006 	cmp	r2, r6                                        
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
a001664c:	33a00000 	movcc	r0, #0                                      
a0016650:	3a000009 	bcc	a001667c <_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;                 
a0016654:	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 )                            
a0016658:	e2100001 	ands	r0, r0, #1                                   
a001665c:	0a000006 	beq	a001667c <_Heap_Size_of_alloc_area+0x84>      
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
a0016660:	e2655004 	rsb	r5, r5, #4                                    
a0016664:	e0856006 	add	r6, r5, r6                                    
a0016668:	e5876000 	str	r6, [r7]                                      
                                                                      
  return true;                                                        
a001666c:	e3a00001 	mov	r0, #1                                        
a0016670:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
a0016674:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0016678:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
                                                                      
  return true;                                                        
}                                                                     
a001667c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a000b9c0 <_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() ) ) {
a000b9c0:	e59f3584 	ldr	r3, [pc, #1412]	; a000bf4c <_Heap_Walk+0x58c> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a000b9c4:	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;                      
a000b9c8:	e31200ff 	tst	r2, #255	; 0xff                               
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a000b9cc:	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;                      
a000b9d0:	e59f2578 	ldr	r2, [pc, #1400]	; a000bf50 <_Heap_Walk+0x590> 
a000b9d4:	e59f9578 	ldr	r9, [pc, #1400]	; a000bf54 <_Heap_Walk+0x594> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a000b9d8:	e1a0a001 	mov	sl, r1                                        
  uintptr_t const page_size = heap->page_size;                        
a000b9dc:	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;                      
a000b9e0:	11a09002 	movne	r9, r2                                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a000b9e4:	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;              
a000b9e8:	e5902014 	ldr	r2, [r0, #20]                                 
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
a000b9ec:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a000b9f0:	e24dd038 	sub	sp, sp, #56	; 0x38                            
a000b9f4:	e1a04000 	mov	r4, r0                                        
  uintptr_t const page_size = heap->page_size;                        
a000b9f8:	e58d1024 	str	r1, [sp, #36]	; 0x24                          
  uintptr_t const min_block_size = heap->min_block_size;              
a000b9fc:	e58d2028 	str	r2, [sp, #40]	; 0x28                          
  Heap_Block *const first_block = heap->first_block;                  
a000ba00:	e5908020 	ldr	r8, [r0, #32]                                 
  Heap_Block *const last_block = heap->last_block;                    
a000ba04:	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() ) ) {                
a000ba08:	0a000002 	beq	a000ba18 <_Heap_Walk+0x58>                    
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
a000ba0c:	e3a00001 	mov	r0, #1                                        
}                                                                     
a000ba10:	e28dd038 	add	sp, sp, #56	; 0x38                            
a000ba14:	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)(                                                         
a000ba18:	e594101c 	ldr	r1, [r4, #28]                                 
a000ba1c:	e5900018 	ldr	r0, [r0, #24]                                 
a000ba20:	e5942008 	ldr	r2, [r4, #8]                                  
a000ba24:	e594300c 	ldr	r3, [r4, #12]                                 
a000ba28:	e59dc028 	ldr	ip, [sp, #40]	; 0x28                          
a000ba2c:	e58d1008 	str	r1, [sp, #8]                                  
a000ba30:	e59d102c 	ldr	r1, [sp, #44]	; 0x2c                          
a000ba34:	e58d0004 	str	r0, [sp, #4]                                  
a000ba38:	e58d2014 	str	r2, [sp, #20]                                 
a000ba3c:	e58d1010 	str	r1, [sp, #16]                                 
a000ba40:	e58d3018 	str	r3, [sp, #24]                                 
a000ba44:	e59f250c 	ldr	r2, [pc, #1292]	; a000bf58 <_Heap_Walk+0x598> 
a000ba48:	e58dc000 	str	ip, [sp]                                      
a000ba4c:	e58d800c 	str	r8, [sp, #12]                                 
a000ba50:	e1a0000a 	mov	r0, sl                                        
a000ba54:	e3a01000 	mov	r1, #0                                        
a000ba58:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000ba5c:	e12fff39 	blx	r9                                            
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
a000ba60:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
a000ba64:	e3520000 	cmp	r2, #0                                        
a000ba68:	0a000024 	beq	a000bb00 <_Heap_Walk+0x140>                   
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
a000ba6c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000ba70:	e2135007 	ands	r5, r3, #7                                   
a000ba74:	1a000027 	bne	a000bb18 <_Heap_Walk+0x158>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a000ba78:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          
a000ba7c:	e59d1024 	ldr	r1, [sp, #36]	; 0x24                          
a000ba80:	ebffe561 	bl	a000500c <__umodsi3>                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
a000ba84:	e250b000 	subs	fp, r0, #0                                   
a000ba88:	1a000028 	bne	a000bb30 <_Heap_Walk+0x170>                   
a000ba8c:	e2880008 	add	r0, r8, #8                                    
a000ba90:	e59d1024 	ldr	r1, [sp, #36]	; 0x24                          
a000ba94:	ebffe55c 	bl	a000500c <__umodsi3>                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
a000ba98:	e2506000 	subs	r6, r0, #0                                   
a000ba9c:	1a00002a 	bne	a000bb4c <_Heap_Walk+0x18c>                   
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000baa0:	e598b004 	ldr	fp, [r8, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
a000baa4:	e21b5001 	ands	r5, fp, #1                                   
a000baa8:	0a0000f4 	beq	a000be80 <_Heap_Walk+0x4c0>                   
    - 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;                
a000baac:	e59dc02c 	ldr	ip, [sp, #44]	; 0x2c                          
a000bab0:	e59c3004 	ldr	r3, [ip, #4]                                  
a000bab4:	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);                 
a000bab8:	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;                 
a000babc:	e5935004 	ldr	r5, [r3, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
a000bac0:	e2155001 	ands	r5, r5, #1                                   
a000bac4:	0a000007 	beq	a000bae8 <_Heap_Walk+0x128>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
a000bac8:	e1580003 	cmp	r8, r3                                        
a000bacc:	0a000025 	beq	a000bb68 <_Heap_Walk+0x1a8>                   
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
a000bad0:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bad4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bad8:	e59f247c 	ldr	r2, [pc, #1148]	; a000bf5c <_Heap_Walk+0x59c> <== NOT EXECUTED
a000badc:	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;                                                     
a000bae0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000bae4:	eaffffc9 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
a000bae8:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000baec:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000baf0:	e59f2468 	ldr	r2, [pc, #1128]	; a000bf60 <_Heap_Walk+0x5a0> <== NOT EXECUTED
a000baf4:	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;                                                     
a000baf8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000bafc:	eaffffc3 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
a000bb00:	e1a0000a 	mov	r0, sl                                        
a000bb04:	e3a01001 	mov	r1, #1                                        
a000bb08:	e59f2454 	ldr	r2, [pc, #1108]	; a000bf64 <_Heap_Walk+0x5a4> 
a000bb0c:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a000bb10:	e59d0024 	ldr	r0, [sp, #36]	; 0x24                          
a000bb14:	eaffffbd 	b	a000ba10 <_Heap_Walk+0x50>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
a000bb18:	e1a0000a 	mov	r0, sl                                        
a000bb1c:	e3a01001 	mov	r1, #1                                        
a000bb20:	e59f2440 	ldr	r2, [pc, #1088]	; a000bf68 <_Heap_Walk+0x5a8> 
a000bb24:	e12fff39 	blx	r9                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
a000bb28:	e3a00000 	mov	r0, #0                                        
a000bb2c:	eaffffb7 	b	a000ba10 <_Heap_Walk+0x50>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
a000bb30:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bb34:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bb38:	e59f242c 	ldr	r2, [pc, #1068]	; a000bf6c <_Heap_Walk+0x5ac> <== NOT EXECUTED
a000bb3c:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          <== NOT EXECUTED
a000bb40:	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;                                                     
a000bb44:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000bb48:	eaffffb0 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
a000bb4c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bb50:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bb54:	e59f2414 	ldr	r2, [pc, #1044]	; a000bf70 <_Heap_Walk+0x5b0> <== NOT EXECUTED
a000bb58:	e1a03008 	mov	r3, r8                                        <== NOT EXECUTED
a000bb5c:	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;                                                     
a000bb60:	e1a0000b 	mov	r0, fp                                        <== NOT EXECUTED
a000bb64:	eaffffa9 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000bb68:	e5946008 	ldr	r6, [r4, #8]                                  
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a000bb6c:	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 ) {                            
a000bb70:	e1540006 	cmp	r4, r6                                        
a000bb74:	05943020 	ldreq	r3, [r4, #32]                               
a000bb78:	0a00002b 	beq	a000bc2c <_Heap_Walk+0x26c>                   
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000bb7c:	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;             
a000bb80:	e1530006 	cmp	r3, r6                                        
a000bb84:	8a0000c3 	bhi	a000be98 <_Heap_Walk+0x4d8>                   
a000bb88:	e594c024 	ldr	ip, [r4, #36]	; 0x24                          
a000bb8c:	e15c0006 	cmp	ip, r6                                        
a000bb90:	3a0000c0 	bcc	a000be98 <_Heap_Walk+0x4d8>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a000bb94:	e2860008 	add	r0, r6, #8                                    
a000bb98:	e1a01007 	mov	r1, r7                                        
a000bb9c:	e58d3020 	str	r3, [sp, #32]                                 
a000bba0:	e58dc01c 	str	ip, [sp, #28]                                 
a000bba4:	ebffe518 	bl	a000500c <__umodsi3>                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a000bba8:	e3500000 	cmp	r0, #0                                        
a000bbac:	e59d3020 	ldr	r3, [sp, #32]                                 
a000bbb0:	e59dc01c 	ldr	ip, [sp, #28]                                 
a000bbb4:	1a0000d2 	bne	a000bf04 <_Heap_Walk+0x544>                   
    - 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;                
a000bbb8:	e5962004 	ldr	r2, [r6, #4]                                  
a000bbbc:	e3c22001 	bic	r2, r2, #1                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000bbc0:	e0862002 	add	r2, r6, 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;                 
a000bbc4:	e5922004 	ldr	r2, [r2, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a000bbc8:	e3120001 	tst	r2, #1                                        
a000bbcc:	1a0000dc 	bne	a000bf44 <_Heap_Walk+0x584>                   
a000bbd0:	e58d8030 	str	r8, [sp, #48]	; 0x30                          
a000bbd4:	e58db034 	str	fp, [sp, #52]	; 0x34                          
a000bbd8:	e1a02004 	mov	r2, r4                                        
a000bbdc:	e1a08003 	mov	r8, r3                                        
a000bbe0:	e1a0b00c 	mov	fp, ip                                        
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
a000bbe4:	e596100c 	ldr	r1, [r6, #12]                                 
a000bbe8:	e1510002 	cmp	r1, r2                                        
a000bbec:	1a0000cc 	bne	a000bf24 <_Heap_Walk+0x564>                   
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
a000bbf0:	e5965008 	ldr	r5, [r6, #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 ) {                            
a000bbf4:	e1540005 	cmp	r4, r5                                        
a000bbf8:	0a000008 	beq	a000bc20 <_Heap_Walk+0x260>                   
  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;             
a000bbfc:	e1580005 	cmp	r8, r5                                        
a000bc00:	9a000077 	bls	a000bde4 <_Heap_Walk+0x424>                   
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
a000bc04:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bc08:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bc0c:	e59f2360 	ldr	r2, [pc, #864]	; a000bf74 <_Heap_Walk+0x5b4>  <== NOT EXECUTED
a000bc10:	e1a03005 	mov	r3, r5                                        <== NOT EXECUTED
a000bc14:	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;                                                     
a000bc18:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bc1c:	eaffff7b 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
a000bc20:	e1a03008 	mov	r3, r8                                        
a000bc24:	e59db034 	ldr	fp, [sp, #52]	; 0x34                          
a000bc28:	e59d8030 	ldr	r8, [sp, #48]	; 0x30                          
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a000bc2c:	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;                
a000bc30:	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);                 
a000bc34:	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;             
a000bc38:	e1530005 	cmp	r3, r5                                        
a000bc3c:	9a000007 	bls	a000bc60 <_Heap_Walk+0x2a0>                   
    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)(                                                     
a000bc40:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bc44:	e58d5000 	str	r5, [sp]                                      <== NOT EXECUTED
a000bc48:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bc4c:	e59f2324 	ldr	r2, [pc, #804]	; a000bf78 <_Heap_Walk+0x5b8>  <== NOT EXECUTED
a000bc50:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000bc54:	e12fff39 	blx	r9                                            <== NOT EXECUTED
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a000bc58:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bc5c:	eaffff6b 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
a000bc60:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
a000bc64:	e1530005 	cmp	r3, r5                                        
a000bc68:	3afffff4 	bcc	a000bc40 <_Heap_Walk+0x280>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a000bc6c:	e59d1024 	ldr	r1, [sp, #36]	; 0x24                          
a000bc70:	e1a00007 	mov	r0, r7                                        
a000bc74:	ebffe4e4 	bl	a000500c <__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;               
a000bc78:	e59d102c 	ldr	r1, [sp, #44]	; 0x2c                          
a000bc7c:	e0563001 	subs	r3, r6, r1                                   
a000bc80:	13a03001 	movne	r3, #1                                      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
a000bc84:	e3500000 	cmp	r0, #0                                        
a000bc88:	0a000001 	beq	a000bc94 <_Heap_Walk+0x2d4>                   
a000bc8c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000bc90:	1a000082 	bne	a000bea0 <_Heap_Walk+0x4e0>                   <== NOT EXECUTED
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
a000bc94:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a000bc98:	e1520007 	cmp	r2, r7                                        
a000bc9c:	9a000001 	bls	a000bca8 <_Heap_Walk+0x2e8>                   
a000bca0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000bca4:	1a000085 	bne	a000bec0 <_Heap_Walk+0x500>                   <== NOT EXECUTED
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
a000bca8:	e1560005 	cmp	r6, r5                                        
a000bcac:	3a000001 	bcc	a000bcb8 <_Heap_Walk+0x2f8>                   
a000bcb0:	e3530000 	cmp	r3, #0                                        
a000bcb4:	1a00008a 	bne	a000bee4 <_Heap_Walk+0x524>                   
  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;                 
a000bcb8:	e5953004 	ldr	r3, [r5, #4]                                  
a000bcbc:	e20bb001 	and	fp, fp, #1                                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
a000bcc0:	e3130001 	tst	r3, #1                                        
a000bcc4:	0a000016 	beq	a000bd24 <_Heap_Walk+0x364>                   
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
a000bcc8:	e35b0000 	cmp	fp, #0                                        
a000bccc:	0a00000b 	beq	a000bd00 <_Heap_Walk+0x340>                   
      (*printer)(                                                     
a000bcd0:	e58d7000 	str	r7, [sp]                                      
a000bcd4:	e1a0000a 	mov	r0, sl                                        
a000bcd8:	e3a01000 	mov	r1, #0                                        
a000bcdc:	e59f2298 	ldr	r2, [pc, #664]	; a000bf7c <_Heap_Walk+0x5bc>  
a000bce0:	e1a03006 	mov	r3, r6                                        
a000bce4:	e12fff39 	blx	r9                                            
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
a000bce8:	e1580005 	cmp	r8, r5                                        
a000bcec:	0affff46 	beq	a000ba0c <_Heap_Walk+0x4c>                    
a000bcf0:	e595b004 	ldr	fp, [r5, #4]                                  
a000bcf4:	e5943020 	ldr	r3, [r4, #32]                                 
a000bcf8:	e1a06005 	mov	r6, r5                                        
a000bcfc:	eaffffcb 	b	a000bc30 <_Heap_Walk+0x270>                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
a000bd00:	e58d7000 	str	r7, [sp]                                      
a000bd04:	e5963000 	ldr	r3, [r6]                                      
a000bd08:	e1a0000a 	mov	r0, sl                                        
a000bd0c:	e1a0100b 	mov	r1, fp                                        
a000bd10:	e58d3004 	str	r3, [sp, #4]                                  
a000bd14:	e59f2264 	ldr	r2, [pc, #612]	; a000bf80 <_Heap_Walk+0x5c0>  
a000bd18:	e1a03006 	mov	r3, r6                                        
a000bd1c:	e12fff39 	blx	r9                                            
a000bd20:	eafffff0 	b	a000bce8 <_Heap_Walk+0x328>                     
    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 ?                                 
a000bd24:	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)(                                                         
a000bd28:	e5943008 	ldr	r3, [r4, #8]                                  
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000bd2c:	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)(                                                         
a000bd30:	e1530002 	cmp	r3, r2                                        
a000bd34:	059f0248 	ldreq	r0, [pc, #584]	; a000bf84 <_Heap_Walk+0x5c4>
a000bd38:	0a000003 	beq	a000bd4c <_Heap_Walk+0x38c>                   
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
a000bd3c:	e59f3244 	ldr	r3, [pc, #580]	; a000bf88 <_Heap_Walk+0x5c8>  
a000bd40:	e1540002 	cmp	r4, r2                                        
a000bd44:	e59f0240 	ldr	r0, [pc, #576]	; a000bf8c <_Heap_Walk+0x5cc>  
a000bd48:	01a00003 	moveq	r0, r3                                      
    block->next,                                                      
    block->next == last_free_block ?                                  
a000bd4c:	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)(                                                         
a000bd50:	e1510003 	cmp	r1, r3                                        
a000bd54:	059f1234 	ldreq	r1, [pc, #564]	; a000bf90 <_Heap_Walk+0x5d0>
a000bd58:	0a000003 	beq	a000bd6c <_Heap_Walk+0x3ac>                   
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
a000bd5c:	e59fc230 	ldr	ip, [pc, #560]	; a000bf94 <_Heap_Walk+0x5d4>  
a000bd60:	e1540003 	cmp	r4, r3                                        
a000bd64:	e59f1220 	ldr	r1, [pc, #544]	; a000bf8c <_Heap_Walk+0x5cc>  
a000bd68:	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)(                                                         
a000bd6c:	e58d2004 	str	r2, [sp, #4]                                  
a000bd70:	e58d0008 	str	r0, [sp, #8]                                  
a000bd74:	e58d300c 	str	r3, [sp, #12]                                 
a000bd78:	e58d1010 	str	r1, [sp, #16]                                 
a000bd7c:	e1a03006 	mov	r3, r6                                        
a000bd80:	e58d7000 	str	r7, [sp]                                      
a000bd84:	e1a0000a 	mov	r0, sl                                        
a000bd88:	e3a01000 	mov	r1, #0                                        
a000bd8c:	e59f2204 	ldr	r2, [pc, #516]	; a000bf98 <_Heap_Walk+0x5d8>  
a000bd90:	e12fff39 	blx	r9                                            
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
a000bd94:	e5953000 	ldr	r3, [r5]                                      
a000bd98:	e1570003 	cmp	r7, r3                                        
a000bd9c:	1a000026 	bne	a000be3c <_Heap_Walk+0x47c>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
a000bda0:	e35b0000 	cmp	fp, #0                                        
a000bda4:	0a00002e 	beq	a000be64 <_Heap_Walk+0x4a4>                   
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000bda8:	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 ) {                            
a000bdac:	e1540003 	cmp	r4, r3                                        
a000bdb0:	0a000004 	beq	a000bdc8 <_Heap_Walk+0x408>                   
    if ( free_block == block ) {                                      
a000bdb4:	e1560003 	cmp	r6, r3                                        
a000bdb8:	0affffca 	beq	a000bce8 <_Heap_Walk+0x328>                   
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
a000bdbc:	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 ) {                            
a000bdc0:	e1540003 	cmp	r4, r3                                        
a000bdc4:	1afffffa 	bne	a000bdb4 <_Heap_Walk+0x3f4>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
a000bdc8:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bdcc:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bdd0:	e59f21c4 	ldr	r2, [pc, #452]	; a000bf9c <_Heap_Walk+0x5dc>  <== NOT EXECUTED
a000bdd4:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000bdd8:	e12fff39 	blx	r9                                            <== NOT EXECUTED
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
a000bddc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bde0:	eaffff0a 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
  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;             
a000bde4:	e155000b 	cmp	r5, fp                                        
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a000bde8:	e2850008 	add	r0, r5, #8                                    
a000bdec:	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;             
a000bdf0:	8affff83 	bhi	a000bc04 <_Heap_Walk+0x244>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
a000bdf4:	ebffe484 	bl	a000500c <__umodsi3>                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a000bdf8:	e3500000 	cmp	r0, #0                                        
a000bdfc:	1a000041 	bne	a000bf08 <_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;                
a000be00:	e5953004 	ldr	r3, [r5, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a000be04:	e1a02006 	mov	r2, r6                                        
a000be08:	e1a06005 	mov	r6, r5                                        
a000be0c:	e3c33001 	bic	r3, r3, #1                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
a000be10:	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;                 
a000be14:	e5933004 	ldr	r3, [r3, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a000be18:	e3130001 	tst	r3, #1                                        
a000be1c:	0affff70 	beq	a000bbe4 <_Heap_Walk+0x224>                   
      (*printer)(                                                     
a000be20:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000be24:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000be28:	e59f2170 	ldr	r2, [pc, #368]	; a000bfa0 <_Heap_Walk+0x5e0>  <== NOT EXECUTED
a000be2c:	e1a03005 	mov	r3, r5                                        <== NOT EXECUTED
a000be30:	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;                                                     
a000be34:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000be38:	eafffef4 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
    (*printer)(                                                       
a000be3c:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
a000be40:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000be44:	e58d7000 	str	r7, [sp]                                      <== NOT EXECUTED
a000be48:	e58d5008 	str	r5, [sp, #8]                                  <== NOT EXECUTED
a000be4c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000be50:	e59f214c 	ldr	r2, [pc, #332]	; a000bfa4 <_Heap_Walk+0x5e4>  <== NOT EXECUTED
a000be54:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000be58:	e12fff39 	blx	r9                                            <== NOT EXECUTED
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
a000be5c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000be60:	eafffeea 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
a000be64:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000be68:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000be6c:	e59f2134 	ldr	r2, [pc, #308]	; a000bfa8 <_Heap_Walk+0x5e8>  <== NOT EXECUTED
a000be70:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000be74:	e12fff39 	blx	r9                                            <== NOT EXECUTED
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
a000be78:	e1a0000b 	mov	r0, fp                                        <== NOT EXECUTED
a000be7c:	eafffee3 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
a000be80:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000be84:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000be88:	e59f211c 	ldr	r2, [pc, #284]	; a000bfac <_Heap_Walk+0x5ec>  <== NOT EXECUTED
a000be8c:	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;                                                     
a000be90:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000be94:	eafffedd 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
  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;             
a000be98:	e1a05006 	mov	r5, r6                                        <== NOT EXECUTED
a000be9c:	eaffff58 	b	a000bc04 <_Heap_Walk+0x244>                     <== NOT EXECUTED
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
      (*printer)(                                                     
a000bea0:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bea4:	e58d7000 	str	r7, [sp]                                      <== NOT EXECUTED
a000bea8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000beac:	e59f20fc 	ldr	r2, [pc, #252]	; a000bfb0 <_Heap_Walk+0x5f0>  <== NOT EXECUTED
a000beb0:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000beb4:	e12fff39 	blx	r9                                            <== NOT EXECUTED
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
a000beb8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bebc:	eafffed3 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
      (*printer)(                                                     
a000bec0:	e58d2004 	str	r2, [sp, #4]                                  <== NOT EXECUTED
a000bec4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bec8:	e58d7000 	str	r7, [sp]                                      <== NOT EXECUTED
a000becc:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bed0:	e59f20dc 	ldr	r2, [pc, #220]	; a000bfb4 <_Heap_Walk+0x5f4>  <== NOT EXECUTED
a000bed4:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000bed8:	e12fff39 	blx	r9                                            <== NOT EXECUTED
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
a000bedc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bee0:	eafffeca 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
a000bee4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bee8:	e58d5000 	str	r5, [sp]                                      <== NOT EXECUTED
a000beec:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bef0:	e59f20c0 	ldr	r2, [pc, #192]	; a000bfb8 <_Heap_Walk+0x5f8>  <== NOT EXECUTED
a000bef4:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000bef8:	e12fff39 	blx	r9                                            <== NOT EXECUTED
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a000befc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bf00:	eafffec2 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a000bf04:	e1a05006 	mov	r5, r6                                        <== NOT EXECUTED
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
a000bf08:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bf0c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bf10:	e59f20a4 	ldr	r2, [pc, #164]	; a000bfbc <_Heap_Walk+0x5fc>  <== NOT EXECUTED
a000bf14:	e1a03005 	mov	r3, r5                                        <== NOT EXECUTED
a000bf18:	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;                                                     
a000bf1c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bf20:	eafffeba 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
a000bf24:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
a000bf28:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a000bf2c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bf30:	e59f2088 	ldr	r2, [pc, #136]	; a000bfc0 <_Heap_Walk+0x600>  <== NOT EXECUTED
a000bf34:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000bf38:	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;                                                     
a000bf3c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bf40:	eafffeb2 	b	a000ba10 <_Heap_Walk+0x50>                      <== NOT EXECUTED
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a000bf44:	e1a05006 	mov	r5, r6                                        <== NOT EXECUTED
a000bf48:	eaffffb4 	b	a000be20 <_Heap_Walk+0x460>                     <== NOT EXECUTED
                                                                      

a000b968 <_Heap_Walk_print>: static void _Heap_Walk_print( int source, bool error, const char *fmt, ... ) {
a000b968:	e92d000c 	push	{r2, r3}                                     <== NOT EXECUTED
a000b96c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
a000b970:	e31100ff 	tst	r1, #255	; 0xff                               <== NOT EXECUTED
{                                                                     
  /* Do nothing */                                                    
}                                                                     
                                                                      
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
a000b974:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a000b978:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
a000b97c:	1a00000a 	bne	a000b9ac <_Heap_Walk_print+0x44>              <== NOT EXECUTED
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
a000b980:	e59f0030 	ldr	r0, [pc, #48]	; a000b9b8 <_Heap_Walk_print+0x50><== NOT EXECUTED
a000b984:	ebfff03a 	bl	a0007a74 <printk>                              <== NOT EXECUTED
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
a000b988:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
  vprintk( fmt, ap );                                                 
a000b98c:	e59d0008 	ldr	r0, [sp, #8]                                  <== NOT EXECUTED
a000b990:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
a000b994:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  vprintk( fmt, ap );                                                 
a000b998:	ebfff7bb 	bl	a000988c <vprintk>                             <== NOT EXECUTED
  va_end( ap );                                                       
}                                                                     
a000b99c:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000b9a0:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
a000b9a4:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000b9a8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
    printk( "FAIL[%d]: ", source );                                   
a000b9ac:	e59f0008 	ldr	r0, [pc, #8]	; a000b9bc <_Heap_Walk_print+0x54><== NOT EXECUTED
a000b9b0:	ebfff02f 	bl	a0007a74 <printk>                              <== NOT EXECUTED
a000b9b4:	eafffff3 	b	a000b988 <_Heap_Walk_print+0x20>                <== NOT EXECUTED
                                                                      

a000ada0 <_Internal_error_Occurred>: bool is_internal, Internal_errors_t the_error ) { _Internal_errors_What_happened.the_source = the_source;
a000ada0:	e59f303c 	ldr	r3, [pc, #60]	; a000ade4 <_Internal_error_Occurred+0x44>
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
a000ada4:	e201c0ff 	and	ip, r1, #255	; 0xff                           
a000ada8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
a000adac:	e1a0100c 	mov	r1, ip                                        
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
a000adb0:	e5830000 	str	r0, [r3]                                      
  _Internal_errors_What_happened.is_internal = is_internal;           
a000adb4:	e5c3c004 	strb	ip, [r3, #4]                                 
  _Internal_errors_What_happened.the_error   = the_error;             
a000adb8:	e5832008 	str	r2, [r3, #8]                                  
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
a000adbc:	e1a04002 	mov	r4, r2                                        
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
a000adc0:	eb000781 	bl	a000cbcc <_User_extensions_Fatal>              
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
a000adc4:	e59f301c 	ldr	r3, [pc, #28]	; a000ade8 <_Internal_error_Occurred+0x48><== NOT EXECUTED
a000adc8:	e3a02005 	mov	r2, #5                                        <== NOT EXECUTED
a000adcc:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000add0:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
a000add4:	e3823080 	orr	r3, r2, #128	; 0x80                           <== NOT EXECUTED
a000add8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
a000addc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ade0:	eafffffe 	b	a000ade0 <_Internal_error_Occurred+0x40>        <== NOT EXECUTED
                                                                      

a000aea8 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
a000aea8:	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 )                           
a000aeac:	e5904034 	ldr	r4, [r0, #52]	; 0x34                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
a000aeb0:	e24dd014 	sub	sp, sp, #20                                   
a000aeb4:	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 )                           
a000aeb8:	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 );      
a000aebc:	e1d070b8 	ldrh	r7, [r0, #8]                                 
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a000aec0:	0a00009c 	beq	a000b138 <_Objects_Extend_information+0x290>  
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
a000aec4:	e1d081b4 	ldrh	r8, [r0, #20]                                
a000aec8:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a000aecc:	e1a01008 	mov	r1, r8                                        
a000aed0:	e1a0000a 	mov	r0, sl                                        
a000aed4:	eb002652 	bl	a0014824 <__aeabi_uidiv>                       
a000aed8:	e1a03800 	lsl	r3, r0, #16                                   
                                                                      
    for ( ; block < block_count; block++ ) {                          
a000aedc:	e1b03823 	lsrs	r3, r3, #16                                  
a000aee0:	0a00009a 	beq	a000b150 <_Objects_Extend_information+0x2a8>  
      if ( information->object_blocks[ block ] == NULL ) {            
a000aee4:	e5949000 	ldr	r9, [r4]                                      
a000aee8:	e3590000 	cmp	r9, #0                                        
a000aeec:	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 );      
a000aef0:	01a06007 	moveq	r6, r7                                      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
a000aef4:	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 ) {            
a000aef8:	0a00000c 	beq	a000af30 <_Objects_Extend_information+0x88>   
a000aefc:	e1a02004 	mov	r2, r4                                        
a000af00:	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 );      
a000af04:	e1a06007 	mov	r6, r7                                        
  index_base    = minimum_index;                                      
  block         = 0;                                                  
a000af08:	e3a04000 	mov	r4, #0                                        
a000af0c:	ea000002 	b	a000af1c <_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 ) {            
a000af10:	e5b29004 	ldr	r9, [r2, #4]!                                 
a000af14:	e3590000 	cmp	r9, #0                                        
a000af18:	0a000004 	beq	a000af30 <_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++ ) {                          
a000af1c:	e2844001 	add	r4, r4, #1                                    
a000af20:	e1530004 	cmp	r3, r4                                        
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
a000af24:	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++ ) {                          
a000af28:	8afffff8 	bhi	a000af10 <_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;                                               
a000af2c:	e3a09001 	mov	r9, #1                                        
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
a000af30:	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 ) {                           
a000af34:	e35a0801 	cmp	sl, #65536	; 0x10000                          
a000af38:	2a000064 	bcs	a000b0d0 <_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 ) {                                   
a000af3c:	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;      
a000af40:	e5950018 	ldr	r0, [r5, #24]                                 
  if ( information->auto_extend ) {                                   
a000af44:	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;      
a000af48:	e0000091 	mul	r0, r1, r0                                    
  if ( information->auto_extend ) {                                   
a000af4c:	1a000061 	bne	a000b0d8 <_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 );
a000af50:	e58d3000 	str	r3, [sp]                                      
a000af54:	eb000864 	bl	a000d0ec <_Workspace_Allocate_or_fatal_error>  
a000af58:	e59d3000 	ldr	r3, [sp]                                      
a000af5c:	e1a08000 	mov	r8, r0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
a000af60:	e3590000 	cmp	r9, #0                                        
a000af64:	0a00003a 	beq	a000b054 <_Objects_Extend_information+0x1ac>  
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
a000af68:	e283b001 	add	fp, r3, #1                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
a000af6c:	e08b008b 	add	r0, fp, fp, lsl #1                            
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
a000af70:	e08a0000 	add	r0, sl, r0                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
a000af74:	e0800007 	add	r0, r0, r7                                    
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
a000af78:	e1a00100 	lsl	r0, r0, #2                                    
a000af7c:	e58d3000 	str	r3, [sp]                                      
a000af80:	eb00084f 	bl	a000d0c4 <_Workspace_Allocate>                 
                                                                      
    if ( !object_blocks ) {                                           
a000af84:	e2509000 	subs	r9, r0, #0                                   
a000af88:	e59d3000 	ldr	r3, [sp]                                      
a000af8c:	0a000074 	beq	a000b164 <_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 ) {                     
a000af90:	e1d521b0 	ldrh	r2, [r5, #16]                                
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
a000af94:	e089c10b 	add	ip, r9, fp, lsl #2                            
a000af98:	e089b18b 	add	fp, r9, fp, lsl #3                            
a000af9c:	e1570002 	cmp	r7, r2                                        
a000afa0:	3a000052 	bcc	a000b0f0 <_Objects_Extend_information+0x248>  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a000afa4:	e3570000 	cmp	r7, #0                                        
a000afa8:	13a02000 	movne	r2, #0                                      
a000afac:	11a0100b 	movne	r1, fp                                      
        local_table[ index ] = NULL;                                  
a000afb0:	11a00002 	movne	r0, r2                                      
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a000afb4:	0a000003 	beq	a000afc8 <_Objects_Extend_information+0x120>  
a000afb8:	e2822001 	add	r2, r2, #1                                    
a000afbc:	e1570002 	cmp	r7, r2                                        
        local_table[ index ] = NULL;                                  
a000afc0:	e4810004 	str	r0, [r1], #4                                  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a000afc4:	8afffffb 	bhi	a000afb8 <_Objects_Extend_information+0x110>  
a000afc8:	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 );      
a000afcc:	e1d511b4 	ldrh	r1, [r5, #20]                                
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
a000afd0:	e3a00000 	mov	r0, #0                                        
a000afd4:	e7890003 	str	r0, [r9, r3]                                  
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
a000afd8:	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 ;                                          
a000afdc:	e1560001 	cmp	r6, r1                                        
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
a000afe0:	e78c0003 	str	r0, [ip, r3]                                  
                                                                      
    for ( index=index_base ;                                          
a000afe4:	2a000005 	bcs	a000b000 <_Objects_Extend_information+0x158>  
a000afe8:	e08b2106 	add	r2, fp, r6, lsl #2                            
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
a000afec:	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++ ) {                                                 
a000aff0:	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 ;                                          
a000aff4:	e1530001 	cmp	r3, r1                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
a000aff8:	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 ;                                          
a000affc:	3afffffb 	bcc	a000aff0 <_Objects_Extend_information+0x148>  
a000b000:	e10f3000 	mrs	r3, CPSR                                      
a000b004:	e3832080 	orr	r2, r3, #128	; 0x80                           
a000b008:	e129f002 	msr	CPSR_fc, r2                                   
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
a000b00c:	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(                      
a000b010:	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;                 
a000b014:	e1a0a80a 	lsl	sl, sl, #16                                   
a000b018:	e1a02c02 	lsl	r2, r2, #24                                   
a000b01c:	e3822801 	orr	r2, r2, #65536	; 0x10000                      
a000b020:	e1a0a82a 	lsr	sl, sl, #16                                   
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
a000b024:	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)   |    
a000b028:	e182200a 	orr	r2, r2, sl                                    
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
a000b02c:	e5950034 	ldr	r0, [r5, #52]	; 0x34                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
a000b030:	e585c030 	str	ip, [r5, #48]	; 0x30                          
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
a000b034:	e5859034 	str	r9, [r5, #52]	; 0x34                          
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
a000b038:	e585b01c 	str	fp, [r5, #28]                                 
    information->maximum = (Objects_Maximum) maximum;                 
a000b03c:	e1c5a1b0 	strh	sl, [r5, #16]                                
    information->maximum_id = _Objects_Build_id(                      
a000b040:	e585200c 	str	r2, [r5, #12]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000b044:	e129f003 	msr	CPSR_fc, r3                                   
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    if ( old_tables )                                                 
a000b048:	e3500000 	cmp	r0, #0                                        
a000b04c:	0a000000 	beq	a000b054 <_Objects_Extend_information+0x1ac>  
      _Workspace_Free( old_tables );                                  
a000b050:	eb000821 	bl	a000d0dc <_Workspace_Free>                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a000b054:	e5953034 	ldr	r3, [r5, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a000b058:	e28d7008 	add	r7, sp, #8                                    
a000b05c:	e1a01008 	mov	r1, r8                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a000b060:	e7838104 	str	r8, [r3, r4, lsl #2]                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a000b064:	e1a00007 	mov	r0, r7                                        
a000b068:	e1d521b4 	ldrh	r2, [r5, #20]                                
a000b06c:	e5953018 	ldr	r3, [r5, #24]                                 
a000b070:	eb000ff5 	bl	a000f04c <_Chain_Initialize>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a000b074:	e1a04104 	lsl	r4, r4, #2                                    
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a000b078:	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 ) {
a000b07c:	ea000009 	b	a000b0a8 <_Objects_Extend_information+0x200>    
a000b080:	e5953000 	ldr	r3, [r5]                                      
                                                                      
    the_object->id = _Objects_Build_id(                               
a000b084:	e1d520b4 	ldrh	r2, [r5, #4]                                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a000b088:	e1a00008 	mov	r0, r8                                        
a000b08c:	e1a03c03 	lsl	r3, r3, #24                                   
a000b090:	e3833801 	orr	r3, r3, #65536	; 0x10000                      
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
a000b094:	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)   |    
a000b098:	e1833006 	orr	r3, r3, r6                                    
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
a000b09c:	e5813008 	str	r3, [r1, #8]                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a000b0a0:	ebfffce3 	bl	a000a434 <_Chain_Append>                       
                                                                      
    index++;                                                          
a000b0a4:	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 ) {
a000b0a8:	e1a00007 	mov	r0, r7                                        
a000b0ac:	ebfffcf3 	bl	a000a480 <_Chain_Get>                          
a000b0b0:	e2501000 	subs	r1, r0, #0                                   
a000b0b4:	1afffff1 	bne	a000b080 <_Objects_Extend_information+0x1d8>  
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
a000b0b8:	e1d522bc 	ldrh	r2, [r5, #44]	; 0x2c                         
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a000b0bc:	e1d531b4 	ldrh	r3, [r5, #20]                                
a000b0c0:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
a000b0c4:	e0832002 	add	r2, r3, r2                                    
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a000b0c8:	e7813004 	str	r3, [r1, r4]                                  
  information->inactive =                                             
a000b0cc:	e1c522bc 	strh	r2, [r5, #44]	; 0x2c                         
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
a000b0d0:	e28dd014 	add	sp, sp, #20                                   
a000b0d4:	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 );             
a000b0d8:	e58d3000 	str	r3, [sp]                                      
a000b0dc:	eb0007f8 	bl	a000d0c4 <_Workspace_Allocate>                 
    if ( !new_object_block )                                          
a000b0e0:	e2508000 	subs	r8, r0, #0                                   
a000b0e4:	e59d3000 	ldr	r3, [sp]                                      
a000b0e8:	1affff9c 	bne	a000af60 <_Objects_Extend_information+0xb8>   
a000b0ec:	eafffff7 	b	a000b0d0 <_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,                                          
a000b0f0:	e1a03103 	lsl	r3, r3, #2                                    
a000b0f4:	e5951034 	ldr	r1, [r5, #52]	; 0x34                          
a000b0f8:	e1a02003 	mov	r2, r3                                        
a000b0fc:	e88d1008 	stm	sp, {r3, ip}                                  
a000b100:	eb001a57 	bl	a0011a64 <memcpy>                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
a000b104:	e89d1008 	ldm	sp, {r3, ip}                                  
a000b108:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
a000b10c:	e1a0000c 	mov	r0, ip                                        
a000b110:	e1a02003 	mov	r2, r3                                        
a000b114:	eb001a52 	bl	a0011a64 <memcpy>                              
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
a000b118:	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,                                            
a000b11c:	e1a0000b 	mov	r0, fp                                        
a000b120:	e595101c 	ldr	r1, [r5, #28]                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
a000b124:	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,                                            
a000b128:	e1a02102 	lsl	r2, r2, #2                                    
a000b12c:	eb001a4c 	bl	a0011a64 <memcpy>                              
a000b130:	e89d1008 	ldm	sp, {r3, ip}                                  
a000b134:	eaffffa4 	b	a000afcc <_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 )                           
a000b138:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a000b13c:	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 );      
a000b140:	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;                                               
a000b144:	e3a09001 	mov	r9, #1                                        
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
a000b148:	e1a03004 	mov	r3, r4                                        
a000b14c:	eaffff77 	b	a000af30 <_Objects_Extend_information+0x88>     
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
a000b150:	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 );      
a000b154:	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;                                               
a000b158:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
a000b15c:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
a000b160:	eaffff72 	b	a000af30 <_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 );                            
a000b164:	e1a00008 	mov	r0, r8                                        
a000b168:	eb0007db 	bl	a000d0dc <_Workspace_Free>                     
      return;                                                         
a000b16c:	eaffffd7 	b	a000b0d0 <_Objects_Extend_information+0x228>    
                                                                      

a000b1fc <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
a000b1fc:	e1a01801 	lsl	r1, r1, #16                                   
a000b200:	e92d4030 	push	{r4, r5, lr}                                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
a000b204:	e1b04821 	lsrs	r4, r1, #16                                  
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
a000b208:	e1a05000 	mov	r5, r0                                        
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
a000b20c:	1a000001 	bne	a000b218 <_Objects_Get_information+0x1c>      
    return NULL;                                                      
a000b210:	e1a00004 	mov	r0, r4                                        
a000b214:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This call implicitly validates the_api so we do not call        
   *  _Objects_Is_api_valid above here.                               
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
a000b218:	eb00111a 	bl	a000f688 <_Objects_API_maximum_class>          
  if ( the_class_api_maximum == 0 )                                   
a000b21c:	e3500000 	cmp	r0, #0                                        
a000b220:	1a000000 	bne	a000b228 <_Objects_Get_information+0x2c>      
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
a000b224:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
  if ( the_class_api_maximum == 0 )                                   
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
a000b228:	e1500004 	cmp	r0, r4                                        
    return NULL;                                                      
a000b22c:	33a00000 	movcc	r0, #0                                      
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
  if ( the_class_api_maximum == 0 )                                   
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
a000b230:	3afffffb 	bcc	a000b224 <_Objects_Get_information+0x28>      
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
a000b234:	e59f3024 	ldr	r3, [pc, #36]	; a000b260 <_Objects_Get_information+0x64>
a000b238:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          
a000b23c:	e3500000 	cmp	r0, #0                                        
a000b240:	0afffff7 	beq	a000b224 <_Objects_Get_information+0x28>      
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
a000b244:	e7900104 	ldr	r0, [r0, r4, lsl #2]                          
  if ( !info )                                                        
a000b248:	e3500000 	cmp	r0, #0                                        
a000b24c:	0afffff4 	beq	a000b224 <_Objects_Get_information+0x28>      
   *  In a multprocessing configuration, we may access remote objects.
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
a000b250:	e1d031b0 	ldrh	r3, [r0, #16]                                
      return NULL;                                                    
a000b254:	e3530000 	cmp	r3, #0                                        
a000b258:	03a00000 	moveq	r0, #0                                      
a000b25c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a000b264 <_Objects_Get_isr_disable>: { Objects_Control *the_object; uint32_t index; ISR_Level level; index = id - information->minimum_id + 1;
a000b264:	e590c008 	ldr	ip, [r0, #8]                                  
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location,                                      
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
a000b268:	e52d4004 	push	{r4}		; (str r4, [sp, #-4]!)                 
  Objects_Control *the_object;                                        
  uint32_t         index;                                             
  ISR_Level        level;                                             
                                                                      
  index = id - information->minimum_id + 1;                           
a000b26c:	e26cc001 	rsb	ip, ip, #1                                    
a000b270:	e08cc001 	add	ip, ip, r1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000b274:	e10f4000 	mrs	r4, CPSR                                      
a000b278:	e3841080 	orr	r1, r4, #128	; 0x80                           
a000b27c:	e129f001 	msr	CPSR_fc, r1                                   
                                                                      
  _ISR_Disable( level );                                              
  if ( information->maximum >= index ) {                              
a000b280:	e1d011b0 	ldrh	r1, [r0, #16]                                
a000b284:	e15c0001 	cmp	ip, r1                                        
a000b288:	8a000008 	bhi	a000b2b0 <_Objects_Get_isr_disable+0x4c>      
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
a000b28c:	e590101c 	ldr	r1, [r0, #28]                                 
a000b290:	e791010c 	ldr	r0, [r1, ip, lsl #2]                          
a000b294:	e3500000 	cmp	r0, #0                                        
      *location = OBJECTS_LOCAL;                                      
a000b298:	13a01000 	movne	r1, #0                                      
a000b29c:	15821000 	strne	r1, [r2]                                    
      *level_p = level;                                               
a000b2a0:	15834000 	strne	r4, [r3]                                    
                                                                      
  index = id - information->minimum_id + 1;                           
                                                                      
  _ISR_Disable( level );                                              
  if ( information->maximum >= index ) {                              
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
a000b2a4:	0a000006 	beq	a000b2c4 <_Objects_Get_isr_disable+0x60>      
  _Objects_MP_Is_remote( information, id, location, &the_object );    
  return the_object;                                                  
#else                                                                 
  return NULL;                                                        
#endif                                                                
}                                                                     
a000b2a8:	e8bd0010 	pop	{r4}                                          
a000b2ac:	e12fff1e 	bx	lr                                             
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000b2b0:	e129f004 	msr	CPSR_fc, r4                                   <== NOT EXECUTED
    _ISR_Enable( level );                                             
    *location = OBJECTS_ERROR;                                        
    return NULL;                                                      
  }                                                                   
  _ISR_Enable( level );                                               
  *location = OBJECTS_ERROR;                                          
a000b2b4:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000b2b8:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  _Objects_MP_Is_remote( information, id, location, &the_object );    
  return the_object;                                                  
#else                                                                 
  return NULL;                                                        
a000b2bc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000b2c0:	eafffff8 	b	a000b2a8 <_Objects_Get_isr_disable+0x44>        <== NOT EXECUTED
a000b2c4:	e129f004 	msr	CPSR_fc, r4                                   <== NOT EXECUTED
      *location = OBJECTS_LOCAL;                                      
      *level_p = level;                                               
      return the_object;                                              
    }                                                                 
    _ISR_Enable( level );                                             
    *location = OBJECTS_ERROR;                                        
a000b2c8:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000b2cc:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
    return NULL;                                                      
a000b2d0:	eafffff4 	b	a000b2a8 <_Objects_Get_isr_disable+0x44>        <== NOT EXECUTED
                                                                      

a000ce00 <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
a000ce00:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
a000ce04:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
char *_Objects_Get_name_as_string(                                    
  Objects_Id        id,                                               
  size_t            length,                                           
  char             *name                                              
)                                                                     
{                                                                     
a000ce08:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a000ce0c:	e24dd00c 	sub	sp, sp, #12                                   <== NOT EXECUTED
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
a000ce10:	01a04005 	moveq	r4, r5                                      <== NOT EXECUTED
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
a000ce14:	1a000002 	bne	a000ce24 <_Objects_Get_name_as_string+0x24>   <== NOT EXECUTED
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
a000ce18:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ce1c:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
a000ce20:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
a000ce24:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a000ce28:	0afffffa 	beq	a000ce18 <_Objects_Get_name_as_string+0x18>   <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
a000ce2c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000ce30:	059f30c4 	ldreq	r3, [pc, #196]	; a000cefc <_Objects_Get_name_as_string+0xfc><== NOT EXECUTED
a000ce34:	11a06000 	movne	r6, r0                                      <== NOT EXECUTED
a000ce38:	05933004 	ldreq	r3, [r3, #4]                                <== NOT EXECUTED
a000ce3c:	05936008 	ldreq	r6, [r3, #8]                                <== NOT EXECUTED
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
a000ce40:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000ce44:	ebffffb2 	bl	a000cd14 <_Objects_Get_information_id>         <== NOT EXECUTED
  if ( !information )                                                 
a000ce48:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
    return NULL;                                                      
a000ce4c:	01a04003 	moveq	r4, r3                                      <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
  if ( !information )                                                 
a000ce50:	0afffff0 	beq	a000ce18 <_Objects_Get_name_as_string+0x18>   <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
a000ce54:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a000ce58:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
a000ce5c:	eb000028 	bl	a000cf04 <_Objects_Get>                        <== NOT EXECUTED
  switch ( location ) {                                               
a000ce60:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
a000ce64:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:                                              
      /* not supported */                                             
#endif                                                                
    case OBJECTS_ERROR:                                               
      return NULL;                                                    
a000ce68:	13a04000 	movne	r4, #0                                      <== NOT EXECUTED
  information = _Objects_Get_information_id( tmpId );                 
  if ( !information )                                                 
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  switch ( location ) {                                               
a000ce6c:	1affffe9 	bne	a000ce18 <_Objects_Get_name_as_string+0x18>   <== NOT EXECUTED
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
a000ce70:	e590100c 	ldr	r1, [r0, #12]                                 <== NOT EXECUTED
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
a000ce74:	e2555001 	subs	r5, r5, #1                                   <== NOT EXECUTED
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
a000ce78:	e5cd3004 	strb	r3, [sp, #4]                                 <== NOT EXECUTED
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
a000ce7c:	e1a02c21 	lsr	r2, r1, #24                                   <== NOT EXECUTED
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
a000ce80:	e1a0c821 	lsr	ip, r1, #16                                   <== NOT EXECUTED
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
a000ce84:	e1a00421 	lsr	r0, r1, #8                                    <== NOT EXECUTED
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
a000ce88:	e5cd2000 	strb	r2, [sp]                                     <== NOT EXECUTED
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
a000ce8c:	e5cdc001 	strb	ip, [sp, #1]                                 <== NOT EXECUTED
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
a000ce90:	e5cd0002 	strb	r0, [sp, #2]                                 <== NOT EXECUTED
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
a000ce94:	e5cd1003 	strb	r1, [sp, #3]                                 <== NOT EXECUTED
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
a000ce98:	0a000015 	beq	a000cef4 <_Objects_Get_name_as_string+0xf4>   <== NOT EXECUTED
a000ce9c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000cea0:	0a000013 	beq	a000cef4 <_Objects_Get_name_as_string+0xf4>   <== NOT EXECUTED
a000cea4:	e59fc054 	ldr	ip, [pc, #84]	; a000cf00 <_Objects_Get_name_as_string+0x100><== NOT EXECUTED
a000cea8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000ceac:	ea000002 	b	a000cebc <_Objects_Get_name_as_string+0xbc>     <== NOT EXECUTED
a000ceb0:	e7dd2003 	ldrb	r2, [sp, r3]                                 <== NOT EXECUTED
a000ceb4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000ceb8:	0a000009 	beq	a000cee4 <_Objects_Get_name_as_string+0xe4>   <== NOT EXECUTED
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
a000cebc:	e59c0000 	ldr	r0, [ip]                                      <== NOT EXECUTED
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
a000cec0:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
a000cec4:	e0800002 	add	r0, r0, r2                                    <== NOT EXECUTED
a000cec8:	e5d00001 	ldrb	r0, [r0, #1]                                 <== NOT EXECUTED
a000cecc:	e3100097 	tst	r0, #151	; 0x97                               <== NOT EXECUTED
a000ced0:	03a0202a 	moveq	r2, #42	; 0x2a                              <== NOT EXECUTED
a000ced4:	e4c12001 	strb	r2, [r1], #1                                 <== NOT EXECUTED
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
a000ced8:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a000cedc:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000cee0:	3afffff2 	bcc	a000ceb0 <_Objects_Get_name_as_string+0xb0>   <== NOT EXECUTED
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
a000cee4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000cee8:	e5c03000 	strb	r3, [r0]                                     <== NOT EXECUTED
                                                                      
      _Thread_Enable_dispatch();                                      
a000ceec:	eb0002e0 	bl	a000da74 <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return name;                                                    
a000cef0:	eaffffc8 	b	a000ce18 <_Objects_Get_name_as_string+0x18>     <== NOT EXECUTED
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
a000cef4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000cef8:	eafffff9 	b	a000cee4 <_Objects_Get_name_as_string+0xe4>     <== NOT EXECUTED
                                                                      

a001cbb4 <_Objects_Get_no_protection>: /* * You can't just extract the index portion or you can get tricked * by a value between 1 and maximum. */ index = id - information->minimum_id + 1;
a001cbb4:	e590c008 	ldr	ip, [r0, #8]                                  
                                                                      
  if ( information->maximum >= index ) {                              
a001cbb8:	e1d031b0 	ldrh	r3, [r0, #16]                                
                                                                      
  /*                                                                  
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
a001cbbc:	e26cc001 	rsb	ip, ip, #1                                    
a001cbc0:	e08cc001 	add	ip, ip, r1                                    
                                                                      
  if ( information->maximum >= index ) {                              
a001cbc4:	e15c0003 	cmp	ip, r3                                        
a001cbc8:	8a000005 	bhi	a001cbe4 <_Objects_Get_no_protection+0x30>    
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
a001cbcc:	e590301c 	ldr	r3, [r0, #28]                                 
a001cbd0:	e793010c 	ldr	r0, [r3, ip, lsl #2]                          
a001cbd4:	e3500000 	cmp	r0, #0                                        
      *location = OBJECTS_LOCAL;                                      
a001cbd8:	13a03000 	movne	r3, #0                                      
a001cbdc:	15823000 	strne	r3, [r2]                                    
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
                                                                      
  if ( information->maximum >= index ) {                              
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
a001cbe0:	112fff1e 	bxne	lr                                           
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
a001cbe4:	e3a03001 	mov	r3, #1                                        
a001cbe8:	e5823000 	str	r3, [r2]                                      
  return NULL;                                                        
a001cbec:	e3a00000 	mov	r0, #0                                        
}                                                                     
a001cbf0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000c9e0 <_Objects_Id_to_name>: /* * Caller is trusted for name != NULL. */ tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
a000c9e0:	e3500000 	cmp	r0, #0                                        
a000c9e4:	059f3078 	ldreq	r3, [pc, #120]	; a000ca64 <_Objects_Id_to_name+0x84>
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
a000c9e8:	e92d4010 	push	{r4, lr}                                     
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
a000c9ec:	05933004 	ldreq	r3, [r3, #4]                                
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
a000c9f0:	e1a04001 	mov	r4, r1                                        
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
a000c9f4:	11a01000 	movne	r1, r0                                      
a000c9f8:	05931008 	ldreq	r1, [r3, #8]                                
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
a000c9fc:	e24dd004 	sub	sp, sp, #4                                    
a000ca00:	e1a03c21 	lsr	r3, r1, #24                                   
a000ca04:	e2033007 	and	r3, r3, #7                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
a000ca08:	e2432001 	sub	r2, r3, #1                                    
a000ca0c:	e3520002 	cmp	r2, #2                                        
a000ca10:	8a000010 	bhi	a000ca58 <_Objects_Id_to_name+0x78>           
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
a000ca14:	e59f204c 	ldr	r2, [pc, #76]	; a000ca68 <_Objects_Id_to_name+0x88>
a000ca18:	e7923103 	ldr	r3, [r2, r3, lsl #2]                          
a000ca1c:	e3530000 	cmp	r3, #0                                        
a000ca20:	0a00000c 	beq	a000ca58 <_Objects_Id_to_name+0x78>           
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
a000ca24:	e1a02da1 	lsr	r2, r1, #27                                   
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
a000ca28:	e7930102 	ldr	r0, [r3, r2, lsl #2]                          
  if ( !information )                                                 
a000ca2c:	e3500000 	cmp	r0, #0                                        
a000ca30:	0a000008 	beq	a000ca58 <_Objects_Id_to_name+0x78>           
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
a000ca34:	e1a0200d 	mov	r2, sp                                        
a000ca38:	ebffffc8 	bl	a000c960 <_Objects_Get>                        
  if ( !the_object )                                                  
a000ca3c:	e3500000 	cmp	r0, #0                                        
a000ca40:	0a000004 	beq	a000ca58 <_Objects_Id_to_name+0x78>           
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
a000ca44:	e590300c 	ldr	r3, [r0, #12]                                 
a000ca48:	e5843000 	str	r3, [r4]                                      
  _Thread_Enable_dispatch();                                          
a000ca4c:	eb0002e4 	bl	a000d5e4 <_Thread_Enable_dispatch>             
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
a000ca50:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000ca54:	ea000000 	b	a000ca5c <_Objects_Id_to_name+0x7c>             <== NOT EXECUTED
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
a000ca58:	e3a00003 	mov	r0, #3                                        
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
a000ca5c:	e28dd004 	add	sp, sp, #4                                    
a000ca60:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a000b438 <_Objects_Name_to_id_u32>: Objects_Name name_for_mp; #endif /* ASSERT: information->is_string == false */ if ( !id )
a000b438:	e3530000 	cmp	r3, #0                                        
  Objects_Information *information,                                   
  uint32_t             name,                                          
  uint32_t             node,                                          
  Objects_Id          *id                                             
)                                                                     
{                                                                     
a000b43c:	e92d0030 	push	{r4, r5}                                     
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
    return OBJECTS_INVALID_ADDRESS;                                   
a000b440:	03a00002 	moveq	r0, #2                                      
  Objects_Name               name_for_mp;                             
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
a000b444:	0a000005 	beq	a000b460 <_Objects_Name_to_id_u32+0x28>       
    return OBJECTS_INVALID_ADDRESS;                                   
                                                                      
  if ( name == 0 )                                                    
a000b448:	e3510000 	cmp	r1, #0                                        
a000b44c:	0a000002 	beq	a000b45c <_Objects_Name_to_id_u32+0x24>       
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
a000b450:	e1d051b0 	ldrh	r5, [r0, #16]                                
a000b454:	e3550000 	cmp	r5, #0                                        
a000b458:	1a000002 	bne	a000b468 <_Objects_Name_to_id_u32+0x30>       
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
a000b45c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
#endif                                                                
}                                                                     
a000b460:	e8bd0030 	pop	{r4, r5}                                      
a000b464:	e12fff1e 	bx	lr                                             
  if ( name == 0 )                                                    
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
a000b468:	e3720106 	cmn	r2, #-2147483647	; 0x80000001                 
a000b46c:	13520000 	cmpne	r2, #0                                      
a000b470:	1a00000b 	bne	a000b4a4 <_Objects_Name_to_id_u32+0x6c>       
       _Objects_Is_local_node( node )                                 
      ))                                                              
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    for ( index = 1; index <= information->maximum; index++ ) {       
a000b474:	e590c01c 	ldr	ip, [r0, #28]                                 
a000b478:	e3a02001 	mov	r2, #1                                        
      the_object = information->local_table[ index ];                 
a000b47c:	e5bc0004 	ldr	r0, [ip, #4]!                                 
       _Objects_Is_local_node( node )                                 
      ))                                                              
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    for ( index = 1; index <= information->maximum; index++ ) {       
a000b480:	e2822001 	add	r2, r2, #1                                    
      the_object = information->local_table[ index ];                 
      if ( !the_object )                                              
a000b484:	e3500000 	cmp	r0, #0                                        
a000b488:	0a000002 	beq	a000b498 <_Objects_Name_to_id_u32+0x60>       
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
a000b48c:	e590400c 	ldr	r4, [r0, #12]                                 
a000b490:	e1540001 	cmp	r4, r1                                        
a000b494:	0a000005 	beq	a000b4b0 <_Objects_Name_to_id_u32+0x78>       
       _Objects_Is_local_node( node )                                 
      ))                                                              
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    for ( index = 1; index <= information->maximum; index++ ) {       
a000b498:	e1550002 	cmp	r5, r2                                        
a000b49c:	2afffff6 	bcs	a000b47c <_Objects_Name_to_id_u32+0x44>       
a000b4a0:	eaffffed 	b	a000b45c <_Objects_Name_to_id_u32+0x24>         <== NOT EXECUTED
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
      (node == OBJECTS_SEARCH_ALL_NODES ||                            
       node == OBJECTS_SEARCH_LOCAL_NODE ||                           
a000b4a4:	e3520001 	cmp	r2, #1                                        
a000b4a8:	1affffeb 	bne	a000b45c <_Objects_Name_to_id_u32+0x24>       
a000b4ac:	eafffff0 	b	a000b474 <_Objects_Name_to_id_u32+0x3c>         
      the_object = information->local_table[ index ];                 
      if ( !the_object )                                              
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
        *id = the_object->id;                                         
a000b4b0:	e5902008 	ldr	r2, [r0, #8]                                  
        return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                  
a000b4b4:	e3a00000 	mov	r0, #0                                        
      the_object = information->local_table[ index ];                 
      if ( !the_object )                                              
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
        *id = the_object->id;                                         
a000b4b8:	e5832000 	str	r2, [r3]                                      
        return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                  
a000b4bc:	eaffffe7 	b	a000b460 <_Objects_Name_to_id_u32+0x28>         
                                                                      

a000d7f4 <_Objects_Set_name>: { size_t length; const char *s; s = name; length = strnlen( name, information->name_length );
a000d7f4:	e1d033b8 	ldrh	r3, [r0, #56]	; 0x38                         <== NOT EXECUTED
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
a000d7f8:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a000d7fc:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
a000d800:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a000d804:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
a000d808:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a000d80c:	eb001d91 	bl	a0014e58 <strnlen>                             <== NOT EXECUTED
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
a000d810:	e5d42000 	ldrb	r2, [r4]                                     <== NOT EXECUTED
a000d814:	e3500001 	cmp	r0, #1                                        <== NOT EXECUTED
a000d818:	e1a02c02 	lsl	r2, r2, #24                                   <== NOT EXECUTED
a000d81c:	9a00000c 	bls	a000d854 <_Objects_Set_name+0x60>             <== NOT EXECUTED
a000d820:	e5d43001 	ldrb	r3, [r4, #1]                                 <== NOT EXECUTED
a000d824:	e3500002 	cmp	r0, #2                                        <== NOT EXECUTED
a000d828:	e1822803 	orr	r2, r2, r3, lsl #16                           <== NOT EXECUTED
a000d82c:	0a000009 	beq	a000d858 <_Objects_Set_name+0x64>             <== NOT EXECUTED
a000d830:	e5d43002 	ldrb	r3, [r4, #2]                                 <== NOT EXECUTED
a000d834:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a000d838:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
a000d83c:	e1822403 	orr	r2, r2, r3, lsl #8                            <== NOT EXECUTED
a000d840:	15d43003 	ldrbne	r3, [r4, #3]                               <== NOT EXECUTED
a000d844:	03a03020 	moveq	r3, #32                                     <== NOT EXECUTED
a000d848:	e1823003 	orr	r3, r2, r3                                    <== NOT EXECUTED
a000d84c:	e585300c 	str	r3, [r5, #12]                                 <== NOT EXECUTED
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a000d850:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
a000d854:	e3822602 	orr	r2, r2, #2097152	; 0x200000                   <== NOT EXECUTED
a000d858:	e3822a02 	orr	r2, r2, #8192	; 0x2000                        <== NOT EXECUTED
a000d85c:	e3a03020 	mov	r3, #32                                       <== NOT EXECUTED
a000d860:	e1823003 	orr	r3, r2, r3                                    <== NOT EXECUTED
a000d864:	e585300c 	str	r3, [r5, #12]                                 <== NOT EXECUTED
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a000d868:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000d86c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000b4c0 <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
a000b4c0:	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 );         
a000b4c4:	e1d040b8 	ldrh	r4, [r0, #8]                                 
  block_count = (information->maximum - index_base) /                 
a000b4c8:	e1d051b4 	ldrh	r5, [r0, #20]                                
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
a000b4cc:	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) /                 
a000b4d0:	e1d001b0 	ldrh	r0, [r0, #16]                                
a000b4d4:	e1a01005 	mov	r1, r5                                        
a000b4d8:	e0640000 	rsb	r0, r4, r0                                    
a000b4dc:	eb0024d0 	bl	a0014824 <__aeabi_uidiv>                       
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
a000b4e0:	e3500000 	cmp	r0, #0                                        
a000b4e4:	0a00000d 	beq	a000b520 <_Objects_Shrink_information+0x60>   
    if ( information->inactive_per_block[ block ] ==                  
a000b4e8:	e5962030 	ldr	r2, [r6, #48]	; 0x30                          
a000b4ec:	e5923000 	ldr	r3, [r2]                                      
a000b4f0:	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++ ) {                   
a000b4f4:	13a03000 	movne	r3, #0                                      
    if ( information->inactive_per_block[ block ] ==                  
a000b4f8:	1a000005 	bne	a000b514 <_Objects_Shrink_information+0x54>   
a000b4fc:	ea000008 	b	a000b524 <_Objects_Shrink_information+0x64>     <== NOT EXECUTED
a000b500:	e5b21004 	ldr	r1, [r2, #4]!                                 
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
a000b504:	e0844005 	add	r4, r4, r5                                    
a000b508:	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 ] ==                  
a000b50c:	e1550001 	cmp	r5, r1                                        
a000b510:	0a000004 	beq	a000b528 <_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++ ) {                   
a000b514:	e2833001 	add	r3, r3, #1                                    
a000b518:	e1500003 	cmp	r0, r3                                        
a000b51c:	8afffff7 	bhi	a000b500 <_Objects_Shrink_information+0x40>   
a000b520:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    if ( information->inactive_per_block[ block ] ==                  
a000b524:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
a000b528:	e5960020 	ldr	r0, [r6, #32]                                 
a000b52c:	ea000002 	b	a000b53c <_Objects_Shrink_information+0x7c>     
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
a000b530:	e3550000 	cmp	r5, #0                                        
a000b534:	0a00000b 	beq	a000b568 <_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;      
a000b538:	e1a00005 	mov	r0, r5                                        
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
a000b53c:	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;      
a000b540:	e5905000 	ldr	r5, [r0]                                      
         if ((index >= index_base) &&                                 
a000b544:	e1530004 	cmp	r3, r4                                        
a000b548:	3afffff8 	bcc	a000b530 <_Objects_Shrink_information+0x70>   
             (index < (index_base + information->allocation_size))) { 
a000b54c:	e1d621b4 	ldrh	r2, [r6, #20]                                
a000b550:	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) &&                                 
a000b554:	e1530002 	cmp	r3, r2                                        
a000b558:	2afffff4 	bcs	a000b530 <_Objects_Shrink_information+0x70>   
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
a000b55c:	ebfffbbf 	bl	a000a460 <_Chain_Extract>                      
         }                                                            
       }                                                              
       while ( the_object );                                          
a000b560:	e3550000 	cmp	r5, #0                                        
a000b564:	1afffff3 	bne	a000b538 <_Objects_Shrink_information+0x78>   
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
a000b568:	e5963034 	ldr	r3, [r6, #52]	; 0x34                          
a000b56c:	e7930007 	ldr	r0, [r3, r7]                                  
a000b570:	eb0006d9 	bl	a000d0dc <_Workspace_Free>                     
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
a000b574:	e1d602bc 	ldrh	r0, [r6, #44]	; 0x2c                         
a000b578:	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;                     
a000b57c:	e5961034 	ldr	r1, [r6, #52]	; 0x34                          
      information->inactive_per_block[ block ] = 0;                   
a000b580:	e5962030 	ldr	r2, [r6, #48]	; 0x30                          
                                                                      
      information->inactive -= information->allocation_size;          
a000b584:	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;                     
a000b588:	e7815007 	str	r5, [r1, r7]                                  
      information->inactive_per_block[ block ] = 0;                   
a000b58c:	e7825007 	str	r5, [r2, r7]                                  
                                                                      
      information->inactive -= information->allocation_size;          
a000b590:	e1c632bc 	strh	r3, [r6, #44]	; 0x2c                         
                                                                      
      return;                                                         
a000b594:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a000bd48 <_Protected_heap_Get_information>: bool _Protected_heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
a000bd48:	e92d4070 	push	{r4, r5, r6, lr}                             
  if ( !the_heap )                                                    
a000bd4c:	e2505000 	subs	r5, r0, #0                                   
                                                                      
bool _Protected_heap_Get_information(                                 
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
a000bd50:	e1a06001 	mov	r6, r1                                        
  if ( !the_heap )                                                    
a000bd54:	0a00000d 	beq	a000bd90 <_Protected_heap_Get_information+0x48>
    return false;                                                     
                                                                      
  if ( !the_info )                                                    
a000bd58:	e3510000 	cmp	r1, #0                                        
a000bd5c:	0a000009 	beq	a000bd88 <_Protected_heap_Get_information+0x40>
    return false;                                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
a000bd60:	e59f4030 	ldr	r4, [pc, #48]	; a000bd98 <_Protected_heap_Get_information+0x50>
a000bd64:	e5940000 	ldr	r0, [r4]                                      
a000bd68:	ebfffb74 	bl	a000ab40 <_API_Mutex_Lock>                     
    _Heap_Get_information( the_heap, the_info );                      
a000bd6c:	e1a00005 	mov	r0, r5                                        
a000bd70:	e1a01006 	mov	r1, r6                                        
a000bd74:	eb0010f0 	bl	a001013c <_Heap_Get_information>               
  _RTEMS_Unlock_allocator();                                          
a000bd78:	e5940000 	ldr	r0, [r4]                                      
a000bd7c:	ebfffb8b 	bl	a000abb0 <_API_Mutex_Unlock>                   
                                                                      
  return true;                                                        
a000bd80:	e3a00001 	mov	r0, #1                                        
a000bd84:	e8bd8070 	pop	{r4, r5, r6, pc}                              
{                                                                     
  if ( !the_heap )                                                    
    return false;                                                     
                                                                      
  if ( !the_info )                                                    
    return false;                                                     
a000bd88:	e1a00001 	mov	r0, r1                                        
  _RTEMS_Lock_allocator();                                            
    _Heap_Get_information( the_heap, the_info );                      
  _RTEMS_Unlock_allocator();                                          
                                                                      
  return true;                                                        
}                                                                     
a000bd8c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
  if ( !the_heap )                                                    
    return false;                                                     
a000bd90:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000bd94:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0010b68 <_Protected_heap_Walk>: * then it is forbidden to lock a mutex. But since we are inside * a critical section, it should be safe to walk it unlocked. * * NOTE: Dispatching is also disabled during initialization. */ if ( !_Thread_Dispatch_disable_level ) {
a0010b68:	e59f3054 	ldr	r3, [pc, #84]	; a0010bc4 <_Protected_heap_Walk+0x5c><== NOT EXECUTED
bool _Protected_heap_Walk(                                            
  Heap_Control *the_heap,                                             
  int           source,                                               
  bool          do_dump                                               
)                                                                     
{                                                                     
a0010b6c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
   * then it is forbidden to lock a mutex.  But since we are inside   
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
a0010b70:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
bool _Protected_heap_Walk(                                            
  Heap_Control *the_heap,                                             
  int           source,                                               
  bool          do_dump                                               
)                                                                     
{                                                                     
a0010b74:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
a0010b78:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
   * then it is forbidden to lock a mutex.  But since we are inside   
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
a0010b7c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
bool _Protected_heap_Walk(                                            
  Heap_Control *the_heap,                                             
  int           source,                                               
  bool          do_dump                                               
)                                                                     
{                                                                     
a0010b80:	e20250ff 	and	r5, r2, #255	; 0xff                           <== NOT EXECUTED
   * then it is forbidden to lock a mutex.  But since we are inside   
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
a0010b84:	0a000002 	beq	a0010b94 <_Protected_heap_Walk+0x2c>          <== NOT EXECUTED
    _RTEMS_Lock_allocator();                                          
      status = _Heap_Walk( the_heap, source, do_dump );               
    _RTEMS_Unlock_allocator();                                        
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
a0010b88:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
  }                                                                   
  return status;                                                      
}                                                                     
a0010b8c:	e8bd40f0 	pop	{r4, r5, r6, r7, lr}                          <== NOT EXECUTED
  if ( !_Thread_Dispatch_disable_level ) {                            
    _RTEMS_Lock_allocator();                                          
      status = _Heap_Walk( the_heap, source, do_dump );               
    _RTEMS_Unlock_allocator();                                        
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
a0010b90:	eafffbf2 	b	a000fb60 <_Heap_Walk>                           <== NOT EXECUTED
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
    _RTEMS_Lock_allocator();                                          
a0010b94:	e59f402c 	ldr	r4, [pc, #44]	; a0010bc8 <_Protected_heap_Walk+0x60><== NOT EXECUTED
a0010b98:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0010b9c:	ebfff7e2 	bl	a000eb2c <_API_Mutex_Lock>                     <== NOT EXECUTED
      status = _Heap_Walk( the_heap, source, do_dump );               
a0010ba0:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0010ba4:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0010ba8:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0010bac:	ebfffbeb 	bl	a000fb60 <_Heap_Walk>                          <== NOT EXECUTED
a0010bb0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    _RTEMS_Unlock_allocator();                                        
a0010bb4:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0010bb8:	ebfff7f7 	bl	a000eb9c <_API_Mutex_Unlock>                   <== NOT EXECUTED
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
  }                                                                   
  return status;                                                      
}                                                                     
a0010bbc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0010bc0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a000ef54 <_RTEMS_Tasks_Invoke_task_variable_dtor>: { void (*dtor)(void *); void *value; dtor = tvp->dtor; if (_Thread_Is_executing(the_thread)) {
a000ef54:	e59f203c 	ldr	r2, [pc, #60]	; a000ef98 <_RTEMS_Tasks_Invoke_task_variable_dtor+0x44><== NOT EXECUTED
)                                                                     
{                                                                     
  void (*dtor)(void *);                                               
  void *value;                                                        
                                                                      
  dtor = tvp->dtor;                                                   
a000ef58:	e5913010 	ldr	r3, [r1, #16]                                 <== NOT EXECUTED
                                                                      
void _RTEMS_Tasks_Invoke_task_variable_dtor(                          
  Thread_Control        *the_thread,                                  
  rtems_task_variable_t *tvp                                          
)                                                                     
{                                                                     
a000ef5c:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  void (*dtor)(void *);                                               
  void *value;                                                        
                                                                      
  dtor = tvp->dtor;                                                   
  if (_Thread_Is_executing(the_thread)) {                             
a000ef60:	e5922004 	ldr	r2, [r2, #4]                                  <== NOT EXECUTED
                                                                      
void _RTEMS_Tasks_Invoke_task_variable_dtor(                          
  Thread_Control        *the_thread,                                  
  rtems_task_variable_t *tvp                                          
)                                                                     
{                                                                     
a000ef64:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
  void (*dtor)(void *);                                               
  void *value;                                                        
                                                                      
  dtor = tvp->dtor;                                                   
  if (_Thread_Is_executing(the_thread)) {                             
a000ef68:	e1520000 	cmp	r2, r0                                        <== NOT EXECUTED
    value = *tvp->ptr;                                                
a000ef6c:	05912004 	ldreq	r2, [r1, #4]                                <== NOT EXECUTED
    *tvp->ptr = tvp->gval;                                            
a000ef70:	05911008 	ldreq	r1, [r1, #8]                                <== NOT EXECUTED
  } else {                                                            
    value = tvp->tval;                                                
a000ef74:	1594000c 	ldrne	r0, [r4, #12]                               <== NOT EXECUTED
  void (*dtor)(void *);                                               
  void *value;                                                        
                                                                      
  dtor = tvp->dtor;                                                   
  if (_Thread_Is_executing(the_thread)) {                             
    value = *tvp->ptr;                                                
a000ef78:	05920000 	ldreq	r0, [r2]                                    <== NOT EXECUTED
    *tvp->ptr = tvp->gval;                                            
a000ef7c:	05821000 	streq	r1, [r2]                                    <== NOT EXECUTED
  } else {                                                            
    value = tvp->tval;                                                
  }                                                                   
                                                                      
  if ( dtor )                                                         
a000ef80:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ef84:	0a000000 	beq	a000ef8c <_RTEMS_Tasks_Invoke_task_variable_dtor+0x38><== NOT EXECUTED
    (*dtor)(value);                                                   
a000ef88:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  _Workspace_Free(tvp);                                               
a000ef8c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
a000ef90:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( dtor )                                                         
    (*dtor)(value);                                                   
                                                                      
  _Workspace_Free(tvp);                                               
a000ef94:	eafff850 	b	a000d0dc <_Workspace_Free>                      <== NOT EXECUTED
                                                                      

a000ee20 <_RTEMS_tasks_Delete_extension>: void _RTEMS_tasks_Delete_extension( Thread_Control *executing, Thread_Control *deleted ) {
a000ee20:	e92d4030 	push	{r4, r5, lr}                                 
a000ee24:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  Free per task variable memory                                   
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
a000ee28:	e5911100 	ldr	r1, [r1, #256]	; 0x100                        
  deleted->task_variables = NULL;                                     
a000ee2c:	e3a03000 	mov	r3, #0                                        
a000ee30:	e5853100 	str	r3, [r5, #256]	; 0x100                        
  while (tvp) {                                                       
a000ee34:	e1510003 	cmp	r1, r3                                        
a000ee38:	1a000001 	bne	a000ee44 <_RTEMS_tasks_Delete_extension+0x24> 
a000ee3c:	ea000005 	b	a000ee58 <_RTEMS_tasks_Delete_extension+0x38>   
    next = (rtems_task_variable_t *)tvp->next;                        
    _RTEMS_Tasks_Invoke_task_variable_dtor( deleted, tvp );           
    tvp = next;                                                       
a000ee40:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  deleted->task_variables = NULL;                                     
  while (tvp) {                                                       
    next = (rtems_task_variable_t *)tvp->next;                        
a000ee44:	e5914000 	ldr	r4, [r1]                                      <== NOT EXECUTED
    _RTEMS_Tasks_Invoke_task_variable_dtor( deleted, tvp );           
a000ee48:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000ee4c:	eb000040 	bl	a000ef54 <_RTEMS_Tasks_Invoke_task_variable_dtor><== NOT EXECUTED
   *  Free per task variable memory                                   
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  deleted->task_variables = NULL;                                     
  while (tvp) {                                                       
a000ee50:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a000ee54:	1afffff9 	bne	a000ee40 <_RTEMS_tasks_Delete_extension+0x20> <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Free API specific memory                                        
   */                                                                 
                                                                      
  (void) _Workspace_Free( deleted->API_Extensions[ THREAD_API_RTEMS ] );
a000ee58:	e59500f4 	ldr	r0, [r5, #244]	; 0xf4                         
a000ee5c:	ebfff89e 	bl	a000d0dc <_Workspace_Free>                     
  deleted->API_Extensions[ THREAD_API_RTEMS ] = NULL;                 
a000ee60:	e3a03000 	mov	r3, #0                                        
a000ee64:	e58530f4 	str	r3, [r5, #244]	; 0xf4                         
}                                                                     
a000ee68:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a000ed14 <_RTEMS_tasks_Switch_extension>: /* * Per Task Variables */ tvp = executing->task_variables;
a000ed14:	e5903100 	ldr	r3, [r0, #256]	; 0x100                        
  while (tvp) {                                                       
a000ed18:	e3530000 	cmp	r3, #0                                        
a000ed1c:	0a000007 	beq	a000ed40 <_RTEMS_tasks_Switch_extension+0x2c> 
    tvp->tval = *tvp->ptr;                                            
a000ed20:	e5932004 	ldr	r2, [r3, #4]                                  <== NOT EXECUTED
    *tvp->ptr = tvp->gval;                                            
a000ed24:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
a000ed28:	e592c000 	ldr	ip, [r2]                                      <== NOT EXECUTED
a000ed2c:	e583c00c 	str	ip, [r3, #12]                                 <== NOT EXECUTED
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
a000ed30:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
a000ed34:	e5820000 	str	r0, [r2]                                      <== NOT EXECUTED
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
a000ed38:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ed3c:	1afffff7 	bne	a000ed20 <_RTEMS_tasks_Switch_extension+0xc>  <== NOT EXECUTED
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
a000ed40:	e5913100 	ldr	r3, [r1, #256]	; 0x100                        
  while (tvp) {                                                       
a000ed44:	e3530000 	cmp	r3, #0                                        
a000ed48:	012fff1e 	bxeq	lr                                           
    tvp->gval = *tvp->ptr;                                            
a000ed4c:	e5932004 	ldr	r2, [r3, #4]                                  <== NOT EXECUTED
    *tvp->ptr = tvp->tval;                                            
a000ed50:	e593100c 	ldr	r1, [r3, #12]                                 <== NOT EXECUTED
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
a000ed54:	e5920000 	ldr	r0, [r2]                                      <== NOT EXECUTED
a000ed58:	e5830008 	str	r0, [r3, #8]                                  <== NOT EXECUTED
    *tvp->ptr = tvp->tval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
a000ed5c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
    *tvp->ptr = tvp->tval;                                            
a000ed60:	e5821000 	str	r1, [r2]                                      <== NOT EXECUTED
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
a000ed64:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ed68:	1afffff7 	bne	a000ed4c <_RTEMS_tasks_Switch_extension+0x38> <== NOT EXECUTED
a000ed6c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b0a0 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
a000b0a0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000b0a4:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a000b0a8:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000b0ac:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a000b0b0:	e59f0094 	ldr	r0, [pc, #148]	; a000b14c <_Rate_monotonic_Timeout+0xac><== NOT EXECUTED
a000b0b4:	eb000791 	bl	a000cf00 <_Objects_Get>                        <== NOT EXECUTED
  /*                                                                  
   *  When we get here, the Timer is already off the chain so we do not
   *  have to worry about that -- hence no _Watchdog_Remove().        
   */                                                                 
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a000b0b8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000b0bc:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a000b0c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b0c4:	1a000010 	bne	a000b10c <_Rate_monotonic_Timeout+0x6c>       <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
a000b0c8:	e5900040 	ldr	r0, [r0, #64]	; 0x40                          <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (             
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_PERIOD);                   
a000b0cc:	e5903010 	ldr	r3, [r0, #16]                                 <== NOT EXECUTED
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
a000b0d0:	e3130901 	tst	r3, #16384	; 0x4000                           <== NOT EXECUTED
a000b0d4:	0a000003 	beq	a000b0e8 <_Rate_monotonic_Timeout+0x48>       <== NOT EXECUTED
a000b0d8:	e5902020 	ldr	r2, [r0, #32]                                 <== NOT EXECUTED
a000b0dc:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a000b0e0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000b0e4:	0a000014 	beq	a000b13c <_Rate_monotonic_Timeout+0x9c>       <== NOT EXECUTED
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
a000b0e8:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          <== NOT EXECUTED
a000b0ec:	e3530001 	cmp	r3, #1                                        <== NOT EXECUTED
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
a000b0f0:	13a03004 	movne	r3, #4                                      <== NOT EXECUTED
a000b0f4:	15843038 	strne	r3, [r4, #56]	; 0x38                        <== NOT EXECUTED
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
a000b0f8:	0a000005 	beq	a000b114 <_Rate_monotonic_Timeout+0x74>       <== NOT EXECUTED
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
a000b0fc:	e59f304c 	ldr	r3, [pc, #76]	; a000b150 <_Rate_monotonic_Timeout+0xb0><== NOT EXECUTED
a000b100:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a000b104:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a000b108:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
a000b10c:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000b110:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
a000b114:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
a000b118:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
a000b11c:	e5843038 	str	r3, [r4, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
a000b120:	ebfffe5d 	bl	a000aa9c <_Rate_monotonic_Initiate_statistics> <== NOT EXECUTED
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a000b124:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000b128:	e59f0024 	ldr	r0, [pc, #36]	; a000b154 <_Rate_monotonic_Timeout+0xb4><== NOT EXECUTED
a000b12c:	e2841010 	add	r1, r4, #16                                   <== NOT EXECUTED
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a000b130:	e584301c 	str	r3, [r4, #28]                                 <== NOT EXECUTED
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000b134:	eb000e5f 	bl	a000eab8 <_Watchdog_Insert>                    <== NOT EXECUTED
a000b138:	eaffffef 	b	a000b0fc <_Rate_monotonic_Timeout+0x5c>         <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
a000b13c:	e59f1014 	ldr	r1, [pc, #20]	; a000b158 <_Rate_monotonic_Timeout+0xb8><== NOT EXECUTED
a000b140:	eb00098a 	bl	a000d770 <_Thread_Clear_state>                 <== NOT EXECUTED
      the_thread = the_period->owner;                                 
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
a000b144:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000b148:	eafffff4 	b	a000b120 <_Rate_monotonic_Timeout+0x80>         <== NOT EXECUTED
                                                                      

a000acc4 <_TOD_Get_uptime_as_timespec>: */ void _TOD_Get_uptime_as_timespec( struct timespec *uptime ) {
a000acc4:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000acc8:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a000accc:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  Timestamp_Control uptime_ts;                                        
                                                                      
  /* assume time checked for NULL by caller */                        
  _TOD_Get_uptime( &uptime_ts );                                      
a000acd0:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a000acd4:	eb001284 	bl	a000f6ec <_TOD_Get_uptime>                     <== NOT EXECUTED
  _Timestamp_To_timespec( &uptime_ts, uptime );                       
a000acd8:	e89d000c 	ldm	sp, {r2, r3}                                  <== NOT EXECUTED
a000acdc:	e884000c 	stm	r4, {r2, r3}                                  <== NOT EXECUTED
}                                                                     
a000ace0:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000ace4:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a000c34c <_TOD_Set>: rtems_fatal_error_occurred( 99 ); } } #endif _Thread_Dispatch_disable_level += 1;
a000c34c:	e59f3068 	ldr	r3, [pc, #104]	; a000c3bc <_TOD_Set+0x70>     
 */                                                                   
                                                                      
void _TOD_Set(                                                        
  const struct timespec *time                                         
)                                                                     
{                                                                     
a000c350:	e92d4030 	push	{r4, r5, lr}                                 
a000c354:	e5932000 	ldr	r2, [r3]                                      
a000c358:	e1a05000 	mov	r5, r0                                        
a000c35c:	e2822001 	add	r2, r2, #1                                    
a000c360:	e5832000 	str	r2, [r3]                                      
  long seconds;                                                       
                                                                      
  _Thread_Disable_dispatch();                                         
  _TOD_Deactivate();                                                  
                                                                      
  seconds = _TOD_Seconds_since_epoch();                               
a000c364:	e59f4054 	ldr	r4, [pc, #84]	; a000c3c0 <_TOD_Set+0x74>      
                                                                      
  if ( time->tv_sec < seconds )                                       
a000c368:	e5902000 	ldr	r2, [r0]                                      
  long seconds;                                                       
                                                                      
  _Thread_Disable_dispatch();                                         
  _TOD_Deactivate();                                                  
                                                                      
  seconds = _TOD_Seconds_since_epoch();                               
a000c36c:	e5943000 	ldr	r3, [r4]                                      
                                                                      
  if ( time->tv_sec < seconds )                                       
a000c370:	e1530002 	cmp	r3, r2                                        
a000c374:	ca00000b 	bgt	a000c3a8 <_TOD_Set+0x5c>                      
  Watchdog_Adjust_directions direction,                               
  Watchdog_Interval          units                                    
)                                                                     
{                                                                     
                                                                      
  _Watchdog_Adjust( &_Watchdog_Seconds_chain, direction, units );     
a000c378:	e59f0044 	ldr	r0, [pc, #68]	; a000c3c4 <_TOD_Set+0x78>      
a000c37c:	e3a01000 	mov	r1, #0                                        
a000c380:	e0632002 	rsb	r2, r3, r2                                    
a000c384:	eb0009bc 	bl	a000ea7c <_Watchdog_Adjust>                    
    _Watchdog_Adjust_seconds( WATCHDOG_BACKWARD, seconds - time->tv_sec );
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
a000c388:	e895000c 	ldm	r5, {r2, r3}                                  
a000c38c:	e5843004 	str	r3, [r4, #4]                                  
  _TOD_Is_set = true;                                                 
a000c390:	e59f3030 	ldr	r3, [pc, #48]	; a000c3c8 <_TOD_Set+0x7c>      
    _Watchdog_Adjust_seconds( WATCHDOG_BACKWARD, seconds - time->tv_sec );
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
a000c394:	e5842000 	str	r2, [r4]                                      
  _TOD_Is_set = true;                                                 
a000c398:	e3a02001 	mov	r2, #1                                        
a000c39c:	e5c32000 	strb	r2, [r3]                                     
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
}                                                                     
a000c3a0:	e8bd4030 	pop	{r4, r5, lr}                                  
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
  _TOD_Is_set = true;                                                 
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
a000c3a4:	ea0005b2 	b	a000da74 <_Thread_Enable_dispatch>              
a000c3a8:	e59f0014 	ldr	r0, [pc, #20]	; a000c3c4 <_TOD_Set+0x78>      
a000c3ac:	e3a01001 	mov	r1, #1                                        
a000c3b0:	e0622003 	rsb	r2, r2, r3                                    
a000c3b4:	eb0009b0 	bl	a000ea7c <_Watchdog_Adjust>                    
a000c3b8:	eafffff2 	b	a000c388 <_TOD_Set+0x3c>                        
                                                                      

a000a910 <_TOD_Tickle_ticks>: { Timestamp_Control tick; uint32_t seconds; /* Convert the tick quantum to a timestamp */ _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
a000a910:	e59f2064 	ldr	r2, [pc, #100]	; a000a97c <_TOD_Tickle_ticks+0x6c>
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
a000a914:	e59f3064 	ldr	r3, [pc, #100]	; a000a980 <_TOD_Tickle_ticks+0x70>
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _TOD_Tickle_ticks( void )                                        
{                                                                     
a000a918:	e92d4010 	push	{r4, lr}                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
a000a91c:	e592100c 	ldr	r1, [r2, #12]                                 
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
a000a920:	e5932000 	ldr	r2, [r3]                                      
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
a000a924:	e3a0cffa 	mov	ip, #1000	; 0x3e8                             
a000a928:	e00c0c91 	mul	ip, r1, ip                                    
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _TOD_Tickle_ticks( void )                                        
{                                                                     
a000a92c:	e24dd008 	sub	sp, sp, #8                                    
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
a000a930:	e2822001 	add	r2, r2, #1                                    
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
a000a934:	e3a0e000 	mov	lr, #0                                        
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
a000a938:	e1a0100d 	mov	r1, sp                                        
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
a000a93c:	e5832000 	str	r2, [r3]                                      
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
a000a940:	e59f003c 	ldr	r0, [pc, #60]	; a000a984 <_TOD_Tickle_ticks+0x74>
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
a000a944:	e58de000 	str	lr, [sp]                                      
a000a948:	e58dc004 	str	ip, [sp, #4]                                  
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
a000a94c:	eb000826 	bl	a000c9ec <_Timespec_Add_to>                    
  /* we do not care how much the uptime changed */                    
                                                                      
  /* Update the timespec format TOD */                                
  seconds = _Timestamp_Add_to_at_tick( &_TOD_Now, &tick );            
a000a950:	e59f0030 	ldr	r0, [pc, #48]	; a000a988 <_TOD_Tickle_ticks+0x78>
a000a954:	e1a0100d 	mov	r1, sp                                        
a000a958:	eb000823 	bl	a000c9ec <_Timespec_Add_to>                    
  while ( seconds ) {                                                 
a000a95c:	e2504000 	subs	r4, r0, #0                                   
a000a960:	0a000003 	beq	a000a974 <_TOD_Tickle_ticks+0x64>             
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_seconds( void )            
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Seconds_chain );                       
a000a964:	e59f0020 	ldr	r0, [pc, #32]	; a000a98c <_TOD_Tickle_ticks+0x7c><== NOT EXECUTED
a000a968:	eb000993 	bl	a000cfbc <_Watchdog_Tickle>                    <== NOT EXECUTED
a000a96c:	e2544001 	subs	r4, r4, #1                                   <== NOT EXECUTED
a000a970:	1afffffb 	bne	a000a964 <_TOD_Tickle_ticks+0x54>             <== NOT EXECUTED
    _Watchdog_Tickle_seconds();                                       
    seconds--;                                                        
  }                                                                   
}                                                                     
a000a974:	e28dd008 	add	sp, sp, #8                                    
a000a978:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a000ab10 <_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();
a000ab10:	e59f30bc 	ldr	r3, [pc, #188]	; a000abd4 <_TOD_Validate+0xc4>
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  const rtems_time_of_day *the_tod                                    
)                                                                     
{                                                                     
a000ab14:	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)                                  ||                  
a000ab18:	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();                 
a000ab1c:	e593100c 	ldr	r1, [r3, #12]                                 
  if ((!the_tod)                                  ||                  
a000ab20:	0a000029 	beq	a000abcc <_TOD_Validate+0xbc>                 
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
a000ab24:	e3a0093d 	mov	r0, #999424	; 0xf4000                         
a000ab28:	e2800d09 	add	r0, r0, #576	; 0x240                          
a000ab2c:	eb004521 	bl	a001bfb8 <__aeabi_uidiv>                       
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
a000ab30:	e5943018 	ldr	r3, [r4, #24]                                 
a000ab34:	e1500003 	cmp	r0, r3                                        
a000ab38:	9a00001f 	bls	a000abbc <_TOD_Validate+0xac>                 
      (the_tod->ticks  >= ticks_per_second)       ||                  
a000ab3c:	e5943014 	ldr	r3, [r4, #20]                                 
a000ab40:	e353003b 	cmp	r3, #59	; 0x3b                                
a000ab44:	8a00001c 	bhi	a000abbc <_TOD_Validate+0xac>                 
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
a000ab48:	e5943010 	ldr	r3, [r4, #16]                                 
a000ab4c:	e353003b 	cmp	r3, #59	; 0x3b                                
a000ab50:	8a000019 	bhi	a000abbc <_TOD_Validate+0xac>                 
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
a000ab54:	e594300c 	ldr	r3, [r4, #12]                                 
a000ab58:	e3530017 	cmp	r3, #23                                       
a000ab5c:	8a000016 	bhi	a000abbc <_TOD_Validate+0xac>                 
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
a000ab60:	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)      ||                  
a000ab64:	e3500000 	cmp	r0, #0                                        
a000ab68:	0a000016 	beq	a000abc8 <_TOD_Validate+0xb8>                 
      (the_tod->month  == 0)                      ||                  
a000ab6c:	e350000c 	cmp	r0, #12                                       
a000ab70:	8a000011 	bhi	a000abbc <_TOD_Validate+0xac>                 
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
a000ab74:	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)    ||                  
a000ab78:	e3a03d1f 	mov	r3, #1984	; 0x7c0                             
a000ab7c:	e2833003 	add	r3, r3, #3                                    
a000ab80:	e1520003 	cmp	r2, r3                                        
a000ab84:	9a00000c 	bls	a000abbc <_TOD_Validate+0xac>                 
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
a000ab88:	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)          ||                  
a000ab8c:	e3540000 	cmp	r4, #0                                        
a000ab90:	0a00000b 	beq	a000abc4 <_TOD_Validate+0xb4>                 
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
a000ab94:	e3120003 	tst	r2, #3                                        
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
a000ab98:	059f3038 	ldreq	r3, [pc, #56]	; a000abd8 <_TOD_Validate+0xc8>
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
a000ab9c:	159f3034 	ldrne	r3, [pc, #52]	; a000abd8 <_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 ];       
a000aba0:	0280000d 	addeq	r0, r0, #13                                 
a000aba4:	07930100 	ldreq	r0, [r3, r0, lsl #2]                        
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
a000aba8:	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(                                                   
a000abac:	e1500004 	cmp	r0, r4                                        
a000abb0:	33a00000 	movcc	r0, #0                                      
a000abb4:	23a00001 	movcs	r0, #1                                      
a000abb8:	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;                                                    
a000abbc:	e3a00000 	mov	r0, #0                                        
a000abc0:	e8bd8010 	pop	{r4, pc}                                      
a000abc4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
a000abc8:	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;                                                    
a000abcc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000abd0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a000bb98 <_Thread_Close>: RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id( Objects_Information *information, Objects_Control *the_object ) { _Objects_Set_local_object(
a000bb98:	e1d120b8 	ldrh	r2, [r1, #8]                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000bb9c:	e590301c 	ldr	r3, [r0, #28]                                 
                                                                      
void _Thread_Close(                                                   
  Objects_Information  *information,                                  
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
a000bba0:	e92d4070 	push	{r4, r5, r6, lr}                             
a000bba4:	e1a04001 	mov	r4, r1                                        
a000bba8:	e3a01000 	mov	r1, #0                                        
a000bbac:	e7831102 	str	r1, [r3, r2, lsl #2]                          
a000bbb0:	e1a05000 	mov	r5, r0                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
a000bbb4:	e59f6098 	ldr	r6, [pc, #152]	; a000bc54 <_Thread_Close+0xbc>
   *  disappear and set a transient state on it.  So we temporarily   
   *  unnest dispatching.                                             
   */                                                                 
  _Thread_Unnest_dispatch();                                          
                                                                      
  _User_extensions_Thread_delete( the_thread );                       
a000bbb8:	e1a00004 	mov	r0, r4                                        
a000bbbc:	e5963000 	ldr	r3, [r6]                                      
a000bbc0:	e2433001 	sub	r3, r3, #1                                    
a000bbc4:	e5863000 	str	r3, [r6]                                      
a000bbc8:	eb00042b 	bl	a000cc7c <_User_extensions_Thread_delete>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000bbcc:	e5963000 	ldr	r3, [r6]                                      
a000bbd0:	e2833001 	add	r3, r3, #1                                    
a000bbd4:	e5863000 	str	r3, [r6]                                      
  /*                                                                  
   *  Now we are in a dispatching critical section again and we       
   *  can take the thread OUT of the published set.  It is invalid    
   *  to use this thread's Id OR name after this call.                
   */                                                                 
  _Objects_Close( information, &the_thread->Object );                 
a000bbd8:	e1a01004 	mov	r1, r4                                        
a000bbdc:	e1a00005 	mov	r0, r5                                        
a000bbe0:	ebfffcab 	bl	a000ae94 <_Objects_Close>                      
                                                                      
  /*                                                                  
   *  By setting the dormant state, the thread will not be considered 
   *  for scheduling when we remove any blocking states.              
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
a000bbe4:	e1a00004 	mov	r0, r4                                        
a000bbe8:	e3a01001 	mov	r1, #1                                        
a000bbec:	eb0002dc 	bl	a000c764 <_Thread_Set_state>                   
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
a000bbf0:	e1a00004 	mov	r0, r4                                        
a000bbf4:	eb000273 	bl	a000c5c8 <_Thread_queue_Extract_with_proxy>    
a000bbf8:	e3500000 	cmp	r0, #0                                        
a000bbfc:	1a000002 	bne	a000bc0c <_Thread_Close+0x74>                 
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
a000bc00:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000bc04:	e3530002 	cmp	r3, #2                                        
a000bc08:	0a00000e 	beq	a000bc48 <_Thread_Close+0xb0>                 
RTEMS_INLINE_ROUTINE void _Scheduler_Thread_scheduler_free(           
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return the_scheduler->Operations.scheduler_free( the_scheduler, the_thread );
a000bc0c:	e59f0044 	ldr	r0, [pc, #68]	; a000bc58 <_Thread_Close+0xc0> 
a000bc10:	e1a01004 	mov	r1, r4                                        
a000bc14:	e5903018 	ldr	r3, [r0, #24]                                 
a000bc18:	e12fff33 	blx	r3                                            
                                                                      
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
a000bc1c:	e1a00004 	mov	r0, r4                                        
a000bc20:	eb000326 	bl	a000c8c0 <_Thread_Stack_Free>                  
  the_thread->Start.stack = NULL;                                     
                                                                      
  if ( the_thread->extensions )                                       
a000bc24:	e59400fc 	ldr	r0, [r4, #252]	; 0xfc                         
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
a000bc28:	e3a03000 	mov	r3, #0                                        
a000bc2c:	e58430bc 	str	r3, [r4, #188]	; 0xbc                         
                                                                      
  if ( the_thread->extensions )                                       
a000bc30:	e1500003 	cmp	r0, r3                                        
a000bc34:	0a000000 	beq	a000bc3c <_Thread_Close+0xa4>                 
    (void) _Workspace_Free( the_thread->extensions );                 
a000bc38:	eb000527 	bl	a000d0dc <_Workspace_Free>                     
  the_thread->extensions = NULL;                                      
a000bc3c:	e3a03000 	mov	r3, #0                                        
a000bc40:	e58430fc 	str	r3, [r4, #252]	; 0xfc                         
}                                                                     
a000bc44:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
a000bc48:	e2840048 	add	r0, r4, #72	; 0x48                            <== NOT EXECUTED
a000bc4c:	eb0004af 	bl	a000cf10 <_Watchdog_Remove>                    <== NOT EXECUTED
a000bc50:	eaffffed 	b	a000bc0c <_Thread_Close+0x74>                   <== NOT EXECUTED
                                                                      

a000bd74 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
a000bd74:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
a000bd78:	e59f7138 	ldr	r7, [pc, #312]	; a000beb8 <_Thread_Dispatch+0x144>
 *    dispatch thread                                                 
 *    no dispatch thread                                              
 */                                                                   
                                                                      
void _Thread_Dispatch( void )                                         
{                                                                     
a000bd7c:	e24dd010 	sub	sp, sp, #16                                   
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
a000bd80:	e5975004 	ldr	r5, [r7, #4]                                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000bd84:	e10f2000 	mrs	r2, CPSR                                      
a000bd88:	e3823080 	orr	r3, r2, #128	; 0x80                           
a000bd8c:	e129f003 	msr	CPSR_fc, r3                                   
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
a000bd90:	e5d71010 	ldrb	r1, [r7, #16]                                
a000bd94:	e3510000 	cmp	r1, #0                                        
a000bd98:	0a000043 	beq	a000beac <_Thread_Dispatch+0x138>             
    heir = _Thread_Heir;                                              
a000bd9c:	e5974008 	ldr	r4, [r7, #8]                                  
    _Thread_Dispatch_disable_level = 1;                               
a000bda0:	e59f9114 	ldr	r9, [pc, #276]	; a000bebc <_Thread_Dispatch+0x148>
a000bda4:	e3a00001 	mov	r0, #1                                        
    _Thread_Dispatch_necessary = false;                               
a000bda8:	e3a01000 	mov	r1, #0                                        
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
a000bdac:	e1550004 	cmp	r5, r4                                        
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
a000bdb0:	e5890000 	str	r0, [r9]                                      
    _Thread_Dispatch_necessary = false;                               
    _Thread_Executing = heir;                                         
a000bdb4:	e5874004 	str	r4, [r7, #4]                                  
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
a000bdb8:	e5c71010 	strb	r1, [r7, #16]                                
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
a000bdbc:	01a03002 	moveq	r3, r2                                      
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
a000bdc0:	0a000033 	beq	a000be94 <_Thread_Dispatch+0x120>             
a000bdc4:	e28da008 	add	sl, sp, #8                                    
a000bdc8:	e1a0800d 	mov	r8, sp                                        
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
a000bdcc:	e1a06007 	mov	r6, r7                                        
a000bdd0:	ea000007 	b	a000bdf4 <_Thread_Dispatch+0x80>                
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
a000bdd4:	e5964008 	ldr	r4, [r6, #8]                                  <== NOT EXECUTED
    _Thread_Dispatch_disable_level = 1;                               
a000bdd8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    _Thread_Dispatch_necessary = false;                               
a000bddc:	e3a0b000 	mov	fp, #0                                        <== NOT EXECUTED
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
a000bde0:	e1540005 	cmp	r4, r5                                        <== NOT EXECUTED
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
a000bde4:	e5891000 	str	r1, [r9]                                      <== NOT EXECUTED
    _Thread_Dispatch_necessary = false;                               
    _Thread_Executing = heir;                                         
a000bde8:	e5864004 	str	r4, [r6, #4]                                  <== NOT EXECUTED
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
a000bdec:	e5c6b010 	strb	fp, [r6, #16]                                <== NOT EXECUTED
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
a000bdf0:	0a000027 	beq	a000be94 <_Thread_Dispatch+0x120>             <== NOT EXECUTED
     */                                                               
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
a000bdf4:	e594307c 	ldr	r3, [r4, #124]	; 0x7c                         
a000bdf8:	e3530001 	cmp	r3, #1                                        
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
a000bdfc:	059fc0bc 	ldreq	ip, [pc, #188]	; a000bec0 <_Thread_Dispatch+0x14c>
a000be00:	059c3000 	ldreq	r3, [ip]                                    
a000be04:	05843078 	streq	r3, [r4, #120]	; 0x78                       
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000be08:	e129f002 	msr	CPSR_fc, r2                                   
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
a000be0c:	e1a0000a 	mov	r0, sl                                        
a000be10:	eb000d02 	bl	a000f220 <_TOD_Get_uptime>                     
        _Timestamp_Subtract(                                          
a000be14:	e1a0200d 	mov	r2, sp                                        
a000be18:	e1a0100a 	mov	r1, sl                                        
a000be1c:	e59f00a0 	ldr	r0, [pc, #160]	; a000bec4 <_Thread_Dispatch+0x150>
a000be20:	eb000308 	bl	a000ca48 <_Timespec_Subtract>                  
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
a000be24:	e1a0100d 	mov	r1, sp                                        
a000be28:	e2850084 	add	r0, r5, #132	; 0x84                           
a000be2c:	eb0002ee 	bl	a000c9ec <_Timespec_Add_to>                    
        _Thread_Time_of_last_context_switch = uptime;                 
a000be30:	e28dc008 	add	ip, sp, #8                                    
a000be34:	e89c1800 	ldm	ip, {fp, ip}                                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
a000be38:	e59f2088 	ldr	r2, [pc, #136]	; a000bec8 <_Thread_Dispatch+0x154>
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
a000be3c:	e1a00005 	mov	r0, r5                                        
a000be40:	e1a01004 	mov	r1, r4                                        
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
a000be44:	e5923000 	ldr	r3, [r2]                                      
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
a000be48:	e59f2074 	ldr	r2, [pc, #116]	; a000bec4 <_Thread_Dispatch+0x150>
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
a000be4c:	e3530000 	cmp	r3, #0                                        
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
a000be50:	e8821800 	stm	r2, {fp, ip}                                  
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
      executing->libc_reent = *_Thread_libc_reent;                    
a000be54:	15932000 	ldrne	r2, [r3]                                    
a000be58:	158520f0 	strne	r2, [r5, #240]	; 0xf0                       
      *_Thread_libc_reent = heir->libc_reent;                         
a000be5c:	159420f0 	ldrne	r2, [r4, #240]	; 0xf0                       
a000be60:	15832000 	strne	r2, [r3]                                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
a000be64:	eb0003aa 	bl	a000cd14 <_User_extensions_Thread_switch>      
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
a000be68:	e28500c0 	add	r0, r5, #192	; 0xc0                           
a000be6c:	e28410c0 	add	r1, r4, #192	; 0xc0                           
a000be70:	eb000579 	bl	a000d45c <_CPU_Context_switch>                 
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
a000be74:	e5975004 	ldr	r5, [r7, #4]                                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000be78:	e10f3000 	mrs	r3, CPSR                                      
a000be7c:	e3832080 	orr	r2, r3, #128	; 0x80                           
a000be80:	e129f002 	msr	CPSR_fc, r2                                   
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
a000be84:	e5d71010 	ldrb	r1, [r7, #16]                                
a000be88:	e1a02003 	mov	r2, r3                                        
a000be8c:	e3510000 	cmp	r1, #0                                        
a000be90:	1affffcf 	bne	a000bdd4 <_Thread_Dispatch+0x60>              
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
a000be94:	e3a01000 	mov	r1, #0                                        
a000be98:	e5891000 	str	r1, [r9]                                      
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000be9c:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  _API_extensions_Run_postswitch();                                   
a000bea0:	ebfff912 	bl	a000a2f0 <_API_extensions_Run_postswitch>      
}                                                                     
a000bea4:	e28dd010 	add	sp, sp, #16                                   
a000bea8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
a000beac:	e1a03002 	mov	r3, r2                                        
a000beb0:	e59f9004 	ldr	r9, [pc, #4]	; a000bebc <_Thread_Dispatch+0x148>
a000beb4:	eafffff6 	b	a000be94 <_Thread_Dispatch+0x120>               
                                                                      

a000bef0 <_Thread_Get>: uint32_t the_class; Objects_Information **api_information; Objects_Information *information; Thread_Control *tp = (Thread_Control *) 0; if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {
a000bef0:	e2503000 	subs	r3, r0, #0                                   
 */                                                                   
Thread_Control *_Thread_Get (                                         
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
a000bef4:	e1a02001 	mov	r2, r1                                        
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
a000bef8:	0a000014 	beq	a000bf50 <_Thread_Get+0x60>                   
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
a000befc:	e1a01c23 	lsr	r1, r3, #24                                   
a000bf00:	e2011007 	and	r1, r1, #7                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
a000bf04:	e2410001 	sub	r0, r1, #1                                    
a000bf08:	e3500002 	cmp	r0, #2                                        
a000bf0c:	8a00000b 	bhi	a000bf40 <_Thread_Get+0x50>                   
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
a000bf10:	e1a0cda3 	lsr	ip, r3, #27                                   
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
a000bf14:	e35c0001 	cmp	ip, #1                                        
a000bf18:	1a000008 	bne	a000bf40 <_Thread_Get+0x50>                   
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
a000bf1c:	e59f0054 	ldr	r0, [pc, #84]	; a000bf78 <_Thread_Get+0x88>   
a000bf20:	e7900101 	ldr	r0, [r0, r1, lsl #2]                          
  /*                                                                  
   *  There is no way for this to happen if POSIX is enabled.         
   */                                                                 
  #if !defined(RTEMS_POSIX_API)                                       
    if ( !api_information ) {                                         
a000bf24:	e3500000 	cmp	r0, #0                                        
a000bf28:	0a000010 	beq	a000bf70 <_Thread_Get+0x80>                   
      *location = OBJECTS_ERROR;                                      
      goto done;                                                      
    }                                                                 
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
a000bf2c:	e5900004 	ldr	r0, [r0, #4]                                  
  if ( !information ) {                                               
a000bf30:	e3500000 	cmp	r0, #0                                        
a000bf34:	0a00000d 	beq	a000bf70 <_Thread_Get+0x80>                   
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
a000bf38:	e1a01003 	mov	r1, r3                                        
a000bf3c:	eafffce4 	b	a000b2d4 <_Objects_Get>                         
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
a000bf40:	e3a03001 	mov	r3, #1                                        
a000bf44:	e5823000 	str	r3, [r2]                                      
{                                                                     
  uint32_t             the_api;                                       
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
a000bf48:	e3a00000 	mov	r0, #0                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
a000bf4c:	e12fff1e 	bx	lr                                             
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000bf50:	e59f1024 	ldr	r1, [pc, #36]	; a000bf7c <_Thread_Get+0x8c>   
a000bf54:	e5910000 	ldr	r0, [r1]                                      
a000bf58:	e2800001 	add	r0, r0, #1                                    
a000bf5c:	e5810000 	str	r0, [r1]                                      
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
a000bf60:	e5823000 	str	r3, [r2]                                      
    tp = _Thread_Executing;                                           
a000bf64:	e59f3014 	ldr	r3, [pc, #20]	; a000bf80 <_Thread_Get+0x90>   
a000bf68:	e5930004 	ldr	r0, [r3, #4]                                  
    goto done;                                                        
a000bf6c:	e12fff1e 	bx	lr                                             
    }                                                                 
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
a000bf70:	e582c000 	str	ip, [r2]                                      <== NOT EXECUTED
    goto done;                                                        
a000bf74:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000bf84 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
a000bf84:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
a000bf88:	e3a05000 	mov	r5, #0                                        
a000bf8c:	e58150f4 	str	r5, [r1, #244]	; 0xf4                         
a000bf90:	e58150f8 	str	r5, [r1, #248]	; 0xf8                         
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
a000bf94:	e58150f0 	str	r5, [r1, #240]	; 0xf0                         
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a000bf98:	e1a04001 	mov	r4, r1                                        
a000bf9c:	e1a0a000 	mov	sl, r0                                        
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
a000bfa0:	e1a00001 	mov	r0, r1                                        
a000bfa4:	e1a01003 	mov	r1, r3                                        
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a000bfa8:	e1a06003 	mov	r6, r3                                        
a000bfac:	e59d7024 	ldr	r7, [sp, #36]	; 0x24                          
a000bfb0:	e5dd8028 	ldrb	r8, [sp, #40]	; 0x28                         
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
a000bfb4:	eb000226 	bl	a000c854 <_Thread_Stack_Allocate>              
    if ( !actual_stack_size || actual_stack_size < stack_size )       
a000bfb8:	e1500005 	cmp	r0, r5                                        
a000bfbc:	13a03000 	movne	r3, #0                                      
a000bfc0:	03a03001 	moveq	r3, #1                                      
a000bfc4:	e1500006 	cmp	r0, r6                                        
a000bfc8:	21a06003 	movcs	r6, r3                                      
a000bfcc:	33836001 	orrcc	r6, r3, #1                                  
a000bfd0:	e1560005 	cmp	r6, r5                                        
a000bfd4:	1a000045 	bne	a000c0f0 <_Thread_Initialize+0x16c>           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
a000bfd8:	e59f9164 	ldr	r9, [pc, #356]	; a000c144 <_Thread_Initialize+0x1c0>
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
a000bfdc:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         
  the_stack->size = size;                                             
a000bfe0:	e58400b4 	str	r0, [r4, #180]	; 0xb4                         
a000bfe4:	e5995000 	ldr	r5, [r9]                                      
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
a000bfe8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000bfec:	e5846050 	str	r6, [r4, #80]	; 0x50                          
a000bff0:	e3550000 	cmp	r5, #0                                        
  the_watchdog->routine   = routine;                                  
a000bff4:	e5846064 	str	r6, [r4, #100]	; 0x64                         
  the_watchdog->id        = id;                                       
a000bff8:	e5846068 	str	r6, [r4, #104]	; 0x68                         
  the_watchdog->user_data = user_data;                                
a000bffc:	e584606c 	str	r6, [r4, #108]	; 0x6c                         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
a000c000:	058450fc 	streq	r5, [r4, #252]	; 0xfc                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
a000c004:	1a00003b 	bne	a000c0f8 <_Thread_Initialize+0x174>           
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
a000c008:	e59d302c 	ldr	r3, [sp, #44]	; 0x2c                          
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return                                                              
    the_scheduler->Operations.scheduler_allocate( the_scheduler, the_thread );
a000c00c:	e59f0134 	ldr	r0, [pc, #308]	; a000c148 <_Thread_Initialize+0x1c4>
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
a000c010:	e3a06000 	mov	r6, #0                                        
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
a000c014:	e58430a4 	str	r3, [r4, #164]	; 0xa4                         
  the_thread->Start.budget_callout   = budget_callout;                
a000c018:	e59d3030 	ldr	r3, [sp, #48]	; 0x30                          
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
a000c01c:	e3a09001 	mov	r9, #1                                        
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
a000c020:	e5c480a0 	strb	r8, [r4, #160]	; 0xa0                        
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
a000c024:	e58430a8 	str	r3, [r4, #168]	; 0xa8                         
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
a000c028:	e59d3034 	ldr	r3, [sp, #52]	; 0x34                          
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
a000c02c:	e5849010 	str	r9, [r4, #16]                                 
  the_thread->Wait.queue              = NULL;                         
a000c030:	e5846044 	str	r6, [r4, #68]	; 0x44                          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
a000c034:	e58430ac 	str	r3, [r4, #172]	; 0xac                         
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
a000c038:	e584601c 	str	r6, [r4, #28]                                 
  the_thread->real_priority           = priority;                     
a000c03c:	e5847018 	str	r7, [r4, #24]                                 
  the_thread->Start.initial_priority  = priority;                     
a000c040:	e58470b0 	str	r7, [r4, #176]	; 0xb0                         
RTEMS_INLINE_ROUTINE void* _Scheduler_Thread_scheduler_allocate(      
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return                                                              
a000c044:	e5903014 	ldr	r3, [r0, #20]                                 
a000c048:	e1a01004 	mov	r1, r4                                        
a000c04c:	e12fff33 	blx	r3                                            
  sched =_Scheduler_Thread_scheduler_allocate( &_Scheduler, the_thread );
  if ( !sched )                                                       
a000c050:	e2508000 	subs	r8, r0, #0                                   
a000c054:	0a00000d 	beq	a000c090 <_Thread_Initialize+0x10c>           
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
a000c058:	e1a00004 	mov	r0, r4                                        
a000c05c:	e1a01007 	mov	r1, r7                                        
a000c060:	eb0001b5 	bl	a000c73c <_Thread_Set_priority>                
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
a000c064:	e59a301c 	ldr	r3, [sl, #28]                                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a000c068:	e1d420b8 	ldrh	r2, [r4, #8]                                 
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
a000c06c:	e5846084 	str	r6, [r4, #132]	; 0x84                         
a000c070:	e5846088 	str	r6, [r4, #136]	; 0x88                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000c074:	e7834102 	str	r4, [r3, r2, lsl #2]                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a000c078:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
a000c07c:	e1a00004 	mov	r0, r4                                        
a000c080:	e584300c 	str	r3, [r4, #12]                                 
a000c084:	eb0002e4 	bl	a000cc1c <_User_extensions_Thread_create>      
  if ( extension_status )                                             
a000c088:	e1500006 	cmp	r0, r6                                        
a000c08c:	1a000028 	bne	a000c134 <_Thread_Initialize+0x1b0>           
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
a000c090:	e59400f0 	ldr	r0, [r4, #240]	; 0xf0                         
a000c094:	e3500000 	cmp	r0, #0                                        
a000c098:	0a000000 	beq	a000c0a0 <_Thread_Initialize+0x11c>           
    _Workspace_Free( the_thread->libc_reent );                        
a000c09c:	eb00040e 	bl	a000d0dc <_Workspace_Free>                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a000c0a0:	e59400f4 	ldr	r0, [r4, #244]	; 0xf4                         
a000c0a4:	e3500000 	cmp	r0, #0                                        
a000c0a8:	0a000000 	beq	a000c0b0 <_Thread_Initialize+0x12c>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a000c0ac:	eb00040a 	bl	a000d0dc <_Workspace_Free>                     
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a000c0b0:	e59400f8 	ldr	r0, [r4, #248]	; 0xf8                         
a000c0b4:	e3500000 	cmp	r0, #0                                        
a000c0b8:	0a000000 	beq	a000c0c0 <_Thread_Initialize+0x13c>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a000c0bc:	eb000406 	bl	a000d0dc <_Workspace_Free>                     <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
a000c0c0:	e3550000 	cmp	r5, #0                                        
a000c0c4:	0a000001 	beq	a000c0d0 <_Thread_Initialize+0x14c>           
    (void) _Workspace_Free( extensions_area );                        
a000c0c8:	e1a00005 	mov	r0, r5                                        
a000c0cc:	eb000402 	bl	a000d0dc <_Workspace_Free>                     
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
      (void) _Workspace_Free( fp_area );                              
  #endif                                                              
                                                                      
  if ( sched )                                                        
a000c0d0:	e3580000 	cmp	r8, #0                                        
a000c0d4:	0a000001 	beq	a000c0e0 <_Thread_Initialize+0x15c>           
    (void) _Workspace_Free( sched );                                  
a000c0d8:	e1a00008 	mov	r0, r8                                        
a000c0dc:	eb0003fe 	bl	a000d0dc <_Workspace_Free>                     
                                                                      
   _Thread_Stack_Free( the_thread );                                  
a000c0e0:	e1a00004 	mov	r0, r4                                        
a000c0e4:	eb0001f5 	bl	a000c8c0 <_Thread_Stack_Free>                  
  return false;                                                       
a000c0e8:	e3a00000 	mov	r0, #0                                        
a000c0ec:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
a000c0f0:	e1a00005 	mov	r0, r5                                        
a000c0f4:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
a000c0f8:	e2855001 	add	r5, r5, #1                                    
a000c0fc:	e1a00105 	lsl	r0, r5, #2                                    
a000c100:	eb0003ef 	bl	a000d0c4 <_Workspace_Allocate>                 
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
a000c104:	e2505000 	subs	r5, r0, #0                                   
a000c108:	0a00000b 	beq	a000c13c <_Thread_Initialize+0x1b8>           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
a000c10c:	e5991000 	ldr	r1, [r9]                                      
a000c110:	e58450fc 	str	r5, [r4, #252]	; 0xfc                         
a000c114:	e1a03006 	mov	r3, r6                                        
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
      the_thread->extensions[i] = NULL;                               
a000c118:	e1a02006 	mov	r2, r6                                        
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a000c11c:	e2833001 	add	r3, r3, #1                                    
a000c120:	e1530001 	cmp	r3, r1                                        
      the_thread->extensions[i] = NULL;                               
a000c124:	e7852106 	str	r2, [r5, r6, lsl #2]                          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a000c128:	e1a06003 	mov	r6, r3                                        
a000c12c:	9afffffa 	bls	a000c11c <_Thread_Initialize+0x198>           
a000c130:	eaffffb4 	b	a000c008 <_Thread_Initialize+0x84>              
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
a000c134:	e1a00009 	mov	r0, r9                                        
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
a000c138:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
a000c13c:	e1a08005 	mov	r8, r5                                        
a000c140:	eaffffd2 	b	a000c090 <_Thread_Initialize+0x10c>             
                                                                      

a0010904 <_Thread_Reset>: void _Thread_Reset( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
a0010904:	e92d4030 	push	{r4, r5, lr}                                 
  the_thread->resource_count   = 0;                                   
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
a0010908:	e590c0a4 	ldr	ip, [r0, #164]	; 0xa4                         
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  the_thread->resource_count   = 0;                                   
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
a001090c:	e5d0e0a0 	ldrb	lr, [r0, #160]	; 0xa0                        
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
a0010910:	e59030a8 	ldr	r3, [r0, #168]	; 0xa8                         
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  the_thread->resource_count   = 0;                                   
a0010914:	e3a05000 	mov	r5, #0                                        
a0010918:	e580501c 	str	r5, [r0, #28]                                 
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
a001091c:	e5c0e074 	strb	lr, [r0, #116]	; 0x74                        
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
a0010920:	e580c07c 	str	ip, [r0, #124]	; 0x7c                         
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
a0010924:	e5803080 	str	r3, [r0, #128]	; 0x80                         
                                                                      
  the_thread->Start.pointer_argument = pointer_argument;              
a0010928:	e5801098 	str	r1, [r0, #152]	; 0x98                         
  the_thread->Start.numeric_argument = numeric_argument;              
a001092c:	e580209c 	str	r2, [r0, #156]	; 0x9c                         
void _Thread_Reset(                                                   
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
a0010930:	e1a04000 	mov	r4, r0                                        
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
                                                                      
  the_thread->Start.pointer_argument = pointer_argument;              
  the_thread->Start.numeric_argument = numeric_argument;              
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
a0010934:	ebfff269 	bl	a000d2e0 <_Thread_queue_Extract_with_proxy>    
a0010938:	e1500005 	cmp	r0, r5                                        
a001093c:	1a000002 	bne	a001094c <_Thread_Reset+0x48>                 
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
a0010940:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a0010944:	e3530002 	cmp	r3, #2                                        
a0010948:	0a000008 	beq	a0010970 <_Thread_Reset+0x6c>                 
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
a001094c:	e59410b0 	ldr	r1, [r4, #176]	; 0xb0                         
a0010950:	e5943014 	ldr	r3, [r4, #20]                                 
a0010954:	e1530001 	cmp	r3, r1                                        
a0010958:	0a000003 	beq	a001096c <_Thread_Reset+0x68>                 
    the_thread->real_priority = the_thread->Start.initial_priority;   
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
a001095c:	e1a00004 	mov	r0, r4                                        
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
    the_thread->real_priority = the_thread->Start.initial_priority;   
a0010960:	e5841018 	str	r1, [r4, #24]                                 
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
  }                                                                   
}                                                                     
a0010964:	e8bd4030 	pop	{r4, r5, lr}                                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
    the_thread->real_priority = the_thread->Start.initial_priority;   
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
a0010968:	eafff2d6 	b	a000d4c8 <_Thread_Set_priority>                 
a001096c:	e8bd8030 	pop	{r4, r5, pc}                                  
  the_thread->Start.numeric_argument = numeric_argument;              
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
a0010970:	e2840048 	add	r0, r4, #72	; 0x48                            
a0010974:	ebfff4db 	bl	a000dce8 <_Watchdog_Remove>                    
a0010978:	eafffff3 	b	a001094c <_Thread_Reset+0x48>                   
                                                                      

a000fb40 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
a000fb40:	e92d4010 	push	{r4, lr}                                     
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000fb44:	e10f4000 	mrs	r4, CPSR                                      
a000fb48:	e3843080 	orr	r3, r4, #128	; 0x80                           
a000fb4c:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  current_state = the_thread->current_state;                          
a000fb50:	e5903010 	ldr	r3, [r0, #16]                                 
  if ( current_state & STATES_SUSPENDED ) {                           
a000fb54:	e3130002 	tst	r3, #2                                        
a000fb58:	0a000003 	beq	a000fb6c <_Thread_Resume+0x2c>                
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
a000fb5c:	e3c33002 	bic	r3, r3, #2                                    
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
a000fb60:	e3530000 	cmp	r3, #0                                        
  _ISR_Disable( level );                                              
                                                                      
  current_state = the_thread->current_state;                          
  if ( current_state & STATES_SUSPENDED ) {                           
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
a000fb64:	e5803010 	str	r3, [r0, #16]                                 
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
a000fb68:	0a000001 	beq	a000fb74 <_Thread_Resume+0x34>                
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000fb6c:	e129f004 	msr	CPSR_fc, r4                                   
      _Scheduler_Unblock( &_Scheduler, the_thread );                  
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
a000fb70:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Scheduler_Unblock(                         
    Scheduler_Control *the_scheduler,                                 
    Thread_Control    *the_thread                                     
)                                                                     
{                                                                     
  the_scheduler->Operations.unblock( the_scheduler, the_thread );     
a000fb74:	e59f2014 	ldr	r2, [pc, #20]	; a000fb90 <_Thread_Resume+0x50>
a000fb78:	e1a01000 	mov	r1, r0                                        
a000fb7c:	e5923010 	ldr	r3, [r2, #16]                                 
a000fb80:	e1a00002 	mov	r0, r2                                        
a000fb84:	e12fff33 	blx	r3                                            
a000fb88:	e129f004 	msr	CPSR_fc, r4                                   
a000fb8c:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a000c930 <_Thread_Start>: */ RTEMS_INLINE_ROUTINE bool _States_Is_dormant ( States_Control the_states ) { return (the_states & STATES_DORMANT);
a000c930:	e590c010 	ldr	ip, [r0, #16]                                 
  Thread_Start_types         the_prototype,                           
  void                      *entry_point,                             
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
a000c934:	e92d4010 	push	{r4, lr}                                     
  if ( _States_Is_dormant( the_thread->current_state ) ) {            
a000c938:	e21cc001 	ands	ip, ip, #1                                   
  Thread_Start_types         the_prototype,                           
  void                      *entry_point,                             
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
a000c93c:	e1a04000 	mov	r4, r0                                        
  if ( _States_Is_dormant( the_thread->current_state ) ) {            
a000c940:	1a000001 	bne	a000c94c <_Thread_Start+0x1c>                 
    _User_extensions_Thread_start( the_thread );                      
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
a000c944:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
}                                                                     
a000c948:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
  if ( _States_Is_dormant( the_thread->current_state ) ) {            
                                                                      
    the_thread->Start.entry_point      = (Thread_Entry) entry_point;  
                                                                      
    the_thread->Start.prototype        = the_prototype;               
    the_thread->Start.pointer_argument = pointer_argument;            
a000c94c:	e5803098 	str	r3, [r0, #152]	; 0x98                         
    the_thread->Start.numeric_argument = numeric_argument;            
a000c950:	e59d3008 	ldr	r3, [sp, #8]                                  
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( _States_Is_dormant( the_thread->current_state ) ) {            
                                                                      
    the_thread->Start.entry_point      = (Thread_Entry) entry_point;  
a000c954:	e5802090 	str	r2, [r0, #144]	; 0x90                         
                                                                      
    the_thread->Start.prototype        = the_prototype;               
a000c958:	e5801094 	str	r1, [r0, #148]	; 0x94                         
    the_thread->Start.pointer_argument = pointer_argument;            
    the_thread->Start.numeric_argument = numeric_argument;            
a000c95c:	e580309c 	str	r3, [r0, #156]	; 0x9c                         
                                                                      
    _Thread_Load_environment( the_thread );                           
a000c960:	eb000b95 	bl	a000f7bc <_Thread_Load_environment>            
                                                                      
    _Thread_Ready( the_thread );                                      
a000c964:	e1a00004 	mov	r0, r4                                        
a000c968:	eb000c39 	bl	a000fa54 <_Thread_Ready>                       
                                                                      
    _User_extensions_Thread_start( the_thread );                      
a000c96c:	e1a00004 	mov	r0, r4                                        
a000c970:	eb0000d4 	bl	a000ccc8 <_User_extensions_Thread_start>       
                                                                      
    return true;                                                      
a000c974:	e3a00001 	mov	r0, #1                                        
a000c978:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a000ff64 <_Thread_Suspend>: */ void _Thread_Suspend( Thread_Control *the_thread ) {
a000ff64:	e92d4010 	push	{r4, lr}                                     
a000ff68:	e1a01000 	mov	r1, r0                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000ff6c:	e10f4000 	mrs	r4, CPSR                                      
a000ff70:	e3843080 	orr	r3, r4, #128	; 0x80                           
a000ff74:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level      level;                                               
                                                                      
  _ISR_Disable( level );                                              
  if ( !_States_Is_ready( the_thread->current_state ) ) {             
a000ff78:	e5903010 	ldr	r3, [r0, #16]                                 
a000ff7c:	e3530000 	cmp	r3, #0                                        
a000ff80:	0a000003 	beq	a000ff94 <_Thread_Suspend+0x30>               
RTEMS_INLINE_ROUTINE States_Control _States_Set (                     
  States_Control states_to_set,                                       
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state | states_to_set);                            
a000ff84:	e3833002 	orr	r3, r3, #2                                    
    the_thread->current_state =                                       
a000ff88:	e5803010 	str	r3, [r0, #16]                                 <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000ff8c:	e129f004 	msr	CPSR_fc, r4                                   <== NOT EXECUTED
a000ff90:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
a000ff94:	e59f0014 	ldr	r0, [pc, #20]	; a000ffb0 <_Thread_Suspend+0x4c>
       _States_Set( STATES_SUSPENDED, the_thread->current_state );    
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_thread->current_state = STATES_SUSPENDED;                       
a000ff98:	e3a03002 	mov	r3, #2                                        
a000ff9c:	e5813010 	str	r3, [r1, #16]                                 
a000ffa0:	e590300c 	ldr	r3, [r0, #12]                                 
a000ffa4:	e12fff33 	blx	r3                                            
a000ffa8:	e129f004 	msr	CPSR_fc, r4                                   
a000ffac:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a000c97c <_Thread_Tickle_timeslice>: void _Thread_Tickle_timeslice( void ) { Thread_Control *executing; executing = _Thread_Executing;
a000c97c:	e59f305c 	ldr	r3, [pc, #92]	; a000c9e0 <_Thread_Tickle_timeslice+0x64>
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Tickle_timeslice( void )                                 
{                                                                     
a000c980:	e92d4010 	push	{r4, lr}                                     
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
a000c984:	e5934004 	ldr	r4, [r3, #4]                                  
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
a000c988:	e5d43074 	ldrb	r3, [r4, #116]	; 0x74                        
a000c98c:	e3530000 	cmp	r3, #0                                        
a000c990:	0a000005 	beq	a000c9ac <_Thread_Tickle_timeslice+0x30>      
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
a000c994:	e5943010 	ldr	r3, [r4, #16]                                 
a000c998:	e3530000 	cmp	r3, #0                                        
a000c99c:	1a000002 	bne	a000c9ac <_Thread_Tickle_timeslice+0x30>      
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
a000c9a0:	e594307c 	ldr	r3, [r4, #124]	; 0x7c                         
a000c9a4:	e3530001 	cmp	r3, #1                                        
a000c9a8:	0a000000 	beq	a000c9b0 <_Thread_Tickle_timeslice+0x34>      
a000c9ac:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
    #endif                                                            
      if ( (int)(--executing->cpu_time_budget) <= 0 ) {               
a000c9b0:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
a000c9b4:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a000c9b8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c9bc:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
a000c9c0:	cafffff9 	bgt	a000c9ac <_Thread_Tickle_timeslice+0x30>      <== NOT EXECUTED
 *  always operates on the scheduler that 'owns' the currently executing
 *  thread.                                                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Yield( void )                    
{                                                                     
  _Scheduler.Operations.yield( &_Scheduler );                         
a000c9c4:	e59f0018 	ldr	r0, [pc, #24]	; a000c9e4 <_Thread_Tickle_timeslice+0x68><== NOT EXECUTED
a000c9c8:	e5903008 	ldr	r3, [r0, #8]                                  <== NOT EXECUTED
a000c9cc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Scheduler_Yield( );                                          
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
a000c9d0:	e59f3010 	ldr	r3, [pc, #16]	; a000c9e8 <_Thread_Tickle_timeslice+0x6c><== NOT EXECUTED
a000c9d4:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a000c9d8:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
a000c9dc:	eafffff2 	b	a000c9ac <_Thread_Tickle_timeslice+0x30>        <== NOT EXECUTED
                                                                      

a000b974 <_Thread_blocking_operation_Cancel>: Thread_blocking_operation_States sync_state __attribute__((unused)), #endif Thread_Control *the_thread, ISR_Level level ) {
a000b974:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If the sync state is timed out, this is very likely not needed. 
   *  But better safe than sorry when it comes to critical sections.  
   */                                                                 
  if ( _Watchdog_Is_active( &the_thread->Timer ) ) {                  
a000b978:	e5913050 	ldr	r3, [r1, #80]	; 0x50                          <== NOT EXECUTED
  Thread_blocking_operation_States  sync_state __attribute__((unused)),
#endif                                                                
  Thread_Control                   *the_thread,                       
  ISR_Level                         level                             
)                                                                     
{                                                                     
a000b97c:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If the sync state is timed out, this is very likely not needed. 
   *  But better safe than sorry when it comes to critical sections.  
   */                                                                 
  if ( _Watchdog_Is_active( &the_thread->Timer ) ) {                  
a000b980:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
  #endif                                                              
                                                                      
  /*                                                                  
   * The thread is not waiting on anything after this completes.      
   */                                                                 
  the_thread->Wait.queue = NULL;                                      
a000b984:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000b988:	e5813044 	str	r3, [r1, #68]	; 0x44                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If the sync state is timed out, this is very likely not needed. 
   *  But better safe than sorry when it comes to critical sections.  
   */                                                                 
  if ( _Watchdog_Is_active( &the_thread->Timer ) ) {                  
a000b98c:	0a000005 	beq	a000b9a8 <_Thread_blocking_operation_Cancel+0x34><== NOT EXECUTED
a000b990:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
a000b994:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000b998:	e59f1028 	ldr	r1, [pc, #40]	; a000b9c8 <_Thread_blocking_operation_Cancel+0x54><== NOT EXECUTED
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
a000b99c:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000b9a0:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
a000b9a4:	ea000066 	b	a000bb44 <_Thread_Clear_state>                  <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
a000b9a8:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
a000b9ac:	e5813050 	str	r3, [r1, #80]	; 0x50                          <== NOT EXECUTED
a000b9b0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
   *  But better safe than sorry when it comes to critical sections.  
   */                                                                 
  if ( _Watchdog_Is_active( &the_thread->Timer ) ) {                  
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
    (void) _Watchdog_Remove( &the_thread->Timer );                    
a000b9b4:	e2810048 	add	r0, r1, #72	; 0x48                            <== NOT EXECUTED
a000b9b8:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
a000b9bc:	eb000553 	bl	a000cf10 <_Watchdog_Remove>                    <== NOT EXECUTED
a000b9c0:	e59d1000 	ldr	r1, [sp]                                      <== NOT EXECUTED
a000b9c4:	eafffff2 	b	a000b994 <_Thread_blocking_operation_Cancel+0x20><== NOT EXECUTED
                                                                      

a000f80c <_Thread_queue_Dequeue_fifo>: */ Thread_Control *_Thread_queue_Dequeue_fifo( Thread_queue_Control *the_thread_queue ) {
a000f80c:	e92d4030 	push	{r4, r5, lr}                                 
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000f810:	e10f2000 	mrs	r2, CPSR                                      
a000f814:	e3823080 	orr	r3, r2, #128	; 0x80                           
a000f818:	e129f003 	msr	CPSR_fc, r3                                   
    return the_thread;                                                
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  return NULL;                                                        
}                                                                     
a000f81c:	e1a03000 	mov	r3, r0                                        
a000f820:	e4934004 	ldr	r4, [r3], #4                                  
{                                                                     
  ISR_Level              level;                                       
  Thread_Control *the_thread;                                         
                                                                      
  _ISR_Disable( level );                                              
  if ( !_Chain_Is_empty( &the_thread_queue->Queues.Fifo ) ) {         
a000f824:	e1540003 	cmp	r4, r3                                        
a000f828:	0a000018 	beq	a000f890 <_Thread_queue_Dequeue_fifo+0x84>    
                                                                      
    the_thread = (Thread_Control *)                                   
       _Chain_Get_first_unprotected( &the_thread_queue->Queues.Fifo );
                                                                      
    the_thread->Wait.queue = NULL;                                    
    if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {               
a000f82c:	e5941050 	ldr	r1, [r4, #80]	; 0x50                          
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
a000f830:	e5943000 	ldr	r3, [r4]                                      
  Thread_Control *the_thread;                                         
                                                                      
  _ISR_Disable( level );                                              
  if ( !_Chain_Is_empty( &the_thread_queue->Queues.Fifo ) ) {         
                                                                      
    the_thread = (Thread_Control *)                                   
a000f834:	e1a05004 	mov	r5, r4                                        
       _Chain_Get_first_unprotected( &the_thread_queue->Queues.Fifo );
                                                                      
    the_thread->Wait.queue = NULL;                                    
    if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {               
a000f838:	e3510002 	cmp	r1, #2                                        
                                                                      
  head->next = new_first;                                             
a000f83c:	e5803000 	str	r3, [r0]                                      
  new_first->previous = head;                                         
a000f840:	e5830004 	str	r0, [r3, #4]                                  
  if ( !_Chain_Is_empty( &the_thread_queue->Queues.Fifo ) ) {         
                                                                      
    the_thread = (Thread_Control *)                                   
       _Chain_Get_first_unprotected( &the_thread_queue->Queues.Fifo );
                                                                      
    the_thread->Wait.queue = NULL;                                    
a000f844:	e3a03000 	mov	r3, #0                                        
a000f848:	e5843044 	str	r3, [r4, #68]	; 0x44                          
    if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {               
a000f84c:	0a000005 	beq	a000f868 <_Thread_queue_Dequeue_fifo+0x5c>    
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000f850:	e129f002 	msr	CPSR_fc, r2                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
a000f854:	e59f1040 	ldr	r1, [pc, #64]	; a000f89c <_Thread_queue_Dequeue_fifo+0x90>
a000f858:	e1a00004 	mov	r0, r4                                        
a000f85c:	ebfff0b8 	bl	a000bb44 <_Thread_Clear_state>                 
    return the_thread;                                                
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  return NULL;                                                        
}                                                                     
a000f860:	e1a00005 	mov	r0, r5                                        
a000f864:	e8bd8030 	pop	{r4, r5, pc}                                  
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
a000f868:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
a000f86c:	e5843050 	str	r3, [r4, #80]	; 0x50                          <== NOT EXECUTED
a000f870:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
      _ISR_Enable( level );                                           
      _Thread_Unblock( the_thread );                                  
    } else {                                                          
      _Watchdog_Deactivate( &the_thread->Timer );                     
      _ISR_Enable( level );                                           
      (void) _Watchdog_Remove( &the_thread->Timer );                  
a000f874:	e2840048 	add	r0, r4, #72	; 0x48                            <== NOT EXECUTED
a000f878:	ebfff5a4 	bl	a000cf10 <_Watchdog_Remove>                    <== NOT EXECUTED
a000f87c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000f880:	e59f1014 	ldr	r1, [pc, #20]	; a000f89c <_Thread_queue_Dequeue_fifo+0x90><== NOT EXECUTED
a000f884:	ebfff0ae 	bl	a000bb44 <_Thread_Clear_state>                 <== NOT EXECUTED
    return the_thread;                                                
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  return NULL;                                                        
}                                                                     
a000f888:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000f88c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
a000f890:	e129f002 	msr	CPSR_fc, r2                                   
                                                                      
    return the_thread;                                                
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  return NULL;                                                        
a000f894:	e3a05000 	mov	r5, #0                                        
a000f898:	eafffff0 	b	a000f860 <_Thread_queue_Dequeue_fifo+0x54>      
                                                                      

a000c25c <_Thread_queue_Dequeue_priority>: */ Thread_Control *_Thread_queue_Dequeue_priority( Thread_queue_Control *the_thread_queue ) {
a000c25c:	e92d4070 	push	{r4, r5, r6, lr}                             
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000c260:	e10f6000 	mrs	r6, CPSR                                      
a000c264:	e3863080 	orr	r3, r6, #128	; 0x80                           
a000c268:	e129f003 	msr	CPSR_fc, r3                                   
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
a000c26c:	e3a02000 	mov	r2, #0                                        
  for( index=0 ;                                                      
a000c270:	e1a03002 	mov	r3, r2                                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
a000c274:	e3a0c00c 	mov	ip, #12                                       
a000c278:	e001039c 	mul	r1, ip, r3                                    
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
a000c27c:	e7904002 	ldr	r4, [r0, r2]                                  
a000c280:	e2811004 	add	r1, r1, #4                                    
a000c284:	e0801001 	add	r1, r0, r1                                    
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
a000c288:	e1540001 	cmp	r4, r1                                        
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
a000c28c:	e2833001 	add	r3, r3, #1                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
a000c290:	1a000006 	bne	a000c2b0 <_Thread_queue_Dequeue_priority+0x54>
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
a000c294:	e3530004 	cmp	r3, #4                                        
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
a000c298:	e282200c 	add	r2, r2, #12                                   
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
a000c29c:	1afffff5 	bne	a000c278 <_Thread_queue_Dequeue_priority+0x1c>
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000c2a0:	e129f006 	msr	CPSR_fc, r6                                   
                                                                      
  /*                                                                  
   * We did not find a thread to unblock.                             
   */                                                                 
  _ISR_Enable( level );                                               
  return NULL;                                                        
a000c2a4:	e3a05000 	mov	r5, #0                                        
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
a000c2a8:	e1a00005 	mov	r0, r5                                        
a000c2ac:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000c2b0:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          
a000c2b4:	e284203c 	add	r2, r4, #60	; 0x3c                            
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
      the_thread = (Thread_Control *) _Chain_First(                   
a000c2b8:	e1a05004 	mov	r5, r4                                        
  new_first_node   = _Chain_First( &the_thread->Wait.Block2n );       
  new_first_thread = (Thread_Control *) new_first_node;               
  next_node        = the_thread->Object.Node.next;                    
  previous_node    = the_thread->Object.Node.previous;                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
a000c2bc:	e1530002 	cmp	r3, r2                                        
   */                                                                 
  _ISR_Enable( level );                                               
  return NULL;                                                        
                                                                      
dequeue:                                                              
  the_thread->Wait.queue = NULL;                                      
a000c2c0:	e3a02000 	mov	r2, #0                                        
a000c2c4:	e5842044 	str	r2, [r4, #68]	; 0x44                          
  new_first_node   = _Chain_First( &the_thread->Wait.Block2n );       
  new_first_thread = (Thread_Control *) new_first_node;               
  next_node        = the_thread->Object.Node.next;                    
  previous_node    = the_thread->Object.Node.previous;                
a000c2c8:	e5941004 	ldr	r1, [r4, #4]                                  
                                                                      
dequeue:                                                              
  the_thread->Wait.queue = NULL;                                      
  new_first_node   = _Chain_First( &the_thread->Wait.Block2n );       
  new_first_thread = (Thread_Control *) new_first_node;               
  next_node        = the_thread->Object.Node.next;                    
a000c2cc:	e5942000 	ldr	r2, [r4]                                      
  previous_node    = the_thread->Object.Node.previous;                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
a000c2d0:	0a000020 	beq	a000c358 <_Thread_queue_Dequeue_priority+0xfc>
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
a000c2d4:	e5940040 	ldr	r0, [r4, #64]	; 0x40                          <== NOT EXECUTED
  next_node        = the_thread->Object.Node.next;                    
  previous_node    = the_thread->Object.Node.previous;                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    last_node       = _Chain_Last( &the_thread->Wait.Block2n );       
    new_second_node = new_first_node->next;                           
a000c2d8:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
a000c2dc:	e5823004 	str	r3, [r2, #4]                                  <== NOT EXECUTED
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    last_node       = _Chain_Last( &the_thread->Wait.Block2n );       
    new_second_node = new_first_node->next;                           
                                                                      
    previous_node->next      = new_first_node;                        
a000c2e0:	e5813000 	str	r3, [r1]                                      <== NOT EXECUTED
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
a000c2e4:	e5831004 	str	r1, [r3, #4]                                  <== NOT EXECUTED
    last_node       = _Chain_Last( &the_thread->Wait.Block2n );       
    new_second_node = new_first_node->next;                           
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
a000c2e8:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
a000c2ec:	e5941038 	ldr	r1, [r4, #56]	; 0x38                          <== NOT EXECUTED
a000c2f0:	e5942040 	ldr	r2, [r4, #64]	; 0x40                          <== NOT EXECUTED
a000c2f4:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a000c2f8:	0a000005 	beq	a000c314 <_Thread_queue_Dequeue_priority+0xb8><== NOT EXECUTED
                                                /* > two threads on 2-n */
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
a000c2fc:	e2831038 	add	r1, r3, #56	; 0x38                            <== NOT EXECUTED
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
a000c300:	e283203c 	add	r2, r3, #60	; 0x3c                            <== NOT EXECUTED
                                                                      
      new_second_node->previous = head;                               
a000c304:	e58c1004 	str	r1, [ip, #4]                                  <== NOT EXECUTED
      head->next = new_second_node;                                   
a000c308:	e583c038 	str	ip, [r3, #56]	; 0x38                          <== NOT EXECUTED
      tail->previous = last_node;                                     
a000c30c:	e5830040 	str	r0, [r3, #64]	; 0x40                          <== NOT EXECUTED
      last_node->next = tail;                                         
a000c310:	e5802000 	str	r2, [r0]                                      <== NOT EXECUTED
  } else {                                                            
    previous_node->next = next_node;                                  
    next_node->previous = previous_node;                              
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
a000c314:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000c318:	e3530002 	cmp	r3, #2                                        
a000c31c:	0a000004 	beq	a000c334 <_Thread_queue_Dequeue_priority+0xd8>
a000c320:	e129f006 	msr	CPSR_fc, r6                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
a000c324:	e59f1038 	ldr	r1, [pc, #56]	; a000c364 <_Thread_queue_Dequeue_priority+0x108>
a000c328:	e1a00004 	mov	r0, r4                                        
a000c32c:	ebfffe04 	bl	a000bb44 <_Thread_Clear_state>                 
a000c330:	eaffffdc 	b	a000c2a8 <_Thread_queue_Dequeue_priority+0x4c>  
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
a000c334:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
a000c338:	e5843050 	str	r3, [r4, #80]	; 0x50                          <== NOT EXECUTED
a000c33c:	e129f006 	msr	CPSR_fc, r6                                   <== NOT EXECUTED
    _ISR_Enable( level );                                             
    _Thread_Unblock( the_thread );                                    
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
    (void) _Watchdog_Remove( &the_thread->Timer );                    
a000c340:	e2840048 	add	r0, r4, #72	; 0x48                            <== NOT EXECUTED
a000c344:	eb0002f1 	bl	a000cf10 <_Watchdog_Remove>                    <== NOT EXECUTED
a000c348:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000c34c:	e59f1010 	ldr	r1, [pc, #16]	; a000c364 <_Thread_queue_Dequeue_priority+0x108><== NOT EXECUTED
a000c350:	ebfffdfb 	bl	a000bb44 <_Thread_Clear_state>                 <== NOT EXECUTED
a000c354:	eaffffd3 	b	a000c2a8 <_Thread_queue_Dequeue_priority+0x4c>  <== NOT EXECUTED
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
      last_node->next = tail;                                         
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
a000c358:	e5812000 	str	r2, [r1]                                      
    next_node->previous = previous_node;                              
a000c35c:	e5821004 	str	r1, [r2, #4]                                  
a000c360:	eaffffeb 	b	a000c314 <_Thread_queue_Dequeue_priority+0xb8>  
                                                                      

a000c414 <_Thread_queue_Enqueue_priority>: Priority_Control priority; States_Control block_state; _Chain_Initialize_empty( &the_thread->Wait.Block2n ); priority = the_thread->current_priority;
a000c414:	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                                       
)                                                                     
{                                                                     
a000c418:	e92d05f0 	push	{r4, r5, r6, r7, r8, sl}                     
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
a000c41c:	e281403c 	add	r4, r1, #60	; 0x3c                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
a000c420:	e281c038 	add	ip, r1, #56	; 0x38                            
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
a000c424:	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 ) )                  
a000c428:	e3130020 	tst	r3, #32                                       
  head->previous = NULL;                                              
a000c42c:	e3a04000 	mov	r4, #0                                        
  tail->previous = head;                                              
a000c430:	e581c040 	str	ip, [r1, #64]	; 0x40                          
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
a000c434:	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);      
a000c438:	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;                             
a000c43c:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
a000c440:	0a00001e 	beq	a000c4c0 <_Thread_queue_Enqueue_priority+0xac>
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
a000c444:	e3a0700c 	mov	r7, #12                                       
a000c448:	e59fa174 	ldr	sl, [pc, #372]	; a000c5c4 <_Thread_queue_Enqueue_priority+0x1b0>
a000c44c:	e027079c 	mla	r7, ip, r7, r0                                
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
a000c450:	e5da4000 	ldrb	r4, [sl]                                     
a000c454:	e2844001 	add	r4, r4, #1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000c458:	e10f8000 	mrs	r8, CPSR                                      
a000c45c:	e388c080 	orr	ip, r8, #128	; 0x80                           
a000c460:	e129f00c 	msr	CPSR_fc, ip                                   
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
a000c464:	e597c008 	ldr	ip, [r7, #8]                                  
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_Last( header );           
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
a000c468:	e15c0007 	cmp	ip, r7                                        
a000c46c:	1a000009 	bne	a000c498 <_Thread_queue_Enqueue_priority+0x84>
a000c470:	ea00000b 	b	a000c4a4 <_Thread_queue_Enqueue_priority+0x90>  
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a000c474:	e10f6000 	mrs	r6, CPSR                                      <== NOT EXECUTED
a000c478:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
a000c47c:	e129f006 	msr	CPSR_fc, r6                                   <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool _States_Are_set (                           
  States_Control the_states,                                          
  States_Control mask                                                 
)                                                                     
{                                                                     
   return ( (the_states & mask) != STATES_READY);                     
a000c480:	e59c6010 	ldr	r6, [ip, #16]                                 <== NOT EXECUTED
    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) ) {
a000c484:	e1150006 	tst	r5, r6                                        <== NOT EXECUTED
a000c488:	0a000033 	beq	a000c55c <_Thread_queue_Enqueue_priority+0x148><== NOT EXECUTED
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
a000c48c:	e59cc004 	ldr	ip, [ip, #4]                                  <== NOT EXECUTED
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_Last( header );           
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
a000c490:	e15c0007 	cmp	ip, r7                                        <== NOT EXECUTED
a000c494:	0a000002 	beq	a000c4a4 <_Thread_queue_Enqueue_priority+0x90><== NOT EXECUTED
    search_priority = search_thread->current_priority;                
a000c498:	e59c4014 	ldr	r4, [ip, #20]                                 
    if ( priority >= search_priority )                                
a000c49c:	e1530004 	cmp	r3, r4                                        
a000c4a0:	3afffff3 	bcc	a000c474 <_Thread_queue_Enqueue_priority+0x60>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a000c4a4:	e5905030 	ldr	r5, [r0, #48]	; 0x30                          
a000c4a8:	e3550001 	cmp	r5, #1                                        
a000c4ac:	0a00002e 	beq	a000c56c <_Thread_queue_Enqueue_priority+0x158>
   *  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;                                                   
a000c4b0:	e5828000 	str	r8, [r2]                                      <== NOT EXECUTED
  return the_thread_queue->sync_state;                                
}                                                                     
a000c4b4:	e1a00005 	mov	r0, r5                                        
a000c4b8:	e8bd05f0 	pop	{r4, r5, r6, r7, r8, sl}                      
a000c4bc:	e12fff1e 	bx	lr                                             
a000c4c0:	e3a0400c 	mov	r4, #12                                       
a000c4c4:	e00c0c94 	mul	ip, r4, ip                                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
a000c4c8:	e28c7004 	add	r7, ip, #4                                    
a000c4cc:	e080a00c 	add	sl, r0, ip                                    
a000c4d0:	e0807007 	add	r7, r0, r7                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000c4d4:	e10f8000 	mrs	r8, CPSR                                      
a000c4d8:	e388c080 	orr	ip, r8, #128	; 0x80                           
a000c4dc:	e129f00c 	msr	CPSR_fc, ip                                   
a000c4e0:	e59ac000 	ldr	ip, [sl]                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_First( header );          
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a000c4e4:	e15c0007 	cmp	ip, r7                                        
a000c4e8:	1a000009 	bne	a000c514 <_Thread_queue_Enqueue_priority+0x100>
a000c4ec:	ea000032 	b	a000c5bc <_Thread_queue_Enqueue_priority+0x1a8> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a000c4f0:	e10f6000 	mrs	r6, CPSR                                      
a000c4f4:	e129f008 	msr	CPSR_fc, r8                                   
a000c4f8:	e129f006 	msr	CPSR_fc, r6                                   
a000c4fc:	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) ) {
a000c500:	e1150006 	tst	r5, r6                                        
a000c504:	0a000016 	beq	a000c564 <_Thread_queue_Enqueue_priority+0x150>
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
a000c508:	e59cc000 	ldr	ip, [ip]                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_First( header );          
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a000c50c:	e15c0007 	cmp	ip, r7                                        
a000c510:	0a000002 	beq	a000c520 <_Thread_queue_Enqueue_priority+0x10c>
    search_priority = search_thread->current_priority;                
a000c514:	e59c4014 	ldr	r4, [ip, #20]                                 
    if ( priority <= search_priority )                                
a000c518:	e1530004 	cmp	r3, r4                                        
a000c51c:	8afffff3 	bhi	a000c4f0 <_Thread_queue_Enqueue_priority+0xdc>
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a000c520:	e5905030 	ldr	r5, [r0, #48]	; 0x30                          
a000c524:	e3550001 	cmp	r5, #1                                        
a000c528:	1affffe0 	bne	a000c4b0 <_Thread_queue_Enqueue_priority+0x9c>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a000c52c:	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;
a000c530:	e3a03000 	mov	r3, #0                                        
a000c534:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a000c538:	0a000016 	beq	a000c598 <_Thread_queue_Enqueue_priority+0x184>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
a000c53c:	e59c3004 	ldr	r3, [ip, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a000c540:	e581c000 	str	ip, [r1]                                      
  the_node->previous     = previous_node;                             
a000c544:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a000c548:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a000c54c:	e58c1004 	str	r1, [ip, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
a000c550:	e5810044 	str	r0, [r1, #68]	; 0x44                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000c554:	e129f008 	msr	CPSR_fc, r8                                   
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a000c558:	eaffffd5 	b	a000c4b4 <_Thread_queue_Enqueue_priority+0xa0>  
a000c55c:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
a000c560:	eaffffba 	b	a000c450 <_Thread_queue_Enqueue_priority+0x3c>  <== NOT EXECUTED
a000c564:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
a000c568:	eaffffd9 	b	a000c4d4 <_Thread_queue_Enqueue_priority+0xc0>  <== NOT EXECUTED
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a000c56c:	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;
a000c570:	e3a03000 	mov	r3, #0                                        
a000c574:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a000c578:	0a000006 	beq	a000c598 <_Thread_queue_Enqueue_priority+0x184>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
a000c57c:	e59c3000 	ldr	r3, [ip]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
a000c580:	e8811008 	stm	r1, {r3, ip}                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
a000c584:	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;                                 
a000c588:	e58c1000 	str	r1, [ip]                                      
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a000c58c:	e5810044 	str	r0, [r1, #68]	; 0x44                          
a000c590:	e129f008 	msr	CPSR_fc, r8                                   
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a000c594:	eaffffc6 	b	a000c4b4 <_Thread_queue_Enqueue_priority+0xa0>  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
a000c598:	e59c3040 	ldr	r3, [ip, #64]	; 0x40                          <== NOT EXECUTED
  the_thread->Wait.queue = the_thread_queue;                          
  _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 );        
a000c59c:	e28c203c 	add	r2, ip, #60	; 0x3c                            <== NOT EXECUTED
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a000c5a0:	e881000c 	stm	r1, {r2, r3}                                  <== NOT EXECUTED
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
a000c5a4:	e5831000 	str	r1, [r3]                                      <== NOT EXECUTED
  search_node->previous  = the_node;                                  
a000c5a8:	e58c1040 	str	r1, [ip, #64]	; 0x40                          <== NOT EXECUTED
  the_thread->Wait.queue = the_thread_queue;                          
a000c5ac:	e5810044 	str	r0, [r1, #68]	; 0x44                          <== NOT EXECUTED
a000c5b0:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a000c5b4:	e3a05001 	mov	r5, #1                                        <== NOT EXECUTED
a000c5b8:	eaffffbd 	b	a000c4b4 <_Thread_queue_Enqueue_priority+0xa0>  <== NOT EXECUTED
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
a000c5bc:	e3e04000 	mvn	r4, #0                                        
a000c5c0:	eaffffd6 	b	a000c520 <_Thread_queue_Enqueue_priority+0x10c> 
                                                                      

a000c368 <_Thread_queue_Enqueue_with_handler>: Thread_queue_Control *, Thread_Control *, ISR_Level * ); the_thread = _Thread_Executing;
a000c368:	e59f3094 	ldr	r3, [pc, #148]	; a000c404 <_Thread_queue_Enqueue_with_handler+0x9c>
void _Thread_queue_Enqueue_with_handler(                              
  Thread_queue_Control         *the_thread_queue,                     
  Watchdog_Interval             timeout,                              
  Thread_queue_Timeout_callout  handler                               
)                                                                     
{                                                                     
a000c36c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
    Thread_queue_Control *,                                           
    Thread_Control *,                                                 
    ISR_Level *                                                       
  );                                                                  
                                                                      
  the_thread = _Thread_Executing;                                     
a000c370:	e5934004 	ldr	r4, [r3, #4]                                  
void _Thread_queue_Enqueue_with_handler(                              
  Thread_queue_Control         *the_thread_queue,                     
  Watchdog_Interval             timeout,                              
  Thread_queue_Timeout_callout  handler                               
)                                                                     
{                                                                     
a000c374:	e1a06001 	mov	r6, r1                                        
a000c378:	e24dd004 	sub	sp, sp, #4                                    
  else                                                                
#endif                                                                
  /*                                                                  
   *  Set the blocking state for this thread queue in the thread.     
   */                                                                 
  _Thread_Set_state( the_thread, the_thread_queue->state );           
a000c37c:	e5901038 	ldr	r1, [r0, #56]	; 0x38                          
void _Thread_queue_Enqueue_with_handler(                              
  Thread_queue_Control         *the_thread_queue,                     
  Watchdog_Interval             timeout,                              
  Thread_queue_Timeout_callout  handler                               
)                                                                     
{                                                                     
a000c380:	e1a05000 	mov	r5, r0                                        
  else                                                                
#endif                                                                
  /*                                                                  
   *  Set the blocking state for this thread queue in the thread.     
   */                                                                 
  _Thread_Set_state( the_thread, the_thread_queue->state );           
a000c384:	e1a00004 	mov	r0, r4                                        
void _Thread_queue_Enqueue_with_handler(                              
  Thread_queue_Control         *the_thread_queue,                     
  Watchdog_Interval             timeout,                              
  Thread_queue_Timeout_callout  handler                               
)                                                                     
{                                                                     
a000c388:	e1a07002 	mov	r7, r2                                        
  else                                                                
#endif                                                                
  /*                                                                  
   *  Set the blocking state for this thread queue in the thread.     
   */                                                                 
  _Thread_Set_state( the_thread, the_thread_queue->state );           
a000c38c:	eb0000f4 	bl	a000c764 <_Thread_Set_state>                   
                                                                      
  /*                                                                  
   *  If the thread wants to timeout, then schedule its timer.        
   */                                                                 
  if ( timeout ) {                                                    
a000c390:	e3560000 	cmp	r6, #0                                        
a000c394:	1a00000f 	bne	a000c3d8 <_Thread_queue_Enqueue_with_handler+0x70>
  }                                                                   
                                                                      
  /*                                                                  
   *  Now enqueue the thread per the discipline for this thread queue.
   */                                                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
a000c398:	e595c034 	ldr	ip, [r5, #52]	; 0x34                          
    enqueue_p = _Thread_queue_Enqueue_priority;                       
a000c39c:	e59f2064 	ldr	r2, [pc, #100]	; a000c408 <_Thread_queue_Enqueue_with_handler+0xa0>
a000c3a0:	e59f3064 	ldr	r3, [pc, #100]	; a000c40c <_Thread_queue_Enqueue_with_handler+0xa4>
a000c3a4:	e35c0001 	cmp	ip, #1                                        
a000c3a8:	01a03002 	moveq	r3, r2                                      
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
    enqueue_p = _Thread_queue_Enqueue_fifo;                           
                                                                      
  sync_state = (*enqueue_p)( the_thread_queue, the_thread, &level );  
a000c3ac:	e1a00005 	mov	r0, r5                                        
a000c3b0:	e1a01004 	mov	r1, r4                                        
a000c3b4:	e1a0200d 	mov	r2, sp                                        
a000c3b8:	e12fff33 	blx	r3                                            
  if ( sync_state != THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )     
a000c3bc:	e3500001 	cmp	r0, #1                                        
a000c3c0:	0a000002 	beq	a000c3d0 <_Thread_queue_Enqueue_with_handler+0x68>
    _Thread_blocking_operation_Cancel( sync_state, the_thread, level );
a000c3c4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000c3c8:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
a000c3cc:	ebfffd68 	bl	a000b974 <_Thread_blocking_operation_Cancel>   <== NOT EXECUTED
}                                                                     
a000c3d0:	e28dd004 	add	sp, sp, #4                                    
a000c3d4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  /*                                                                  
   *  If the thread wants to timeout, then schedule its timer.        
   */                                                                 
  if ( timeout ) {                                                    
    _Watchdog_Initialize(                                             
a000c3d8:	e5942008 	ldr	r2, [r4, #8]                                  
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000c3dc:	e3a03000 	mov	r3, #0                                        
a000c3e0:	e5843050 	str	r3, [r4, #80]	; 0x50                          
  the_watchdog->routine   = routine;                                  
a000c3e4:	e5847064 	str	r7, [r4, #100]	; 0x64                         
  the_watchdog->id        = id;                                       
a000c3e8:	e5842068 	str	r2, [r4, #104]	; 0x68                         
  the_watchdog->user_data = user_data;                                
a000c3ec:	e584306c 	str	r3, [r4, #108]	; 0x6c                         
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a000c3f0:	e5846054 	str	r6, [r4, #84]	; 0x54                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000c3f4:	e59f0014 	ldr	r0, [pc, #20]	; a000c410 <_Thread_queue_Enqueue_with_handler+0xa8>
a000c3f8:	e2841048 	add	r1, r4, #72	; 0x48                            
a000c3fc:	eb000254 	bl	a000cd54 <_Watchdog_Insert>                    
a000c400:	eaffffe4 	b	a000c398 <_Thread_queue_Enqueue_with_handler+0x30>
                                                                      

a00110cc <_Thread_queue_Extract_fifo>: void _Thread_queue_Extract_fifo( Thread_queue_Control *the_thread_queue __attribute__((unused)), Thread_Control *the_thread ) {
a00110cc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
a00110d0:	e24dd004 	sub	sp, sp, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00110d4:	e10f0000 	mrs	r0, CPSR                                      
a00110d8:	e3803080 	orr	r3, r0, #128	; 0x80                           
a00110dc:	e129f003 	msr	CPSR_fc, r3                                   
a00110e0:	e5912010 	ldr	r2, [r1, #16]                                 
a00110e4:	e3a03bef 	mov	r3, #244736	; 0x3bc00                         
a00110e8:	e2833e2e 	add	r3, r3, #736	; 0x2e0                          
a00110ec:	e0023003 	and	r3, r2, r3                                    
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
a00110f0:	e3530000 	cmp	r3, #0                                        
a00110f4:	0a00000d 	beq	a0011130 <_Thread_queue_Extract_fifo+0x64>    
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
a00110f8:	e591c050 	ldr	ip, [r1, #80]	; 0x50                          
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
a00110fc:	e891000c 	ldm	r1, {r2, r3}                                  
a0011100:	e35c0002 	cmp	ip, #2                                        
  next->previous = previous;                                          
a0011104:	e5823004 	str	r3, [r2, #4]                                  
  previous->next = next;                                              
a0011108:	e5832000 	str	r2, [r3]                                      
    return;                                                           
  }                                                                   
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
a001110c:	e3a03000 	mov	r3, #0                                        
a0011110:	e5813044 	str	r3, [r1, #68]	; 0x44                          
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
a0011114:	0a000008 	beq	a001113c <_Thread_queue_Extract_fifo+0x70>    
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0011118:	e129f000 	msr	CPSR_fc, r0                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
a001111c:	e1a00001 	mov	r0, r1                                        
a0011120:	e59f1034 	ldr	r1, [pc, #52]	; a001115c <_Thread_queue_Extract_fifo+0x90>
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
a0011124:	e28dd004 	add	sp, sp, #4                                    
a0011128:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    
a001112c:	eaffea84 	b	a000bb44 <_Thread_Clear_state>                  
a0011130:	e129f000 	msr	CPSR_fc, r0                                   
a0011134:	e28dd004 	add	sp, sp, #4                                    
a0011138:	e8bd8000 	pop	{pc}                                          
a001113c:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
a0011140:	e5813050 	str	r3, [r1, #80]	; 0x50                          <== NOT EXECUTED
a0011144:	e129f000 	msr	CPSR_fc, r0                                   <== 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 );                    
a0011148:	e2810048 	add	r0, r1, #72	; 0x48                            <== NOT EXECUTED
a001114c:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
a0011150:	ebffef6e 	bl	a000cf10 <_Watchdog_Remove>                    <== NOT EXECUTED
a0011154:	e59d1000 	ldr	r1, [sp]                                      <== NOT EXECUTED
a0011158:	eaffffef 	b	a001111c <_Thread_queue_Extract_fifo+0x50>      <== NOT EXECUTED
                                                                      

a000f910 <_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 ) {
a000f910:	e92d4070 	push	{r4, r5, r6, lr}                             
a000f914:	e20220ff 	and	r2, r2, #255	; 0xff                           
a000f918:	e24dd004 	sub	sp, sp, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000f91c:	e10fc000 	mrs	ip, CPSR                                      
a000f920:	e38c3080 	orr	r3, ip, #128	; 0x80                           
a000f924:	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);              
a000f928:	e5910010 	ldr	r0, [r1, #16]                                 
a000f92c:	e3a03bef 	mov	r3, #244736	; 0x3bc00                         
a000f930:	e2833e2e 	add	r3, r3, #736	; 0x2e0                          
a000f934:	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 ) ) {
a000f938:	e3530000 	cmp	r3, #0                                        
a000f93c:	0a000024 	beq	a000f9d4 <_Thread_queue_Extract_priority_helper+0xc4>
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
a000f940:	e5913038 	ldr	r3, [r1, #56]	; 0x38                          
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
a000f944:	e281403c 	add	r4, r1, #60	; 0x3c                            
                                                                      
  /*                                                                  
   *  The thread was actually waiting on a thread queue so let's remove it.
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
a000f948:	e5910000 	ldr	r0, [r1]                                      
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
a000f94c:	e1530004 	cmp	r3, r4                                        
  /*                                                                  
   *  The thread was actually waiting on a thread queue so let's remove it.
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  previous_node = the_node->previous;                                 
a000f950:	e5914004 	ldr	r4, [r1, #4]                                  
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
      last_node->next = tail;                                         
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
a000f954:	05840000 	streq	r0, [r4]                                    
    next_node->previous = previous_node;                              
a000f958:	05804004 	streq	r4, [r0, #4]                                
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
a000f95c:	0a00000e 	beq	a000f99c <_Thread_queue_Extract_priority_helper+0x8c>
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
a000f960:	e5915040 	ldr	r5, [r1, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    new_first_node   = _Chain_First( &the_thread->Wait.Block2n );     
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = _Chain_Last( &the_thread->Wait.Block2n );      
    new_second_node  = new_first_node->next;                          
a000f964:	e5936000 	ldr	r6, [r3]                                      <== NOT EXECUTED
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
a000f968:	e5803004 	str	r3, [r0, #4]                                  <== NOT EXECUTED
    new_first_node   = _Chain_First( &the_thread->Wait.Block2n );     
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = _Chain_Last( &the_thread->Wait.Block2n );      
    new_second_node  = new_first_node->next;                          
                                                                      
    previous_node->next      = new_first_node;                        
a000f96c:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
a000f970:	e8830011 	stm	r3, {r0, r4}                                  <== NOT EXECUTED
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
a000f974:	e5914038 	ldr	r4, [r1, #56]	; 0x38                          <== NOT EXECUTED
a000f978:	e5910040 	ldr	r0, [r1, #64]	; 0x40                          <== NOT EXECUTED
a000f97c:	e1540000 	cmp	r4, r0                                        <== NOT EXECUTED
a000f980:	0a000005 	beq	a000f99c <_Thread_queue_Extract_priority_helper+0x8c><== NOT EXECUTED
                                        /* > two threads on 2-n */    
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
a000f984:	e2834038 	add	r4, r3, #56	; 0x38                            <== NOT EXECUTED
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
a000f988:	e283003c 	add	r0, r3, #60	; 0x3c                            <== NOT EXECUTED
                                                                      
      new_second_node->previous = head;                               
a000f98c:	e5864004 	str	r4, [r6, #4]                                  <== NOT EXECUTED
      head->next = new_second_node;                                   
a000f990:	e5836038 	str	r6, [r3, #56]	; 0x38                          <== NOT EXECUTED
      tail->previous = last_node;                                     
a000f994:	e5835040 	str	r5, [r3, #64]	; 0x40                          <== NOT EXECUTED
      last_node->next = tail;                                         
a000f998:	e5850000 	str	r0, [r5]                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
a000f99c:	e3520000 	cmp	r2, #0                                        
a000f9a0:	1a000008 	bne	a000f9c8 <_Thread_queue_Extract_priority_helper+0xb8>
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
a000f9a4:	e5913050 	ldr	r3, [r1, #80]	; 0x50                          <== NOT EXECUTED
a000f9a8:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a000f9ac:	0a00000a 	beq	a000f9dc <_Thread_queue_Extract_priority_helper+0xcc><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000f9b0:	e129f00c 	msr	CPSR_fc, ip                                   <== NOT EXECUTED
a000f9b4:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000f9b8:	e59f103c 	ldr	r1, [pc, #60]	; a000f9fc <_Thread_queue_Extract_priority_helper+0xec><== NOT EXECUTED
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
a000f9bc:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000f9c0:	e8bd4070 	pop	{r4, r5, r6, lr}                              <== NOT EXECUTED
a000f9c4:	eafff05e 	b	a000bb44 <_Thread_Clear_state>                  <== NOT EXECUTED
a000f9c8:	e129f00c 	msr	CPSR_fc, ip                                   
a000f9cc:	e28dd004 	add	sp, sp, #4                                    
a000f9d0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000f9d4:	e129f00c 	msr	CPSR_fc, ip                                   
a000f9d8:	eafffffb 	b	a000f9cc <_Thread_queue_Extract_priority_helper+0xbc>
a000f9dc:	e3a03003 	mov	r3, #3                                        <== NOT EXECUTED
a000f9e0:	e5813050 	str	r3, [r1, #80]	; 0x50                          <== NOT EXECUTED
a000f9e4:	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 );                    
a000f9e8:	e2810048 	add	r0, r1, #72	; 0x48                            <== NOT EXECUTED
a000f9ec:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
a000f9f0:	ebfff546 	bl	a000cf10 <_Watchdog_Remove>                    <== NOT EXECUTED
a000f9f4:	e59d1000 	ldr	r1, [sp]                                      <== NOT EXECUTED
a000f9f8:	eaffffed 	b	a000f9b4 <_Thread_queue_Extract_priority_helper+0xa4><== NOT EXECUTED
                                                                      

a00212b4 <_Thread_queue_First_priority>: */ Thread_Control *_Thread_queue_First_priority ( Thread_queue_Control *the_thread_queue ) {
a00212b4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a00212b8:	e52d4004 	push	{r4}		; (str r4, [sp, #-4]!)                 <== NOT EXECUTED
  uint32_t   index;                                                   
                                                                      
  for( index=0 ;                                                      
a00212bc:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a00212c0:	e3a0400c 	mov	r4, #12                                       <== NOT EXECUTED
a00212c4:	e00c0294 	mul	ip, r4, r2                                    <== NOT EXECUTED
      return (Thread_Control *) _Chain_First(                         
        &the_thread_queue->Queues.Priority[ index ]                   
      );                                                              
  }                                                                   
  return NULL;                                                        
}                                                                     
a00212c8:	e7901003 	ldr	r1, [r0, r3]                                  <== NOT EXECUTED
a00212cc:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
a00212d0:	e080c00c 	add	ip, r0, ip                                    <== NOT EXECUTED
  uint32_t   index;                                                   
                                                                      
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) )
a00212d4:	e151000c 	cmp	r1, ip                                        <== NOT EXECUTED
{                                                                     
  uint32_t   index;                                                   
                                                                      
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
a00212d8:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) )
a00212dc:	1a000005 	bne	a00212f8 <_Thread_queue_First_priority+0x44>  <== NOT EXECUTED
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  uint32_t   index;                                                   
                                                                      
  for( index=0 ;                                                      
a00212e0:	e3520004 	cmp	r2, #4                                        <== NOT EXECUTED
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
a00212e4:	e283300c 	add	r3, r3, #12                                   <== NOT EXECUTED
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  uint32_t   index;                                                   
                                                                      
  for( index=0 ;                                                      
a00212e8:	1afffff5 	bne	a00212c4 <_Thread_queue_First_priority+0x10>  <== NOT EXECUTED
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) )
      return (Thread_Control *) _Chain_First(                         
        &the_thread_queue->Queues.Priority[ index ]                   
      );                                                              
  }                                                                   
  return NULL;                                                        
a00212ec:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a00212f0:	e8bd0010 	pop	{r4}                                          <== NOT EXECUTED
a00212f4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) )
      return (Thread_Control *) _Chain_First(                         
a00212f8:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00212fc:	eafffffb 	b	a00212f0 <_Thread_queue_First_priority+0x3c>    <== NOT EXECUTED
                                                                      

a000fa00 <_Thread_queue_Process_timeout>: #include <rtems/score/tqdata.h> void _Thread_queue_Process_timeout( Thread_Control *the_thread ) {
a000fa00:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  Thread_queue_Control *the_thread_queue = the_thread->Wait.queue;    
a000fa04:	e5900044 	ldr	r0, [r0, #68]	; 0x44                          <== NOT EXECUTED
   *  If it is not satisfied, then it is "nothing happened" and       
   *  this is the "timeout" transition.  After a request is satisfied,
   *  a timeout is not allowed to occur.                              
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
a000fa08:	e5902030 	ldr	r2, [r0, #48]	; 0x30                          <== NOT EXECUTED
a000fa0c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000fa10:	0a000003 	beq	a000fa24 <_Thread_queue_Process_timeout+0x24> <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
a000fa14:	e59f1034 	ldr	r1, [pc, #52]	; a000fa50 <_Thread_queue_Process_timeout+0x50><== NOT EXECUTED
a000fa18:	e5911004 	ldr	r1, [r1, #4]                                  <== NOT EXECUTED
a000fa1c:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
a000fa20:	0a000003 	beq	a000fa34 <_Thread_queue_Process_timeout+0x34> <== NOT EXECUTED
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
a000fa24:	e590203c 	ldr	r2, [r0, #60]	; 0x3c                          <== NOT EXECUTED
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
a000fa28:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
a000fa2c:	e5832034 	str	r2, [r3, #52]	; 0x34                          <== NOT EXECUTED
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
a000fa30:	eaffffb0 	b	a000f8f8 <_Thread_queue_Extract>                <== NOT EXECUTED
   *  a timeout is not allowed to occur.                              
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
a000fa34:	e3520003 	cmp	r2, #3                                        <== NOT EXECUTED
a000fa38:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
a000fa3c:	e590203c 	ldr	r2, [r0, #60]	; 0x3c                          <== NOT EXECUTED
a000fa40:	e5832034 	str	r2, [r3, #52]	; 0x34                          <== NOT EXECUTED
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
a000fa44:	e3a03002 	mov	r3, #2                                        <== NOT EXECUTED
a000fa48:	e5803030 	str	r3, [r0, #48]	; 0x30                          <== NOT EXECUTED
a000fa4c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000c700 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
a000c700:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a000c704:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000c708:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a000c70c:	ebfffdf7 	bl	a000bef0 <_Thread_Get>                         <== NOT EXECUTED
  switch ( location ) {                                               
a000c710:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000c714:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c718:	1a000004 	bne	a000c730 <_Thread_queue_Timeout+0x30>         <== NOT EXECUTED
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
a000c71c:	eb000cb7 	bl	a000fa00 <_Thread_queue_Process_timeout>       <== NOT EXECUTED
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
a000c720:	e59f3010 	ldr	r3, [pc, #16]	; a000c738 <_Thread_queue_Timeout+0x38><== NOT EXECUTED
a000c724:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a000c728:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a000c72c:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
a000c730:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000c734:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a001a350 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
a001a350:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a001a354:	e24dd028 	sub	sp, sp, #40	; 0x28                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
a001a358:	e28d101c 	add	r1, sp, #28                                   
a001a35c:	e2812004 	add	r2, r1, #4                                    
a001a360:	e28d7010 	add	r7, sp, #16                                   
  head->previous = NULL;                                              
  tail->previous = head;                                              
a001a364:	e58d1024 	str	r1, [sp, #36]	; 0x24                          
a001a368:	e59f91d0 	ldr	r9, [pc, #464]	; a001a540 <_Timer_server_Body+0x1f0>
a001a36c:	e2801008 	add	r1, r0, #8                                    
a001a370:	e59fb1cc 	ldr	fp, [pc, #460]	; a001a544 <_Timer_server_Body+0x1f4>
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
a001a374:	e3a03000 	mov	r3, #0                                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
a001a378:	e287a004 	add	sl, r7, #4                                    
a001a37c:	e58d1008 	str	r1, [sp, #8]                                  
a001a380:	e2801040 	add	r1, r0, #64	; 0x40                            
a001a384:	e1a04000 	mov	r4, r0                                        
a001a388:	e58d201c 	str	r2, [sp, #28]                                 
  head->previous = NULL;                                              
a001a38c:	e58d3020 	str	r3, [sp, #32]                                 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
a001a390:	e58da010 	str	sl, [sp, #16]                                 
  head->previous = NULL;                                              
a001a394:	e58d3014 	str	r3, [sp, #20]                                 
  tail->previous = head;                                              
a001a398:	e58d7018 	str	r7, [sp, #24]                                 
a001a39c:	e2806030 	add	r6, r0, #48	; 0x30                            
a001a3a0:	e2808068 	add	r8, r0, #104	; 0x68                           
a001a3a4:	e58d100c 	str	r1, [sp, #12]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
a001a3a8:	e58d2004 	str	r2, [sp, #4]                                  
  Chain_Control *tmp;                                                 
  /*                                                                  
   *  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;                                    
a001a3ac:	e58da000 	str	sl, [sp]                                      
a001a3b0:	e59da004 	ldr	sl, [sp, #4]                                  
a001a3b4:	e28d201c 	add	r2, sp, #28                                   
a001a3b8:	e5842078 	str	r2, [r4, #120]	; 0x78                         
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
a001a3bc:	e5993000 	ldr	r3, [r9]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
a001a3c0:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a001a3c4:	e1a02007 	mov	r2, r7                                        
a001a3c8:	e1a00006 	mov	r0, r6                                        
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a001a3cc:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a001a3d0:	e0611003 	rsb	r1, r1, r3                                    
a001a3d4:	eb00114c 	bl	a001e90c <_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();
a001a3d8:	e59b5000 	ldr	r5, [fp]                                      
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
a001a3dc:	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 ) {                                   
a001a3e0:	e1550002 	cmp	r5, r2                                        
a001a3e4:	8a00003c 	bhi	a001a4dc <_Timer_server_Body+0x18c>           
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
a001a3e8:	3a000032 	bcc	a001a4b8 <_Timer_server_Body+0x168>           
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a001a3ec:	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 );
a001a3f0:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a001a3f4:	eb0002be 	bl	a001aef4 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a001a3f8:	e2501000 	subs	r1, r0, #0                                   
a001a3fc:	0a00000b 	beq	a001a430 <_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 ) {                 
a001a400:	e5913038 	ldr	r3, [r1, #56]	; 0x38                          <== NOT EXECUTED
a001a404:	e3530001 	cmp	r3, #1                                        <== NOT EXECUTED
a001a408:	0a00002f 	beq	a001a4cc <_Timer_server_Body+0x17c>           <== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
a001a40c:	e3530003 	cmp	r3, #3                                        <== NOT EXECUTED
a001a410:	1afffff6 	bne	a001a3f0 <_Timer_server_Body+0xa0>            <== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
a001a414:	e2811010 	add	r1, r1, #16                                   <== NOT EXECUTED
a001a418:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a001a41c:	eb001165 	bl	a001e9b8 <_Watchdog_Insert>                    <== NOT EXECUTED
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
a001a420:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         <== NOT EXECUTED
a001a424:	eb0002b2 	bl	a001aef4 <_Chain_Get>                          <== NOT EXECUTED
                                                                      
    if ( timer == NULL ) {                                            
a001a428:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
a001a42c:	1afffff3 	bne	a001a400 <_Timer_server_Body+0xb0>            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a001a430:	e10f3000 	mrs	r3, CPSR                                      
a001a434:	e3832080 	orr	r2, r3, #128	; 0x80                           
a001a438:	e129f002 	msr	CPSR_fc, r2                                   
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
      tmp = ts->insert_chain;                                         
a001a43c:	e5942078 	ldr	r2, [r4, #120]	; 0x78                         
      if ( _Chain_Is_empty( insert_chain ) ) {                        
a001a440:	e59d201c 	ldr	r2, [sp, #28]                                 
a001a444:	e152000a 	cmp	r2, sl                                        
        ts->insert_chain = NULL;                                      
a001a448:	05841078 	streq	r1, [r4, #120]	; 0x78                       
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
      tmp = ts->insert_chain;                                         
      if ( _Chain_Is_empty( insert_chain ) ) {                        
a001a44c:	13a01001 	movne	r1, #1                                      
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001a450:	e129f003 	msr	CPSR_fc, r3                                   
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
                                                                      
  while ( do_loop ) {                                                 
a001a454:	e3510000 	cmp	r1, #0                                        
a001a458:	1affffd7 	bne	a001a3bc <_Timer_server_Body+0x6c>            
a001a45c:	e59da000 	ldr	sl, [sp]                                      
  _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 ) ) {                          
a001a460:	e59d3010 	ldr	r3, [sp, #16]                                 
a001a464:	e153000a 	cmp	r3, sl                                        
a001a468:	1a00000a 	bne	a001a498 <_Timer_server_Body+0x148>           
a001a46c:	ea00001f 	b	a001a4f0 <_Timer_server_Body+0x1a0>             
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
a001a470:	e5923000 	ldr	r3, [r2]                                      
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
a001a474:	e5837004 	str	r7, [r3, #4]                                  
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
a001a478:	e58d3010 	str	r3, [sp, #16]                                 
         *  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;                        
a001a47c:	e3a03000 	mov	r3, #0                                        
a001a480:	e5823008 	str	r3, [r2, #8]                                  
a001a484:	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 );    
a001a488:	e592301c 	ldr	r3, [r2, #28]                                 
a001a48c:	e5920020 	ldr	r0, [r2, #32]                                 
a001a490:	e5921024 	ldr	r1, [r2, #36]	; 0x24                          
a001a494:	e12fff33 	blx	r3                                            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a001a498:	e10f1000 	mrs	r1, CPSR                                      
a001a49c:	e3813080 	orr	r3, r1, #128	; 0x80                           
a001a4a0:	e129f003 	msr	CPSR_fc, r3                                   
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
a001a4a4:	e59d2010 	ldr	r2, [sp, #16]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
a001a4a8:	e152000a 	cmp	r2, sl                                        
a001a4ac:	1affffef 	bne	a001a470 <_Timer_server_Body+0x120>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001a4b0:	e129f001 	msr	CPSR_fc, r1                                   
a001a4b4:	eaffffbc 	b	a001a3ac <_Timer_server_Body+0x5c>              
     /*                                                               
      *  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 ); 
a001a4b8:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a001a4bc:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a001a4c0:	e0652002 	rsb	r2, r5, r2                                    <== NOT EXECUTED
a001a4c4:	eb0010df 	bl	a001e848 <_Watchdog_Adjust>                    <== NOT EXECUTED
a001a4c8:	eaffffc7 	b	a001a3ec <_Timer_server_Body+0x9c>              <== NOT EXECUTED
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
a001a4cc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a001a4d0:	e2811010 	add	r1, r1, #16                                   <== NOT EXECUTED
a001a4d4:	eb001137 	bl	a001e9b8 <_Watchdog_Insert>                    <== NOT EXECUTED
a001a4d8:	eaffffc4 	b	a001a3f0 <_Timer_server_Body+0xa0>              <== NOT EXECUTED
    /*                                                                
     *  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 );
a001a4dc:	e0621005 	rsb	r1, r2, r5                                    
a001a4e0:	e1a00008 	mov	r0, r8                                        
a001a4e4:	e1a02007 	mov	r2, r7                                        
a001a4e8:	eb001107 	bl	a001e90c <_Watchdog_Adjust_to_chain>           
a001a4ec:	eaffffbe 	b	a001a3ec <_Timer_server_Body+0x9c>              
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
a001a4f0:	e5c4107c 	strb	r1, [r4, #124]	; 0x7c                        
a001a4f4:	e59f104c 	ldr	r1, [pc, #76]	; a001a548 <_Timer_server_Body+0x1f8>
a001a4f8:	e5913000 	ldr	r3, [r1]                                      
a001a4fc:	e2833001 	add	r3, r3, #1                                    
a001a500:	e5813000 	str	r3, [r1]                                      
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
a001a504:	e3a01008 	mov	r1, #8                                        
a001a508:	e5940000 	ldr	r0, [r4]                                      
a001a50c:	eb000f0e 	bl	a001e14c <_Thread_Set_state>                   
        _Timer_server_Reset_interval_system_watchdog( ts );           
a001a510:	e1a00004 	mov	r0, r4                                        
a001a514:	ebffff61 	bl	a001a2a0 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
a001a518:	e1a00004 	mov	r0, r4                                        
a001a51c:	ebffff75 	bl	a001a2f8 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
a001a520:	eb000cb1 	bl	a001d7ec <_Thread_Enable_dispatch>             
                                                                      
      ts->active = true;                                              
a001a524:	e3a02001 	mov	r2, #1                                        
a001a528:	e5c4207c 	strb	r2, [r4, #124]	; 0x7c                        
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
a001a52c:	e59d0008 	ldr	r0, [sp, #8]                                  
a001a530:	eb00118f 	bl	a001eb74 <_Watchdog_Remove>                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a001a534:	e59d000c 	ldr	r0, [sp, #12]                                 
a001a538:	eb00118d 	bl	a001eb74 <_Watchdog_Remove>                    
a001a53c:	eaffff9a 	b	a001a3ac <_Timer_server_Body+0x5c>              
                                                                      

a001a54c <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) { if ( ts->insert_chain == NULL ) {
a001a54c:	e5902078 	ldr	r2, [r0, #120]	; 0x78                         
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
a001a550:	e92d4030 	push	{r4, r5, lr}                                 
  if ( ts->insert_chain == NULL ) {                                   
a001a554:	e3520000 	cmp	r2, #0                                        
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
a001a558:	e1a04000 	mov	r4, r0                                        
a001a55c:	e1a03001 	mov	r3, r1                                        
  if ( ts->insert_chain == NULL ) {                                   
a001a560:	0a000002 	beq	a001a570 <_Timer_server_Schedule_operation_method+0x24>
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
a001a564:	e5900078 	ldr	r0, [r0, #120]	; 0x78                         <== NOT EXECUTED
  }                                                                   
}                                                                     
a001a568:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
a001a56c:	ea00024d 	b	a001aea8 <_Chain_Append>                        <== NOT EXECUTED
a001a570:	e59f1104 	ldr	r1, [pc, #260]	; a001a67c <_Timer_server_Schedule_operation_method+0x130>
a001a574:	e5910000 	ldr	r0, [r1]                                      
a001a578:	e2800001 	add	r0, r0, #1                                    
a001a57c:	e5810000 	str	r0, [r1]                                      
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
a001a580:	e5931038 	ldr	r1, [r3, #56]	; 0x38                          
a001a584:	e3510001 	cmp	r1, #1                                        
a001a588:	0a000021 	beq	a001a614 <_Timer_server_Schedule_operation_method+0xc8>
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
                                                                      
    if ( !ts->active ) {                                              
      _Timer_server_Reset_interval_system_watchdog( ts );             
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
a001a58c:	e3510003 	cmp	r1, #3                                        
a001a590:	0a000001 	beq	a001a59c <_Timer_server_Schedule_operation_method+0x50>
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  }                                                                   
}                                                                     
a001a594:	e8bd4030 	pop	{r4, r5, lr}                                  
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
a001a598:	ea000c93 	b	a001d7ec <_Thread_Enable_dispatch>              
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a001a59c:	e10fe000 	mrs	lr, CPSR                                      
a001a5a0:	e38e1080 	orr	r1, lr, #128	; 0x80                           
a001a5a4:	e129f001 	msr	CPSR_fc, r1                                   
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
a001a5a8:	e5941068 	ldr	r1, [r4, #104]	; 0x68                         
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
a001a5ac:	e284006c 	add	r0, r4, #108	; 0x6c                           
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
a001a5b0:	e594c074 	ldr	ip, [r4, #116]	; 0x74                         
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
a001a5b4:	e1510000 	cmp	r1, r0                                        
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
a001a5b8:	e59f00c0 	ldr	r0, [pc, #192]	; a001a680 <_Timer_server_Schedule_operation_method+0x134>
a001a5bc:	e5900000 	ldr	r0, [r0]                                      
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
a001a5c0:	0a000008 	beq	a001a5e8 <_Timer_server_Schedule_operation_method+0x9c>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
a001a5c4:	e5915010 	ldr	r5, [r1, #16]                                 <== NOT EXECUTED
      if ( snapshot > last_snapshot ) {                               
a001a5c8:	e150000c 	cmp	r0, ip                                        <== NOT EXECUTED
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
a001a5cc:	9085200c 	addls	r2, r5, ip                                  <== NOT EXECUTED
        delta_interval += delta;                                      
a001a5d0:	90602002 	rsbls	r2, r0, r2                                  <== NOT EXECUTED
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
a001a5d4:	9a000002 	bls	a001a5e4 <_Timer_server_Schedule_operation_method+0x98><== NOT EXECUTED
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
a001a5d8:	e06cc000 	rsb	ip, ip, r0                                    <== NOT EXECUTED
        if (delta_interval > delta) {                                 
a001a5dc:	e155000c 	cmp	r5, ip                                        <== NOT EXECUTED
          delta_interval -= delta;                                    
a001a5e0:	806c2005 	rsbhi	r2, ip, r5                                  <== NOT EXECUTED
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
a001a5e4:	e5812010 	str	r2, [r1, #16]                                 <== NOT EXECUTED
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
a001a5e8:	e5840074 	str	r0, [r4, #116]	; 0x74                         
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001a5ec:	e129f00e 	msr	CPSR_fc, lr                                   
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
a001a5f0:	e2831010 	add	r1, r3, #16                                   
a001a5f4:	e2840068 	add	r0, r4, #104	; 0x68                           
a001a5f8:	eb0010ee 	bl	a001e9b8 <_Watchdog_Insert>                    
                                                                      
    if ( !ts->active ) {                                              
a001a5fc:	e5d4307c 	ldrb	r3, [r4, #124]	; 0x7c                        
a001a600:	e3530000 	cmp	r3, #0                                        
a001a604:	1affffe2 	bne	a001a594 <_Timer_server_Schedule_operation_method+0x48>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
a001a608:	e1a00004 	mov	r0, r4                                        
a001a60c:	ebffff39 	bl	a001a2f8 <_Timer_server_Reset_tod_system_watchdog>
a001a610:	eaffffdf 	b	a001a594 <_Timer_server_Schedule_operation_method+0x48>
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a001a614:	e10f5000 	mrs	r5, CPSR                                      
a001a618:	e3851080 	orr	r1, r5, #128	; 0x80                           
a001a61c:	e129f001 	msr	CPSR_fc, r1                                   
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
a001a620:	e5941030 	ldr	r1, [r4, #48]	; 0x30                          
a001a624:	e2840034 	add	r0, r4, #52	; 0x34                            
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
a001a628:	e1510000 	cmp	r1, r0                                        
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
a001a62c:	e59f0050 	ldr	r0, [pc, #80]	; a001a684 <_Timer_server_Schedule_operation_method+0x138>
a001a630:	e5900000 	ldr	r0, [r0]                                      
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
a001a634:	e594c03c 	ldr	ip, [r4, #60]	; 0x3c                          
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
a001a638:	0a000004 	beq	a001a650 <_Timer_server_Schedule_operation_method+0x104>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
a001a63c:	e591e010 	ldr	lr, [r1, #16]                                 
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
a001a640:	e06cc000 	rsb	ip, ip, r0                                    
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
a001a644:	e15c000e 	cmp	ip, lr                                        
        delta_interval -= delta;                                      
a001a648:	306c200e 	rsbcc	r2, ip, lr                                  
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
a001a64c:	e5812010 	str	r2, [r1, #16]                                 
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
a001a650:	e584003c 	str	r0, [r4, #60]	; 0x3c                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001a654:	e129f005 	msr	CPSR_fc, r5                                   
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
a001a658:	e2831010 	add	r1, r3, #16                                   
a001a65c:	e2840030 	add	r0, r4, #48	; 0x30                            
a001a660:	eb0010d4 	bl	a001e9b8 <_Watchdog_Insert>                    
                                                                      
    if ( !ts->active ) {                                              
a001a664:	e5d4307c 	ldrb	r3, [r4, #124]	; 0x7c                        
a001a668:	e3530000 	cmp	r3, #0                                        
a001a66c:	1affffc8 	bne	a001a594 <_Timer_server_Schedule_operation_method+0x48>
      _Timer_server_Reset_interval_system_watchdog( ts );             
a001a670:	e1a00004 	mov	r0, r4                                        
a001a674:	ebffff09 	bl	a001a2a0 <_Timer_server_Reset_interval_system_watchdog>
a001a678:	eaffffc5 	b	a001a594 <_Timer_server_Schedule_operation_method+0x48>
                                                                      

a000c9ec <_Timespec_Add_to>: uint32_t _Timespec_Add_to( struct timespec *time, const struct timespec *add ) {
a000c9ec:	e1a03000 	mov	r3, r0                                        
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
a000c9f0:	e5902004 	ldr	r2, [r0, #4]                                  
                                                                      
uint32_t _Timespec_Add_to(                                            
  struct timespec       *time,                                        
  const struct timespec *add                                          
)                                                                     
{                                                                     
a000c9f4:	e52d4004 	push	{r4}		; (str r4, [sp, #-4]!)                 
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
a000c9f8:	e8910011 	ldm	r1, {r0, r4}                                  
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
a000c9fc:	e59fc040 	ldr	ip, [pc, #64]	; a000ca44 <_Timespec_Add_to+0x58>
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
a000ca00:	e5931000 	ldr	r1, [r3]                                      
  time->tv_nsec += add->tv_nsec;                                      
a000ca04:	e0844002 	add	r4, r4, r2                                    
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
a000ca08:	e154000c 	cmp	r4, ip                                        
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
a000ca0c:	e0811000 	add	r1, r1, r0                                    
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
a000ca10:	e1a02004 	mov	r2, r4                                        
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
a000ca14:	e8830012 	stm	r3, {r1, r4}                                  
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
a000ca18:	9a000007 	bls	a000ca3c <_Timespec_Add_to+0x50>              
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
a000ca1c:	e2822331 	add	r2, r2, #-1006632960	; 0xc4000000             <== NOT EXECUTED
a000ca20:	e2822865 	add	r2, r2, #6619136	; 0x650000                   <== NOT EXECUTED
a000ca24:	e2822c36 	add	r2, r2, #13824	; 0x3600                       <== NOT EXECUTED
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
a000ca28:	e152000c 	cmp	r2, ip                                        <== NOT EXECUTED
 *                                                                    
 *  This routines adds two timespecs.  The second argument is added   
 *  to the first.                                                     
 */                                                                   
                                                                      
uint32_t _Timespec_Add_to(                                            
a000ca2c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
    time->tv_sec++;                                                   
    seconds++;                                                        
a000ca30:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
a000ca34:	8afffff8 	bhi	a000ca1c <_Timespec_Add_to+0x30>              <== NOT EXECUTED
a000ca38:	e8830006 	stm	r3, {r1, r2}                                  <== NOT EXECUTED
    time->tv_sec++;                                                   
    seconds++;                                                        
  }                                                                   
                                                                      
  return seconds;                                                     
}                                                                     
a000ca3c:	e8bd0010 	pop	{r4}                                          
a000ca40:	e12fff1e 	bx	lr                                             
                                                                      

a000e694 <_Timespec_Divide>: const struct timespec *lhs, const struct timespec *rhs, uint32_t *ival_percentage, uint32_t *fval_percentage ) {
a000e694:	e92d4bf0 	push	{r4, r5, r6, r7, r8, r9, fp, lr}             
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  right += rhs->tv_nsec;                                              
a000e698:	e5916004 	ldr	r6, [r1, #4]                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
a000e69c:	e591c000 	ldr	ip, [r1]                                      
a000e6a0:	e59f1084 	ldr	r1, [pc, #132]	; a000e72c <_Timespec_Divide+0x98>
  right += rhs->tv_nsec;                                              
a000e6a4:	e1a07fc6 	asr	r7, r6, #31                                   
  const struct timespec *lhs,                                         
  const struct timespec *rhs,                                         
  uint32_t              *ival_percentage,                             
  uint32_t              *fval_percentage                              
)                                                                     
{                                                                     
a000e6a8:	e1a05002 	mov	r5, r2                                        
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  right += rhs->tv_nsec;                                              
a000e6ac:	e0e76c91 	smlal	r6, r7, r1, ip                              
  const struct timespec *lhs,                                         
  const struct timespec *rhs,                                         
  uint32_t              *ival_percentage,                             
  uint32_t              *fval_percentage                              
)                                                                     
{                                                                     
a000e6b0:	e1a04003 	mov	r4, r3                                        
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  right += rhs->tv_nsec;                                              
                                                                      
  if ( right == 0 ) {                                                 
a000e6b4:	e1962007 	orrs	r2, r6, r7                                   
                                                                      
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
a000e6b8:	e8900808 	ldm	r0, {r3, fp}                                  
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  right += rhs->tv_nsec;                                              
                                                                      
  if ( right == 0 ) {                                                 
a000e6bc:	0a000017 	beq	a000e720 <_Timespec_Divide+0x8c>              
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
a000e6c0:	e1a0cfcb 	asr	ip, fp, #31                                   <== NOT EXECUTED
a000e6c4:	e0ecb391 	smlal	fp, ip, r1, r3                              <== NOT EXECUTED
   *  Put it back in the timespec result.                             
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (left * 100000) / right;                                   
a000e6c8:	e3a01b61 	mov	r1, #99328	; 0x18400                          <== NOT EXECUTED
a000e6cc:	e2811e2a 	add	r1, r1, #672	; 0x2a0                          <== NOT EXECUTED
a000e6d0:	e089819b 	umull	r8, r9, fp, r1                              <== NOT EXECUTED
a000e6d4:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a000e6d8:	e0299c91 	mla	r9, r1, ip, r9                                <== NOT EXECUTED
a000e6dc:	e1a03007 	mov	r3, r7                                        <== NOT EXECUTED
a000e6e0:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000e6e4:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a000e6e8:	eb003bcf 	bl	a001d62c <__udivdi3>                           <== NOT EXECUTED
                                                                      
  *ival_percentage = answer / 1000;                                   
a000e6ec:	e3a02ffa 	mov	r2, #1000	; 0x3e8                             <== NOT EXECUTED
a000e6f0:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
   *  Put it back in the timespec result.                             
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (left * 100000) / right;                                   
a000e6f4:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a000e6f8:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
                                                                      
  *ival_percentage = answer / 1000;                                   
a000e6fc:	eb003bca 	bl	a001d62c <__udivdi3>                           <== NOT EXECUTED
  *fval_percentage = answer % 1000;                                   
a000e700:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (left * 100000) / right;                                   
                                                                      
  *ival_percentage = answer / 1000;                                   
a000e704:	e5850000 	str	r0, [r5]                                      <== NOT EXECUTED
  *fval_percentage = answer % 1000;                                   
a000e708:	e3a02ffa 	mov	r2, #1000	; 0x3e8                             <== NOT EXECUTED
a000e70c:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000e710:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000e714:	eb003cd6 	bl	a001da74 <__umoddi3>                           <== NOT EXECUTED
a000e718:	e5840000 	str	r0, [r4]                                      <== NOT EXECUTED
a000e71c:	e8bd8bf0 	pop	{r4, r5, r6, r7, r8, r9, fp, pc}              <== NOT EXECUTED
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  right += rhs->tv_nsec;                                              
                                                                      
  if ( right == 0 ) {                                                 
    *ival_percentage = 0;                                             
a000e720:	e5852000 	str	r2, [r5]                                      
    *fval_percentage = 0;                                             
a000e724:	e5842000 	str	r2, [r4]                                      
    return;                                                           
a000e728:	e8bd8bf0 	pop	{r4, r5, r6, r7, r8, r9, fp, pc}              
                                                                      

a000e6c4 <_Timespec_Divide_by_integer>: /* * For math simplicity just convert the timespec to nanoseconds * in a 64-bit integer. */ t = time->tv_sec;
a000e6c4:	e590c000 	ldr	ip, [r0]                                      <== NOT EXECUTED
  t *= TOD_NANOSECONDS_PER_SECOND;                                    
a000e6c8:	e59f3068 	ldr	r3, [pc, #104]	; a000e738 <_Timespec_Divide_by_integer+0x74><== NOT EXECUTED
void _Timespec_Divide_by_integer(                                     
  const struct timespec *time,                                        
  uint32_t               iterations,                                  
  struct timespec       *result                                       
)                                                                     
{                                                                     
a000e6cc:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  t  = time->tv_sec;                                                  
  t *= TOD_NANOSECONDS_PER_SECOND;                                    
a000e6d0:	e086539c 	umull	r5, r6, ip, r3                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  t  = time->tv_sec;                                                  
a000e6d4:	e1a0700c 	mov	r7, ip                                        <== NOT EXECUTED
a000e6d8:	e1a08fc7 	asr	r8, r7, #31                                   <== NOT EXECUTED
  t *= TOD_NANOSECONDS_PER_SECOND;                                    
  t += time->tv_nsec;                                                 
a000e6dc:	e5900004 	ldr	r0, [r0, #4]                                  <== NOT EXECUTED
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  t  = time->tv_sec;                                                  
  t *= TOD_NANOSECONDS_PER_SECOND;                                    
a000e6e0:	e0266893 	mla	r6, r3, r8, r6                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Divide to get nanoseconds per iteration                         
   */                                                                 
                                                                      
  t /= iterations;                                                    
a000e6e4:	e0957000 	adds	r7, r5, r0                                   <== NOT EXECUTED
a000e6e8:	e0a68fc0 	adc	r8, r6, r0, asr #31                           <== NOT EXECUTED
void _Timespec_Divide_by_integer(                                     
  const struct timespec *time,                                        
  uint32_t               iterations,                                  
  struct timespec       *result                                       
)                                                                     
{                                                                     
a000e6ec:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Divide to get nanoseconds per iteration                         
   */                                                                 
                                                                      
  t /= iterations;                                                    
a000e6f0:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000e6f4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000e6f8:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000e6fc:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a000e700:	eb003a07 	bl	a001cf24 <__udivdi3>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Put it back in the timespec result                              
   */                                                                 
                                                                      
  result->tv_sec  = t / TOD_NANOSECONDS_PER_SECOND;                   
a000e704:	e59f202c 	ldr	r2, [pc, #44]	; a000e738 <_Timespec_Divide_by_integer+0x74><== NOT EXECUTED
a000e708:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Divide to get nanoseconds per iteration                         
   */                                                                 
                                                                      
  t /= iterations;                                                    
a000e70c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a000e710:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Put it back in the timespec result                              
   */                                                                 
                                                                      
  result->tv_sec  = t / TOD_NANOSECONDS_PER_SECOND;                   
a000e714:	eb003a02 	bl	a001cf24 <__udivdi3>                           <== NOT EXECUTED
  result->tv_nsec = t % TOD_NANOSECONDS_PER_SECOND;                   
a000e718:	e59f2018 	ldr	r2, [pc, #24]	; a000e738 <_Timespec_Divide_by_integer+0x74><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Put it back in the timespec result                              
   */                                                                 
                                                                      
  result->tv_sec  = t / TOD_NANOSECONDS_PER_SECOND;                   
a000e71c:	e5840000 	str	r0, [r4]                                      <== NOT EXECUTED
  result->tv_nsec = t % TOD_NANOSECONDS_PER_SECOND;                   
a000e720:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000e724:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a000e728:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000e72c:	eb003b0e 	bl	a001d36c <__umoddi3>                           <== NOT EXECUTED
a000e730:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
}                                                                     
a000e734:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a000da60 <_Timespec_From_ticks>: struct timespec *time ) { uint32_t usecs; usecs = ticks * rtems_configuration_get_microseconds_per_tick();
a000da60:	e59f2034 	ldr	r2, [pc, #52]	; a000da9c <_Timespec_From_ticks+0x3c><== NOT EXECUTED
                                                                      
  time->tv_sec  = usecs / TOD_MICROSECONDS_PER_SECOND;                
  time->tv_nsec = (usecs % TOD_MICROSECONDS_PER_SECOND) *             
a000da64:	e3a0393d 	mov	r3, #999424	; 0xf4000                         <== NOT EXECUTED
a000da68:	e2833d09 	add	r3, r3, #576	; 0x240                          <== NOT EXECUTED
  struct timespec *time                                               
)                                                                     
{                                                                     
  uint32_t    usecs;                                                  
                                                                      
  usecs = ticks * rtems_configuration_get_microseconds_per_tick();    
a000da6c:	e592200c 	ldr	r2, [r2, #12]                                 <== NOT EXECUTED
a000da70:	e0020290 	mul	r2, r0, r2                                    <== NOT EXECUTED
                                                                      
  time->tv_sec  = usecs / TOD_MICROSECONDS_PER_SECOND;                
a000da74:	e59f0024 	ldr	r0, [pc, #36]	; a000daa0 <_Timespec_From_ticks+0x40><== NOT EXECUTED
a000da78:	e080c092 	umull	ip, r0, r2, r0                              <== NOT EXECUTED
a000da7c:	e1a00920 	lsr	r0, r0, #18                                   <== NOT EXECUTED
  time->tv_nsec = (usecs % TOD_MICROSECONDS_PER_SECOND) *             
a000da80:	e0030390 	mul	r3, r0, r3                                    <== NOT EXECUTED
{                                                                     
  uint32_t    usecs;                                                  
                                                                      
  usecs = ticks * rtems_configuration_get_microseconds_per_tick();    
                                                                      
  time->tv_sec  = usecs / TOD_MICROSECONDS_PER_SECOND;                
a000da84:	e5810000 	str	r0, [r1]                                      <== NOT EXECUTED
  time->tv_nsec = (usecs % TOD_MICROSECONDS_PER_SECOND) *             
a000da88:	e0632002 	rsb	r2, r3, r2                                    <== NOT EXECUTED
a000da8c:	e3a03ffa 	mov	r3, #1000	; 0x3e8                             <== NOT EXECUTED
a000da90:	e0020293 	mul	r2, r3, r2                                    <== NOT EXECUTED
a000da94:	e5812004 	str	r2, [r1, #4]                                  <== NOT EXECUTED
                    TOD_NANOSECONDS_PER_MICROSECOND;                  
}                                                                     
a000da98:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000e73c <_Timespec_Greater_than>: bool _Timespec_Greater_than( const struct timespec *lhs, const struct timespec *rhs ) { if ( lhs->tv_sec > rhs->tv_sec )
a000e73c:	e5902000 	ldr	r2, [r0]                                      
a000e740:	e5913000 	ldr	r3, [r1]                                      
a000e744:	e1520003 	cmp	r2, r3                                        
    return true;                                                      
a000e748:	c3a00001 	movgt	r0, #1                                      
bool _Timespec_Greater_than(                                          
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
a000e74c:	c12fff1e 	bxgt	lr                                           
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
a000e750:	ba000005 	blt	a000e76c <_Timespec_Greater_than+0x30>        
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Greater_than(                                          
a000e754:	e5900004 	ldr	r0, [r0, #4]                                  
a000e758:	e5913004 	ldr	r3, [r1, #4]                                  
a000e75c:	e1500003 	cmp	r0, r3                                        
a000e760:	d3a00000 	movle	r0, #0                                      
a000e764:	c3a00001 	movgt	r0, #1                                      
a000e768:	e12fff1e 	bx	lr                                             
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
    return false;                                                     
a000e76c:	e3a00000 	mov	r0, #0                                        
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec > rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
a000e770:	e12fff1e 	bx	lr                                             
                                                                      

a000daa4 <_Timespec_Is_valid>: bool _Timespec_Is_valid( const struct timespec *time ) { if ( !time )
a000daa4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000daa8:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    return false;                                                     
                                                                      
  if ( time->tv_sec < 0 )                                             
a000daac:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a000dab0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return false;                                                     
a000dab4:	b3a00000 	movlt	r0, #0                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  if ( !time )                                                        
    return false;                                                     
                                                                      
  if ( time->tv_sec < 0 )                                             
a000dab8:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
    return false;                                                     
                                                                      
  if ( time->tv_nsec < 0 )                                            
a000dabc:	e5903004 	ldr	r3, [r0, #4]                                  <== NOT EXECUTED
a000dac0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000dac4:	ba000004 	blt	a000dadc <_Timespec_Is_valid+0x38>            <== NOT EXECUTED
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Is_valid(                                              
a000dac8:	e59f0014 	ldr	r0, [pc, #20]	; a000dae4 <_Timespec_Is_valid+0x40><== NOT EXECUTED
a000dacc:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
a000dad0:	83a00000 	movhi	r0, #0                                      <== NOT EXECUTED
a000dad4:	93a00001 	movls	r0, #1                                      <== NOT EXECUTED
a000dad8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
  if ( time->tv_sec < 0 )                                             
    return false;                                                     
                                                                      
  if ( time->tv_nsec < 0 )                                            
    return false;                                                     
a000dadc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
                                                                      
  if ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND )                  
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
a000dae0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000e774 <_Timespec_Less_than>: bool _Timespec_Less_than( const struct timespec *lhs, const struct timespec *rhs ) { if ( lhs->tv_sec < rhs->tv_sec )
a000e774:	e5902000 	ldr	r2, [r0]                                      
a000e778:	e5913000 	ldr	r3, [r1]                                      
a000e77c:	e1520003 	cmp	r2, r3                                        
    return true;                                                      
a000e780:	b3a00001 	movlt	r0, #1                                      
bool _Timespec_Less_than(                                             
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec < rhs->tv_sec )                                    
a000e784:	b12fff1e 	bxlt	lr                                           
    return true;                                                      
                                                                      
  if ( lhs->tv_sec > rhs->tv_sec )                                    
a000e788:	ca000005 	bgt	a000e7a4 <_Timespec_Less_than+0x30>           
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Less_than(                                             
a000e78c:	e5900004 	ldr	r0, [r0, #4]                                  
a000e790:	e5913004 	ldr	r3, [r1, #4]                                  
a000e794:	e1500003 	cmp	r0, r3                                        
a000e798:	a3a00000 	movge	r0, #0                                      
a000e79c:	b3a00001 	movlt	r0, #1                                      
a000e7a0:	e12fff1e 	bx	lr                                             
{                                                                     
  if ( lhs->tv_sec < rhs->tv_sec )                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return false;                                                     
a000e7a4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec < rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
a000e7a8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000ca48 <_Timespec_Subtract>: const struct timespec *end, struct timespec *result ) { if (end->tv_nsec < start->tv_nsec) {
a000ca48:	e591c004 	ldr	ip, [r1, #4]                                  
a000ca4c:	e5903004 	ldr	r3, [r0, #4]                                  
void _Timespec_Subtract(                                              
  const struct timespec *start,                                       
  const struct timespec *end,                                         
  struct timespec       *result                                       
)                                                                     
{                                                                     
a000ca50:	e52d4004 	push	{r4}		; (str r4, [sp, #-4]!)                 
                                                                      
  if (end->tv_nsec < start->tv_nsec) {                                
a000ca54:	e15c0003 	cmp	ip, r3                                        
a000ca58:	ba000007 	blt	a000ca7c <_Timespec_Subtract+0x34>            
    result->tv_sec  = end->tv_sec - start->tv_sec - 1;                
    result->tv_nsec =                                                 
      (TOD_NANOSECONDS_PER_SECOND - start->tv_nsec) + end->tv_nsec;   
  } else {                                                            
    result->tv_sec  = end->tv_sec - start->tv_sec;                    
a000ca5c:	e5914000 	ldr	r4, [r1]                                      
a000ca60:	e5901000 	ldr	r1, [r0]                                      
    result->tv_nsec = end->tv_nsec - start->tv_nsec;                  
a000ca64:	e063300c 	rsb	r3, r3, ip                                    
a000ca68:	e5823004 	str	r3, [r2, #4]                                  
  if (end->tv_nsec < start->tv_nsec) {                                
    result->tv_sec  = end->tv_sec - start->tv_sec - 1;                
    result->tv_nsec =                                                 
      (TOD_NANOSECONDS_PER_SECOND - start->tv_nsec) + end->tv_nsec;   
  } else {                                                            
    result->tv_sec  = end->tv_sec - start->tv_sec;                    
a000ca6c:	e0613004 	rsb	r3, r1, r4                                    
a000ca70:	e5823000 	str	r3, [r2]                                      
    result->tv_nsec = end->tv_nsec - start->tv_nsec;                  
  }                                                                   
}                                                                     
a000ca74:	e8bd0010 	pop	{r4}                                          
a000ca78:	e12fff1e 	bx	lr                                             
  struct timespec       *result                                       
)                                                                     
{                                                                     
                                                                      
  if (end->tv_nsec < start->tv_nsec) {                                
    result->tv_sec  = end->tv_sec - start->tv_sec - 1;                
a000ca7c:	e5911000 	ldr	r1, [r1]                                      <== NOT EXECUTED
a000ca80:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
    result->tv_nsec =                                                 
      (TOD_NANOSECONDS_PER_SECOND - start->tv_nsec) + end->tv_nsec;   
a000ca84:	e28cc5ee 	add	ip, ip, #998244352	; 0x3b800000               <== NOT EXECUTED
a000ca88:	e28cc96b 	add	ip, ip, #1753088	; 0x1ac000                   <== NOT EXECUTED
  struct timespec       *result                                       
)                                                                     
{                                                                     
                                                                      
  if (end->tv_nsec < start->tv_nsec) {                                
    result->tv_sec  = end->tv_sec - start->tv_sec - 1;                
a000ca8c:	e2411001 	sub	r1, r1, #1                                    <== NOT EXECUTED
    result->tv_nsec =                                                 
      (TOD_NANOSECONDS_PER_SECOND - start->tv_nsec) + end->tv_nsec;   
a000ca90:	e28ccc0a 	add	ip, ip, #2560	; 0xa00                         <== NOT EXECUTED
  struct timespec       *result                                       
)                                                                     
{                                                                     
                                                                      
  if (end->tv_nsec < start->tv_nsec) {                                
    result->tv_sec  = end->tv_sec - start->tv_sec - 1;                
a000ca94:	e0601001 	rsb	r1, r0, r1                                    <== NOT EXECUTED
    result->tv_nsec =                                                 
      (TOD_NANOSECONDS_PER_SECOND - start->tv_nsec) + end->tv_nsec;   
a000ca98:	e063300c 	rsb	r3, r3, ip                                    <== NOT EXECUTED
  struct timespec       *result                                       
)                                                                     
{                                                                     
                                                                      
  if (end->tv_nsec < start->tv_nsec) {                                
    result->tv_sec  = end->tv_sec - start->tv_sec - 1;                
a000ca9c:	e882000a 	stm	r2, {r1, r3}                                  <== NOT EXECUTED
a000caa0:	eafffff3 	b	a000ca74 <_Timespec_Subtract+0x2c>              <== NOT EXECUTED
                                                                      

a000db44 <_Timespec_To_ticks>: */ uint32_t _Timespec_To_ticks( const struct timespec *time ) {
a000db44:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  uint32_t  ticks;                                                    
                                                                      
  if ( (time->tv_sec == 0) && (time->tv_nsec == 0) )                  
a000db48:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
 */                                                                   
                                                                      
uint32_t _Timespec_To_ticks(                                          
  const struct timespec *time                                         
)                                                                     
{                                                                     
a000db4c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  uint32_t  ticks;                                                    
                                                                      
  if ( (time->tv_sec == 0) && (time->tv_nsec == 0) )                  
a000db50:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a000db54:	1a000002 	bne	a000db64 <_Timespec_To_ticks+0x20>            <== NOT EXECUTED
a000db58:	e5900004 	ldr	r0, [r0, #4]                                  <== NOT EXECUTED
a000db5c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000db60:	0a000009 	beq	a000db8c <_Timespec_To_ticks+0x48>            <== NOT EXECUTED
    return 0;                                                         
                                                                      
  ticks  = time->tv_sec * TOD_TICKS_PER_SECOND;                       
a000db64:	eb000a34 	bl	a001043c <TOD_TICKS_PER_SECOND_method>         <== NOT EXECUTED
                                                                      
  ticks += time->tv_nsec / rtems_configuration_get_nanoseconds_per_tick();
a000db68:	e59f3020 	ldr	r3, [pc, #32]	; a000db90 <_Timespec_To_ticks+0x4c><== NOT EXECUTED
a000db6c:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
  uint32_t  ticks;                                                    
                                                                      
  if ( (time->tv_sec == 0) && (time->tv_nsec == 0) )                  
    return 0;                                                         
                                                                      
  ticks  = time->tv_sec * TOD_TICKS_PER_SECOND;                       
a000db70:	e0040490 	mul	r4, r0, r4                                    <== NOT EXECUTED
                                                                      
  ticks += time->tv_nsec / rtems_configuration_get_nanoseconds_per_tick();
a000db74:	e593300c 	ldr	r3, [r3, #12]                                 <== NOT EXECUTED
a000db78:	e5950004 	ldr	r0, [r5, #4]                                  <== NOT EXECUTED
a000db7c:	e0010193 	mul	r1, r3, r1                                    <== NOT EXECUTED
a000db80:	eb003b26 	bl	a001c820 <__aeabi_uidiv>                       <== NOT EXECUTED
                                                                      
  if (ticks)                                                          
a000db84:	e0940000 	adds	r0, r4, r0                                   <== NOT EXECUTED
    return ticks;                                                     
                                                                      
  return 1;                                                           
a000db88:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
}                                                                     
a000db8c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000cbcc <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
a000cbcc:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
a000cbd0:	e59f5040 	ldr	r5, [pc, #64]	; a000cc18 <_User_extensions_Fatal+0x4c>
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
a000cbd4:	e1a08000 	mov	r8, r0                                        
a000cbd8:	e1a07002 	mov	r7, r2                                        
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
a000cbdc:	e5954008 	ldr	r4, [r5, #8]                                  
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
a000cbe0:	e20160ff 	and	r6, r1, #255	; 0xff                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
a000cbe4:	e1540005 	cmp	r4, r5                                        
a000cbe8:	0a000009 	beq	a000cc14 <_User_extensions_Fatal+0x48>        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
a000cbec:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
a000cbf0:	e1a00008 	mov	r0, r8                                        
a000cbf4:	e1a01006 	mov	r1, r6                                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
a000cbf8:	e3530000 	cmp	r3, #0                                        
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
a000cbfc:	e1a02007 	mov	r2, r7                                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
a000cc00:	0a000000 	beq	a000cc08 <_User_extensions_Fatal+0x3c>        
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
a000cc04:	e12fff33 	blx	r3                                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
a000cc08:	e5944004 	ldr	r4, [r4, #4]                                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
a000cc0c:	e1540005 	cmp	r4, r5                                        
a000cc10:	1afffff5 	bne	a000cbec <_User_extensions_Fatal+0x20>        
a000cc14:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a000e3d8 <_User_extensions_Remove_set>: #include <rtems/score/userext.h> void _User_extensions_Remove_set ( User_extensions_Control *the_extension ) {
a000e3d8:	e92d4010 	push	{r4, lr}                                     
a000e3dc:	e1a04000 	mov	r4, r0                                        
  _Chain_Extract( &the_extension->Node );                             
a000e3e0:	ebfff60a 	bl	a000bc10 <_Chain_Extract>                      
                                                                      
  /*                                                                  
   * If a switch handler is present, remove it.                       
   */                                                                 
                                                                      
  if ( the_extension->Callouts.thread_switch != NULL )                
a000e3e4:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
a000e3e8:	e3530000 	cmp	r3, #0                                        
a000e3ec:	0a000002 	beq	a000e3fc <_User_extensions_Remove_set+0x24>   
    _Chain_Extract( &the_extension->Switch.Node );                    
a000e3f0:	e2840008 	add	r0, r4, #8                                    <== NOT EXECUTED
}                                                                     
a000e3f4:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
  /*                                                                  
   * If a switch handler is present, remove it.                       
   */                                                                 
                                                                      
  if ( the_extension->Callouts.thread_switch != NULL )                
    _Chain_Extract( &the_extension->Switch.Node );                    
a000e3f8:	eafff604 	b	a000bc10 <_Chain_Extract>                       <== NOT EXECUTED
a000e3fc:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a000cc1c <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
a000cc1c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a000cc20:	e59f504c 	ldr	r5, [pc, #76]	; a000cc74 <_User_extensions_Thread_create+0x58>
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a000cc24:	e1a06000 	mov	r6, r0                                        
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a000cc28:	e4954004 	ldr	r4, [r5], #4                                  
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
a000cc2c:	e1540005 	cmp	r4, r5                                        
a000cc30:	0a00000d 	beq	a000cc6c <_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)(              
a000cc34:	e59f703c 	ldr	r7, [pc, #60]	; a000cc78 <_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 ) {            
a000cc38:	e5943014 	ldr	r3, [r4, #20]                                 
      status = (*the_extension->Callouts.thread_create)(              
a000cc3c:	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 ) {            
a000cc40:	e3530000 	cmp	r3, #0                                        
a000cc44:	0a000003 	beq	a000cc58 <_User_extensions_Thread_create+0x3c>
      status = (*the_extension->Callouts.thread_create)(              
a000cc48:	e5970004 	ldr	r0, [r7, #4]                                  
a000cc4c:	e12fff33 	blx	r3                                            
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
a000cc50:	e3500000 	cmp	r0, #0                                        
a000cc54:	0a000005 	beq	a000cc70 <_User_extensions_Thread_create+0x54>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
a000cc58:	e5944000 	ldr	r4, [r4]                                      
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
a000cc5c:	e1540005 	cmp	r4, r5                                        
a000cc60:	1afffff4 	bne	a000cc38 <_User_extensions_Thread_create+0x1c>
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
a000cc64:	e3a00001 	mov	r0, #1                                        
a000cc68:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
a000cc6c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
}                                                                     
a000cc70:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a000cb8c <_User_extensions_Thread_exitted>: } void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
a000cb8c:	e92d4070 	push	{r4, r5, r6, lr}                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
a000cb90:	e59f5030 	ldr	r5, [pc, #48]	; a000cbc8 <_User_extensions_Thread_exitted+0x3c>
}                                                                     
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
a000cb94:	e1a06000 	mov	r6, r0                                        
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
a000cb98:	e5954008 	ldr	r4, [r5, #8]                                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
a000cb9c:	e1540005 	cmp	r4, r5                                        
a000cba0:	0a000007 	beq	a000cbc4 <_User_extensions_Thread_exitted+0x38>
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
a000cba4:	e594302c 	ldr	r3, [r4, #44]	; 0x2c                          
      (*the_extension->Callouts.thread_exitted)( executing );         
a000cba8:	e1a00006 	mov	r0, r6                                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
a000cbac:	e3530000 	cmp	r3, #0                                        
a000cbb0:	0a000000 	beq	a000cbb8 <_User_extensions_Thread_exitted+0x2c>
      (*the_extension->Callouts.thread_exitted)( executing );         
a000cbb4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
a000cbb8:	e5944004 	ldr	r4, [r4, #4]                                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
a000cbbc:	e1540005 	cmp	r4, r5                                        
a000cbc0:	1afffff7 	bne	a000cba4 <_User_extensions_Thread_exitted+0x18>
a000cbc4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a000ea7c <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
a000ea7c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000ea80:	e1a04000 	mov	r4, r0                                        
a000ea84:	e1a05002 	mov	r5, r2                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000ea88:	e10f0000 	mrs	r0, CPSR                                      
a000ea8c:	e3803080 	orr	r3, r0, #128	; 0x80                           
a000ea90:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000ea94:	e1a07004 	mov	r7, r4                                        
a000ea98:	e4973004 	ldr	r3, [r7], #4                                  
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
a000ea9c:	e1530007 	cmp	r3, r7                                        
a000eaa0:	0a00001a 	beq	a000eb10 <_Watchdog_Adjust+0x94>              
    switch ( direction ) {                                            
a000eaa4:	e3510000 	cmp	r1, #0                                        
a000eaa8:	1a00001a 	bne	a000eb18 <_Watchdog_Adjust+0x9c>              
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
a000eaac:	e3520000 	cmp	r2, #0                                        
a000eab0:	0a000016 	beq	a000eb10 <_Watchdog_Adjust+0x94>              
          if ( units < _Watchdog_First( header )->delta_interval ) {  
a000eab4:	e5936010 	ldr	r6, [r3, #16]                                 
a000eab8:	e1520006 	cmp	r2, r6                                        
a000eabc:	21a01000 	movcs	r1, r0                                      
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
a000eac0:	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 ) {  
a000eac4:	2a000005 	bcs	a000eae0 <_Watchdog_Adjust+0x64>              
a000eac8:	ea000019 	b	a000eb34 <_Watchdog_Adjust+0xb8>                <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
a000eacc:	e0555006 	subs	r5, r5, r6                                   <== NOT EXECUTED
a000ead0:	0a00000e 	beq	a000eb10 <_Watchdog_Adjust+0x94>              <== NOT EXECUTED
          if ( units < _Watchdog_First( header )->delta_interval ) {  
a000ead4:	e5936010 	ldr	r6, [r3, #16]                                 <== NOT EXECUTED
a000ead8:	e1560005 	cmp	r6, r5                                        <== NOT EXECUTED
a000eadc:	8a000014 	bhi	a000eb34 <_Watchdog_Adjust+0xb8>              <== NOT EXECUTED
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
a000eae0:	e5838010 	str	r8, [r3, #16]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000eae4:	e129f001 	msr	CPSR_fc, r1                                   
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
a000eae8:	e1a00004 	mov	r0, r4                                        
a000eaec:	eb0000ad 	bl	a000eda8 <_Watchdog_Tickle>                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000eaf0:	e10f0000 	mrs	r0, CPSR                                      
a000eaf4:	e3803080 	orr	r3, r0, #128	; 0x80                           
a000eaf8:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000eafc:	e5942000 	ldr	r2, [r4]                                      
a000eb00:	e1a01000 	mov	r1, r0                                        
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
a000eb04:	e1570002 	cmp	r7, r2                                        
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
a000eb08:	e1a03002 	mov	r3, r2                                        
a000eb0c:	1affffee 	bne	a000eacc <_Watchdog_Adjust+0x50>              
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000eb10:	e129f000 	msr	CPSR_fc, r0                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000eb14:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
a000eb18:	e3510001 	cmp	r1, #1                                        <== NOT EXECUTED
a000eb1c:	1afffffb 	bne	a000eb10 <_Watchdog_Adjust+0x94>              <== NOT EXECUTED
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
a000eb20:	e5932010 	ldr	r2, [r3, #16]                                 <== NOT EXECUTED
a000eb24:	e0825005 	add	r5, r2, r5                                    <== NOT EXECUTED
a000eb28:	e5835010 	str	r5, [r3, #16]                                 <== NOT EXECUTED
a000eb2c:	e129f000 	msr	CPSR_fc, r0                                   <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000eb30:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
        _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;       
a000eb34:	e0655006 	rsb	r5, r5, r6                                    <== NOT EXECUTED
a000eb38:	e5835010 	str	r5, [r3, #16]                                 <== NOT EXECUTED
            break;                                                    
a000eb3c:	eafffff3 	b	a000eb10 <_Watchdog_Adjust+0x94>                <== NOT EXECUTED
                                                                      

a001e90c <_Watchdog_Adjust_to_chain>: { Watchdog_Interval units = units_arg; ISR_Level level; Watchdog_Control *first; if ( units <= 0 ) {
a001e90c:	e3510000 	cmp	r1, #0                                        
  Chain_Control               *header,                                
  Watchdog_Interval            units_arg,                             
  Chain_Control               *to_fire                                
                                                                      
)                                                                     
{                                                                     
a001e910:	e92d05f0 	push	{r4, r5, r6, r7, r8, sl}                     
  Watchdog_Interval  units = units_arg;                               
  ISR_Level          level;                                           
  Watchdog_Control  *first;                                           
                                                                      
  if ( units <= 0 ) {                                                 
a001e914:	0a000022 	beq	a001e9a4 <_Watchdog_Adjust_to_chain+0x98>     
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a001e918:	e10f7000 	mrs	r7, CPSR                                      
a001e91c:	e3873080 	orr	r3, r7, #128	; 0x80                           
a001e920:	e129f003 	msr	CPSR_fc, r3                                   
    return;                                                           
  }                                                                   
                                                                      
  _ISR_Disable( level );                                              
a001e924:	e1a06000 	mov	r6, r0                                        
a001e928:	e4963004 	ldr	r3, [r6], #4                                  
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
    first->delta_interval = 0;                                        
a001e92c:	e3a0a000 	mov	sl, #0                                        
a001e930:	e2828004 	add	r8, r2, #4                                    
                                                                      
  while ( 1 ) {                                                       
    if ( units <= 0 ) {                                               
      break;                                                          
    }                                                                 
    if ( _Chain_Is_empty( header ) ) {                                
a001e934:	e1530006 	cmp	r3, r6                                        
a001e938:	0a000018 	beq	a001e9a0 <_Watchdog_Adjust_to_chain+0x94>     
                                                                      
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
a001e93c:	e593c010 	ldr	ip, [r3, #16]                                 
a001e940:	e15c0001 	cmp	ip, r1                                        
a001e944:	8a000018 	bhi	a001e9ac <_Watchdog_Adjust_to_chain+0xa0>     
                                                                      
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
a001e948:	e06c1001 	rsb	r1, ip, r1                                    
    first->delta_interval = 0;                                        
a001e94c:	e583a010 	str	sl, [r3, #16]                                 
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
a001e950:	e5935000 	ldr	r5, [r3]                                      
  previous       = the_node->previous;                                
a001e954:	e5934004 	ldr	r4, [r3, #4]                                  
  next->previous = previous;                                          
a001e958:	e5854004 	str	r4, [r5, #4]                                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
a001e95c:	e592c008 	ldr	ip, [r2, #8]                                  
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
a001e960:	e5845000 	str	r5, [r4]                                      
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
a001e964:	e5838000 	str	r8, [r3]                                      
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
a001e968:	e58c3000 	str	r3, [ip]                                      
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
a001e96c:	e5823008 	str	r3, [r2, #8]                                  
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
a001e970:	e583c004 	str	ip, [r3, #4]                                  
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a001e974:	e10f3000 	mrs	r3, CPSR                                      
a001e978:	e129f007 	msr	CPSR_fc, r7                                   
a001e97c:	e129f003 	msr	CPSR_fc, r3                                   
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
a001e980:	e5903000 	ldr	r3, [r0]                                      
      _Chain_Extract_unprotected( &first->Node );                     
      _Chain_Append_unprotected( to_fire, &first->Node );             
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Chain_Is_empty( header ) )                                
a001e984:	e1560003 	cmp	r6, r3                                        
a001e988:	0a000002 	beq	a001e998 <_Watchdog_Adjust_to_chain+0x8c>     
        break;                                                        
      first = _Watchdog_First( header );                              
      if ( first->delta_interval != 0 )                               
a001e98c:	e593c010 	ldr	ip, [r3, #16]                                 <== NOT EXECUTED
a001e990:	e35c0000 	cmp	ip, #0                                        <== NOT EXECUTED
a001e994:	0affffed 	beq	a001e950 <_Watchdog_Adjust_to_chain+0x44>     <== NOT EXECUTED
  }                                                                   
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  while ( 1 ) {                                                       
    if ( units <= 0 ) {                                               
a001e998:	e3510000 	cmp	r1, #0                                        
a001e99c:	1affffe4 	bne	a001e934 <_Watchdog_Adjust_to_chain+0x28>     
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001e9a0:	e129f007 	msr	CPSR_fc, r7                                   
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
a001e9a4:	e8bd05f0 	pop	{r4, r5, r6, r7, r8, sl}                      
a001e9a8:	e12fff1e 	bx	lr                                             
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
      first->delta_interval -= units;                                 
a001e9ac:	e061100c 	rsb	r1, r1, ip                                    <== NOT EXECUTED
a001e9b0:	e5831010 	str	r1, [r3, #16]                                 <== NOT EXECUTED
      break;                                                          
a001e9b4:	eafffff9 	b	a001e9a0 <_Watchdog_Adjust_to_chain+0x94>       <== NOT EXECUTED
                                                                      

a000cd54 <_Watchdog_Insert>: Watchdog_Control *after; uint32_t insert_isr_nest_level; Watchdog_Interval delta_interval; insert_isr_nest_level = _ISR_Nest_level;
a000cd54:	e59f3140 	ldr	r3, [pc, #320]	; a000ce9c <_Watchdog_Insert+0x148>
                                                                      
void _Watchdog_Insert(                                                
  Chain_Control         *header,                                      
  Watchdog_Control      *the_watchdog                                 
)                                                                     
{                                                                     
a000cd58:	e92d01f0 	push	{r4, r5, r6, r7, r8}                         
  Watchdog_Control  *after;                                           
  uint32_t           insert_isr_nest_level;                           
  Watchdog_Interval  delta_interval;                                  
                                                                      
                                                                      
  insert_isr_nest_level   = _ISR_Nest_level;                          
a000cd5c:	e5936000 	ldr	r6, [r3]                                      
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000cd60:	e10f5000 	mrs	r5, CPSR                                      
a000cd64:	e3853080 	orr	r3, r5, #128	; 0x80                           
a000cd68:	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_watchdog->state != WATCHDOG_INACTIVE ) {                   
a000cd6c:	e5913008 	ldr	r3, [r1, #8]                                  
a000cd70:	e3530000 	cmp	r3, #0                                        
a000cd74:	1a000041 	bne	a000ce80 <_Watchdog_Insert+0x12c>             
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
a000cd78:	e59f8120 	ldr	r8, [pc, #288]	; a000cea0 <_Watchdog_Insert+0x14c>
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
a000cd7c:	e3a02001 	mov	r2, #1                                        
a000cd80:	e59f711c 	ldr	r7, [pc, #284]	; a000cea4 <_Watchdog_Insert+0x150>
  _Watchdog_Sync_count++;                                             
a000cd84:	e5983000 	ldr	r3, [r8]                                      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
a000cd88:	e5812008 	str	r2, [r1, #8]                                  
  _Watchdog_Sync_count++;                                             
a000cd8c:	e0833002 	add	r3, r3, r2                                    
a000cd90:	e5883000 	str	r3, [r8]                                      
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
a000cd94:	e591300c 	ldr	r3, [r1, #12]                                 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
a000cd98:	e5902000 	ldr	r2, [r0]                                      
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
a000cd9c:	e3530000 	cmp	r3, #0                                        
a000cda0:	0a000023 	beq	a000ce34 <_Watchdog_Insert+0xe0>              
a000cda4:	e592c000 	ldr	ip, [r2]                                      
a000cda8:	e35c0000 	cmp	ip, #0                                        
a000cdac:	0a000020 	beq	a000ce34 <_Watchdog_Insert+0xe0>              
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
a000cdb0:	e592c010 	ldr	ip, [r2, #16]                                 
a000cdb4:	e153000c 	cmp	r3, ip                                        
a000cdb8:	3a000032 	bcc	a000ce88 <_Watchdog_Insert+0x134>             
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a000cdbc:	e10f4000 	mrs	r4, CPSR                                      
a000cdc0:	e129f005 	msr	CPSR_fc, r5                                   
a000cdc4:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
a000cdc8:	e5914008 	ldr	r4, [r1, #8]                                  
a000cdcc:	e3540001 	cmp	r4, #1                                        
a000cdd0:	1a000023 	bne	a000ce64 <_Watchdog_Insert+0x110>             
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
a000cdd4:	e5974000 	ldr	r4, [r7]                                      
a000cdd8:	e1560004 	cmp	r6, r4                                        
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
a000cddc:	206c3003 	rsbcs	r3, ip, r3                                  
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
a000cde0:	2a000010 	bcs	a000ce28 <_Watchdog_Insert+0xd4>              
a000cde4:	ea00002a 	b	a000ce94 <_Watchdog_Insert+0x140>               <== NOT EXECUTED
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
a000cde8:	e592c000 	ldr	ip, [r2]                                      
a000cdec:	e35c0000 	cmp	ip, #0                                        
a000cdf0:	0a00000f 	beq	a000ce34 <_Watchdog_Insert+0xe0>              
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
a000cdf4:	e592c010 	ldr	ip, [r2, #16]                                 
a000cdf8:	e15c0003 	cmp	ip, r3                                        
a000cdfc:	8a000021 	bhi	a000ce88 <_Watchdog_Insert+0x134>             
a000ce00:	e10f4000 	mrs	r4, CPSR                                      
a000ce04:	e129f005 	msr	CPSR_fc, r5                                   
a000ce08:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
a000ce0c:	e5914008 	ldr	r4, [r1, #8]                                  
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
a000ce10:	e06c3003 	rsb	r3, ip, r3                                    
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
a000ce14:	e3540001 	cmp	r4, #1                                        
a000ce18:	1a000011 	bne	a000ce64 <_Watchdog_Insert+0x110>             
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
a000ce1c:	e597c000 	ldr	ip, [r7]                                      
a000ce20:	e156000c 	cmp	r6, ip                                        
a000ce24:	3a00001a 	bcc	a000ce94 <_Watchdog_Insert+0x140>             
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
a000ce28:	e3530000 	cmp	r3, #0                                        
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
a000ce2c:	e5922000 	ldr	r2, [r2]                                      
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
a000ce30:	1affffec 	bne	a000cde8 <_Watchdog_Insert+0x94>              
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
a000ce34:	e5922004 	ldr	r2, [r2, #4]                                  
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
a000ce38:	e59fc068 	ldr	ip, [pc, #104]	; a000cea8 <_Watchdog_Insert+0x154>
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
a000ce3c:	e3a04002 	mov	r4, #2                                        
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
a000ce40:	e5920000 	ldr	r0, [r2]                                      
a000ce44:	e59cc000 	ldr	ip, [ip]                                      
a000ce48:	e5814008 	str	r4, [r1, #8]                                  
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
a000ce4c:	e5813010 	str	r3, [r1, #16]                                 
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
a000ce50:	e5812004 	str	r2, [r1, #4]                                  
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
a000ce54:	e5821000 	str	r1, [r2]                                      
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
a000ce58:	e5801004 	str	r1, [r0, #4]                                  
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
a000ce5c:	e5810000 	str	r0, [r1]                                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
a000ce60:	e581c014 	str	ip, [r1, #20]                                 
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
a000ce64:	e5876000 	str	r6, [r7]                                      
  _Watchdog_Sync_count--;                                             
a000ce68:	e5983000 	ldr	r3, [r8]                                      
a000ce6c:	e2433001 	sub	r3, r3, #1                                    
a000ce70:	e5883000 	str	r3, [r8]                                      
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000ce74:	e129f005 	msr	CPSR_fc, r5                                   
  _ISR_Enable( level );                                               
}                                                                     
a000ce78:	e8bd01f0 	pop	{r4, r5, r6, r7, r8}                          
a000ce7c:	e12fff1e 	bx	lr                                             
a000ce80:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
a000ce84:	eafffffb 	b	a000ce78 <_Watchdog_Insert+0x124>               <== NOT EXECUTED
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
a000ce88:	e063c00c 	rsb	ip, r3, ip                                    
a000ce8c:	e582c010 	str	ip, [r2, #16]                                 
       break;                                                         
a000ce90:	eaffffe7 	b	a000ce34 <_Watchdog_Insert+0xe0>                
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
       _Watchdog_Sync_level = insert_isr_nest_level;                  
a000ce94:	e5876000 	str	r6, [r7]                                      <== NOT EXECUTED
       goto restart;                                                  
a000ce98:	eaffffbd 	b	a000cd94 <_Watchdog_Insert+0x40>                <== NOT EXECUTED
                                                                      

a000e57c <_Watchdog_Report>: void _Watchdog_Report( const char *name, Watchdog_Control *watch ) {
a000e57c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  printk(                                                             
a000e580:	e591e00c 	ldr	lr, [r1, #12]                                 <== NOT EXECUTED
                                                                      
void _Watchdog_Report(                                                
  const char        *name,                                            
  Watchdog_Control  *watch                                            
)                                                                     
{                                                                     
a000e584:	e24dd014 	sub	sp, sp, #20                                   <== NOT EXECUTED
  printk(                                                             
a000e588:	e5913010 	ldr	r3, [r1, #16]                                 <== NOT EXECUTED
a000e58c:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
a000e590:	e58d1004 	str	r1, [sp, #4]                                  <== NOT EXECUTED
a000e594:	e591e01c 	ldr	lr, [r1, #28]                                 <== NOT EXECUTED
a000e598:	e250c000 	subs	ip, r0, #0                                   <== NOT EXECUTED
a000e59c:	059fc02c 	ldreq	ip, [pc, #44]	; a000e5d0 <_Watchdog_Report+0x54><== NOT EXECUTED
a000e5a0:	e58de008 	str	lr, [sp, #8]                                  <== NOT EXECUTED
a000e5a4:	e591e020 	ldr	lr, [r1, #32]                                 <== NOT EXECUTED
a000e5a8:	01a0200c 	moveq	r2, ip                                      <== NOT EXECUTED
a000e5ac:	159f2020 	ldrne	r2, [pc, #32]	; a000e5d4 <_Watchdog_Report+0x58><== NOT EXECUTED
a000e5b0:	e58de00c 	str	lr, [sp, #12]                                 <== NOT EXECUTED
a000e5b4:	e5911024 	ldr	r1, [r1, #36]	; 0x24                          <== NOT EXECUTED
a000e5b8:	e59f0018 	ldr	r0, [pc, #24]	; a000e5d8 <_Watchdog_Report+0x5c><== NOT EXECUTED
a000e5bc:	e58d1010 	str	r1, [sp, #16]                                 <== NOT EXECUTED
a000e5c0:	e1a0100c 	mov	r1, ip                                        <== NOT EXECUTED
a000e5c4:	ebffe684 	bl	a0007fdc <printk>                              <== NOT EXECUTED
    watch,                                                            
    watch->routine,                                                   
    watch->id,                                                        
    watch->user_data                                                  
  );                                                                  
}                                                                     
a000e5c8:	e28dd014 	add	sp, sp, #20                                   <== NOT EXECUTED
a000e5cc:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a000e504 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
a000e504:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000e508:	e1a05000 	mov	r5, r0                                        
a000e50c:	e1a04001 	mov	r4, r1                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000e510:	e10f6000 	mrs	r6, CPSR                                      
a000e514:	e3863080 	orr	r3, r6, #128	; 0x80                           
a000e518:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
a000e51c:	e59f004c 	ldr	r0, [pc, #76]	; a000e570 <_Watchdog_Report_chain+0x6c>
a000e520:	e1a02004 	mov	r2, r4                                        
a000e524:	e1a01005 	mov	r1, r5                                        
a000e528:	ebffe6ab 	bl	a0007fdc <printk>                              
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
a000e52c:	e4947004 	ldr	r7, [r4], #4                                  
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
a000e530:	e1570004 	cmp	r7, r4                                        
a000e534:	0a00000a 	beq	a000e564 <_Watchdog_Report_chain+0x60>        
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
a000e538:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000e53c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000e540:	eb00000d 	bl	a000e57c <_Watchdog_Report>                    <== NOT EXECUTED
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
a000e544:	e5977000 	ldr	r7, [r7]                                      <== NOT EXECUTED
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
a000e548:	e1570004 	cmp	r7, r4                                        <== NOT EXECUTED
a000e54c:	1afffff9 	bne	a000e538 <_Watchdog_Report_chain+0x34>        <== NOT EXECUTED
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
a000e550:	e59f001c 	ldr	r0, [pc, #28]	; a000e574 <_Watchdog_Report_chain+0x70><== NOT EXECUTED
a000e554:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000e558:	ebffe69f 	bl	a0007fdc <printk>                              <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000e55c:	e129f006 	msr	CPSR_fc, r6                                   
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
a000e560:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
a000e564:	e59f000c 	ldr	r0, [pc, #12]	; a000e578 <_Watchdog_Report_chain+0x74>
a000e568:	ebffe69b 	bl	a0007fdc <printk>                              
a000e56c:	eafffffa 	b	a000e55c <_Watchdog_Report_chain+0x58>          
                                                                      

a000cfbc <_Watchdog_Tickle>: */ void _Watchdog_Tickle( Chain_Control *header ) {
a000cfbc:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000cfc0:	e1a05000 	mov	r5, r0                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000cfc4:	e10f7000 	mrs	r7, CPSR                                      
a000cfc8:	e3873080 	orr	r3, r7, #128	; 0x80                           
a000cfcc:	e129f003 	msr	CPSR_fc, r3                                   
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
a000cfd0:	e1a04000 	mov	r4, r0                                        
a000cfd4:	e4943004 	ldr	r3, [r4], #4                                  
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
a000cfd8:	e1530004 	cmp	r3, r4                                        
a000cfdc:	0a000007 	beq	a000d000 <_Watchdog_Tickle+0x44>              
   * to be inserted has already had its delta_interval adjusted to 0, and
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
a000cfe0:	e5931010 	ldr	r1, [r3, #16]                                 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
a000cfe4:	e1a06003 	mov	r6, r3                                        
a000cfe8:	e3510000 	cmp	r1, #0                                        
a000cfec:	0a000015 	beq	a000d048 <_Watchdog_Tickle+0x8c>              
    the_watchdog->delta_interval--;                                   
a000cff0:	e2411001 	sub	r1, r1, #1                                    
    if ( the_watchdog->delta_interval != 0 )                          
a000cff4:	e3510000 	cmp	r1, #0                                        
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
    the_watchdog->delta_interval--;                                   
a000cff8:	e5831010 	str	r1, [r3, #16]                                 
    if ( the_watchdog->delta_interval != 0 )                          
a000cffc:	0a000011 	beq	a000d048 <_Watchdog_Tickle+0x8c>              
   * See the comment in watchdoginsert.c and watchdogadjust.c         
   * about why it's safe not to declare header a pointer to           
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
a000d000:	e1a02007 	mov	r2, r7                                        
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000d004:	e129f002 	msr	CPSR_fc, r2                                   
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
a000d008:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
a000d00c:	e596301c 	ldr	r3, [r6, #28]                                 
a000d010:	e5960020 	ldr	r0, [r6, #32]                                 
a000d014:	e5961024 	ldr	r1, [r6, #36]	; 0x24                          
a000d018:	e12fff33 	blx	r3                                            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000d01c:	e10f2000 	mrs	r2, CPSR                                      
a000d020:	e3823080 	orr	r3, r2, #128	; 0x80                           
a000d024:	e129f003 	msr	CPSR_fc, r3                                   
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
a000d028:	e5953000 	ldr	r3, [r5]                                      
a000d02c:	e1a07002 	mov	r7, r2                                        
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
a000d030:	e1530004 	cmp	r3, r4                                        
a000d034:	e1a06003 	mov	r6, r3                                        
a000d038:	0afffff1 	beq	a000d004 <_Watchdog_Tickle+0x48>              
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
a000d03c:	e5933010 	ldr	r3, [r3, #16]                                 <== NOT EXECUTED
a000d040:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d044:	1affffee 	bne	a000d004 <_Watchdog_Tickle+0x48>              <== NOT EXECUTED
    if ( the_watchdog->delta_interval != 0 )                          
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
a000d048:	e1a00006 	mov	r0, r6                                        
a000d04c:	ebffffaf 	bl	a000cf10 <_Watchdog_Remove>                    
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000d050:	e129f007 	msr	CPSR_fc, r7                                   
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
a000d054:	e3500002 	cmp	r0, #2                                        
a000d058:	1affffef 	bne	a000d01c <_Watchdog_Tickle+0x60>              
a000d05c:	eaffffea 	b	a000d00c <_Watchdog_Tickle+0x50>                
                                                                      

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

a0007ec8 <_chown_helper>: const char *path, uid_t owner, gid_t group, int follow_link ) {
a0007ec8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a0007ecc:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
a0007ed0:	e1a02802 	lsl	r2, r2, #16                                   <== NOT EXECUTED
a0007ed4:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0007ed8:	e1a08003 	mov	r8, r3                                        <== NOT EXECUTED
a0007edc:	e1a05822 	lsr	r5, r2, #16                                   <== NOT EXECUTED
a0007ee0:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
a0007ee4:	e1a06821 	lsr	r6, r1, #16                                   <== NOT EXECUTED
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, follow_link ) )
a0007ee8:	eb00335e 	bl	a0014c68 <strlen>                              <== NOT EXECUTED
a0007eec:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0007ef0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0007ef4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0007ef8:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0007efc:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0007f00:	e58d8000 	str	r8, [sp]                                      <== NOT EXECUTED
a0007f04:	eb000030 	bl	a0007fcc <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
a0007f08:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0007f0c:	13e05000 	mvnne	r5, #0                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, follow_link ) )
a0007f10:	1a000008 	bne	a0007f38 <_chown_helper+0x70>                 <== NOT EXECUTED
    return -1;                                                        
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
a0007f14:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0007f18:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0007f1c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0007f20:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0007f24:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a0007f28:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0007f2c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0007f30:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0007f34:	eb00005e 	bl	a00080b4 <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a0007f38:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0007f3c:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0007f40:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a0006534 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) { return gettimeofday( tp, tzp );
a0006534:	eaffffe1 	b	a00064c0 <gettimeofday>                         <== NOT EXECUTED
                                                                      

a0009c68 <_link_r>: struct _reent *ptr __attribute__((unused)), const char *existing, const char *new ) { return link( existing, new );
a0009c68:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0009c6c:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0009c70:	eaffffbe 	b	a0009b70 <link>                                 <== NOT EXECUTED
                                                                      

a0016064 <_lseek_r>: int fd, off_t offset, int whence ) { return lseek( fd, offset, whence );
a0016064:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0016068:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a001606c:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0016070:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0016074:	eaffffb0 	b	a0015f3c <lseek>                                <== NOT EXECUTED
                                                                      

a000879c <_lstat_r>: struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
a000879c:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00087a0:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00087a4:	eaffffd9 	b	a0008710 <lstat>                                <== NOT EXECUTED
                                                                      

a00161c0 <_read_r>: int fd, void *buf, size_t nbytes ) { return read( fd, buf, nbytes );
a00161c0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00161c4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00161c8:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a00161cc:	eaffffcd 	b	a0016108 <read>                                 <== NOT EXECUTED
                                                                      

a00161d0 <_realloc_r>: struct _reent *ignored __attribute__((unused)), void *ptr, size_t size ) { return realloc( ptr, size );
a00161d0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00161d4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00161d8:	ea000012 	b	a0016228 <realloc>                              <== NOT EXECUTED
                                                                      

a000ab00 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
a000ab00:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a000ab04:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
a000ab08:	e24dd048 	sub	sp, sp, #72	; 0x48                            <== NOT EXECUTED
a000ab0c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a000ab10:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a000ab14:	ebfffa1c 	bl	a000938c <rtems_filesystem_dirname>            <== NOT EXECUTED
                                                                      
  if ( old_parent_pathlen == 0 )                                      
a000ab18:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
a000ab1c:	1a00005a 	bne	a000ac8c <_rename_r+0x18c>                    <== NOT EXECUTED
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
a000ab20:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
a000ab24:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000ab28:	e28d1044 	add	r1, sp, #68	; 0x44                            <== NOT EXECUTED
a000ab2c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000ab30:	eb0000eb 	bl	a000aee4 <rtems_filesystem_get_start_loc>      <== NOT EXECUTED
  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;     
a000ab34:	e1a08007 	mov	r8, r7                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a000ab38:	e28dc02c 	add	ip, sp, #44	; 0x2c                            <== NOT EXECUTED
a000ab3c:	e1a0e004 	mov	lr, r4                                        <== NOT EXECUTED
a000ab40:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a000ab44:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a000ab48:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
a000ab4c:	e0855007 	add	r5, r5, r7                                    <== NOT EXECUTED
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000ab50:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a000ab54:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
a000ab58:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000ab5c:	eb003615 	bl	a00183b8 <strlen>                              <== NOT EXECUTED
a000ab60:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000ab64:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000ab68:	ebfffa16 	bl	a00093c8 <rtems_filesystem_prefix_separators>  <== NOT EXECUTED
a000ab6c:	e0855000 	add	r5, r5, r0                                    <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a000ab70:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000ab74:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a000ab78:	eb00360e 	bl	a00183b8 <strlen>                              <== NOT EXECUTED
a000ab7c:	e28d702c 	add	r7, sp, #44	; 0x2c                            <== NOT EXECUTED
a000ab80:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000ab84:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000ab88:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000ab8c:	e1a03007 	mov	r3, r7                                        <== NOT EXECUTED
a000ab90:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a000ab94:	ebfff9ca 	bl	a00092c4 <rtems_filesystem_evaluate_relative_path><== NOT EXECUTED
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
a000ab98:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000ab9c:	1a000032 	bne	a000ac6c <_rename_r+0x16c>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a000aba0:	e28d5004 	add	r5, sp, #4                                    <== NOT EXECUTED
a000aba4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000aba8:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a000abac:	e28d1044 	add	r1, sp, #68	; 0x44                            <== NOT EXECUTED
a000abb0:	eb0000cb 	bl	a000aee4 <rtems_filesystem_get_start_loc>      <== NOT EXECUTED
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
a000abb4:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000abb8:	e59d0044 	ldr	r0, [sp, #68]	; 0x44                          <== NOT EXECUTED
a000abbc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000abc0:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a000abc4:	e0860000 	add	r0, r6, r0                                    <== NOT EXECUTED
a000abc8:	e28d2040 	add	r2, sp, #64	; 0x40                            <== NOT EXECUTED
a000abcc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  if ( result != 0 ) {                                                
a000abd0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000abd4:	1a000038 	bne	a000acbc <_rename_r+0x1bc>                    <== NOT EXECUTED
  /*                                                                  
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
a000abd8:	e59d3014 	ldr	r3, [sp, #20]                                 <== NOT EXECUTED
a000abdc:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          <== NOT EXECUTED
a000abe0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000abe4:	1a000013 	bne	a000ac38 <_rename_r+0x138>                    <== NOT EXECUTED
      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 );
a000abe8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000abec:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000abf0:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a000abf4:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          <== NOT EXECUTED
a000abf8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000abfc:	e59d3040 	ldr	r3, [sp, #64]	; 0x40                          <== NOT EXECUTED
a000ac00:	e12fff3c 	blx	ip                                            <== NOT EXECUTED
a000ac04:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a000ac08:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000ac0c:	ebfffa81 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
  if ( free_old_parentloc )                                           
a000ac10:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a000ac14:	1a000004 	bne	a000ac2c <_rename_r+0x12c>                    <== NOT EXECUTED
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
a000ac18:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000ac1c:	ebfffa7d 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a000ac20:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000ac24:	e28dd048 	add	sp, sp, #72	; 0x48                            <== NOT EXECUTED
a000ac28:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      
  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 );                     
a000ac2c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ac30:	ebfffa78 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
a000ac34:	eafffff7 	b	a000ac18 <_rename_r+0x118>                      <== NOT EXECUTED
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
a000ac38:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000ac3c:	ebfffa75 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
a000ac40:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a000ac44:	0a000001 	beq	a000ac50 <_rename_r+0x150>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
a000ac48:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ac4c:	ebfffa71 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
a000ac50:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000ac54:	ebfffa6f 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a000ac58:	eb0028d3 	bl	a0014fac <__errno>                             <== NOT EXECUTED
a000ac5c:	e3a03012 	mov	r3, #18                                       <== NOT EXECUTED
a000ac60:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000ac64:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000ac68:	eaffffec 	b	a000ac20 <_rename_r+0x120>                      <== NOT EXECUTED
  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 )                                         
a000ac6c:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a000ac70:	1a000001 	bne	a000ac7c <_rename_r+0x17c>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
a000ac74:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000ac78:	eaffffe8 	b	a000ac20 <_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 );                   
a000ac7c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ac80:	ebfffa64 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    return -1;                                                        
a000ac84:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000ac88:	eaffffe4 	b	a000ac20 <_rename_r+0x120>                      <== NOT EXECUTED
  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, 
a000ac8c:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000ac90:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
a000ac94:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000ac98:	e3a02002 	mov	r2, #2                                        <== NOT EXECUTED
a000ac9c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000aca0:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000aca4:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a000aca8:	ebfff9a1 	bl	a0009334 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
a000acac:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000acb0:	1affffef 	bne	a000ac74 <_rename_r+0x174>                    <== NOT EXECUTED
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
a000acb4:	e3a08001 	mov	r8, #1                                        <== NOT EXECUTED
a000acb8:	eaffff9e 	b	a000ab38 <_rename_r+0x38>                       <== NOT EXECUTED
                                                                      
  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 );                     
a000acbc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000acc0:	ebfffa54 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
a000acc4:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a000acc8:	0a000001 	beq	a000acd4 <_rename_r+0x1d4>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
a000accc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000acd0:	ebfffa50 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
a000acd4:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000acd8:	ebfffa4e 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    return -1;                                                        
a000acdc:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000ace0:	eaffffce 	b	a000ac20 <_rename_r+0x120>                      <== NOT EXECUTED
                                                                      

a00073f4 <_stat_r>: struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
a00073f4:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00073f8:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00073fc:	eaffffd8 	b	a0007364 <stat>                                 <== NOT EXECUTED
                                                                      

a000931c <_times>: #endif clock_t _times( struct tms *ptms ) {
a000931c:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_interval ticks;                                               
                                                                      
  if ( !ptms )                                                        
a0009320:	e2504000 	subs	r4, r0, #0                                   
#endif                                                                
                                                                      
clock_t _times(                                                       
   struct tms  *ptms                                                  
)                                                                     
{                                                                     
a0009324:	e24dd010 	sub	sp, sp, #16                                   
  rtems_interval ticks;                                               
                                                                      
  if ( !ptms )                                                        
a0009328:	0a000020 	beq	a00093b0 <_times+0x94>                        
                                                                      
  /*                                                                  
   *  This call does not depend on TOD being initialized and can't fail.
   */                                                                 
                                                                      
  ticks = rtems_clock_get_ticks_since_boot();                         
a000932c:	eb00011d 	bl	a00097a8 <rtems_clock_get_ticks_since_boot>    
    {                                                                 
      Timestamp_Control per_tick;                                     
      uint32_t          ticks;                                        
      uint32_t          fractional_ticks;                             
                                                                      
      _Timestamp_Set(                                                 
a0009330:	e59f308c 	ldr	r3, [pc, #140]	; a00093c4 <_times+0xa8>       
a0009334:	e59f108c 	ldr	r1, [pc, #140]	; a00093c8 <_times+0xac>       
a0009338:	e59fe08c 	ldr	lr, [pc, #140]	; a00093cc <_times+0xb0>       <== NOT EXECUTED
a000933c:	e593200c 	ldr	r2, [r3, #12]                                 <== NOT EXECUTED
a0009340:	e3a03ffa 	mov	r3, #1000	; 0x3e8                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This call does not depend on TOD being initialized and can't fail.
   */                                                                 
                                                                      
  ticks = rtems_clock_get_ticks_since_boot();                         
a0009344:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    {                                                                 
      Timestamp_Control per_tick;                                     
      uint32_t          ticks;                                        
      uint32_t          fractional_ticks;                             
                                                                      
      _Timestamp_Set(                                                 
a0009348:	e0030392 	mul	r3, r2, r3                                    <== NOT EXECUTED
a000934c:	e1a0c4a3 	lsr	ip, r3, #9                                    <== NOT EXECUTED
a0009350:	e08c0c91 	umull	r0, ip, r1, ip                              <== NOT EXECUTED
a0009354:	e08e1e92 	umull	r1, lr, r2, lr                              <== NOT EXECUTED
a0009358:	e59f2070 	ldr	r2, [pc, #112]	; a00093d0 <_times+0xb4>       <== NOT EXECUTED
a000935c:	e1a0c3ac 	lsr	ip, ip, #7                                    <== NOT EXECUTED
a0009360:	e1a0e92e 	lsr	lr, lr, #18                                   <== NOT EXECUTED
a0009364:	e00c0c92 	mul	ip, r2, ip                                    <== NOT EXECUTED
            TOD_MICROSECONDS_PER_SECOND,                              
        (rtems_configuration_get_nanoseconds_per_tick() %             
            TOD_NANOSECONDS_PER_SECOND)                               
      );                                                              
                                                                      
      _Timestamp_Divide(                                              
a0009368:	e59f2064 	ldr	r2, [pc, #100]	; a00093d4 <_times+0xb8>       <== NOT EXECUTED
    {                                                                 
      Timestamp_Control per_tick;                                     
      uint32_t          ticks;                                        
      uint32_t          fractional_ticks;                             
                                                                      
      _Timestamp_Set(                                                 
a000936c:	e06cc003 	rsb	ip, ip, r3                                    <== NOT EXECUTED
            TOD_MICROSECONDS_PER_SECOND,                              
        (rtems_configuration_get_nanoseconds_per_tick() %             
            TOD_NANOSECONDS_PER_SECOND)                               
      );                                                              
                                                                      
      _Timestamp_Divide(                                              
a0009370:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a0009374:	e5920004 	ldr	r0, [r2, #4]                                  <== NOT EXECUTED
a0009378:	e28d3008 	add	r3, sp, #8                                    <== NOT EXECUTED
a000937c:	e28d200c 	add	r2, sp, #12                                   <== NOT EXECUTED
a0009380:	e2800084 	add	r0, r0, #132	; 0x84                           <== NOT EXECUTED
    {                                                                 
      Timestamp_Control per_tick;                                     
      uint32_t          ticks;                                        
      uint32_t          fractional_ticks;                             
                                                                      
      _Timestamp_Set(                                                 
a0009384:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
a0009388:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
            TOD_MICROSECONDS_PER_SECOND,                              
        (rtems_configuration_get_nanoseconds_per_tick() %             
            TOD_NANOSECONDS_PER_SECOND)                               
      );                                                              
                                                                      
      _Timestamp_Divide(                                              
a000938c:	eb000e50 	bl	a000ccd4 <_Timespec_Divide>                    <== NOT EXECUTED
        &_Thread_Executing->cpu_time_used,                            
        &per_tick,                                                    
        &ticks,                                                       
        &fractional_ticks                                             
      );                                                              
      ptms->tms_utime = ticks;                                        
a0009390:	e59d200c 	ldr	r2, [sp, #12]                                 <== NOT EXECUTED
    }                                                                 
  #else                                                               
    ptms->tms_utime  = _Thread_Executing->cpu_time_used;              
  #endif                                                              
  ptms->tms_stime  = ticks;                                           
  ptms->tms_cutime = 0;                                               
a0009394:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
      ptms->tms_utime = ticks;                                        
    }                                                                 
  #else                                                               
    ptms->tms_utime  = _Thread_Executing->cpu_time_used;              
  #endif                                                              
  ptms->tms_stime  = ticks;                                           
a0009398:	e8840024 	stm	r4, {r2, r5}                                  <== NOT EXECUTED
  ptms->tms_cutime = 0;                                               
a000939c:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
  ptms->tms_cstime = 0;                                               
a00093a0:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
                                                                      
  return ticks;                                                       
a00093a4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
}                                                                     
a00093a8:	e28dd010 	add	sp, sp, #16                                   
a00093ac:	e8bd8030 	pop	{r4, r5, pc}                                  
)                                                                     
{                                                                     
  rtems_interval ticks;                                               
                                                                      
  if ( !ptms )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00093b0:	eb002047 	bl	a00114d4 <__errno>                             
a00093b4:	e3a0300e 	mov	r3, #14                                       
a00093b8:	e5803000 	str	r3, [r0]                                      
a00093bc:	e3e00000 	mvn	r0, #0                                        
a00093c0:	eafffff8 	b	a00093a8 <_times+0x8c>                          
                                                                      

a000a298 <_unlink_r>: int _unlink_r( struct _reent *ptr __attribute__((unused)), const char *path ) { return unlink( path );
a000a298:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000a29c:	eaffffa5 	b	a000a138 <unlink>                               <== NOT EXECUTED
                                                                      

a0008324 <access>: int access( const char *path, int amode ) {
a0008324:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a0008328:	e24dd048 	sub	sp, sp, #72	; 0x48                            <== NOT EXECUTED
a000832c:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
  struct stat statbuf;                                                
                                                                      
  if ( stat(path, &statbuf) )                                         
a0008330:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a0008334:	eb00060c 	bl	a0009b6c <stat>                                <== NOT EXECUTED
a0008338:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000833c:	1a00000a 	bne	a000836c <access+0x48>                        <== NOT EXECUTED
    return -1;                                                        
                                                                      
  if ( amode & R_OK ) {                                               
a0008340:	e3140004 	tst	r4, #4                                        <== NOT EXECUTED
a0008344:	1a00000a 	bne	a0008374 <access+0x50>                        <== NOT EXECUTED
    if (!( statbuf.st_mode & S_IREAD ))                               
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
a0008348:	e3140002 	tst	r4, #2                                        <== NOT EXECUTED
a000834c:	1a000003 	bne	a0008360 <access+0x3c>                        <== NOT EXECUTED
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & X_OK ) {                                               
a0008350:	e2140001 	ands	r0, r4, #1                                   <== NOT EXECUTED
a0008354:	1a00000b 	bne	a0008388 <access+0x64>                        <== NOT EXECUTED
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0008358:	e28dd048 	add	sp, sp, #72	; 0x48                            <== NOT EXECUTED
a000835c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    if (!( statbuf.st_mode & S_IREAD ))                               
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
a0008360:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a0008364:	e3130080 	tst	r3, #128	; 0x80                               <== NOT EXECUTED
a0008368:	1afffff8 	bne	a0008350 <access+0x2c>                        <== NOT EXECUTED
      return -1;                                                      
a000836c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0008370:	eafffff8 	b	a0008358 <access+0x34>                          <== NOT EXECUTED
                                                                      
  if ( stat(path, &statbuf) )                                         
    return -1;                                                        
                                                                      
  if ( amode & R_OK ) {                                               
    if (!( statbuf.st_mode & S_IREAD ))                               
a0008374:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a0008378:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a000837c:	1afffff1 	bne	a0008348 <access+0x24>                        <== NOT EXECUTED
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
      return -1;                                                      
a0008380:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0008384:	eafffff3 	b	a0008358 <access+0x34>                          <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( amode & X_OK ) {                                               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
a0008388:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a000838c:	e3130040 	tst	r3, #64	; 0x40                                <== NOT EXECUTED
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
a0008390:	03e00000 	mvneq	r0, #0                                      <== NOT EXECUTED
a0008394:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0008398:	eaffffee 	b	a0008358 <access+0x34>                          <== NOT EXECUTED
                                                                      

a0007b90 <cfgetispeed>: speed_t cfgetispeed( const struct termios *tp ) { return (tp->c_cflag / (CIBAUD / CBAUD)) & CBAUD;
a0007b90:	e1d000ba 	ldrh	r0, [r0, #10]                                <== NOT EXECUTED
}                                                                     
a0007b94:	e3c00eff 	bic	r0, r0, #4080	; 0xff0                         <== NOT EXECUTED
a0007b98:	e1a00980 	lsl	r0, r0, #19                                   <== NOT EXECUTED
a0007b9c:	e1a009a0 	lsr	r0, r0, #19                                   <== NOT EXECUTED
a0007ba0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0007ba4 <cfgetospeed>: speed_t cfgetospeed( const struct termios *tp ) { return tp->c_cflag & CBAUD;
a0007ba4:	e5900008 	ldr	r0, [r0, #8]                                  <== NOT EXECUTED
}                                                                     
a0007ba8:	e3c00eff 	bic	r0, r0, #4080	; 0xff0                         <== NOT EXECUTED
a0007bac:	e1a00980 	lsl	r0, r0, #19                                   <== NOT EXECUTED
a0007bb0:	e1a009a0 	lsr	r0, r0, #19                                   <== NOT EXECUTED
a0007bb4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0007bb8 <cfsetispeed>: int cfsetispeed( struct termios *tp, speed_t speed ) { if ( speed & ~CBAUD )
a0007bb8:	e3c13a01 	bic	r3, r1, #4096	; 0x1000                        <== NOT EXECUTED
a0007bbc:	e3d3300f 	bics	r3, r3, #15                                  <== NOT EXECUTED
                                                                      
int cfsetispeed(                                                      
  struct termios *tp,                                                 
  speed_t         speed                                               
)                                                                     
{                                                                     
a0007bc0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0007bc4:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
  if ( speed & ~CBAUD )                                               
a0007bc8:	1a000006 	bne	a0007be8 <cfsetispeed+0x30>                   <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  tp->c_cflag = (tp->c_cflag & ~CIBAUD) | (speed * (CIBAUD / CBAUD)); 
a0007bcc:	e590c008 	ldr	ip, [r0, #8]                                  <== NOT EXECUTED
  return 0;                                                           
a0007bd0:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  if ( speed & ~CBAUD )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  tp->c_cflag = (tp->c_cflag & ~CIBAUD) | (speed * (CIBAUD / CBAUD)); 
a0007bd4:	e3cc3201 	bic	r3, ip, #268435456	; 0x10000000               <== NOT EXECUTED
a0007bd8:	e3c3380f 	bic	r3, r3, #983040	; 0xf0000                     <== NOT EXECUTED
a0007bdc:	e1831801 	orr	r1, r3, r1, lsl #16                           <== NOT EXECUTED
a0007be0:	e5821008 	str	r1, [r2, #8]                                  <== NOT EXECUTED
  return 0;                                                           
}                                                                     
a0007be4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  struct termios *tp,                                                 
  speed_t         speed                                               
)                                                                     
{                                                                     
  if ( speed & ~CBAUD )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0007be8:	eb002dc6 	bl	a0013308 <__errno>                             <== NOT EXECUTED
a0007bec:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0007bf0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007bf4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007bf8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0007bfc <cfsetospeed>: int cfsetospeed( struct termios *tp, speed_t speed ) { if ( speed & ~CBAUD )
a0007bfc:	e3c13a01 	bic	r3, r1, #4096	; 0x1000                        <== NOT EXECUTED
a0007c00:	e3d3300f 	bics	r3, r3, #15                                  <== NOT EXECUTED
                                                                      
int cfsetospeed(                                                      
  struct termios *tp,                                                 
  speed_t         speed                                               
)                                                                     
{                                                                     
a0007c04:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0007c08:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
  if ( speed & ~CBAUD )                                               
a0007c0c:	1a000006 	bne	a0007c2c <cfsetospeed+0x30>                   <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  tp->c_cflag = (tp->c_cflag & ~CBAUD) | speed;                       
a0007c10:	e590c008 	ldr	ip, [r0, #8]                                  <== NOT EXECUTED
  return 0;                                                           
a0007c14:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  if ( speed & ~CBAUD )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  tp->c_cflag = (tp->c_cflag & ~CBAUD) | speed;                       
a0007c18:	e3cc3a01 	bic	r3, ip, #4096	; 0x1000                        <== NOT EXECUTED
a0007c1c:	e3c3300f 	bic	r3, r3, #15                                   <== NOT EXECUTED
a0007c20:	e1811003 	orr	r1, r1, r3                                    <== NOT EXECUTED
a0007c24:	e5821008 	str	r1, [r2, #8]                                  <== NOT EXECUTED
  return 0;                                                           
}                                                                     
a0007c28:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  struct termios *tp,                                                 
  speed_t         speed                                               
)                                                                     
{                                                                     
  if ( speed & ~CBAUD )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0007c2c:	eb002db5 	bl	a0013308 <__errno>                             <== NOT EXECUTED
a0007c30:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0007c34:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007c38:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007c3c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0007e5c <chmod>: int chmod( const char *path, mode_t mode ) {
a0007e5c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a0007e60:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0007e64:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a0007e68:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  int                              status;                            
  rtems_filesystem_location_info_t loc;                               
  int                              result;                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
a0007e6c:	eb00337d 	bl	a0014c68 <strlen>                              <== NOT EXECUTED
a0007e70:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0007e74:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0007e78:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0007e7c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0007e80:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0007e84:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0007e88:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0007e8c:	eb00004e 	bl	a0007fcc <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
  if ( status != 0 )                                                  
a0007e90:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0007e94:	13e05000 	mvnne	r5, #0                                      <== NOT EXECUTED
  int                              status;                            
  rtems_filesystem_location_info_t loc;                               
  int                              result;                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
  if ( status != 0 )                                                  
a0007e98:	1a000007 	bne	a0007ebc <chmod+0x60>                         <== NOT EXECUTED
    return -1;                                                        
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
a0007e9c:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a0007ea0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0007ea4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0007ea8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0007eac:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0007eb0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0007eb4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0007eb8:	eb00007d 	bl	a00080b4 <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a0007ebc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0007ec0:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0007ec4:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0007f44 <chown>: int chown( const char *path, uid_t owner, gid_t group ) {
a0007f44:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
a0007f48:	e1a02802 	lsl	r2, r2, #16                                   <== NOT EXECUTED
  return _chown_helper( path, owner, group, true );                   
a0007f4c:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
a0007f50:	e1a02822 	lsr	r2, r2, #16                                   <== NOT EXECUTED
a0007f54:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0007f58:	eaffffda 	b	a0007ec8 <_chown_helper>                        <== NOT EXECUTED
                                                                      

a000d510 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
a000d510:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
a000d514:	e3d22007 	bics	r2, r2, #7                                   
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a000d518:	e24dd004 	sub	sp, sp, #4                                    
a000d51c:	e1a0b000 	mov	fp, r0                                        
a000d520:	e1a04001 	mov	r4, r1                                        
a000d524:	e58d3000 	str	r3, [sp]                                      
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
a000d528:	1a00002d 	bne	a000d5e4 <devFS_evaluate_path+0xd4>           
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a000d52c:	e59d1000 	ldr	r1, [sp]                                      
a000d530:	e5917000 	ldr	r7, [r1]                                      
  if (!device_name_table)                                             
a000d534:	e3570000 	cmp	r7, #0                                        
a000d538:	0a00002e 	beq	a000d5f8 <devFS_evaluate_path+0xe8>           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a000d53c:	e59f30c8 	ldr	r3, [pc, #200]	; a000d60c <devFS_evaluate_path+0xfc>
a000d540:	e5938000 	ldr	r8, [r3]                                      
a000d544:	e3580000 	cmp	r8, #0                                        
a000d548:	11a09002 	movne	r9, r2                                      
a000d54c:	11a05009 	movne	r5, r9                                      
    if (!device_name_table[i].device_name)                            
a000d550:	13a0a014 	movne	sl, #20                                     
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a000d554:	0a000010 	beq	a000d59c <devFS_evaluate_path+0x8c>           
    if (!device_name_table[i].device_name)                            
a000d558:	e009099a 	mul	r9, sl, r9                                    
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a000d55c:	e1a0000b 	mov	r0, fp                                        
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
a000d560:	e7976009 	ldr	r6, [r7, r9]                                  
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a000d564:	e1a02004 	mov	r2, r4                                        
  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)                            
a000d568:	e0879009 	add	r9, r7, r9                                    
a000d56c:	e2561000 	subs	r1, r6, #0                                   
a000d570:	0a000005 	beq	a000d58c <devFS_evaluate_path+0x7c>           
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a000d574:	eb000aa0 	bl	a000fffc <strncmp>                             
a000d578:	e3500000 	cmp	r0, #0                                        
a000d57c:	1a000002 	bne	a000d58c <devFS_evaluate_path+0x7c>           
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
a000d580:	e7d60004 	ldrb	r0, [r6, r4]                                 
a000d584:	e3500000 	cmp	r0, #0                                        
a000d588:	0a000008 	beq	a000d5b0 <devFS_evaluate_path+0xa0>           
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a000d58c:	e2855001 	add	r5, r5, #1                                    
a000d590:	e1580005 	cmp	r8, r5                                        
a000d594:	e1a09005 	mov	r9, r5                                        
a000d598:	8affffee 	bhi	a000d558 <devFS_evaluate_path+0x48>           
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
a000d59c:	eb00070f 	bl	a000f1e0 <__errno>                             
a000d5a0:	e3a03002 	mov	r3, #2                                        
a000d5a4:	e5803000 	str	r3, [r0]                                      
a000d5a8:	e3e00000 	mvn	r0, #0                                        
a000d5ac:	ea00000a 	b	a000d5dc <devFS_evaluate_path+0xcc>             
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
a000d5b0:	e59d2000 	ldr	r2, [sp]                                      
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a000d5b4:	e59f3054 	ldr	r3, [pc, #84]	; a000d610 <devFS_evaluate_path+0x100>
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
a000d5b8:	e59d1000 	ldr	r1, [sp]                                      
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a000d5bc:	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];             
a000d5c0:	e5829000 	str	r9, [r2]                                      
    pathloc->handlers = &devFS_file_handlers;                         
a000d5c4:	e59f2048 	ldr	r2, [pc, #72]	; a000d614 <devFS_evaluate_path+0x104>
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a000d5c8:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
a000d5cc:	e5812008 	str	r2, [r1, #8]                                  
    pathloc->ops = &devFS_ops;                                        
a000d5d0:	e59f2040 	ldr	r2, [pc, #64]	; a000d618 <devFS_evaluate_path+0x108>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a000d5d4:	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;                                        
a000d5d8:	e581200c 	str	r2, [r1, #12]                                 
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a000d5dc:	e28dd004 	add	sp, sp, #4                                    
a000d5e0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
a000d5e4:	eb0006fd 	bl	a000f1e0 <__errno>                             <== NOT EXECUTED
a000d5e8:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000d5ec:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d5f0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d5f4:	eafffff8 	b	a000d5dc <devFS_evaluate_path+0xcc>             <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a000d5f8:	eb0006f8 	bl	a000f1e0 <__errno>                             
a000d5fc:	e3a0300e 	mov	r3, #14                                       
a000d600:	e5803000 	str	r3, [r0]                                      
a000d604:	e3e00000 	mvn	r0, #0                                        
a000d608:	eafffff3 	b	a000d5dc <devFS_evaluate_path+0xcc>             
                                                                      

a0005e08 <devFS_ioctl>: int devFS_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a0005e08:	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;    
a0005e0c:	e590c018 	ldr	ip, [r0, #24]                                 
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a0005e10:	e24dd010 	sub	sp, sp, #16                                   
a0005e14:	e1a03000 	mov	r3, r0                                        
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->pathinfo.node_access;    
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
a0005e18:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0005e1c:	e59c0008 	ldr	r0, [ip, #8]                                  
a0005e20:	e59c100c 	ldr	r1, [ip, #12]                                 
a0005e24:	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;                                                 
a0005e28:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0005e2c:	eb00104e 	bl	a0009f6c <rtems_io_control>                    
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0005e30:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a0005e34:	059d000c 	ldreq	r0, [sp, #12]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0005e38:	1a000001 	bne	a0005e44 <devFS_ioctl+0x3c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a0005e3c:	e28dd010 	add	sp, sp, #16                                   
a0005e40:	e8bd8000 	pop	{pc}                                          
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0005e44:	eb001df7 	bl	a000d628 <rtems_deviceio_errno>                <== NOT EXECUTED
a0005e48:	eafffffb 	b	a0005e3c <devFS_ioctl+0x34>                     <== NOT EXECUTED
                                                                      

a0005bf4 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
a0005bf4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0005bf8:	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') &&                         
a0005bfc:	e5d00000 	ldrb	r0, [r0]                                     
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0005c00:	e24dd004 	sub	sp, sp, #4                                    
a0005c04:	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') &&                         
a0005c08:	e3500064 	cmp	r0, #100	; 0x64                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0005c0c:	e58d2000 	str	r2, [sp]                                      
a0005c10:	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') &&                         
a0005c14:	0a000039 	beq	a0005d00 <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))                               
a0005c18:	e2053a0f 	and	r3, r5, #61440	; 0xf000                       
a0005c1c:	e3530a02 	cmp	r3, #8192	; 0x2000                            
a0005c20:	13530a06 	cmpne	r3, #24576	; 0x6000                         
a0005c24:	03a03000 	moveq	r3, #0                                      
a0005c28:	13a03001 	movne	r3, #1                                      
a0005c2c:	1a00003d 	bne	a0005d28 <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;    
a0005c30:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a0005c34:	e5927000 	ldr	r7, [r2]                                      
  if (!device_name_table)                                             
a0005c38:	e3570000 	cmp	r7, #0                                        
a0005c3c:	0a000043 	beq	a0005d50 <devFS_mknod+0x15c>                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a0005c40:	e59f211c 	ldr	r2, [pc, #284]	; a0005d64 <devFS_mknod+0x170> 
a0005c44:	e5928000 	ldr	r8, [r2]                                      
a0005c48:	e3580000 	cmp	r8, #0                                        
a0005c4c:	13e09000 	mvnne	r9, #0                                      
a0005c50:	11a06003 	movne	r6, r3                                      
      if (device_name_table[i].device_name == NULL)                   
a0005c54:	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++){           
a0005c58:	1a000007 	bne	a0005c7c <devFS_mknod+0x88>                   
a0005c5c:	ea000036 	b	a0005d3c <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)    
a0005c60:	eb002841 	bl	a000fd6c <strcmp>                              
a0005c64:	e3500000 	cmp	r0, #0                                        
a0005c68:	0a00001f 	beq	a0005cec <devFS_mknod+0xf8>                   
  /* 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++){           
a0005c6c:	e2866001 	add	r6, r6, #1                                    
a0005c70:	e1560008 	cmp	r6, r8                                        
a0005c74:	e1a03006 	mov	r3, r6                                        
a0005c78:	2a000009 	bcs	a0005ca4 <devFS_mknod+0xb0>                   
      if (device_name_table[i].device_name == NULL)                   
a0005c7c:	e003039a 	mul	r3, sl, r3                                    
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a0005c80:	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)                   
a0005c84:	e7973003 	ldr	r3, [r7, r3]                                  
a0005c88:	e2531000 	subs	r1, r3, #0                                   
a0005c8c:	1afffff3 	bne	a0005c60 <devFS_mknod+0x6c>                   
a0005c90:	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++){           
a0005c94:	e2866001 	add	r6, r6, #1                                    
a0005c98:	e1560008 	cmp	r6, r8                                        
a0005c9c:	e1a03006 	mov	r3, r6                                        
a0005ca0:	3afffff5 	bcc	a0005c7c <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)                                                     
a0005ca4:	e3790001 	cmn	r9, #1                                        
a0005ca8:	0a000023 	beq	a0005d3c <devFS_mknod+0x148>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0005cac:	e10f6000 	mrs	r6, CPSR                                      
a0005cb0:	e3863080 	orr	r3, r6, #128	; 0x80                           
a0005cb4:	e129f003 	msr	CPSR_fc, r3                                   
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a0005cb8:	e3a03014 	mov	r3, #20                                       
a0005cbc:	e0090993 	mul	r9, r3, r9                                    
  device_name_table[slot].device_name_length = strlen(path);          
a0005cc0:	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;                
a0005cc4:	e7874009 	str	r4, [r7, r9]                                  
  device_name_table[slot].device_name_length = strlen(path);          
a0005cc8:	eb0028b3 	bl	a000ff9c <strlen>                              
  device_name_table[slot].major = major;                              
a0005ccc:	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;                
a0005cd0:	e0877009 	add	r7, r7, r9                                    
  device_name_table[slot].device_name_length = strlen(path);          
a0005cd4:	e9870809 	stmib	r7, {r0, r3, fp}                            
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
a0005cd8:	e5875010 	str	r5, [r7, #16]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0005cdc:	e129f006 	msr	CPSR_fc, r6                                   
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
a0005ce0:	e3a00000 	mov	r0, #0                                        
}                                                                     
a0005ce4:	e28dd004 	add	sp, sp, #4                                    
a0005ce8:	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 );         
a0005cec:	eb00253b 	bl	a000f1e0 <__errno>                             <== NOT EXECUTED
a0005cf0:	e3a03011 	mov	r3, #17                                       <== NOT EXECUTED
a0005cf4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005cf8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005cfc:	eafffff8 	b	a0005ce4 <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') &&                         
a0005d00:	e5d43001 	ldrb	r3, [r4, #1]                                 
a0005d04:	e3530065 	cmp	r3, #101	; 0x65                               
a0005d08:	1affffc2 	bne	a0005c18 <devFS_mknod+0x24>                   
a0005d0c:	e5d43002 	ldrb	r3, [r4, #2]                                 
a0005d10:	e3530076 	cmp	r3, #118	; 0x76                               
a0005d14:	1affffbf 	bne	a0005c18 <devFS_mknod+0x24>                   
      (path[2] == 'v') && (path[3] == '\0'))                          
a0005d18:	e5d40003 	ldrb	r0, [r4, #3]                                 
a0005d1c:	e3500000 	cmp	r0, #0                                        
a0005d20:	1affffbc 	bne	a0005c18 <devFS_mknod+0x24>                   
a0005d24:	eaffffee 	b	a0005ce4 <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 );                   
a0005d28:	eb00252c 	bl	a000f1e0 <__errno>                             
a0005d2c:	e3a03016 	mov	r3, #22                                       
a0005d30:	e5803000 	str	r3, [r0]                                      
a0005d34:	e3e00000 	mvn	r0, #0                                        
a0005d38:	eaffffe9 	b	a0005ce4 <devFS_mknod+0xf0>                     
          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 );                 
a0005d3c:	eb002527 	bl	a000f1e0 <__errno>                             <== NOT EXECUTED
a0005d40:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0005d44:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005d48:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0005d4c:	eaffffe4 	b	a0005ce4 <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 );                   
a0005d50:	eb002522 	bl	a000f1e0 <__errno>                             
a0005d54:	e3a0300e 	mov	r3, #14                                       
a0005d58:	e5803000 	str	r3, [r0]                                      
a0005d5c:	e3e00000 	mvn	r0, #0                                        
a0005d60:	eaffffdf 	b	a0005ce4 <devFS_mknod+0xf0>                     
                                                                      

a0005e84 <devFS_read>: ssize_t devFS_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a0005e84:	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;
a0005e88:	e590c018 	ldr	ip, [r0, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0005e8c:	e590e014 	ldr	lr, [r0, #20]                                 <== NOT EXECUTED
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0005e90:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
a0005e94:	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;                                          
a0005e98:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a0005e9c:	e59c0008 	ldr	r0, [ip, #8]                                  <== NOT EXECUTED
a0005ea0:	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;                                           
a0005ea4:	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;                                     
a0005ea8:	e283c00c 	add	ip, r3, #12                                   <== NOT EXECUTED
a0005eac:	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;                                             
a0005eb0:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a0005eb4:	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;                                               
a0005eb8:	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;                                     
a0005ebc:	e98d1800 	stmib	sp, {fp, ip}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0005ec0:	e58de014 	str	lr, [sp, #20]                                 <== NOT EXECUTED
  args.bytes_moved = 0;                                               
a0005ec4:	e58d3018 	str	r3, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  status = rtems_io_read(                                             
a0005ec8:	eb00108a 	bl	a000a0f8 <rtems_io_read>                       <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0005ecc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a0005ed0:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0005ed4:	1a000001 	bne	a0005ee0 <devFS_read+0x5c>                    <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a0005ed8:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a0005edc:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0005ee0:	eb001dd0 	bl	a000d628 <rtems_deviceio_errno>                <== NOT EXECUTED
a0005ee4:	eafffffb 	b	a0005ed8 <devFS_read+0x54>                      <== NOT EXECUTED
                                                                      

a00108d0 <device_ftruncate>: rtems_libio_t *iop, rtems_off64_t length ) { return 0; }
a00108d0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00108d4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0010880 <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a0010880:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a0010884:	e590c018 	ldr	ip, [r0, #24]                                 
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a0010888:	e24dd010 	sub	sp, sp, #16                                   
a001088c:	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;                                             
a0010890:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  status = rtems_io_control(                                          
a0010894:	e59c0050 	ldr	r0, [ip, #80]	; 0x50                          
a0010898:	e59c1054 	ldr	r1, [ip, #84]	; 0x54                          
a001089c:	e1a0200d 	mov	r2, sp                                        
{                                                                     
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
a00108a0:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  status = rtems_io_control(                                          
a00108a4:	eb000192 	bl	a0010ef4 <rtems_io_control>                    
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00108a8:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a00108ac:	059d000c 	ldreq	r0, [sp, #12]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00108b0:	1a000001 	bne	a00108bc <device_ioctl+0x3c>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a00108b4:	e28dd010 	add	sp, sp, #16                                   
a00108b8:	e8bd8000 	pop	{pc}                                          
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a00108bc:	eb000227 	bl	a0011160 <rtems_deviceio_errno>                <== NOT EXECUTED
a00108c0:	eafffffb 	b	a00108b4 <device_ioctl+0x34>                    <== NOT EXECUTED
                                                                      

a00107b8 <device_read>: ssize_t device_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a00107b8:	e92d4800 	push	{fp, lr}                                     <== NOT EXECUTED
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a00107bc:	e590c018 	ldr	ip, [r0, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00107c0:	e590e014 	ldr	lr, [r0, #20]                                 <== NOT EXECUTED
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00107c4:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
a00107c8:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
a00107cc:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
a00107d0:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a00107d4:	e59c0050 	ldr	r0, [ip, #80]	; 0x50                          <== NOT EXECUTED
a00107d8:	e59c1054 	ldr	r1, [ip, #84]	; 0x54                          <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
a00107dc:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.offset      = iop->offset;                                     
a00107e0:	e283c00c 	add	ip, r3, #12                                   <== NOT EXECUTED
a00107e4:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a00107e8:	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;                                               
a00107ec:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a00107f0:	e98d1800 	stmib	sp, {fp, ip}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00107f4:	e58de014 	str	lr, [sp, #20]                                 <== NOT EXECUTED
  args.bytes_moved = 0;                                               
a00107f8:	e58d3018 	str	r3, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  status = rtems_io_read(                                             
a00107fc:	eb0001e6 	bl	a0010f9c <rtems_io_read>                       <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0010800:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a0010804:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0010808:	1a000001 	bne	a0010814 <device_read+0x5c>                   <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a001080c:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a0010810:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0010814:	eb000251 	bl	a0011160 <rtems_deviceio_errno>                <== NOT EXECUTED
a0010818:	eafffffb 	b	a001080c <device_read+0x54>                     <== NOT EXECUTED
                                                                      

a0007364 <drainOutput>: drainOutput (struct rtems_termios_tty *tty) { rtems_interrupt_level level; rtems_status_code sc; if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {
a0007364:	e59030b4 	ldr	r3, [r0, #180]	; 0xb4                         
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0007368:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
a000736c:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0007370:	e1a04000 	mov	r4, r0                                        
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
a0007374:	0a000017 	beq	a00073d8 <drainOutput+0x74>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007378:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a000737c:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0007380:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
    rtems_interrupt_disable (level);                                  
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
a0007384:	e5901084 	ldr	r1, [r0, #132]	; 0x84                         <== NOT EXECUTED
a0007388:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
a000738c:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a0007390:	0a00000f 	beq	a00073d4 <drainOutput+0x70>                   <== NOT EXECUTED
      tty->rawOutBufState = rob_wait;                                 
a0007394:	e3a05002 	mov	r5, #2                                        <== NOT EXECUTED
a0007398:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000739c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
a00073a0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00073a4:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a00073a8:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a00073ac:	eb0009c1 	bl	a0009ab8 <rtems_semaphore_obtain>              <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
a00073b0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00073b4:	1a000008 	bne	a00073dc <drainOutput+0x78>                   <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00073b8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00073bc:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00073c0:	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) {              
a00073c4:	e5941084 	ldr	r1, [r4, #132]	; 0x84                         <== NOT EXECUTED
a00073c8:	e5942080 	ldr	r2, [r4, #128]	; 0x80                         <== NOT EXECUTED
a00073cc:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a00073d0:	1afffff0 	bne	a0007398 <drainOutput+0x34>                   <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00073d4:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a00073d8:	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);                              
a00073dc:	eb000b5c 	bl	a000a154 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a00080bc <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
a00080bc:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
a00080c0:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a00080c4:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a00080c8:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
a00080cc:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
a00080d0:	0a00000b 	beq	a0008104 <echo+0x48>                          <== NOT EXECUTED
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
a00080d4:	e59f3070 	ldr	r3, [pc, #112]	; a000814c <echo+0x90>         <== NOT EXECUTED
a00080d8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a00080dc:	e0833000 	add	r3, r3, r0                                    <== NOT EXECUTED
a00080e0:	e5d33001 	ldrb	r3, [r3, #1]                                 <== NOT EXECUTED
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
a00080e4:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a00080e8:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a00080ec:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
a00080f0:	e3500009 	cmp	r0, #9                                        <== NOT EXECUTED
a00080f4:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a00080f8:	12033001 	andne	r3, r3, #1                                  <== NOT EXECUTED
a00080fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008100:	1a000003 	bne	a0008114 <echo+0x58>                          <== NOT EXECUTED
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
a0008104:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0008108:	ebffff8f 	bl	a0007f4c <oproc>                               <== NOT EXECUTED
  }                                                                   
}                                                                     
a000810c:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0008110:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
a0008114:	e350000a 	cmp	r0, #10                                       <== NOT EXECUTED
a0008118:	0afffff9 	beq	a0008104 <echo+0x48>                          <== NOT EXECUTED
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
a000811c:	e2203040 	eor	r3, r0, #64	; 0x40                            <== NOT EXECUTED
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
a0008120:	e3a0c05e 	mov	ip, #94	; 0x5e                                <== NOT EXECUTED
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
a0008124:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0008128:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a000812c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
a0008130:	e5cd3001 	strb	r3, [sp, #1]                                 <== NOT EXECUTED
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
a0008134:	e5cdc000 	strb	ip, [sp]                                     <== NOT EXECUTED
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
a0008138:	ebffff3d 	bl	a0007e34 <rtems_termios_puts>                  <== NOT EXECUTED
    tty->column += 2;                                                 
a000813c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0008140:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
a0008144:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
a0008148:	eaffffef 	b	a000810c <echo+0x50>                            <== NOT EXECUTED
                                                                      

a0007540 <endgrent>: void endgrent(void) { if (group_fp != NULL)
a0007540:	e59f300c 	ldr	r3, [pc, #12]	; a0007554 <endgrent+0x14>      <== NOT EXECUTED
a0007544:	e59301c4 	ldr	r0, [r3, #452]	; 0x1c4                        <== NOT EXECUTED
a0007548:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000754c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(group_fp);                                                 
a0007550:	ea002b6f 	b	a0012314 <fclose>                               <== NOT EXECUTED
                                                                      

a00073cc <endpwent>: void endpwent(void) { if (passwd_fp != NULL)
a00073cc:	e59f300c 	ldr	r3, [pc, #12]	; a00073e0 <endpwent+0x14>      <== NOT EXECUTED
a00073d0:	e59300e8 	ldr	r0, [r3, #232]	; 0xe8                         <== NOT EXECUTED
a00073d4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00073d8:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(passwd_fp);                                                
a00073dc:	ea002bcc 	b	a0012314 <fclose>                               <== NOT EXECUTED
                                                                      

a0008150 <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)
a0008150:	e5903020 	ldr	r3, [r0, #32]                                 <== NOT EXECUTED
 * FIXME: Needs support for WERASE and ECHOPRT.                       
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
a0008154:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
  if (tty->ccount == 0)                                               
a0008158:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
 * FIXME: Needs support for WERASE and ECHOPRT.                       
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
a000815c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0008160:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
  if (tty->ccount == 0)                                               
a0008164:	0a00000d 	beq	a00081a0 <erase+0x50>                         <== NOT EXECUTED
    return;                                                           
  if (lineFlag) {                                                     
a0008168:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a000816c:	0a00000c 	beq	a00081a4 <erase+0x54>                         <== NOT EXECUTED
    if (!(tty->termios.c_lflag & ECHO)) {                             
a0008170:	e590103c 	ldr	r1, [r0, #60]	; 0x3c                          <== NOT EXECUTED
a0008174:	e2112008 	ands	r2, r1, #8                                   <== NOT EXECUTED
a0008178:	0a000052 	beq	a00082c8 <erase+0x178>                        <== NOT EXECUTED
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
a000817c:	e2110010 	ands	r0, r1, #16                                  <== NOT EXECUTED
a0008180:	1a000009 	bne	a00081ac <erase+0x5c>                         <== NOT EXECUTED
      tty->ccount = 0;                                                
a0008184:	e5840020 	str	r0, [r4, #32]                                 <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
a0008188:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000818c:	e5d40044 	ldrb	r0, [r4, #68]	; 0x44                         <== NOT EXECUTED
a0008190:	ebffffc9 	bl	a00080bc <echo>                                <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
a0008194:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0008198:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a000819c:	1a000068 	bne	a0008344 <erase+0x1f4>                        <== NOT EXECUTED
a00081a0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
a00081a4:	e590103c 	ldr	r1, [r0, #60]	; 0x3c                          <== NOT EXECUTED
a00081a8:	e2012008 	and	r2, r1, #8                                    <== NOT EXECUTED
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
a00081ac:	e59f71a0 	ldr	r7, [pc, #416]	; a0008354 <erase+0x204>       <== NOT EXECUTED
a00081b0:	ea000008 	b	a00081d8 <erase+0x88>                           <== NOT EXECUTED
a00081b4:	e3110c02 	tst	r1, #512	; 0x200                              <== NOT EXECUTED
a00081b8:	1a000049 	bne	a00082e4 <erase+0x194>                        <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
a00081bc:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a00081c0:	0afffff6 	beq	a00081a0 <erase+0x50>                         <== NOT EXECUTED
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
a00081c4:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a00081c8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00081cc:	0a000043 	beq	a00082e0 <erase+0x190>                        <== 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);                                             
a00081d0:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a00081d4:	e2012008 	and	r2, r1, #8                                    <== NOT EXECUTED
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
a00081d8:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
a00081dc:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a00081e0:	e5843020 	str	r3, [r4, #32]                                 <== NOT EXECUTED
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
a00081e4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
a00081e8:	e7d05003 	ldrb	r5, [r0, r3]                                 <== NOT EXECUTED
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
a00081ec:	0afffff2 	beq	a00081bc <erase+0x6c>                         <== NOT EXECUTED
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
a00081f0:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a00081f4:	1a000001 	bne	a0008200 <erase+0xb0>                         <== NOT EXECUTED
a00081f8:	e3110010 	tst	r1, #16                                       <== NOT EXECUTED
a00081fc:	0a000033 	beq	a00082d0 <erase+0x180>                        <== NOT EXECUTED
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
a0008200:	e3550009 	cmp	r5, #9                                        <== NOT EXECUTED
a0008204:	0a00000d 	beq	a0008240 <erase+0xf0>                         <== NOT EXECUTED
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
a0008208:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a000820c:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
a0008210:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a0008214:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0008218:	1affffe5 	bne	a00081b4 <erase+0x64>                         <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
a000821c:	e59f0134 	ldr	r0, [pc, #308]	; a0008358 <erase+0x208>       <== NOT EXECUTED
a0008220:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0008224:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0008228:	ebffff01 	bl	a0007e34 <rtems_termios_puts>                  <== NOT EXECUTED
          if (tty->column)                                            
a000822c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0008230:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
            tty->column--;                                            
a0008234:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0008238:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a000823c:	eaffffde 	b	a00081bc <erase+0x6c>                           <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
a0008240:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
a0008244:	e594502c 	ldr	r5, [r4, #44]	; 0x2c                          <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
a0008248:	0a000011 	beq	a0008294 <erase+0x144>                        <== NOT EXECUTED
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
a000824c:	e5978000 	ldr	r8, [r7]                                      <== NOT EXECUTED
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
        int i = 0;                                                    
a0008250:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
        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)                       
a0008254:	e201ac02 	and	sl, r1, #512	; 0x200                          <== NOT EXECUTED
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
a0008258:	e7d01002 	ldrb	r1, [r0, r2]                                 <== NOT EXECUTED
a000825c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
          if (c == '\t') {                                            
a0008260:	e3510009 	cmp	r1, #9                                        <== NOT EXECUTED
            col = (col | 7) + 1;                                      
a0008264:	03855007 	orreq	r5, r5, #7                                  <== NOT EXECUTED
          } else if (iscntrl (c)) {                                   
a0008268:	e088c001 	add	ip, r8, r1                                    <== NOT EXECUTED
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
a000826c:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
a0008270:	0a000005 	beq	a000828c <erase+0x13c>                        <== NOT EXECUTED
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
a0008274:	e5dcc001 	ldrb	ip, [ip, #1]                                 <== NOT EXECUTED
a0008278:	e31c0020 	tst	ip, #32                                       <== NOT EXECUTED
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
a000827c:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
a0008280:	0a000001 	beq	a000828c <erase+0x13c>                        <== NOT EXECUTED
            if (tty->termios.c_lflag & ECHOCTL)                       
a0008284:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
              col += 2;                                               
a0008288:	12855002 	addne	r5, r5, #2                                  <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
a000828c:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0008290:	1afffff0 	bne	a0008258 <erase+0x108>                        <== NOT EXECUTED
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
a0008294:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0008298:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
a000829c:	aaffffc6 	bge	a00081bc <erase+0x6c>                         <== NOT EXECUTED
          rtems_termios_puts ("\b", 1, tty);                          
a00082a0:	e59f00b4 	ldr	r0, [pc, #180]	; a000835c <erase+0x20c>       <== NOT EXECUTED
a00082a4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00082a8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a00082ac:	ebfffee0 	bl	a0007e34 <rtems_termios_puts>                  <== NOT EXECUTED
          tty->column--;                                              
a00082b0:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00082b4:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
a00082b8:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
a00082bc:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
a00082c0:	cafffff6 	bgt	a00082a0 <erase+0x150>                        <== NOT EXECUTED
a00082c4:	eaffffbc 	b	a00081bc <erase+0x6c>                           <== NOT EXECUTED
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
a00082c8:	e5802020 	str	r2, [r0, #32]                                 <== NOT EXECUTED
      return;                                                         
a00082cc:	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);                        
a00082d0:	e5d40043 	ldrb	r0, [r4, #67]	; 0x43                         <== NOT EXECUTED
a00082d4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
a00082d8:	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);                        
a00082dc:	eaffff76 	b	a00080bc <echo>                                 <== NOT EXECUTED
a00082e0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
a00082e4:	e59f006c 	ldr	r0, [pc, #108]	; a0008358 <erase+0x208>       <== NOT EXECUTED
a00082e8:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a00082ec:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a00082f0:	ebfffecf 	bl	a0007e34 <rtems_termios_puts>                  <== NOT EXECUTED
          if (tty->column)                                            
a00082f4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00082f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
            tty->column--;                                            
a00082fc:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0008300:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
a0008304:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a0008308:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a000830c:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0008310:	0affffc1 	beq	a000821c <erase+0xcc>                         <== NOT EXECUTED
a0008314:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0008318:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a000831c:	0affffa6 	beq	a00081bc <erase+0x6c>                         <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
a0008320:	e59f0030 	ldr	r0, [pc, #48]	; a0008358 <erase+0x208>        <== NOT EXECUTED
a0008324:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0008328:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000832c:	ebfffec0 	bl	a0007e34 <rtems_termios_puts>                  <== NOT EXECUTED
          if (tty->column)                                            
a0008330:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0008334:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
            tty->column--;                                            
a0008338:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000833c:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0008340:	eaffff9d 	b	a00081bc <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);                                             
a0008344:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0008348:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
a000834c:	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);                                             
a0008350:	eaffff59 	b	a00080bc <echo>                                 <== NOT EXECUTED
                                                                      

a000728c <fchdir>: ) { rtems_libio_t *iop; rtems_filesystem_location_info_t loc, saved; rtems_libio_check_fd( fd );
a000728c:	e59f313c 	ldr	r3, [pc, #316]	; a00073d0 <fchdir+0x144>      
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
a0007290:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
a0007294:	e5933000 	ldr	r3, [r3]                                      
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
a0007298:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
a000729c:	e1500003 	cmp	r0, r3                                        
a00072a0:	2a000040 	bcs	a00073a8 <fchdir+0x11c>                       
  iop = rtems_libio_iop( fd );                                        
a00072a4:	e59f3128 	ldr	r3, [pc, #296]	; a00073d4 <fchdir+0x148>      
a00072a8:	e3a05038 	mov	r5, #56	; 0x38                                
a00072ac:	e5933000 	ldr	r3, [r3]                                      
a00072b0:	e0253590 	mla	r5, r0, r5, r3                                
  rtems_libio_check_is_open(iop);                                     
a00072b4:	e5953014 	ldr	r3, [r5, #20]                                 
a00072b8:	e3130c01 	tst	r3, #256	; 0x100                              
a00072bc:	0a000039 	beq	a00073a8 <fchdir+0x11c>                       
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a00072c0:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a00072c4:	0a00003c 	beq	a00073bc <fchdir+0x130>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
a00072c8:	e5953024 	ldr	r3, [r5, #36]	; 0x24                          <== NOT EXECUTED
a00072cc:	e2855018 	add	r5, r5, #24                                   <== NOT EXECUTED
a00072d0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00072d4:	e5933010 	ldr	r3, [r3, #16]                                 <== NOT EXECUTED
a00072d8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00072dc:	e3500001 	cmp	r0, #1                                        <== NOT EXECUTED
a00072e0:	e1a0e000 	mov	lr, r0                                        <== NOT EXECUTED
a00072e4:	1a000022 	bne	a0007374 <fchdir+0xe8>                        <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
a00072e8:	e59f60e8 	ldr	r6, [pc, #232]	; a00073d8 <fchdir+0x14c>      <== NOT EXECUTED
a00072ec:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a00072f0:	e1a0b004 	mov	fp, r4                                        <== NOT EXECUTED
a00072f4:	e5969000 	ldr	r9, [r6]                                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a00072f8:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
a00072fc:	e28d8018 	add	r8, sp, #24                                   <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
a0007300:	e289c004 	add	ip, r9, #4                                    <== NOT EXECUTED
a0007304:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0007308:	e8ab000f 	stmia	fp!, {r0, r1, r2, r3}                       <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
a000730c:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0007310:	e595a000 	ldr	sl, [r5]                                      <== NOT EXECUTED
a0007314:	e2895004 	add	r5, r9, #4                                    <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
a0007318:	e59c9000 	ldr	r9, [ip]                                      <== NOT EXECUTED
a000731c:	e58b9000 	str	r9, [fp]                                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
a0007320:	e8a5000f 	stmia	r5!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0007324:	e58ca000 	str	sl, [ip]                                      <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a0007328:	e59f00ac 	ldr	r0, [pc, #172]	; a00073dc <fchdir+0x150>      <== NOT EXECUTED
a000732c:	e1a0100e 	mov	r1, lr                                        <== NOT EXECUTED
a0007330:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a0007334:	e1a03008 	mov	r3, r8                                        <== NOT EXECUTED
a0007338:	e58d7000 	str	r7, [sp]                                      <== NOT EXECUTED
a000733c:	ebffff98 	bl	a00071a4 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
a0007340:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a0007344:	1a00000f 	bne	a0007388 <fchdir+0xfc>                        <== NOT EXECUTED
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
    return -1;                                                        
  }                                                                   
  /* release the old one */                                           
  rtems_filesystem_freenode( &saved );                                
a0007348:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000734c:	eb000065 	bl	a00074e8 <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  rtems_filesystem_current = loc;                                     
a0007350:	e8b8000f 	ldm	r8!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0007354:	e596c000 	ldr	ip, [r6]                                      <== NOT EXECUTED
a0007358:	e5984000 	ldr	r4, [r8]                                      <== NOT EXECUTED
a000735c:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
a0007360:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0007364:	e58c4000 	str	r4, [ip]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0007368:	e1a00005 	mov	r0, r5                                        
a000736c:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
a0007370:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
                                          RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0007374:	eb002c2a 	bl	a0012424 <__errno>                             <== NOT EXECUTED
a0007378:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a000737c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007380:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0007384:	eafffff7 	b	a0007368 <fchdir+0xdc>                          <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
a0007388:	e596c000 	ldr	ip, [r6]                                      <== NOT EXECUTED
a000738c:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0007390:	e59b4000 	ldr	r4, [fp]                                      <== NOT EXECUTED
a0007394:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
a0007398:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    return -1;                                                        
a000739c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
a00073a0:	e58c4000 	str	r4, [ip]                                      <== NOT EXECUTED
    return -1;                                                        
a00073a4:	eaffffef 	b	a0007368 <fchdir+0xdc>                          <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a00073a8:	eb002c1d 	bl	a0012424 <__errno>                             
a00073ac:	e3a03009 	mov	r3, #9                                        
a00073b0:	e5803000 	str	r3, [r0]                                      
a00073b4:	e3e05000 	mvn	r5, #0                                        
a00073b8:	eaffffea 	b	a0007368 <fchdir+0xdc>                          
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a00073bc:	eb002c18 	bl	a0012424 <__errno>                             <== NOT EXECUTED
a00073c0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00073c4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00073c8:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00073cc:	eaffffe5 	b	a0007368 <fchdir+0xdc>                          <== NOT EXECUTED
                                                                      

a00073e0 <fchmod>: mode_t mode ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
a00073e0:	e59f306c 	ldr	r3, [pc, #108]	; a0007454 <fchmod+0x74>       <== NOT EXECUTED
                                                                      
int fchmod(                                                           
  int       fd,                                                       
  mode_t    mode                                                      
)                                                                     
{                                                                     
a00073e4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a00073e8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a00073ec:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00073f0:	2a00000d 	bcs	a000742c <fchmod+0x4c>                        <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
a00073f4:	e59f305c 	ldr	r3, [pc, #92]	; a0007458 <fchmod+0x78>        <== NOT EXECUTED
a00073f8:	e3a02038 	mov	r2, #56	; 0x38                                <== NOT EXECUTED
a00073fc:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0007400:	e0203092 	mla	r0, r2, r0, r3                                <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
a0007404:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
a0007408:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a000740c:	0a000006 	beq	a000742c <fchmod+0x4c>                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0007410:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a0007414:	0a000009 	beq	a0007440 <fchmod+0x60>                        <== NOT EXECUTED
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
a0007418:	e5903020 	ldr	r3, [r0, #32]                                 <== NOT EXECUTED
a000741c:	e2800018 	add	r0, r0, #24                                   <== NOT EXECUTED
a0007420:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0007424:	e12fff33 	blx	r3                                            <== NOT EXECUTED
}                                                                     
a0007428:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a000742c:	eb002bfc 	bl	a0012424 <__errno>                             <== NOT EXECUTED
a0007430:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0007434:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007438:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000743c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0007440:	eb002bf7 	bl	a0012424 <__errno>                             <== NOT EXECUTED
a0007444:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0007448:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000744c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007450:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000745c <fchown>: gid_t group ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
a000745c:	e59f307c 	ldr	r3, [pc, #124]	; a00074e0 <fchown+0x84>       <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
a0007460:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
a0007464:	e1a02802 	lsl	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0007468:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
a000746c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0007470:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
a0007474:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
a0007478:	e1a02822 	lsr	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a000747c:	2a00000d 	bcs	a00074b8 <fchown+0x5c>                        <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
a0007480:	e59f305c 	ldr	r3, [pc, #92]	; a00074e4 <fchown+0x88>        <== NOT EXECUTED
a0007484:	e3a0c038 	mov	ip, #56	; 0x38                                <== NOT EXECUTED
a0007488:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a000748c:	e020309c 	mla	r0, ip, r0, r3                                <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
a0007490:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
a0007494:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0007498:	0a000006 	beq	a00074b8 <fchown+0x5c>                        <== NOT EXECUTED
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a000749c:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a00074a0:	0a000009 	beq	a00074cc <fchown+0x70>                        <== NOT EXECUTED
                                                                      
  return (*iop->pathinfo.ops->chown_h)( &iop->pathinfo, owner, group );
a00074a4:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          <== NOT EXECUTED
a00074a8:	e2800018 	add	r0, r0, #24                                   <== NOT EXECUTED
a00074ac:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a00074b0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
}                                                                     
a00074b4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a00074b8:	eb002bd9 	bl	a0012424 <__errno>                             <== NOT EXECUTED
a00074bc:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00074c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00074c4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00074c8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a00074cc:	eb002bd4 	bl	a0012424 <__errno>                             <== NOT EXECUTED
a00074d0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00074d4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00074d8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00074dc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0006d80 <fcntl>: int fcntl( int fd, int cmd, ... ) {
a0006d80:	e92d000e 	push	{r1, r2, r3}                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0006d84:	e59f21d8 	ldr	r2, [pc, #472]	; a0006f64 <fcntl+0x1e4>       
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0006d88:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0006d8c:	e5922000 	ldr	r2, [r2]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0006d90:	e24dd004 	sub	sp, sp, #4                                    
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a0006d94:	e28d3028 	add	r3, sp, #40	; 0x28                            
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0006d98:	e1500002 	cmp	r0, r2                                        
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0006d9c:	e59d4024 	ldr	r4, [sp, #36]	; 0x24                          
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a0006da0:	e58d3000 	str	r3, [sp]                                      
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0006da4:	2a000062 	bcs	a0006f34 <fcntl+0x1b4>                        
  iop = rtems_libio_iop( fd );                                        
a0006da8:	e59f61b8 	ldr	r6, [pc, #440]	; a0006f68 <fcntl+0x1e8>       
a0006dac:	e3a05038 	mov	r5, #56	; 0x38                                
a0006db0:	e5961000 	ldr	r1, [r6]                                      
a0006db4:	e0251590 	mla	r5, r0, r5, r1                                
  rtems_libio_check_is_open(iop);                                     
a0006db8:	e595c014 	ldr	ip, [r5, #20]                                 
a0006dbc:	e31c0c01 	tst	ip, #256	; 0x100                              
a0006dc0:	0a00005b 	beq	a0006f34 <fcntl+0x1b4>                        
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
a0006dc4:	e3540009 	cmp	r4, #9                                        
a0006dc8:	979ff104 	ldrls	pc, [pc, r4, lsl #2]                        
a0006dcc:	ea000028 	b	a0006e74 <fcntl+0xf4>                           
a0006dd0:	a0006e84 	.word	0xa0006e84                                  
a0006dd4:	a0006eec 	.word	0xa0006eec                                  
a0006dd8:	a0006efc 	.word	0xa0006efc                                  
a0006ddc:	a0006f1c 	.word	0xa0006f1c                                  
a0006de0:	a0006e1c 	.word	0xa0006e1c                                  
a0006de4:	a0006df8 	.word	0xa0006df8                                  
a0006de8:	a0006df8 	.word	0xa0006df8                                  
a0006dec:	a0006df8 	.word	0xa0006df8                                  
a0006df0:	a0006df8 	.word	0xa0006df8                                  
a0006df4:	a0006df8 	.word	0xa0006df8                                  
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
a0006df8:	eb002d1b 	bl	a001226c <__errno>                             
a0006dfc:	e3a03086 	mov	r3, #134	; 0x86                               
a0006e00:	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);                                     
a0006e04:	e3e08000 	mvn	r8, #0                                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
a0006e08:	e1a00008 	mov	r0, r8                                        
a0006e0c:	e28dd004 	add	sp, sp, #4                                    
a0006e10:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a0006e14:	e28dd00c 	add	sp, sp, #12                                   
a0006e18:	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 ) );           
a0006e1c:	e5930000 	ldr	r0, [r3]                                      
a0006e20:	eb00018e 	bl	a0007460 <rtems_libio_fcntl_flags>             
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
a0006e24:	e5952014 	ldr	r2, [r5, #20]                                 
a0006e28:	e3a03c02 	mov	r3, #512	; 0x200                              
a0006e2c:	e2833001 	add	r3, r3, #1                                    
a0006e30:	e3c22c02 	bic	r2, r2, #512	; 0x200                          
a0006e34:	e0003003 	and	r3, r0, r3                                    
a0006e38:	e3c22001 	bic	r2, r2, #1                                    
a0006e3c:	e1833002 	orr	r3, r3, r2                                    
a0006e40:	e5853014 	str	r3, [r5, #20]                                 
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
a0006e44:	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 );         
a0006e48:	e5953020 	ldr	r3, [r5, #32]                                 
a0006e4c:	e1a00004 	mov	r0, r4                                        
a0006e50:	e1a01005 	mov	r1, r5                                        
a0006e54:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a0006e58:	e12fff33 	blx	r3                                            
    if (err) {                                                        
a0006e5c:	e2504000 	subs	r4, r0, #0                                   
a0006e60:	0affffe8 	beq	a0006e08 <fcntl+0x88>                         
      errno = err;                                                    
a0006e64:	eb002d00 	bl	a001226c <__errno>                             <== NOT EXECUTED
      ret = -1;                                                       
a0006e68:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
    if (err) {                                                        
      errno = err;                                                    
a0006e6c:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a0006e70:	eaffffe4 	b	a0006e08 <fcntl+0x88>                           <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
a0006e74:	eb002cfc 	bl	a001226c <__errno>                             
a0006e78:	e3a03016 	mov	r3, #22                                       
a0006e7c:	e5803000 	str	r3, [r0]                                      
a0006e80:	eaffffdf 	b	a0006e04 <fcntl+0x84>                           
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
a0006e84:	e5933000 	ldr	r3, [r3]                                      
      if ( fd2 )                                                      
a0006e88:	e3530000 	cmp	r3, #0                                        
a0006e8c:	0a00002d 	beq	a0006f48 <fcntl+0x1c8>                        
        diop = rtems_libio_iop( fd2 );                                
a0006e90:	e1520003 	cmp	r2, r3                                        
a0006e94:	93a08000 	movls	r8, #0                                      
a0006e98:	91a09008 	movls	r9, r8                                      
a0006e9c:	9a000002 	bls	a0006eac <fcntl+0x12c>                        
a0006ea0:	e3a09038 	mov	r9, #56	; 0x38                                
a0006ea4:	e0291993 	mla	r9, r3, r9, r1                                
a0006ea8:	e1a08009 	mov	r8, r9                                        
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0006eac:	e0618008 	rsb	r8, r1, r8                                    
a0006eb0:	e1a081c8 	asr	r8, r8, #3                                    
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0006eb4:	e289a018 	add	sl, r9, #24                                   
      ret = (int) (diop - rtems_libio_iops);                          
a0006eb8:	e0886188 	add	r6, r8, r8, lsl #3                            
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0006ebc:	e2857018 	add	r7, r5, #24                                   
a0006ec0:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a0006ec4:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
      ret = (int) (diop - rtems_libio_iops);                          
a0006ec8:	e0866306 	add	r6, r6, r6, lsl #6                            
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0006ecc:	e5973000 	ldr	r3, [r7]                                      
      ret = (int) (diop - rtems_libio_iops);                          
a0006ed0:	e0886186 	add	r6, r8, r6, lsl #3                            
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
a0006ed4:	e589c014 	str	ip, [r9, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0006ed8:	e0866786 	add	r6, r6, r6, lsl #15                           
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0006edc:	e58a3000 	str	r3, [sl]                                      
      ret = (int) (diop - rtems_libio_iops);                          
a0006ee0:	e0888186 	add	r8, r8, r6, lsl #3                            
a0006ee4:	e2688000 	rsb	r8, r8, #0                                    
a0006ee8:	ea00000e 	b	a0006f28 <fcntl+0x1a8>                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
a0006eec:	e31c0b02 	tst	ip, #2048	; 0x800                             
a0006ef0:	03a08000 	moveq	r8, #0                                      
a0006ef4:	13a08001 	movne	r8, #1                                      
a0006ef8:	eaffffd2 	b	a0006e48 <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 ) )                                        
a0006efc:	e5938000 	ldr	r8, [r3]                                      
a0006f00:	e3580000 	cmp	r8, #0                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a0006f04:	138ccb02 	orrne	ip, ip, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0006f08:	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;                      
a0006f0c:	1585c014 	strne	ip, [r5, #20]                               
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
a0006f10:	13a08000 	movne	r8, #0                                      
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0006f14:	0585c014 	streq	ip, [r5, #20]                               
a0006f18:	eaffffca 	b	a0006e48 <fcntl+0xc8>                           
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
a0006f1c:	e1a0000c 	mov	r0, ip                                        
a0006f20:	eb00015b 	bl	a0007494 <rtems_libio_to_fcntl_flags>          
a0006f24:	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) {                                                     
a0006f28:	e3580000 	cmp	r8, #0                                        
a0006f2c:	aaffffc5 	bge	a0006e48 <fcntl+0xc8>                         
a0006f30:	eaffffb4 	b	a0006e08 <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);                                     
a0006f34:	eb002ccc 	bl	a001226c <__errno>                             
a0006f38:	e3a03009 	mov	r3, #9                                        
a0006f3c:	e5803000 	str	r3, [r0]                                      
a0006f40:	e3e08000 	mvn	r8, #0                                        
a0006f44:	eaffffaf 	b	a0006e08 <fcntl+0x88>                           
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
a0006f48:	eb000164 	bl	a00074e0 <rtems_libio_allocate>                
        if ( diop == 0 ) {                                            
a0006f4c:	e2509000 	subs	r9, r0, #0                                   
a0006f50:	0affffab 	beq	a0006e04 <fcntl+0x84>                         
a0006f54:	e595c014 	ldr	ip, [r5, #20]                                 
a0006f58:	e1a08009 	mov	r8, r9                                        
a0006f5c:	e5961000 	ldr	r1, [r6]                                      
a0006f60:	eaffffd1 	b	a0006eac <fcntl+0x12c>                          
                                                                      

a0006f7c <fdatasync>: int fd ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0006f7c:	e59f3068 	ldr	r3, [pc, #104]	; a0006fec <fdatasync+0x70>    
#include <rtems/seterr.h>                                             
                                                                      
int fdatasync(                                                        
  int     fd                                                          
)                                                                     
{                                                                     
a0006f80:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0006f84:	e5933000 	ldr	r3, [r3]                                      
a0006f88:	e1500003 	cmp	r0, r3                                        
a0006f8c:	2a00000c 	bcs	a0006fc4 <fdatasync+0x48>                     
  iop = rtems_libio_iop( fd );                                        
a0006f90:	e59f3058 	ldr	r3, [pc, #88]	; a0006ff0 <fdatasync+0x74>     
a0006f94:	e3a02038 	mov	r2, #56	; 0x38                                
a0006f98:	e5933000 	ldr	r3, [r3]                                      
a0006f9c:	e0203092 	mla	r0, r2, r0, r3                                
  rtems_libio_check_is_open(iop);                                     
a0006fa0:	e5903014 	ldr	r3, [r0, #20]                                 
a0006fa4:	e3130c01 	tst	r3, #256	; 0x100                              
a0006fa8:	0a000005 	beq	a0006fc4 <fdatasync+0x48>                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0006fac:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a0006fb0:	0a000008 	beq	a0006fd8 <fdatasync+0x5c>                     <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fdatasync_h)( iop );               
a0006fb4:	e5903020 	ldr	r3, [r0, #32]                                 <== NOT EXECUTED
a0006fb8:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          <== NOT EXECUTED
a0006fbc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
}                                                                     
a0006fc0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a0006fc4:	eb002ca8 	bl	a001226c <__errno>                             
a0006fc8:	e3a03009 	mov	r3, #9                                        
a0006fcc:	e5803000 	str	r3, [r0]                                      
a0006fd0:	e3e00000 	mvn	r0, #0                                        
a0006fd4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0006fd8:	eb002ca3 	bl	a001226c <__errno>                             <== NOT EXECUTED
a0006fdc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0006fe0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0006fe4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0006fe8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0010664 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
a0010664:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
a0010668:	e59f5428 	ldr	r5, [pc, #1064]	; a0010a98 <fifo_open+0x434>  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a001066c:	e24dd008 	sub	sp, sp, #8                                    
a0010670:	e1a04000 	mov	r4, r0                                        
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
a0010674:	e5958000 	ldr	r8, [r5]                                      
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0010678:	e1a06001 	mov	r6, r1                                        
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
a001067c:	e3580000 	cmp	r8, #0                                        
a0010680:	0a000024 	beq	a0010718 <fifo_open+0xb4>                     
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0010684:	e3a01000 	mov	r1, #0                                        
a0010688:	e1a00008 	mov	r0, r8                                        
a001068c:	e1a02001 	mov	r2, r1                                        
a0010690:	ebffedb4 	bl	a000bd68 <rtems_semaphore_obtain>              
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
a0010694:	e250a000 	subs	sl, r0, #0                                   
a0010698:	1a0000d3 	bne	a00109ec <fifo_open+0x388>                    
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
a001069c:	e5945000 	ldr	r5, [r4]                                      
  if (pipe == NULL) {                                                 
a00106a0:	e3550000 	cmp	r5, #0                                        
a00106a4:	0a00007f 	beq	a00108a8 <fifo_open+0x244>                    
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a00106a8:	e3a01000 	mov	r1, #0                                        
a00106ac:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          
a00106b0:	e1a02001 	mov	r2, r1                                        
a00106b4:	ebffedab 	bl	a000bd68 <rtems_semaphore_obtain>              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a00106b8:	e5943000 	ldr	r3, [r4]                                      
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a00106bc:	e3500000 	cmp	r0, #0                                        
a00106c0:	01a07000 	moveq	r7, r0                                      
a00106c4:	13e07003 	mvnne	r7, #3                                      
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a00106c8:	e3530000 	cmp	r3, #0                                        
a00106cc:	0a0000b6 	beq	a00109ac <fifo_open+0x348>                    
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a00106d0:	ebffffa9 	bl	a001057c <pipe_unlock>                         
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
a00106d4:	e3570000 	cmp	r7, #0                                        
a00106d8:	1a00000b 	bne	a001070c <fifo_open+0xa8>                     
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a00106dc:	e5963014 	ldr	r3, [r6, #20]                                 
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
a00106e0:	e5945000 	ldr	r5, [r4]                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a00106e4:	e2033006 	and	r3, r3, #6                                    
a00106e8:	e3530004 	cmp	r3, #4                                        
a00106ec:	0a000015 	beq	a0010748 <fifo_open+0xe4>                     
a00106f0:	e3530006 	cmp	r3, #6                                        
a00106f4:	0a000057 	beq	a0010858 <fifo_open+0x1f4>                    
a00106f8:	e3530002 	cmp	r3, #2                                        
a00106fc:	0a000035 	beq	a00107d8 <fifo_open+0x174>                    
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a0010700:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          
a0010704:	ebffede0 	bl	a000be8c <rtems_semaphore_release>             
  return 0;                                                           
a0010708:	e3a07000 	mov	r7, #0                                        
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
a001070c:	e1a00007 	mov	r0, r7                                        
a0010710:	e28dd008 	add	sp, sp, #8                                    
a0010714:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, 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 );
a0010718:	e59f737c 	ldr	r7, [pc, #892]	; a0010a9c <fifo_open+0x438>   
a001071c:	e1a01008 	mov	r1, r8                                        
a0010720:	e1a02008 	mov	r2, r8                                        
a0010724:	e5970000 	ldr	r0, [r7]                                      
a0010728:	ebffed8e 	bl	a000bd68 <rtems_semaphore_obtain>              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
a001072c:	e5953000 	ldr	r3, [r5]                                      
a0010730:	e3530000 	cmp	r3, #0                                        
a0010734:	0a0000a1 	beq	a00109c0 <fifo_open+0x35c>                    
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a0010738:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
a001073c:	ebffedd2 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
a0010740:	e5958000 	ldr	r8, [r5]                                      <== NOT EXECUTED
a0010744:	eaffffce 	b	a0010684 <fifo_open+0x20>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0010748:	e5953014 	ldr	r3, [r5, #20]                                 
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a001074c:	e5951024 	ldr	r1, [r5, #36]	; 0x24                          
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0010750:	e2832001 	add	r2, r3, #1                                    
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a0010754:	e2811001 	add	r1, r1, #1                                    
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0010758:	e3530000 	cmp	r3, #0                                        
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a001075c:	e5851024 	str	r1, [r5, #36]	; 0x24                          
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0010760:	e5852014 	str	r2, [r5, #20]                                 
a0010764:	0a0000a2 	beq	a00109f4 <fifo_open+0x390>                    
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a0010768:	e5953010 	ldr	r3, [r5, #16]                                 
a001076c:	e3530000 	cmp	r3, #0                                        
a0010770:	1affffe2 	bne	a0010700 <fifo_open+0x9c>                     
a0010774:	e5963014 	ldr	r3, [r6, #20]                                 <== NOT EXECUTED
a0010778:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
a001077c:	05957020 	ldreq	r7, [r5, #32]                               <== NOT EXECUTED
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a0010780:	0a000007 	beq	a00107a4 <fifo_open+0x140>                    <== NOT EXECUTED
a0010784:	ea0000b2 	b	a0010a54 <fifo_open+0x3f0>                      <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a0010788:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a001078c:	ebffed75 	bl	a000bd68 <rtems_semaphore_obtain>              <== NOT EXECUTED
a0010790:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010794:	1a00000a 	bne	a00107c4 <fifo_open+0x160>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
a0010798:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a001079c:	e1530007 	cmp	r3, r7                                        <== NOT EXECUTED
a00107a0:	1affffd6 	bne	a0010700 <fifo_open+0x9c>                     <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a00107a4:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a00107a8:	ebffedb7 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
a00107ac:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00107b0:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a00107b4:	eb0004cb 	bl	a0011ae8 <rtems_barrier_wait>                  <== NOT EXECUTED
a00107b8:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a00107bc:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
a00107c0:	0afffff0 	beq	a0010788 <fifo_open+0x124>                    <== NOT EXECUTED
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
a00107c4:	e3e07003 	mvn	r7, #3                                        <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
a00107c8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00107cc:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a00107d0:	ebffff6d 	bl	a001058c <pipe_release>                        <== NOT EXECUTED
  return err;                                                         
a00107d4:	eaffffcc 	b	a001070c <fifo_open+0xa8>                       <== NOT EXECUTED
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a00107d8:	e5953010 	ldr	r3, [r5, #16]                                 
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a00107dc:	e5951020 	ldr	r1, [r5, #32]                                 
      if (pipe->Readers ++ == 0)                                      
a00107e0:	e2832001 	add	r2, r3, #1                                    
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a00107e4:	e2811001 	add	r1, r1, #1                                    
      if (pipe->Readers ++ == 0)                                      
a00107e8:	e3530000 	cmp	r3, #0                                        
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a00107ec:	e5851020 	str	r1, [r5, #32]                                 
      if (pipe->Readers ++ == 0)                                      
a00107f0:	e5852010 	str	r2, [r5, #16]                                 
a00107f4:	0a000086 	beq	a0010a14 <fifo_open+0x3b0>                    
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
a00107f8:	e5953014 	ldr	r3, [r5, #20]                                 
a00107fc:	e3530000 	cmp	r3, #0                                        
a0010800:	1affffbe 	bne	a0010700 <fifo_open+0x9c>                     
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
a0010804:	e5963014 	ldr	r3, [r6, #20]                                 
a0010808:	e3130001 	tst	r3, #1                                        
a001080c:	1affffbb 	bne	a0010700 <fifo_open+0x9c>                     
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
a0010810:	e5957024 	ldr	r7, [r5, #36]	; 0x24                          <== NOT EXECUTED
a0010814:	ea000006 	b	a0010834 <fifo_open+0x1d0>                      <== NOT EXECUTED
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a0010818:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a001081c:	ebffed51 	bl	a000bd68 <rtems_semaphore_obtain>              <== NOT EXECUTED
a0010820:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010824:	1affffe6 	bne	a00107c4 <fifo_open+0x160>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
a0010828:	e5953024 	ldr	r3, [r5, #36]	; 0x24                          <== NOT EXECUTED
a001082c:	e1530007 	cmp	r3, r7                                        <== NOT EXECUTED
a0010830:	1affffb2 	bne	a0010700 <fifo_open+0x9c>                     <== NOT EXECUTED
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a0010834:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0010838:	ebffed93 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
a001083c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0010840:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a0010844:	eb0004a7 	bl	a0011ae8 <rtems_barrier_wait>                  <== NOT EXECUTED
a0010848:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a001084c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
a0010850:	0afffff0 	beq	a0010818 <fifo_open+0x1b4>                    <== NOT EXECUTED
a0010854:	eaffffda 	b	a00107c4 <fifo_open+0x160>                      <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a0010858:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a001085c:	e5951020 	ldr	r1, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a0010860:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a0010864:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a0010868:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a001086c:	e5851020 	str	r1, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a0010870:	e5852010 	str	r2, [r5, #16]                                 <== NOT EXECUTED
a0010874:	0a000062 	beq	a0010a04 <fifo_open+0x3a0>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
a0010878:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a001087c:	e5951024 	ldr	r1, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a0010880:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a0010884:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a0010888:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a001088c:	e5851024 	str	r1, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a0010890:	e5852014 	str	r2, [r5, #20]                                 <== NOT EXECUTED
a0010894:	1affff99 	bne	a0010700 <fifo_open+0x9c>                     <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
a0010898:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a001089c:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a00108a0:	eb000478 	bl	a0011a88 <rtems_barrier_release>               <== NOT EXECUTED
a00108a4:	eaffff95 	b	a0010700 <fifo_open+0x9c>                       <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a00108a8:	e3a00034 	mov	r0, #52	; 0x34                                
a00108ac:	ebffe024 	bl	a0008944 <malloc>                              
  if (pipe == NULL)                                                   
a00108b0:	e3500000 	cmp	r0, #0                                        
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a00108b4:	e1a05000 	mov	r5, r0                                        
a00108b8:	e1a08000 	mov	r8, r0                                        
  if (pipe == NULL)                                                   
a00108bc:	0a000070 	beq	a0010a84 <fifo_open+0x420>                    
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
a00108c0:	e1a02000 	mov	r2, r0                                        
a00108c4:	e482a004 	str	sl, [r2], #4                                  
a00108c8:	e2822004 	add	r2, r2, #4                                    
a00108cc:	e482a004 	str	sl, [r2], #4                                  
a00108d0:	e482a004 	str	sl, [r2], #4                                  
a00108d4:	e482a004 	str	sl, [r2], #4                                  
a00108d8:	e482a004 	str	sl, [r2], #4                                  
a00108dc:	e482a004 	str	sl, [r2], #4                                  
a00108e0:	e482a004 	str	sl, [r2], #4                                  
a00108e4:	e482a004 	str	sl, [r2], #4                                  
a00108e8:	e482a004 	str	sl, [r2], #4                                  
a00108ec:	e482a004 	str	sl, [r2], #4                                  
a00108f0:	e482a004 	str	sl, [r2], #4                                  
                                                                      
  pipe->Size = PIPE_BUF;                                              
a00108f4:	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));                            
a00108f8:	e582a000 	str	sl, [r2]                                      
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
a00108fc:	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;                                              
a0010900:	e5853004 	str	r3, [r5, #4]                                  
  pipe->Buffer = malloc(pipe->Size);                                  
a0010904:	ebffe00e 	bl	a0008944 <malloc>                              
  if (! pipe->Buffer)                                                 
a0010908:	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);                                  
a001090c:	e5850000 	str	r0, [r5]                                      
  if (! pipe->Buffer)                                                 
a0010910:	0a000059 	beq	a0010a7c <fifo_open+0x418>                    
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
a0010914:	e59f7184 	ldr	r7, [pc, #388]	; a0010aa0 <fifo_open+0x43c>   
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
a0010918:	e1a0100a 	mov	r1, sl                                        
a001091c:	e1a0200a 	mov	r2, sl                                        
        rtems_build_name ('P', 'I', 'r', c),                          
a0010920:	e5d70000 	ldrb	r0, [r7]                                     
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
a0010924:	e285302c 	add	r3, r5, #44	; 0x2c                            
a0010928:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              
a001092c:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   
a0010930:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       
a0010934:	eb0003f5 	bl	a0011910 <rtems_barrier_create>                
a0010938:	e2501000 	subs	r1, r0, #0                                   
a001093c:	1a00004c 	bne	a0010a74 <fifo_open+0x410>                    
        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),                          
a0010940:	e5d70000 	ldrb	r0, [r7]                                     
  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(                                           
a0010944:	e2853030 	add	r3, r5, #48	; 0x30                            
a0010948:	e1a02001 	mov	r2, r1                                        
a001094c:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              
a0010950:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   
a0010954:	e3800c77 	orr	r0, r0, #30464	; 0x7700                       
a0010958:	eb0003ec 	bl	a0011910 <rtems_barrier_create>                
a001095c:	e2503000 	subs	r3, r0, #0                                   
a0010960:	1a000041 	bne	a0010a6c <fifo_open+0x408>                    
        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,                       
a0010964:	e5d70000 	ldrb	r0, [r7]                                     
  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(                                         
a0010968:	e285c028 	add	ip, r5, #40	; 0x28                            
a001096c:	e3a01001 	mov	r1, #1                                        
a0010970:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              
a0010974:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   
a0010978:	e3800c73 	orr	r0, r0, #29440	; 0x7300                       
a001097c:	e3a02010 	mov	r2, #16                                       
a0010980:	e58dc000 	str	ip, [sp]                                      
a0010984:	ebffec5d 	bl	a000bb00 <rtems_semaphore_create>              
a0010988:	e3500000 	cmp	r0, #0                                        
a001098c:	1a000034 	bne	a0010a64 <fifo_open+0x400>                    
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
a0010990:	e5d73000 	ldrb	r3, [r7]                                     
a0010994:	e353007a 	cmp	r3, #122	; 0x7a                               
a0010998:	e2832001 	add	r2, r3, #1                                    
    c = 'a';                                                          
a001099c:	03a03061 	moveq	r3, #97	; 0x61                              
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
a00109a0:	e5c72000 	strb	r2, [r7]                                     
    c = 'a';                                                          
a00109a4:	05c73000 	strbeq	r3, [r7]                                   
a00109a8:	eaffff3e 	b	a00106a8 <fifo_open+0x44>                       
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
a00109ac:	e3570000 	cmp	r7, #0                                        
a00109b0:	1a00001b 	bne	a0010a24 <fifo_open+0x3c0>                    
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
a00109b4:	e5845000 	str	r5, [r4]                                      
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a00109b8:	ebfffeef 	bl	a001057c <pipe_unlock>                         
a00109bc:	eaffff46 	b	a00106dc <fifo_open+0x78>                       
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
      sc = rtems_semaphore_create(                                    
a00109c0:	e1a03008 	mov	r3, r8                                        
a00109c4:	e3a01001 	mov	r1, #1                                        
a00109c8:	e3a02054 	mov	r2, #84	; 0x54                                
a00109cc:	e59f00d0 	ldr	r0, [pc, #208]	; a0010aa4 <fifo_open+0x440>   
a00109d0:	e58d5000 	str	r5, [sp]                                      
a00109d4:	ebffec49 	bl	a000bb00 <rtems_semaphore_create>              
a00109d8:	e1a08000 	mov	r8, r0                                        
a00109dc:	e5970000 	ldr	r0, [r7]                                      
a00109e0:	ebffed29 	bl	a000be8c <rtems_semaphore_release>             
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
a00109e4:	e3580000 	cmp	r8, #0                                        
a00109e8:	0a000028 	beq	a0010a90 <fifo_open+0x42c>                    
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
a00109ec:	e3e0700b 	mvn	r7, #11                                       <== NOT EXECUTED
a00109f0:	eaffff45 	b	a001070c <fifo_open+0xa8>                       <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
a00109f4:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          
a00109f8:	e28d1004 	add	r1, sp, #4                                    
a00109fc:	eb000421 	bl	a0011a88 <rtems_barrier_release>               
a0010a00:	eaffff58 	b	a0010768 <fifo_open+0x104>                      
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a0010a04:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0010a08:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a0010a0c:	eb00041d 	bl	a0011a88 <rtems_barrier_release>               <== NOT EXECUTED
a0010a10:	eaffff98 	b	a0010878 <fifo_open+0x214>                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a0010a14:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          
a0010a18:	e28d1004 	add	r1, sp, #4                                    
a0010a1c:	eb000419 	bl	a0011a88 <rtems_barrier_release>               
a0010a20:	eaffff74 	b	a00107f8 <fifo_open+0x194>                      
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a0010a24:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a0010a28:	eb0003ea 	bl	a00119d8 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
a0010a2c:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0010a30:	eb0003e8 	bl	a00119d8 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
a0010a34:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0010a38:	ebffeca1 	bl	a000bcc4 <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
a0010a3c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0010a40:	ebffdda0 	bl	a00080c8 <free>                                <== NOT EXECUTED
  free(pipe);                                                         
a0010a44:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0010a48:	ebffdd9e 	bl	a00080c8 <free>                                <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a0010a4c:	ebfffeca 	bl	a001057c <pipe_unlock>                         <== NOT EXECUTED
a0010a50:	eaffff2d 	b	a001070c <fifo_open+0xa8>                       <== NOT EXECUTED
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
a0010a54:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0010a58:	ebffed0b 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
        err = -ENXIO;                                                 
a0010a5c:	e3e07005 	mvn	r7, #5                                        <== NOT EXECUTED
        goto out_error;                                               
a0010a60:	eaffff58 	b	a00107c8 <fifo_open+0x164>                      <== NOT EXECUTED
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
a0010a64:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0010a68:	eb0003da 	bl	a00119d8 <rtems_barrier_delete>                <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
a0010a6c:	e598002c 	ldr	r0, [r8, #44]	; 0x2c                          <== NOT EXECUTED
a0010a70:	eb0003d8 	bl	a00119d8 <rtems_barrier_delete>                <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
a0010a74:	e5980000 	ldr	r0, [r8]                                      <== NOT EXECUTED
a0010a78:	ebffdd92 	bl	a00080c8 <free>                                <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
a0010a7c:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0010a80:	ebffdd90 	bl	a00080c8 <free>                                <== NOT EXECUTED
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
a0010a84:	e3e0700b 	mvn	r7, #11                                       <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
a0010a88:	ebfffebb 	bl	a001057c <pipe_unlock>                         <== NOT EXECUTED
a0010a8c:	eaffff1e 	b	a001070c <fifo_open+0xa8>                       <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
a0010a90:	e5958000 	ldr	r8, [r5]                                      
a0010a94:	eafffefa 	b	a0010684 <fifo_open+0x20>                       
                                                                      

a0006ff4 <fpathconf>: { long return_value; rtems_libio_t *iop; rtems_filesystem_limits_and_options_t *the_limits; rtems_libio_check_fd(fd);
a0006ff4:	e59f310c 	ldr	r3, [pc, #268]	; a0007108 <fpathconf+0x114>   <== NOT EXECUTED
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
a0006ff8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
a0006ffc:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0007000:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0007004:	2a000035 	bcs	a00070e0 <fpathconf+0xec>                     <== NOT EXECUTED
  iop = rtems_libio_iop(fd);                                          
a0007008:	e59f30fc 	ldr	r3, [pc, #252]	; a000710c <fpathconf+0x118>   <== NOT EXECUTED
a000700c:	e3a02038 	mov	r2, #56	; 0x38                                <== NOT EXECUTED
a0007010:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0007014:	e0203092 	mla	r0, r2, r0, r3                                <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
a0007018:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
a000701c:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0007020:	0a00002e 	beq	a00070e0 <fpathconf+0xec>                     <== NOT EXECUTED
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0007024:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0007028:	0a000031 	beq	a00070f4 <fpathconf+0x100>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
a000702c:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
  switch ( name ) {                                                   
a0007030:	e351000b 	cmp	r1, #11                                       <== NOT EXECUTED
a0007034:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        <== NOT EXECUTED
a0007038:	ea00000d 	b	a0007074 <fpathconf+0x80>                       <== NOT EXECUTED
a000703c:	a0007088 	.word	0xa0007088                                  <== NOT EXECUTED
a0007040:	a0007090 	.word	0xa0007090                                  <== NOT EXECUTED
a0007044:	a0007098 	.word	0xa0007098                                  <== NOT EXECUTED
a0007048:	a00070a0 	.word	0xa00070a0                                  <== NOT EXECUTED
a000704c:	a00070a8 	.word	0xa00070a8                                  <== NOT EXECUTED
a0007050:	a00070b0 	.word	0xa00070b0                                  <== NOT EXECUTED
a0007054:	a00070b8 	.word	0xa00070b8                                  <== NOT EXECUTED
a0007058:	a00070c0 	.word	0xa00070c0                                  <== NOT EXECUTED
a000705c:	a00070c8 	.word	0xa00070c8                                  <== NOT EXECUTED
a0007060:	a00070d0 	.word	0xa00070d0                                  <== NOT EXECUTED
a0007064:	a00070d8 	.word	0xa00070d8                                  <== NOT EXECUTED
a0007068:	a000706c 	.word	0xa000706c                                  <== 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;                       
a000706c:	e5930060 	ldr	r0, [r3, #96]	; 0x60                          <== NOT EXECUTED
      break;                                                          
a0007070:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0007074:	eb002c7c 	bl	a001226c <__errno>                             <== NOT EXECUTED
a0007078:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000707c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007080:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
a0007084:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
a0007088:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          <== NOT EXECUTED
      break;                                                          
a000708c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
a0007090:	e593003c 	ldr	r0, [r3, #60]	; 0x3c                          <== NOT EXECUTED
      break;                                                          
a0007094:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
a0007098:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          <== NOT EXECUTED
      break;                                                          
a000709c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
a00070a0:	e5930044 	ldr	r0, [r3, #68]	; 0x44                          <== NOT EXECUTED
      break;                                                          
a00070a4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
a00070a8:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          <== NOT EXECUTED
      break;                                                          
a00070ac:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
a00070b0:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          <== NOT EXECUTED
      break;                                                          
a00070b4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
a00070b8:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          <== NOT EXECUTED
      break;                                                          
a00070bc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
a00070c0:	e5930058 	ldr	r0, [r3, #88]	; 0x58                          <== NOT EXECUTED
      break;                                                          
a00070c4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
a00070c8:	e5930064 	ldr	r0, [r3, #100]	; 0x64                         <== NOT EXECUTED
      break;                                                          
a00070cc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
a00070d0:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          <== NOT EXECUTED
      break;                                                          
a00070d4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
a00070d8:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          <== NOT EXECUTED
      break;                                                          
a00070dc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  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);                                     
a00070e0:	eb002c61 	bl	a001226c <__errno>                             <== NOT EXECUTED
a00070e4:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00070e8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00070ec:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00070f0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a00070f4:	eb002c5c 	bl	a001226c <__errno>                             <== NOT EXECUTED
a00070f8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00070fc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007100:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007104:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a00063ec <free>: void free( void *ptr ) { MSBUMP(free_calls, 1);
a00063ec:	e59f3090 	ldr	r3, [pc, #144]	; a0006484 <free+0x98>         
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
a00063f0:	e92d4030 	push	{r4, r5, lr}                                 
  MSBUMP(free_calls, 1);                                              
a00063f4:	e593200c 	ldr	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a00063f8:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
a00063fc:	e2822001 	add	r2, r2, #1                                    
a0006400:	e583200c 	str	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a0006404:	0a000010 	beq	a000644c <free+0x60>                          
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0006408:	e59f3078 	ldr	r3, [pc, #120]	; a0006488 <free+0x9c>         
a000640c:	e5933000 	ldr	r3, [r3]                                      
a0006410:	e3530003 	cmp	r3, #3                                        
a0006414:	0a000014 	beq	a000646c <free+0x80>                          
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0006418:	e59f306c 	ldr	r3, [pc, #108]	; a000648c <free+0xa0>         
a000641c:	e5933000 	ldr	r3, [r3]                                      
a0006420:	e3530000 	cmp	r3, #0                                        
a0006424:	0a000002 	beq	a0006434 <free+0x48>                          
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
a0006428:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a000642c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006430:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
a0006434:	e59f5054 	ldr	r5, [pc, #84]	; a0006490 <free+0xa4>          
a0006438:	e1a01004 	mov	r1, r4                                        
a000643c:	e5950000 	ldr	r0, [r5]                                      
a0006440:	eb001467 	bl	a000b5e4 <_Protected_heap_Free>                
a0006444:	e3500000 	cmp	r0, #0                                        
a0006448:	0a000000 	beq	a0006450 <free+0x64>                          
a000644c:	e8bd8030 	pop	{r4, r5, pc}                                  
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
a0006450:	e5953000 	ldr	r3, [r5]                                      
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
a0006454:	e59f0038 	ldr	r0, [pc, #56]	; a0006494 <free+0xa8>          
a0006458:	e1a01004 	mov	r1, r4                                        
a000645c:	e5932018 	ldr	r2, [r3, #24]                                 
a0006460:	e593301c 	ldr	r3, [r3, #28]                                 
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a0006464:	e8bd4030 	pop	{r4, r5, lr}                                  
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
a0006468:	ea00037b 	b	a000725c <printk>                               
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() ) {                               
a000646c:	eb000068 	bl	a0006614 <malloc_is_system_state_OK>           
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0006470:	e3500000 	cmp	r0, #0                                        
a0006474:	1affffe7 	bne	a0006418 <free+0x2c>                          
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
a0006478:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a000647c:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
a0006480:	ea000080 	b	a0006688 <malloc_deferred_free>                 <== NOT EXECUTED
                                                                      

a000781c <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
a000781c:	e59f302c 	ldr	r3, [pc, #44]	; a0007850 <free_user_env+0x34> <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a0007820:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
a0007824:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a0007828:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
a000782c:	0a000006 	beq	a000784c <free_user_env+0x30>                 <== NOT EXECUTED
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
a0007830:	e2800004 	add	r0, r0, #4                                    <== NOT EXECUTED
a0007834:	ebfffb7a 	bl	a0006624 <rtems_filesystem_freenode>           <== NOT EXECUTED
    rtems_filesystem_freenode( &env->root_directory);                 
a0007838:	e2840018 	add	r0, r4, #24                                   <== NOT EXECUTED
a000783c:	ebfffb78 	bl	a0006624 <rtems_filesystem_freenode>           <== NOT EXECUTED
    free(env);                                                        
a0007840:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
  }                                                                   
}                                                                     
a0007844:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
    rtems_filesystem_freenode( &env->root_directory);                 
    free(env);                                                        
a0007848:	eafffb7a 	b	a0006638 <free>                                 <== NOT EXECUTED
a000784c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0015e98 <fstat>: int fstat( int fd, struct stat *sbuf ) {
a0015e98:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_libio_t *iop;                                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
a0015e9c:	e2514000 	subs	r4, r1, #0                                   
a0015ea0:	0a000019 	beq	a0015f0c <fstat+0x74>                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
a0015ea4:	e59f3074 	ldr	r3, [pc, #116]	; a0015f20 <fstat+0x88>        
a0015ea8:	e5933000 	ldr	r3, [r3]                                      
a0015eac:	e1500003 	cmp	r0, r3                                        
a0015eb0:	2a000010 	bcs	a0015ef8 <fstat+0x60>                         
a0015eb4:	e59f3068 	ldr	r3, [pc, #104]	; a0015f24 <fstat+0x8c>        
a0015eb8:	e3a05038 	mov	r5, #56	; 0x38                                
a0015ebc:	e5933000 	ldr	r3, [r3]                                      
a0015ec0:	e0253590 	mla	r5, r0, r5, r3                                
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
a0015ec4:	e5953014 	ldr	r3, [r5, #20]                                 
a0015ec8:	e3130c01 	tst	r3, #256	; 0x100                              
a0015ecc:	0a000009 	beq	a0015ef8 <fstat+0x60>                         
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
a0015ed0:	e1a00004 	mov	r0, r4                                        
a0015ed4:	e3a01000 	mov	r1, #0                                        
a0015ed8:	e3a02048 	mov	r2, #72	; 0x48                                
a0015edc:	ebffef17 	bl	a0011b40 <memset>                              
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
a0015ee0:	e5953020 	ldr	r3, [r5, #32]                                 
a0015ee4:	e2850018 	add	r0, r5, #24                                   
a0015ee8:	e1a01004 	mov	r1, r4                                        
a0015eec:	e5933018 	ldr	r3, [r3, #24]                                 
a0015ef0:	e12fff33 	blx	r3                                            
}                                                                     
a0015ef4:	e8bd8030 	pop	{r4, r5, pc}                                  
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
a0015ef8:	ebffecab 	bl	a00111ac <__errno>                             
a0015efc:	e3a03009 	mov	r3, #9                                        
a0015f00:	e5803000 	str	r3, [r0]                                      
a0015f04:	e3e00000 	mvn	r0, #0                                        
a0015f08:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0015f0c:	ebffeca6 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0015f10:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0015f14:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0015f18:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0015f1c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000726c <fsync>: int fd ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
a000726c:	e59f3068 	ldr	r3, [pc, #104]	; a00072dc <fsync+0x70>        <== NOT EXECUTED
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
a0007270:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0007274:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0007278:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000727c:	2a00000c 	bcs	a00072b4 <fsync+0x48>                         <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
a0007280:	e59f3058 	ldr	r3, [pc, #88]	; a00072e0 <fsync+0x74>         <== NOT EXECUTED
a0007284:	e3a02038 	mov	r2, #56	; 0x38                                <== NOT EXECUTED
a0007288:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a000728c:	e0203092 	mla	r0, r2, r0, r3                                <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
a0007290:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
a0007294:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0007298:	0a000005 	beq	a00072b4 <fsync+0x48>                         <== NOT EXECUTED
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a000729c:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a00072a0:	0a000008 	beq	a00072c8 <fsync+0x5c>                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
a00072a4:	e5903020 	ldr	r3, [r0, #32]                                 <== NOT EXECUTED
a00072a8:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
a00072ac:	e12fff33 	blx	r3                                            <== NOT EXECUTED
}                                                                     
a00072b0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a00072b4:	eb002bec 	bl	a001226c <__errno>                             <== NOT EXECUTED
a00072b8:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00072bc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00072c0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00072c4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a00072c8:	eb002be7 	bl	a001226c <__errno>                             <== NOT EXECUTED
a00072cc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00072d0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00072d4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00072d8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000e3cc <ftruncate>: ) { rtems_libio_t *iop; rtems_filesystem_location_info_t loc; rtems_libio_check_fd( fd );
a000e3cc:	e59f30cc 	ldr	r3, [pc, #204]	; a000e4a0 <ftruncate+0xd4>    
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a000e3d0:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a000e3d4:	e5933000 	ldr	r3, [r3]                                      
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a000e3d8:	e24dd014 	sub	sp, sp, #20                                   
a000e3dc:	e1a05001 	mov	r5, r1                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a000e3e0:	e1500003 	cmp	r0, r3                                        
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a000e3e4:	e1a06002 	mov	r6, r2                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a000e3e8:	2a00001d 	bcs	a000e464 <ftruncate+0x98>                     
  iop = rtems_libio_iop( fd );                                        
a000e3ec:	e59f30b0 	ldr	r3, [pc, #176]	; a000e4a4 <ftruncate+0xd8>    
a000e3f0:	e3a04038 	mov	r4, #56	; 0x38                                
a000e3f4:	e5933000 	ldr	r3, [r3]                                      
a000e3f8:	e0243490 	mla	r4, r0, r4, r3                                
  rtems_libio_check_is_open(iop);                                     
a000e3fc:	e5943014 	ldr	r3, [r4, #20]                                 
a000e400:	e3130c01 	tst	r3, #256	; 0x100                              
a000e404:	0a000016 	beq	a000e464 <ftruncate+0x98>                     
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a000e408:	e1a0c00d 	mov	ip, sp                                        
a000e40c:	e284e018 	add	lr, r4, #24                                   
a000e410:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000e414:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000e418:	e59e3000 	ldr	r3, [lr]                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
a000e41c:	e1a0000d 	mov	r0, sp                                        
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a000e420:	e58c3000 	str	r3, [ip]                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
a000e424:	e59d300c 	ldr	r3, [sp, #12]                                 
a000e428:	e5933010 	ldr	r3, [r3, #16]                                 
a000e42c:	e12fff33 	blx	r3                                            
a000e430:	e3500001 	cmp	r0, #1                                        
a000e434:	0a000014 	beq	a000e48c <ftruncate+0xc0>                     
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a000e438:	e5943014 	ldr	r3, [r4, #20]                                 
a000e43c:	e3130004 	tst	r3, #4                                        
a000e440:	0a00000c 	beq	a000e478 <ftruncate+0xac>                     
                                                                      
  return (*iop->pathinfo.handlers->ftruncate_h)( iop, length );       
a000e444:	e5943020 	ldr	r3, [r4, #32]                                 
a000e448:	e1a00004 	mov	r0, r4                                        
a000e44c:	e1a01005 	mov	r1, r5                                        
a000e450:	e1a02006 	mov	r2, r6                                        
a000e454:	e5933020 	ldr	r3, [r3, #32]                                 
a000e458:	e12fff33 	blx	r3                                            
}                                                                     
a000e45c:	e28dd014 	add	sp, sp, #20                                   
a000e460:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a000e464:	eb000b50 	bl	a00111ac <__errno>                             
a000e468:	e3a03009 	mov	r3, #9                                        
a000e46c:	e5803000 	str	r3, [r0]                                      
a000e470:	e3e00000 	mvn	r0, #0                                        
a000e474:	eafffff8 	b	a000e45c <ftruncate+0x90>                       
                                                                      
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a000e478:	eb000b4b 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000e47c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000e480:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000e484:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000e488:	eafffff3 	b	a000e45c <ftruncate+0x90>                       <== NOT EXECUTED
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a000e48c:	eb000b46 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a000e490:	e3a03015 	mov	r3, #21                                       <== NOT EXECUTED
a000e494:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000e498:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000e49c:	eaffffee 	b	a000e45c <ftruncate+0x90>                       <== NOT EXECUTED
                                                                      

a00070b8 <getgr_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
a00070b8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
a00070bc:	e59d801c 	ldr	r8, [sp, #28]                                 <== NOT EXECUTED
a00070c0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a00070c4:	e1a0a001 	mov	sl, r1                                        <== NOT EXECUTED
a00070c8:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a00070cc:	e1a07003 	mov	r7, r3                                        <== NOT EXECUTED
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a00070d0:	ebffffbf 	bl	a0006fd4 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
a00070d4:	e59f00b0 	ldr	r0, [pc, #176]	; a000718c <getgr_r+0xd4>      <== NOT EXECUTED
a00070d8:	e59f10b0 	ldr	r1, [pc, #176]	; a0007190 <getgr_r+0xd8>      <== NOT EXECUTED
a00070dc:	eb002e63 	bl	a0012a70 <fopen>                               <== NOT EXECUTED
a00070e0:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a00070e4:	1a000006 	bne	a0007104 <getgr_r+0x4c>                       <== NOT EXECUTED
a00070e8:	ea000022 	b	a0007178 <getgr_r+0xc0>                         <== NOT EXECUTED
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize))                            
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a00070ec:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00070f0:	eb00320f 	bl	a0013934 <strcmp>                              <== NOT EXECUTED
a00070f4:	e2700001 	rsbs	r0, r0, #1                                   <== NOT EXECUTED
a00070f8:	33a00000 	movcc	r0, #0                                      <== NOT EXECUTED
    } else {                                                          
      match = (grp->gr_gid == gid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
a00070fc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007100:	1a00000f 	bne	a0007144 <getgr_r+0x8c>                       <== NOT EXECUTED
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize))                            
a0007104:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0007108:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a000710c:	e1a03008 	mov	r3, r8                                        <== NOT EXECUTED
a0007110:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0007114:	ebffff0f 	bl	a0006d58 <scangr>                              <== NOT EXECUTED
a0007118:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a000711c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize))                            
a0007120:	0a00000d 	beq	a000715c <getgr_r+0xa4>                       <== NOT EXECUTED
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
a0007124:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a0007128:	1affffef 	bne	a00070ec <getgr_r+0x34>                       <== NOT EXECUTED
      match = (strcmp(grp->gr_name, name) == 0);                      
    } else {                                                          
      match = (grp->gr_gid == gid);                                   
a000712c:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a0007130:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
a0007134:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0007138:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    if (match) {                                                      
a000713c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007140:	0affffef 	beq	a0007104 <getgr_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
a0007144:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0007148:	eb002c71 	bl	a0012314 <fclose>                              <== NOT EXECUTED
      *result = grp;                                                  
a000714c:	e59d3020 	ldr	r3, [sp, #32]                                 <== NOT EXECUTED
      return 0;                                                       
a0007150:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
      match = (grp->gr_gid == gid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
      fclose(fp);                                                     
      *result = grp;                                                  
a0007154:	e5834000 	str	r4, [r3]                                      <== NOT EXECUTED
      return 0;                                                       
a0007158:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
a000715c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0007160:	eb002c6b 	bl	a0012314 <fclose>                              <== NOT EXECUTED
  rtems_set_errno_and_return_minus_one( EINVAL );                     
a0007164:	eb002c1c 	bl	a00121dc <__errno>                             <== NOT EXECUTED
a0007168:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000716c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007170:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0007174:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0007178:	eb002c17 	bl	a00121dc <__errno>                             <== NOT EXECUTED
a000717c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0007180:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007184:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007188:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a00074cc <getgrent>: struct group *getgrent(void) {
a00074cc:	e92d4010 	push	{r4, lr}                                     
  if (group_fp == NULL)                                               
a00074d0:	e59f4028 	ldr	r4, [pc, #40]	; a0007500 <getgrent+0x34>      
a00074d4:	e59401c4 	ldr	r0, [r4, #452]	; 0x1c4                        
a00074d8:	e3500000 	cmp	r0, #0                                        
a00074dc:	1a000000 	bne	a00074e4 <getgrent+0x18>                      
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
a00074e0:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
struct group *getgrent(void)                                          
{                                                                     
  if (group_fp == NULL)                                               
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
a00074e4:	e28410ec 	add	r1, r4, #236	; 0xec                           <== NOT EXECUTED
a00074e8:	e28420fc 	add	r2, r4, #252	; 0xfc                           <== NOT EXECUTED
a00074ec:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a00074f0:	ebfffe18 	bl	a0006d58 <scangr>                              <== NOT EXECUTED
    return NULL;                                                      
a00074f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00074f8:	128400ec 	addne	r0, r4, #236	; 0xec                         <== NOT EXECUTED
  return &grent;                                                      
}                                                                     
a00074fc:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a000748c <getgrgid>: struct group *getgrgid( gid_t gid ) {
a000748c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a0007490:	e59f1030 	ldr	r1, [pc, #48]	; a00074c8 <getgrgid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
a0007494:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
a0007498:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a000749c:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a00074a0:	e2812010 	add	r2, r1, #16                                   <== NOT EXECUTED
a00074a4:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a00074a8:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a00074ac:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a00074b0:	ebffffe6 	bl	a0007450 <getgrgid_r>                          <== NOT EXECUTED
a00074b4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a00074b8:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
)                                                                     
{                                                                     
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
    return NULL;                                                      
a00074bc:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
  return p;                                                           
}                                                                     
a00074c0:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00074c4:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a0007450 <getgrgid_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
a0007450:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a0007454:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a0007458:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a000745c:	e1a04800 	lsl	r4, r0, #16                                   <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a0007460:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0007464:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a0007468:	e59dc010 	ldr	ip, [sp, #16]                                 <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a000746c:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a0007470:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0007474:	e1a01824 	lsr	r1, r4, #16                                   <== NOT EXECUTED
a0007478:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000747c:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0007480:	ebffff0c 	bl	a00070b8 <getgr_r>                             <== NOT EXECUTED
}                                                                     
a0007484:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0007488:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0007418 <getgrnam>: struct group *getgrnam( const char *name ) {
a0007418:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrnam_r(name, &grent, grbuf, sizeof grbuf, &p))               
a000741c:	e59f1028 	ldr	r1, [pc, #40]	; a000744c <getgrnam+0x34>      <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrnam(                                               
  const char *name                                                    
)                                                                     
{                                                                     
a0007420:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrnam_r(name, &grent, grbuf, sizeof grbuf, &p))               
a0007424:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a0007428:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a000742c:	e2812010 	add	r2, r1, #16                                   <== NOT EXECUTED
a0007430:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0007434:	ebffffea 	bl	a00073e4 <getgrnam_r>                          <== NOT EXECUTED
a0007438:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a000743c:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
)                                                                     
{                                                                     
  struct group *p;                                                    
                                                                      
  if(getgrnam_r(name, &grent, grbuf, sizeof grbuf, &p))               
    return NULL;                                                      
a0007440:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
  return p;                                                           
}                                                                     
a0007444:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0007448:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a00073e4 <getgrnam_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
a00073e4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a00073e8:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a00073ec:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  return getgr_r(name, 0, grp, buffer, bufsize, result);              
a00073f0:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a00073f4:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a00073f8:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a00073fc:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getgr_r(name, 0, grp, buffer, bufsize, result);              
a0007400:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0007404:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0007408:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a000740c:	ebffff29 	bl	a00070b8 <getgr_r>                             <== NOT EXECUTED
}                                                                     
a0007410:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0007414:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a0006aa4 <getgroups>: int gidsetsize __attribute__((unused)), gid_t grouplist[] __attribute__((unused)) ) { return 0; /* no supplemental group ids */ }
a0006aa4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006aa8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0006afc <getlogin>: * 4.2.4 Get User Name, P1003.1b-1993, p. 87 * * NOTE: P1003.1c/D10, p. 49 adds getlogin_r(). */ char *getlogin( void ) {
a0006afc:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  (void) getlogin_r( _POSIX_types_Getlogin_buffer, LOGIN_NAME_MAX );  
a0006b00:	e59f4018 	ldr	r4, [pc, #24]	; a0006b20 <getlogin+0x24>      <== NOT EXECUTED
a0006b04:	e3a01009 	mov	r1, #9                                        <== NOT EXECUTED
a0006b08:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0006b0c:	e280003a 	add	r0, r0, #58	; 0x3a                            <== NOT EXECUTED
a0006b10:	ebffffe5 	bl	a0006aac <getlogin_r>                          <== NOT EXECUTED
  return _POSIX_types_Getlogin_buffer;                                
a0006b14:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
}                                                                     
a0006b18:	e280003a 	add	r0, r0, #58	; 0x3a                            <== NOT EXECUTED
a0006b1c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0006aac <getlogin_r>: */ int getlogin_r( char *name, size_t namesize ) {
a0006aac:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  struct passwd *pw;                                                  
  char          *pname;                                               
                                                                      
  if ( !name )                                                        
a0006ab0:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
a0006ab4:	0a00000d 	beq	a0006af0 <getlogin_r+0x44>                    <== NOT EXECUTED
    return EFAULT;                                                    
                                                                      
  if ( namesize < LOGIN_NAME_MAX )                                    
a0006ab8:	e3510008 	cmp	r1, #8                                        <== NOT EXECUTED
a0006abc:	8a000001 	bhi	a0006ac8 <getlogin_r+0x1c>                    <== NOT EXECUTED
    return ERANGE;                                                    
a0006ac0:	e3a00022 	mov	r0, #34	; 0x22                                <== NOT EXECUTED
  if ( pw )                                                           
   pname = pw->pw_name;                                               
                                                                      
  strncpy( name, pname, LOGIN_NAME_MAX );                             
  return 0;                                                           
}                                                                     
a0006ac4:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    return ERANGE;                                                    
                                                                      
  /* Set the pointer to a default name */                             
  pname = "";                                                         
                                                                      
  pw = getpwuid(getuid());                                            
a0006ac8:	eb0002c0 	bl	a00075d0 <getuid>                              <== NOT EXECUTED
a0006acc:	eb000211 	bl	a0007318 <getpwuid>                            <== NOT EXECUTED
  if ( pw )                                                           
a0006ad0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   pname = pw->pw_name;                                               
a0006ad4:	15901000 	ldrne	r1, [r0]                                    <== NOT EXECUTED
                                                                      
  if ( namesize < LOGIN_NAME_MAX )                                    
    return ERANGE;                                                    
                                                                      
  /* Set the pointer to a default name */                             
  pname = "";                                                         
a0006ad8:	059f1018 	ldreq	r1, [pc, #24]	; a0006af8 <getlogin_r+0x4c>  <== NOT EXECUTED
                                                                      
  pw = getpwuid(getuid());                                            
  if ( pw )                                                           
   pname = pw->pw_name;                                               
                                                                      
  strncpy( name, pname, LOGIN_NAME_MAX );                             
a0006adc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006ae0:	e3a02009 	mov	r2, #9                                        <== NOT EXECUTED
a0006ae4:	eb003486 	bl	a0013d04 <strncpy>                             <== NOT EXECUTED
  return 0;                                                           
a0006ae8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006aec:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
{                                                                     
  struct passwd *pw;                                                  
  char          *pname;                                               
                                                                      
  if ( !name )                                                        
    return EFAULT;                                                    
a0006af0:	e3a0000e 	mov	r0, #14                                       <== NOT EXECUTED
a0006af4:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0006b24 <getpgrp>: * This always succeeds and returns the process group id. For rtems, * this will always be the local node; */ return _Objects_Local_node; }
a0006b24:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0006b28:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0007194 <getpw_r>: struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result ) {
a0007194:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
a0007198:	e59d801c 	ldr	r8, [sp, #28]                                 <== NOT EXECUTED
a000719c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a00071a0:	e1a0a001 	mov	sl, r1                                        <== NOT EXECUTED
a00071a4:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a00071a8:	e1a07003 	mov	r7, r3                                        <== NOT EXECUTED
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a00071ac:	ebffff88 	bl	a0006fd4 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL)                       
a00071b0:	e59f00b0 	ldr	r0, [pc, #176]	; a0007268 <getpw_r+0xd4>      <== NOT EXECUTED
a00071b4:	e59f10b0 	ldr	r1, [pc, #176]	; a000726c <getpw_r+0xd8>      <== NOT EXECUTED
a00071b8:	eb002e2c 	bl	a0012a70 <fopen>                               <== NOT EXECUTED
a00071bc:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a00071c0:	1a000006 	bne	a00071e0 <getpw_r+0x4c>                       <== NOT EXECUTED
a00071c4:	ea000022 	b	a0007254 <getpw_r+0xc0>                         <== NOT EXECUTED
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize))                            
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a00071c8:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00071cc:	eb0031d8 	bl	a0013934 <strcmp>                              <== NOT EXECUTED
a00071d0:	e2700001 	rsbs	r0, r0, #1                                   <== NOT EXECUTED
a00071d4:	33a00000 	movcc	r0, #0                                      <== NOT EXECUTED
    } else {                                                          
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
a00071d8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00071dc:	1a00000f 	bne	a0007220 <getpw_r+0x8c>                       <== NOT EXECUTED
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL)                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize))                            
a00071e0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00071e4:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a00071e8:	e1a03008 	mov	r3, r8                                        <== NOT EXECUTED
a00071ec:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00071f0:	ebffff2e 	bl	a0006eb0 <scanpw>                              <== NOT EXECUTED
a00071f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a00071f8:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL)                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize))                            
a00071fc:	0a00000d 	beq	a0007238 <getpw_r+0xa4>                       <== NOT EXECUTED
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
a0007200:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a0007204:	1affffef 	bne	a00071c8 <getpw_r+0x34>                       <== NOT EXECUTED
      match = (strcmp(pwd->pw_name, name) == 0);                      
    } else {                                                          
      match = (pwd->pw_uid == uid);                                   
a0007208:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a000720c:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
a0007210:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0007214:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    if (match) {                                                      
a0007218:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000721c:	0affffef 	beq	a00071e0 <getpw_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
a0007220:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0007224:	eb002c3a 	bl	a0012314 <fclose>                              <== NOT EXECUTED
      *result = pwd;                                                  
a0007228:	e59d3020 	ldr	r3, [sp, #32]                                 <== NOT EXECUTED
      return 0;                                                       
a000722c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
      fclose(fp);                                                     
      *result = pwd;                                                  
a0007230:	e5834000 	str	r4, [r3]                                      <== NOT EXECUTED
      return 0;                                                       
a0007234:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
a0007238:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000723c:	eb002c34 	bl	a0012314 <fclose>                              <== NOT EXECUTED
  rtems_set_errno_and_return_minus_one( EINVAL );                     
a0007240:	eb002be5 	bl	a00121dc <__errno>                             <== NOT EXECUTED
a0007244:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0007248:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000724c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0007250:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL)                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0007254:	eb002be0 	bl	a00121dc <__errno>                             <== NOT EXECUTED
a0007258:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000725c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0007260:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007264:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a0007358 <getpwent>: struct passwd *getpwent(void) {
a0007358:	e92d4010 	push	{r4, lr}                                     
  if (passwd_fp == NULL)                                              
a000735c:	e59f4028 	ldr	r4, [pc, #40]	; a000738c <getpwent+0x34>      
a0007360:	e59400e8 	ldr	r0, [r4, #232]	; 0xe8                         
a0007364:	e3500000 	cmp	r0, #0                                        
a0007368:	1a000000 	bne	a0007370 <getpwent+0x18>                      
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
a000736c:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
  if (passwd_fp == NULL)                                              
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
a0007370:	e2841004 	add	r1, r4, #4                                    <== NOT EXECUTED
a0007374:	e2842020 	add	r2, r4, #32                                   <== NOT EXECUTED
a0007378:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a000737c:	ebfffecb 	bl	a0006eb0 <scanpw>                              <== NOT EXECUTED
    return NULL;                                                      
a0007380:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007384:	12840004 	addne	r0, r4, #4                                  <== NOT EXECUTED
  return &pwent;                                                      
}                                                                     
a0007388:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a00072a4 <getpwnam>: struct passwd *getpwnam( const char *name ) {
a00072a4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwnam_r(name, &pwent, pwbuf, sizeof pwbuf, &p))               
a00072a8:	e59f1028 	ldr	r1, [pc, #40]	; a00072d8 <getpwnam+0x34>      <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwnam(                                              
  const char *name                                                    
)                                                                     
{                                                                     
a00072ac:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwnam_r(name, &pwent, pwbuf, sizeof pwbuf, &p))               
a00072b0:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a00072b4:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a00072b8:	e281201c 	add	r2, r1, #28                                   <== NOT EXECUTED
a00072bc:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a00072c0:	ebffffea 	bl	a0007270 <getpwnam_r>                          <== NOT EXECUTED
a00072c4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a00072c8:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
)                                                                     
{                                                                     
  struct passwd *p;                                                   
                                                                      
  if(getpwnam_r(name, &pwent, pwbuf, sizeof pwbuf, &p))               
    return NULL;                                                      
a00072cc:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
  return p;                                                           
}                                                                     
a00072d0:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00072d4:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a0007270 <getpwnam_r>: struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result ) {
a0007270:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0007274:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a0007278:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  return getpw_r(name, 0, pwd, buffer, bufsize, result);              
a000727c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0007280:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a0007284:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a0007288:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getpw_r(name, 0, pwd, buffer, bufsize, result);              
a000728c:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0007290:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0007294:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0007298:	ebffffbd 	bl	a0007194 <getpw_r>                             <== NOT EXECUTED
}                                                                     
a000729c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00072a0:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a0007318 <getpwuid>: struct passwd *getpwuid( uid_t uid ) {
a0007318:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a000731c:	e59f1030 	ldr	r1, [pc, #48]	; a0007354 <getpwuid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
a0007320:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
a0007324:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a0007328:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a000732c:	e281201c 	add	r2, r1, #28                                   <== NOT EXECUTED
a0007330:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a0007334:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a0007338:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000733c:	ebffffe6 	bl	a00072dc <getpwuid_r>                          <== NOT EXECUTED
a0007340:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a0007344:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
)                                                                     
{                                                                     
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
    return NULL;                                                      
a0007348:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
  return p;                                                           
}                                                                     
a000734c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0007350:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a00072dc <getpwuid_r>: struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result ) {
a00072dc:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a00072e0:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a00072e4:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a00072e8:	e1a04800 	lsl	r4, r0, #16                                   <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a00072ec:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a00072f0:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a00072f4:	e59dc010 	ldr	ip, [sp, #16]                                 <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a00072f8:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a00072fc:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0007300:	e1a01824 	lsr	r1, r4, #16                                   <== NOT EXECUTED
a0007304:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0007308:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a000730c:	ebffffa0 	bl	a0007194 <getpw_r>                             <== NOT EXECUTED
}                                                                     
a0007310:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0007314:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0006784 <getrusage>: #include <rtems.h> #include <rtems/seterr.h> int getrusage(int who, struct rusage *usage) {
a0006784:	e92d4030 	push	{r4, r5, lr}                                 
  struct timespec uptime;                                             
  struct timeval  rtime;                                              
                                                                      
  if ( !usage )                                                       
a0006788:	e2515000 	subs	r5, r1, #0                                   
                                                                      
#include <rtems.h>                                                    
#include <rtems/seterr.h>                                             
                                                                      
int getrusage(int who, struct rusage *usage)                          
{                                                                     
a000678c:	e24dd008 	sub	sp, sp, #8                                    
a0006790:	e1a04000 	mov	r4, r0                                        
  struct timespec uptime;                                             
  struct timeval  rtime;                                              
                                                                      
  if ( !usage )                                                       
a0006794:	0a00001c 	beq	a000680c <getrusage+0x88>                     
   *  RTEMS only has a single process so there are no children.       
   *  The single process has been running since the system            
   *  was booted and since there is no distinction between system     
   *  and user time, we will just report the uptime.                  
   */                                                                 
  if (who == RUSAGE_SELF) {                                           
a0006798:	e3500000 	cmp	r0, #0                                        
a000679c:	0a00000c 	beq	a00067d4 <getrusage+0x50>                     
    usage->ru_stime = rtime;                                          
                                                                      
    return 0;                                                         
  }                                                                   
                                                                      
  if (who == RUSAGE_CHILDREN) {                                       
a00067a0:	e3700001 	cmn	r0, #1                                        
a00067a4:	0a000005 	beq	a00067c0 <getrusage+0x3c>                     
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
a00067a8:	eb002b30 	bl	a0011470 <__errno>                             
a00067ac:	e3a03016 	mov	r3, #22                                       
a00067b0:	e5803000 	str	r3, [r0]                                      
a00067b4:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a00067b8:	e28dd008 	add	sp, sp, #8                                    
a00067bc:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
    return 0;                                                         
  }                                                                   
                                                                      
  if (who == RUSAGE_CHILDREN) {                                       
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
a00067c0:	eb002b2a 	bl	a0011470 <__errno>                             
a00067c4:	e3a03058 	mov	r3, #88	; 0x58                                
a00067c8:	e5803000 	str	r3, [r0]                                      
a00067cc:	e1a00004 	mov	r0, r4                                        
a00067d0:	eafffff8 	b	a00067b8 <getrusage+0x34>                       
   *  The single process has been running since the system            
   *  was booted and since there is no distinction between system     
   *  and user time, we will just report the uptime.                  
   */                                                                 
  if (who == RUSAGE_SELF) {                                           
    rtems_clock_get_uptime( &uptime );                                
a00067d4:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a00067d8:	eb000bf3 	bl	a00097ac <rtems_clock_get_uptime>              <== NOT EXECUTED
                                                                      
    rtime.tv_sec  = uptime.tv_sec;                                    
    rtime.tv_usec = uptime.tv_nsec / 1000;                            
a00067dc:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
a00067e0:	e59f3038 	ldr	r3, [pc, #56]	; a0006820 <getrusage+0x9c>     <== NOT EXECUTED
   *  and user time, we will just report the uptime.                  
   */                                                                 
  if (who == RUSAGE_SELF) {                                           
    rtems_clock_get_uptime( &uptime );                                
                                                                      
    rtime.tv_sec  = uptime.tv_sec;                                    
a00067e4:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
    rtime.tv_usec = uptime.tv_nsec / 1000;                            
a00067e8:	e1a00fc1 	asr	r0, r1, #31                                   <== NOT EXECUTED
a00067ec:	e0c3c391 	smull	ip, r3, r1, r3                              <== NOT EXECUTED
a00067f0:	e5852000 	str	r2, [r5]                                      <== NOT EXECUTED
a00067f4:	e0603343 	rsb	r3, r0, r3, asr #6                            <== NOT EXECUTED
a00067f8:	e5853004 	str	r3, [r5, #4]                                  <== NOT EXECUTED
a00067fc:	e5852008 	str	r2, [r5, #8]                                  <== NOT EXECUTED
a0006800:	e585300c 	str	r3, [r5, #12]                                 <== NOT EXECUTED
                                                                      
    usage->ru_utime = rtime;                                          
    usage->ru_stime = rtime;                                          
                                                                      
    return 0;                                                         
a0006804:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006808:	eaffffea 	b	a00067b8 <getrusage+0x34>                       <== NOT EXECUTED
{                                                                     
  struct timespec uptime;                                             
  struct timeval  rtime;                                              
                                                                      
  if ( !usage )                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a000680c:	eb002b17 	bl	a0011470 <__errno>                             
a0006810:	e3a0300e 	mov	r3, #14                                       
a0006814:	e5803000 	str	r3, [r0]                                      
a0006818:	e3e00000 	mvn	r0, #0                                        
a000681c:	eaffffe5 	b	a00067b8 <getrusage+0x34>                       
                                                                      

a00064c0 <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
a00064c0:	e92d4030 	push	{r4, r5, lr}                                 
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
a00064c4:	e2504000 	subs	r4, r0, #0                                   
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
a00064c8:	e24dd008 	sub	sp, sp, #8                                    
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
a00064cc:	0a00000f 	beq	a0006510 <gettimeofday+0x50>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00064d0:	e10f5000 	mrs	r5, CPSR                                      
a00064d4:	e3853080 	orr	r3, r5, #128	; 0x80                           
a00064d8:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
a00064dc:	e1a0000d 	mov	r0, sp                                        
a00064e0:	eb0010e2 	bl	a000a870 <_TOD_Get>                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00064e4:	e129f005 	msr	CPSR_fc, r5                                   
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
a00064e8:	e59f2034 	ldr	r2, [pc, #52]	; a0006524 <gettimeofday+0x64>  
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
a00064ec:	e59d3004 	ldr	r3, [sp, #4]                                  
   *  Timezone information ignored by the OS proper.   Per email      
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
a00064f0:	e3a00000 	mov	r0, #0                                        
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
a00064f4:	e0c21293 	smull	r1, r2, r3, r2                              
a00064f8:	e1a03fc3 	asr	r3, r3, #31                                   
a00064fc:	e0633342 	rsb	r3, r3, r2, asr #6                            
                                                                      
  time->tv_sec  = now.tv_sec;                                         
a0006500:	e59d2000 	ldr	r2, [sp]                                      
  time->tv_usec = useconds;                                           
a0006504:	e884000c 	stm	r4, {r2, r3}                                  
}                                                                     
a0006508:	e28dd008 	add	sp, sp, #8                                    
a000650c:	e8bd8030 	pop	{r4, r5, pc}                                  
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0006510:	eb002b25 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0006514:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0006518:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000651c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0006520:	eafffff8 	b	a0006508 <gettimeofday+0x48>                    <== NOT EXECUTED
                                                                      

a0010b7c <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
a0010b7c:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
a0010b80:	e5914000 	ldr	r4, [r1]                                      
                                                                      
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
a0010b84:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
a0010b88:	e2843054 	add	r3, r4, #84	; 0x54                            
a0010b8c:	e1520003 	cmp	r2, r3                                        
a0010b90:	1a000011 	bne	a0010bdc <imfs_dir_rmnod+0x60>                
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
a0010b94:	e5913010 	ldr	r3, [r1, #16]                                 
a0010b98:	e593301c 	ldr	r3, [r3, #28]                                 
a0010b9c:	e1540003 	cmp	r4, r3                                        
a0010ba0:	0a000008 	beq	a0010bc8 <imfs_dir_rmnod+0x4c>                
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
a0010ba4:	e594505c 	ldr	r5, [r4, #92]	; 0x5c                          
a0010ba8:	e3550000 	cmp	r5, #0                                        
a0010bac:	1a000005 	bne	a0010bc8 <imfs_dir_rmnod+0x4c>                
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
a0010bb0:	e1a00004 	mov	r0, r4                                        
a0010bb4:	ebfff573 	bl	a000e188 <IMFS_create_orphan>                  
  IMFS_check_node_remove( the_jnode );                                
a0010bb8:	e1a00004 	mov	r0, r4                                        
a0010bbc:	ebfff584 	bl	a000e1d4 <IMFS_check_node_remove>              
                                                                      
  return 0;                                                           
a0010bc0:	e1a00005 	mov	r0, r5                                        
}                                                                     
a0010bc4:	e8bd8030 	pop	{r4, r5, pc}                                  
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
a0010bc8:	eb000177 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0010bcc:	e3a03010 	mov	r3, #16                                       <== NOT EXECUTED
a0010bd0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0010bd4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0010bd8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
a0010bdc:	eb000172 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0010be0:	e3a0305a 	mov	r3, #90	; 0x5a                                <== NOT EXECUTED
a0010be4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0010be8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0010bec:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0008360 <iproc>: * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) { if (tty->termios.c_iflag & ISTRIP)
a0008360:	e5913030 	ldr	r3, [r1, #48]	; 0x30                          <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0008364:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  if (tty->termios.c_iflag & ISTRIP)                                  
a0008368:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a000836c:	e20040ff 	and	r4, r0, #255	; 0xff                           <== NOT EXECUTED
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
a0008370:	1200407f 	andne	r4, r0, #127	; 0x7f                         <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
a0008374:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0008378:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
a000837c:	0a000007 	beq	a00083a0 <iproc+0x40>                         <== NOT EXECUTED
    c = tolower (c);                                                  
a0008380:	e59f21ac 	ldr	r2, [pc, #428]	; a0008534 <iproc+0x1d4>       <== NOT EXECUTED
a0008384:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a0008388:	e0822004 	add	r2, r2, r4                                    <== NOT EXECUTED
a000838c:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0008390:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a0008394:	e3520001 	cmp	r2, #1                                        <== NOT EXECUTED
a0008398:	02844020 	addeq	r4, r4, #32                                 <== NOT EXECUTED
a000839c:	e20440ff 	and	r4, r4, #255	; 0xff                           <== NOT EXECUTED
                                                                      
  if (c == '\r') {                                                    
a00083a0:	e354000d 	cmp	r4, #13                                       <== NOT EXECUTED
a00083a4:	0a000014 	beq	a00083fc <iproc+0x9c>                         <== 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)) {         
a00083a8:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
a00083ac:	0a000034 	beq	a0008484 <iproc+0x124>                        <== NOT EXECUTED
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
a00083b0:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a00083b4:	1a000015 	bne	a0008410 <iproc+0xb0>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
a00083b8:	e59f2178 	ldr	r2, [pc, #376]	; a0008538 <iproc+0x1d8>       <== NOT EXECUTED
a00083bc:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a00083c0:	e5922008 	ldr	r2, [r2, #8]                                  <== NOT EXECUTED
a00083c4:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a00083c8:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00083cc:	aa000008 	bge	a00083f4 <iproc+0x94>                         <== NOT EXECUTED
    if (tty->termios.c_lflag & ECHO)                                  
a00083d0:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          <== NOT EXECUTED
a00083d4:	e3120008 	tst	r2, #8                                        <== NOT EXECUTED
a00083d8:	1a00002e 	bne	a0008498 <iproc+0x138>                        <== NOT EXECUTED
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
a00083dc:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a00083e0:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
a00083e4:	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;                                     
a00083e8:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a00083ec:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a00083f0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
a00083f4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a00083f8:	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)                                 
a00083fc:	e3130080 	tst	r3, #128	; 0x80                               <== NOT EXECUTED
a0008400:	1a000022 	bne	a0008490 <iproc+0x130>                        <== NOT EXECUTED
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
a0008404:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0008408:	03a0400d 	moveq	r4, #13                                     <== NOT EXECUTED
a000840c:	13a0400a 	movne	r4, #10                                     <== NOT EXECUTED
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
a0008410:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          <== NOT EXECUTED
a0008414:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0008418:	0affffe6 	beq	a00083b8 <iproc+0x58>                         <== NOT EXECUTED
    if (c == tty->termios.c_cc[VERASE]) {                             
a000841c:	e5d52043 	ldrb	r2, [r5, #67]	; 0x43                         <== NOT EXECUTED
a0008420:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0008424:	0a00003d 	beq	a0008520 <iproc+0x1c0>                        <== NOT EXECUTED
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
a0008428:	e5d52044 	ldrb	r2, [r5, #68]	; 0x44                         <== NOT EXECUTED
a000842c:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0008430:	0a000026 	beq	a00084d0 <iproc+0x170>                        <== NOT EXECUTED
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
a0008434:	e5d52045 	ldrb	r2, [r5, #69]	; 0x45                         <== NOT EXECUTED
a0008438:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a000843c:	0a000035 	beq	a0008518 <iproc+0x1b8>                        <== NOT EXECUTED
      return 1;                                                       
    } else if (c == '\n') {                                           
a0008440:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
a0008444:	0a000026 	beq	a00084e4 <iproc+0x184>                        <== NOT EXECUTED
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
a0008448:	e5d5204c 	ldrb	r2, [r5, #76]	; 0x4c                         <== NOT EXECUTED
a000844c:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0008450:	0a000002 	beq	a0008460 <iproc+0x100>                        <== NOT EXECUTED
a0008454:	e5d52051 	ldrb	r2, [r5, #81]	; 0x51                         <== NOT EXECUTED
a0008458:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a000845c:	1affffd5 	bne	a00083b8 <iproc+0x58>                         <== NOT EXECUTED
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
a0008460:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
a0008464:	1a000015 	bne	a00084c0 <iproc+0x160>                        <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
a0008468:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a000846c:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
      return 1;                                                       
a0008470:	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;                                   
a0008474:	e0832000 	add	r2, r3, r0                                    <== NOT EXECUTED
a0008478:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a000847c:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      return 1;                                                       
a0008480:	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';                                                         
a0008484:	e3130040 	tst	r3, #64	; 0x40                                <== NOT EXECUTED
a0008488:	13a0400d 	movne	r4, #13                                     <== NOT EXECUTED
a000848c:	eaffffdf 	b	a0008410 <iproc+0xb0>                           <== NOT EXECUTED
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
a0008490:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0008494:	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);                                                  
a0008498:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000849c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00084a0:	ebffff05 	bl	a00080bc <echo>                                <== NOT EXECUTED
a00084a4:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
    tty->cbuf[tty->ccount++] = c;                                     
a00084a8:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
a00084ac:	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;                                     
a00084b0:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a00084b4:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a00084b8:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a00084bc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
      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);                                                
a00084c0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00084c4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00084c8:	ebfffefb 	bl	a00080bc <echo>                                <== NOT EXECUTED
a00084cc:	eaffffe5 	b	a0008468 <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);                                                 
a00084d0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00084d4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00084d8:	ebffff1c 	bl	a0008150 <erase>                               <== NOT EXECUTED
      return 0;                                                       
a00084dc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00084e0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
a00084e4:	e3130048 	tst	r3, #72	; 0x48                                <== NOT EXECUTED
a00084e8:	0a000002 	beq	a00084f8 <iproc+0x198>                        <== NOT EXECUTED
        echo (c, tty);                                                
a00084ec:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00084f0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00084f4:	ebfffef0 	bl	a00080bc <echo>                                <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
a00084f8:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a00084fc:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a0008500:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0008504:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a0008508:	e7c10003 	strb	r0, [r1, r3]                                 <== NOT EXECUTED
      return 1;                                                       
a000850c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    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;                                   
a0008510:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      return 1;                                                       
a0008514:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
a0008518:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000851c:	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);                                                 
a0008520:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0008524:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0008528:	ebffff08 	bl	a0008150 <erase>                               <== NOT EXECUTED
      return 0;                                                       
a000852c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0008530:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a00075e4 <issetugid>: #if defined(RTEMS_NEWLIB) && !defined(HAVE_ISSETUGID) int issetugid (void) { return 0; }
a00075e4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00075e8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

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

a0008a40 <lchown>: int lchown( const char *path, uid_t owner, gid_t group ) {
a0008a40:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
a0008a44:	e1a02802 	lsl	r2, r2, #16                                   <== NOT EXECUTED
  return _chown_helper( path, owner, group, false );                  
a0008a48:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
a0008a4c:	e1a02822 	lsr	r2, r2, #16                                   <== NOT EXECUTED
a0008a50:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0008a54:	eafffef5 	b	a0008630 <_chown_helper>                        <== NOT EXECUTED
                                                                      

a0016080 <libc_wrapup>: /* * In case RTEMS is already down, don't do this. It could be * dangerous. */ if (!_System_state_Is_up(_System_state_Get()))
a0016080:	e59f305c 	ldr	r3, [pc, #92]	; a00160e4 <libc_wrapup+0x64>   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
a0016084:	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()))                      
a0016088:	e5933000 	ldr	r3, [r3]                                      
a001608c:	e3530003 	cmp	r3, #3                                        
a0016090:	0a000000 	beq	a0016098 <libc_wrapup+0x18>                   
a0016094:	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) {                                 
a0016098:	e59f4048 	ldr	r4, [pc, #72]	; a00160e8 <libc_wrapup+0x68>   
a001609c:	e59f2048 	ldr	r2, [pc, #72]	; a00160ec <libc_wrapup+0x6c>   
a00160a0:	e5943000 	ldr	r3, [r4]                                      
a00160a4:	e5925000 	ldr	r5, [r2]                                      
a00160a8:	e1530005 	cmp	r3, r5                                        
a00160ac:	0a000003 	beq	a00160c0 <libc_wrapup+0x40>                   
      _wrapup_reent(_global_impure_ptr);                              
a00160b0:	e1a00005 	mov	r0, r5                                        
a00160b4:	eb0001bb 	bl	a00167a8 <_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;                                    
a00160b8:	e5845000 	str	r5, [r4]                                      
a00160bc:	e1a03005 	mov	r3, r5                                        
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
a00160c0:	e5930004 	ldr	r0, [r3, #4]                                  
a00160c4:	ebffec86 	bl	a00112e4 <fclose>                              
  fclose (stdout);                                                    
a00160c8:	e5943000 	ldr	r3, [r4]                                      
a00160cc:	e5930008 	ldr	r0, [r3, #8]                                  
a00160d0:	ebffec83 	bl	a00112e4 <fclose>                              
  fclose (stderr);                                                    
a00160d4:	e5943000 	ldr	r3, [r4]                                      
a00160d8:	e593000c 	ldr	r0, [r3, #12]                                 
}                                                                     
a00160dc:	e8bd4030 	pop	{r4, r5, lr}                                  
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
a00160e0:	eaffec7f 	b	a00112e4 <fclose>                               
                                                                      

a0009b70 <link>: int link( const char *existing, const char *new ) {
a0009b70:	e92d4070 	push	{r4, r5, r6, lr}                             
a0009b74:	e24dd034 	sub	sp, sp, #52	; 0x34                            
a0009b78:	e1a05001 	mov	r5, r1                                        
a0009b7c:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
a0009b80:	eb003a0c 	bl	a00183b8 <strlen>                              
a0009b84:	e28d4018 	add	r4, sp, #24                                   
a0009b88:	e3a03001 	mov	r3, #1                                        
a0009b8c:	e1a01000 	mov	r1, r0                                        
a0009b90:	e58d3000 	str	r3, [sp]                                      
a0009b94:	e3a02000 	mov	r2, #0                                        
a0009b98:	e1a00006 	mov	r0, r6                                        
a0009b9c:	e1a03004 	mov	r3, r4                                        
a0009ba0:	ebfffde3 	bl	a0009334 <rtems_filesystem_evaluate_path>      
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
a0009ba4:	e3500000 	cmp	r0, #0                                        
     return -1;                                                       
a0009ba8:	13e05000 	mvnne	r5, #0                                      
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
a0009bac:	0a000002 	beq	a0009bbc <link+0x4c>                          
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
  rtems_filesystem_freenode( &parent_loc );                           
                                                                      
  return result;                                                      
}                                                                     
a0009bb0:	e1a00005 	mov	r0, r5                                        
a0009bb4:	e28dd034 	add	sp, sp, #52	; 0x34                            
a0009bb8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
a0009bbc:	e28d6004 	add	r6, sp, #4                                    
a0009bc0:	e1a00005 	mov	r0, r5                                        
a0009bc4:	e1a02006 	mov	r2, r6                                        
a0009bc8:	e28d1030 	add	r1, sp, #48	; 0x30                            
a0009bcc:	eb0004c4 	bl	a000aee4 <rtems_filesystem_get_start_loc>      
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
a0009bd0:	e59d3010 	ldr	r3, [sp, #16]                                 
a0009bd4:	e59d0030 	ldr	r0, [sp, #48]	; 0x30                          
a0009bd8:	e1a01006 	mov	r1, r6                                        
a0009bdc:	e5933004 	ldr	r3, [r3, #4]                                  
a0009be0:	e0850000 	add	r0, r5, r0                                    
a0009be4:	e28d202c 	add	r2, sp, #44	; 0x2c                            
a0009be8:	e12fff33 	blx	r3                                            
  if ( result != 0 ) {                                                
a0009bec:	e3500000 	cmp	r0, #0                                        
a0009bf0:	1a000018 	bne	a0009c58 <link+0xe8>                          
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
a0009bf4:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0009bf8:	e59d2014 	ldr	r2, [sp, #20]                                 
a0009bfc:	e1520003 	cmp	r2, r3                                        
a0009c00:	1a00000b 	bne	a0009c34 <link+0xc4>                          
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
a0009c04:	e59d3010 	ldr	r3, [sp, #16]                                 
a0009c08:	e1a01006 	mov	r1, r6                                        
a0009c0c:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          
a0009c10:	e5933008 	ldr	r3, [r3, #8]                                  
a0009c14:	e1a00004 	mov	r0, r4                                        
a0009c18:	e12fff33 	blx	r3                                            
a0009c1c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
a0009c20:	e1a00004 	mov	r0, r4                                        
a0009c24:	ebfffe7b 	bl	a0009618 <rtems_filesystem_freenode>           
  rtems_filesystem_freenode( &parent_loc );                           
a0009c28:	e1a00006 	mov	r0, r6                                        
a0009c2c:	ebfffe79 	bl	a0009618 <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
a0009c30:	eaffffde 	b	a0009bb0 <link+0x40>                            
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
    rtems_filesystem_freenode( &existing_loc );                       
a0009c34:	e1a00004 	mov	r0, r4                                        
a0009c38:	ebfffe76 	bl	a0009618 <rtems_filesystem_freenode>           
    rtems_filesystem_freenode( &parent_loc );                         
a0009c3c:	e1a00006 	mov	r0, r6                                        
a0009c40:	ebfffe74 	bl	a0009618 <rtems_filesystem_freenode>           
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a0009c44:	eb002cd8 	bl	a0014fac <__errno>                             
a0009c48:	e3a03012 	mov	r3, #18                                       
a0009c4c:	e5803000 	str	r3, [r0]                                      
a0009c50:	e3e05000 	mvn	r5, #0                                        
a0009c54:	eaffffd5 	b	a0009bb0 <link+0x40>                            
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &existing_loc );                       
a0009c58:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0009c5c:	ebfffe6d 	bl	a0009618 <rtems_filesystem_freenode>           <== NOT EXECUTED
    return -1;                                                        
a0009c60:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0009c64:	eaffffd1 	b	a0009bb0 <link+0x40>                            <== NOT EXECUTED
                                                                      

a0015f3c <lseek>: { rtems_libio_t *iop; off_t old_offset; off_t status; rtems_libio_check_fd( fd );
a0015f3c:	e59fc118 	ldr	ip, [pc, #280]	; a001605c <lseek+0x120>       
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
a0015f40:	e92d4870 	push	{r4, r5, r6, fp, lr}                         
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0015f44:	e59cc000 	ldr	ip, [ip]                                      
a0015f48:	e150000c 	cmp	r0, ip                                        
a0015f4c:	2a00003c 	bcs	a0016044 <lseek+0x108>                        
  iop = rtems_libio_iop( fd );                                        
a0015f50:	e59fc108 	ldr	ip, [pc, #264]	; a0016060 <lseek+0x124>       
a0015f54:	e3a04038 	mov	r4, #56	; 0x38                                
a0015f58:	e59cc000 	ldr	ip, [ip]                                      
a0015f5c:	e024c490 	mla	r4, r0, r4, ip                                
  rtems_libio_check_is_open(iop);                                     
a0015f60:	e5940014 	ldr	r0, [r4, #20]                                 
a0015f64:	e3100c01 	tst	r0, #256	; 0x100                              
a0015f68:	0a000035 	beq	a0016044 <lseek+0x108>                        
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
a0015f6c:	e3530001 	cmp	r3, #1                                        
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
a0015f70:	e284600c 	add	r6, r4, #12                                   
a0015f74:	e8960060 	ldm	r6, {r5, r6}                                  
  switch ( whence ) {                                                 
a0015f78:	0a000024 	beq	a0016010 <lseek+0xd4>                         
a0015f7c:	e3530002 	cmp	r3, #2                                        
a0015f80:	0a00000e 	beq	a0015fc0 <lseek+0x84>                         
a0015f84:	e3530000 	cmp	r3, #0                                        
a0015f88:	1a000025 	bne	a0016024 <lseek+0xe8>                         
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
a0015f8c:	e584100c 	str	r1, [r4, #12]                                 
a0015f90:	e5842010 	str	r2, [r4, #16]                                 
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
a0015f94:	e594c020 	ldr	ip, [r4, #32]                                 
a0015f98:	e1a00004 	mov	r0, r4                                        
a0015f9c:	e59cc014 	ldr	ip, [ip, #20]                                 
a0015fa0:	e12fff3c 	blx	ip                                            
  if ( status == (off_t) -1 )                                         
a0015fa4:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
a0015fa8:	e1a02000 	mov	r2, r0                                        
a0015fac:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
a0015fb0:	0a00000f 	beq	a0015ff4 <lseek+0xb8>                         
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0015fb4:	e1a00002 	mov	r0, r2                                        
a0015fb8:	e1a01003 	mov	r1, r3                                        
a0015fbc:	e8bd8870 	pop	{r4, r5, r6, fp, pc}                          
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
a0015fc0:	e9941800 	ldmib	r4, {fp, ip}                                
a0015fc4:	e09bb001 	adds	fp, fp, r1                                   
a0015fc8:	e0acc002 	adc	ip, ip, r2                                    
a0015fcc:	e584b00c 	str	fp, [r4, #12]                                 
a0015fd0:	e584c010 	str	ip, [r4, #16]                                 
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
a0015fd4:	e594c020 	ldr	ip, [r4, #32]                                 
a0015fd8:	e1a00004 	mov	r0, r4                                        
a0015fdc:	e59cc014 	ldr	ip, [ip, #20]                                 
a0015fe0:	e12fff3c 	blx	ip                                            
  if ( status == (off_t) -1 )                                         
a0015fe4:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
a0015fe8:	e1a02000 	mov	r2, r0                                        
a0015fec:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
a0015ff0:	1affffef 	bne	a0015fb4 <lseek+0x78>                         
a0015ff4:	e3710001 	cmn	r1, #1                                        
a0015ff8:	1affffed 	bne	a0015fb4 <lseek+0x78>                         
    iop->offset = old_offset;                                         
a0015ffc:	e584500c 	str	r5, [r4, #12]                                 
a0016000:	e5846010 	str	r6, [r4, #16]                                 
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0016004:	e1a00002 	mov	r0, r2                                        
a0016008:	e1a01003 	mov	r1, r3                                        
a001600c:	e8bd8870 	pop	{r4, r5, r6, fp, pc}                          
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
a0016010:	e091b005 	adds	fp, r1, r5                                   
a0016014:	e0a2c006 	adc	ip, r2, r6                                    
a0016018:	e584b00c 	str	fp, [r4, #12]                                 
a001601c:	e584c010 	str	ip, [r4, #16]                                 
      break;                                                          
a0016020:	eaffffdb 	b	a0015f94 <lseek+0x58>                           
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0016024:	ebffec60 	bl	a00111ac <__errno>                             
a0016028:	e3a03016 	mov	r3, #22                                       
a001602c:	e5803000 	str	r3, [r0]                                      
a0016030:	e3e02000 	mvn	r2, #0                                        
a0016034:	e3e03000 	mvn	r3, #0                                        
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0016038:	e1a00002 	mov	r0, r2                                        
a001603c:	e1a01003 	mov	r1, r3                                        
a0016040:	e8bd8870 	pop	{r4, r5, r6, fp, pc}                          
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a0016044:	ebffec58 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0016048:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a001604c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0016050:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a0016054:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a0016058:	eaffffd5 	b	a0015fb4 <lseek+0x78>                           <== NOT EXECUTED
                                                                      

a0008710 <lstat>: int _STAT_NAME( const char *path, struct stat *buf ) {
a0008710:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0008714:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a0008718:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a000871c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0008720:	0a000018 	beq	a0008788 <lstat+0x78>                         <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
a0008724:	eb00314f 	bl	a0014c68 <strlen>                              <== NOT EXECUTED
a0008728:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a000872c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0008730:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0008734:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0008738:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a000873c:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a0008740:	ebfffe21 	bl	a0007fcc <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a0008744:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
    return -1;                                                        
a0008748:	13e05000 	mvnne	r5, #0                                      <== NOT EXECUTED
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a000874c:	1a00000a 	bne	a000877c <lstat+0x6c>                         <== NOT EXECUTED
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
a0008750:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0008754:	e3a02048 	mov	r2, #72	; 0x48                                <== NOT EXECUTED
a0008758:	eb002f2e 	bl	a0014418 <memset>                              <== NOT EXECUTED
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a000875c:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a0008760:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0008764:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0008768:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a000876c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0008770:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0008774:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0008778:	ebfffe4d 	bl	a00080b4 <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return status;                                                      
}                                                                     
a000877c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0008780:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0008784:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0008788:	eb002a6e 	bl	a0013148 <__errno>                             <== NOT EXECUTED
a000878c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0008790:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0008794:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0008798:	eafffff7 	b	a000877c <lstat+0x6c>                           <== NOT EXECUTED
                                                                      

a0006788 <malloc>: size_t size ) { void *return_this; MSBUMP(malloc_calls, 1);
a0006788:	e59f30d8 	ldr	r3, [pc, #216]	; a0006868 <malloc+0xe0>       
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
a000678c:	e92d4030 	push	{r4, r5, lr}                                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
a0006790:	e5932004 	ldr	r2, [r3, #4]                                  
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
a0006794:	e1a04000 	mov	r4, r0                                        
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
a0006798:	e2822001 	add	r2, r2, #1                                    
a000679c:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a00067a0:	ebffffaf 	bl	a0006664 <malloc_deferred_frees_process>       
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
a00067a4:	e3540000 	cmp	r4, #0                                        
    return (void *) 0;                                                
a00067a8:	01a05004 	moveq	r5, r4                                      
  malloc_deferred_frees_process();                                    
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
a00067ac:	0a000019 	beq	a0006818 <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()) &&                    
a00067b0:	e59f30b4 	ldr	r3, [pc, #180]	; a000686c <malloc+0xe4>       
a00067b4:	e5933000 	ldr	r3, [r3]                                      
a00067b8:	e3530003 	cmp	r3, #3                                        
a00067bc:	0a000025 	beq	a0006858 <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 );
a00067c0:	e59f30a8 	ldr	r3, [pc, #168]	; a0006870 <malloc+0xe8>       
a00067c4:	e3a02000 	mov	r2, #0                                        
a00067c8:	e1a01004 	mov	r1, r4                                        
a00067cc:	e5930000 	ldr	r0, [r3]                                      
a00067d0:	e1a03002 	mov	r3, r2                                        
a00067d4:	eb00136f 	bl	a000b598 <_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 ) {                                               
a00067d8:	e2505000 	subs	r5, r0, #0                                   
a00067dc:	0a00000f 	beq	a0006820 <malloc+0x98>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
a00067e0:	e59f308c 	ldr	r3, [pc, #140]	; a0006874 <malloc+0xec>       
a00067e4:	e5933000 	ldr	r3, [r3]                                      
a00067e8:	e3530000 	cmp	r3, #0                                        
a00067ec:	0a000002 	beq	a00067fc <malloc+0x74>                        
    (*rtems_malloc_dirty_helper)( return_this, size );                
a00067f0:	e1a00005 	mov	r0, r5                                        
a00067f4:	e1a01004 	mov	r1, r4                                        
a00067f8:	e12fff33 	blx	r3                                            
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a00067fc:	e59f3074 	ldr	r3, [pc, #116]	; a0006878 <malloc+0xf0>       
a0006800:	e5933000 	ldr	r3, [r3]                                      
a0006804:	e3530000 	cmp	r3, #0                                        
a0006808:	0a000002 	beq	a0006818 <malloc+0x90>                        
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
a000680c:	e5933004 	ldr	r3, [r3, #4]                                  
a0006810:	e1a00005 	mov	r0, r5                                        
a0006814:	e12fff33 	blx	r3                                            
                                                                      
  return return_this;                                                 
}                                                                     
a0006818:	e1a00005 	mov	r0, r5                                        
a000681c:	e8bd8030 	pop	{r4, r5, pc}                                  
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
a0006820:	e59f3054 	ldr	r3, [pc, #84]	; a000687c <malloc+0xf4>        
a0006824:	e5933000 	ldr	r3, [r3]                                      
a0006828:	e3530000 	cmp	r3, #0                                        
a000682c:	0a000005 	beq	a0006848 <malloc+0xc0>                        
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
a0006830:	e5933004 	ldr	r3, [r3, #4]                                  
a0006834:	e1a00004 	mov	r0, r4                                        
a0006838:	e12fff33 	blx	r3                                            
    if ( !return_this ) {                                             
a000683c:	e3500000 	cmp	r0, #0                                        
a0006840:	11a05000 	movne	r5, r0                                      
a0006844:	1affffe5 	bne	a00067e0 <malloc+0x58>                        
      errno = ENOMEM;                                                 
a0006848:	eb002a57 	bl	a00111ac <__errno>                             
a000684c:	e3a0300c 	mov	r3, #12                                       
a0006850:	e5803000 	str	r3, [r0]                                      
      return (void *) 0;                                              
a0006854:	eaffffef 	b	a0006818 <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() )                                 
a0006858:	ebffff6d 	bl	a0006614 <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()) &&                    
a000685c:	e2505000 	subs	r5, r0, #0                                   
a0006860:	1affffd6 	bne	a00067c0 <malloc+0x38>                        
a0006864:	eaffffeb 	b	a0006818 <malloc+0x90>                          <== NOT EXECUTED
                                                                      

a0006688 <malloc_deferred_free>: void malloc_deferred_free( void *pointer ) {
a0006688:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
a000668c:	e59f0000 	ldr	r0, [pc, #0]	; a0006694 <malloc_deferred_free+0xc><== NOT EXECUTED
a0006690:	ea000f67 	b	a000a434 <_Chain_Append>                        <== NOT EXECUTED
                                                                      

a0006664 <malloc_deferred_frees_process>: void malloc_deferred_frees_process(void) {
a0006664:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_chain_node  *to_be_freed;                                     
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
a0006668:	ea000000 	b	a0006670 <malloc_deferred_frees_process+0xc>    
    free(to_be_freed);                                                
a000666c:	ebffff5e 	bl	a00063ec <free>                                <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
a0006670:	e59f000c 	ldr	r0, [pc, #12]	; a0006684 <malloc_deferred_frees_process+0x20>
a0006674:	eb000f81 	bl	a000a480 <_Chain_Get>                          
  rtems_chain_node  *to_be_freed;                                     
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
a0006678:	e3500000 	cmp	r0, #0                                        
a000667c:	1afffffa 	bne	a000666c <malloc_deferred_frees_process+0x8>  
    free(to_be_freed);                                                
}                                                                     
a0006680:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

a000a588 <malloc_info>: int malloc_info( Heap_Information_block *the_info ) { if ( !the_info )
a000a588:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
 */                                                                   
                                                                      
int malloc_info(                                                      
  Heap_Information_block *the_info                                    
)                                                                     
{                                                                     
a000a58c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  if ( !the_info )                                                    
a000a590:	0a000004 	beq	a000a5a8 <malloc_info+0x20>                   <== NOT EXECUTED
    return -1;                                                        
                                                                      
  _Protected_heap_Get_information( RTEMS_Malloc_Heap, the_info );     
a000a594:	e59f3014 	ldr	r3, [pc, #20]	; a000a5b0 <malloc_info+0x28>   <== NOT EXECUTED
a000a598:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a000a59c:	eb001943 	bl	a0010ab0 <_Protected_heap_Get_information>     <== NOT EXECUTED
  return 0;                                                           
a000a5a0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000a5a4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
int malloc_info(                                                      
  Heap_Information_block *the_info                                    
)                                                                     
{                                                                     
  if ( !the_info )                                                    
    return -1;                                                        
a000a5a8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
                                                                      
  _Protected_heap_Get_information( RTEMS_Malloc_Heap, the_info );     
  return 0;                                                           
}                                                                     
a000a5ac:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0006614 <malloc_is_system_state_OK>: rtems_chain_control RTEMS_Malloc_GC_list; bool malloc_is_system_state_OK(void) { if ( _Thread_Dispatch_disable_level > 0 )
a0006614:	e59f3024 	ldr	r3, [pc, #36]	; a0006640 <malloc_is_system_state_OK+0x2c>
a0006618:	e5933000 	ldr	r3, [r3]                                      
a000661c:	e3530000 	cmp	r3, #0                                        
a0006620:	1a000004 	bne	a0006638 <malloc_is_system_state_OK+0x24>     
    return false;                                                     
                                                                      
  if ( _ISR_Nest_level > 0 )                                          
a0006624:	e59f3018 	ldr	r3, [pc, #24]	; a0006644 <malloc_is_system_state_OK+0x30>
                                                                      
#include "malloc_p.h"                                                 
                                                                      
rtems_chain_control RTEMS_Malloc_GC_list;                             
                                                                      
bool malloc_is_system_state_OK(void)                                  
a0006628:	e5930000 	ldr	r0, [r3]                                      
a000662c:	e2700001 	rsbs	r0, r0, #1                                   
a0006630:	33a00000 	movcc	r0, #0                                      
a0006634:	e12fff1e 	bx	lr                                             
{                                                                     
  if ( _Thread_Dispatch_disable_level > 0 )                           
    return false;                                                     
a0006638:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
                                                                      
  if ( _ISR_Nest_level > 0 )                                          
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
a000663c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000a79c <malloc_report_statistics>: #ifdef RTEMS_NEWLIB #include "malloc_p.h" void malloc_report_statistics(void) { malloc_report_statistics_with_plugin( NULL, printk_plugin );
a000a79c:	e59f1004 	ldr	r1, [pc, #4]	; a000a7a8 <malloc_report_statistics+0xc><== NOT EXECUTED
a000a7a0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000a7a4:	ea000000 	b	a000a7ac <malloc_report_statistics_with_plugin> <== NOT EXECUTED
                                                                      

a000a7ac <malloc_report_statistics_with_plugin>: void malloc_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
a000a7ac:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  rtems_malloc_statistics_t *s;                                       
  uintmax_t allocated;                                                
                                                                      
  s = &rtems_malloc_statistics;                                       
                                                                      
  allocated  = s->lifetime_allocated - s->lifetime_freed;             
a000a7b0:	e59f40f4 	ldr	r4, [pc, #244]	; a000a8ac <malloc_report_statistics_with_plugin+0x100><== NOT EXECUTED
      "max:%"PRIu32"k (%"PRIu32"%%)"                                  
      " lifetime:%"PRIu32"k freed:%"PRIu32"k\n",                      
    s->space_available / 1024,                                        
    allocated / 1024,                                                 
    /* avoid float! */                                                
    (allocated * 100) / s->space_available,                           
a000a7b4:	e3a07064 	mov	r7, #100	; 0x64                               <== NOT EXECUTED
                                                                      
void malloc_report_statistics_with_plugin(                            
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a000a7b8:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
  rtems_malloc_statistics_t *s;                                       
  uintmax_t allocated;                                                
                                                                      
  s = &rtems_malloc_statistics;                                       
                                                                      
  allocated  = s->lifetime_allocated - s->lifetime_freed;             
a000a7bc:	e2843024 	add	r3, r4, #36	; 0x24                            <== NOT EXECUTED
a000a7c0:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
a000a7c4:	e284c01c 	add	ip, r4, #28                                   <== NOT EXECUTED
a000a7c8:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
a000a7cc:	e05bb002 	subs	fp, fp, r2                                   <== NOT EXECUTED
a000a7d0:	e0ccc003 	sbc	ip, ip, r3                                    <== NOT EXECUTED
      "max:%"PRIu32"k (%"PRIu32"%%)"                                  
      " lifetime:%"PRIu32"k freed:%"PRIu32"k\n",                      
    s->space_available / 1024,                                        
    allocated / 1024,                                                 
    /* avoid float! */                                                
    (allocated * 100) / s->space_available,                           
a000a7d4:	e083279b 	umull	r2, r3, fp, r7                              <== NOT EXECUTED
a000a7d8:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
a000a7dc:	e0203097 	mla	r0, r7, r0, r3                                <== NOT EXECUTED
    context,                                                          
    "Malloc statistics\n"                                             
    "  avail:%"PRIu32"k  allocated:%"PRIu32"k (%"PRId32"%%) "         
      "max:%"PRIu32"k (%"PRIu32"%%)"                                  
      " lifetime:%"PRIu32"k freed:%"PRIu32"k\n",                      
    s->space_available / 1024,                                        
a000a7e0:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
                                                                      
void malloc_report_statistics_with_plugin(                            
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a000a7e4:	e24dd024 	sub	sp, sp, #36	; 0x24                            <== NOT EXECUTED
      "max:%"PRIu32"k (%"PRIu32"%%)"                                  
      " lifetime:%"PRIu32"k freed:%"PRIu32"k\n",                      
    s->space_available / 1024,                                        
    allocated / 1024,                                                 
    /* avoid float! */                                                
    (allocated * 100) / s->space_available,                           
a000a7e8:	e58d201c 	str	r2, [sp, #28]                                 <== NOT EXECUTED
a000a7ec:	e58d3020 	str	r3, [sp, #32]                                 <== NOT EXECUTED
a000a7f0:	e58d0020 	str	r0, [sp, #32]                                 <== NOT EXECUTED
                                                                      
  s = &rtems_malloc_statistics;                                       
                                                                      
  allocated  = s->lifetime_allocated - s->lifetime_freed;             
                                                                      
  (*print)(                                                           
a000a7f4:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
                                                                      
void malloc_report_statistics_with_plugin(                            
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a000a7f8:	e1a0a001 	mov	sl, r1                                        <== NOT EXECUTED
                                                                      
  s = &rtems_malloc_statistics;                                       
                                                                      
  allocated  = s->lifetime_allocated - s->lifetime_freed;             
                                                                      
  (*print)(                                                           
a000a7fc:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000a800:	e28d101c 	add	r1, sp, #28                                   <== NOT EXECUTED
a000a804:	e8910003 	ldm	r1, {r0, r1}                                  <== NOT EXECUTED
a000a808:	e1a0552b 	lsr	r5, fp, #10                                   <== NOT EXECUTED
a000a80c:	e1855b0c 	orr	r5, r5, ip, lsl #22                           <== NOT EXECUTED
a000a810:	e1a0b52c 	lsr	fp, ip, #10                                   <== NOT EXECUTED
a000a814:	eb0057b5 	bl	a00206f0 <__udivdi3>                           <== NOT EXECUTED
      " lifetime:%"PRIu32"k freed:%"PRIu32"k\n",                      
    s->space_available / 1024,                                        
    allocated / 1024,                                                 
    /* avoid float! */                                                
    (allocated * 100) / s->space_available,                           
    s->max_depth / 1024,                                              
a000a818:	e5949018 	ldr	r9, [r4, #24]                                 <== NOT EXECUTED
                                                                      
  s = &rtems_malloc_statistics;                                       
                                                                      
  allocated  = s->lifetime_allocated - s->lifetime_freed;             
                                                                      
  (*print)(                                                           
a000a81c:	e98d0003 	stmib	sp, {r0, r1}                                <== NOT EXECUTED
a000a820:	e1a03529 	lsr	r3, r9, #10                                   <== NOT EXECUTED
a000a824:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a000a828:	e0000997 	mul	r0, r7, r9                                    <== NOT EXECUTED
a000a82c:	e58d300c 	str	r3, [sp, #12]                                 <== NOT EXECUTED
a000a830:	ebfff3f7 	bl	a0007814 <__aeabi_uidiv>                       <== NOT EXECUTED
    allocated / 1024,                                                 
    /* avoid float! */                                                
    (allocated * 100) / s->space_available,                           
    s->max_depth / 1024,                                              
    (s->max_depth * 100) / s->space_available,                        
    (uint32_t) (s->lifetime_allocated / 1024),                        
a000a834:	e594101c 	ldr	r1, [r4, #28]                                 <== NOT EXECUTED
    (uint32_t) (s->lifetime_freed / 1024)                             
a000a838:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
    allocated / 1024,                                                 
    /* avoid float! */                                                
    (allocated * 100) / s->space_available,                           
    s->max_depth / 1024,                                              
    (s->max_depth * 100) / s->space_available,                        
    (uint32_t) (s->lifetime_allocated / 1024),                        
a000a83c:	e594e020 	ldr	lr, [r4, #32]                                 <== NOT EXECUTED
a000a840:	e1a0c521 	lsr	ip, r1, #10                                   <== NOT EXECUTED
    (uint32_t) (s->lifetime_freed / 1024)                             
a000a844:	e5941028 	ldr	r1, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000a848:	e1a03522 	lsr	r3, r2, #10                                   <== NOT EXECUTED
    allocated / 1024,                                                 
    /* avoid float! */                                                
    (allocated * 100) / s->space_available,                           
    s->max_depth / 1024,                                              
    (s->max_depth * 100) / s->space_available,                        
    (uint32_t) (s->lifetime_allocated / 1024),                        
a000a84c:	e18ccb0e 	orr	ip, ip, lr, lsl #22                           <== NOT EXECUTED
    (uint32_t) (s->lifetime_freed / 1024)                             
a000a850:	e1833b01 	orr	r3, r3, r1, lsl #22                           <== NOT EXECUTED
                                                                      
  s = &rtems_malloc_statistics;                                       
                                                                      
  allocated  = s->lifetime_allocated - s->lifetime_freed;             
                                                                      
  (*print)(                                                           
a000a854:	e1a02526 	lsr	r2, r6, #10                                   <== NOT EXECUTED
a000a858:	e58d0010 	str	r0, [sp, #16]                                 <== NOT EXECUTED
a000a85c:	e58d3018 	str	r3, [sp, #24]                                 <== NOT EXECUTED
a000a860:	e59f1048 	ldr	r1, [pc, #72]	; a000a8b0 <malloc_report_statistics_with_plugin+0x104><== NOT EXECUTED
a000a864:	e1a03005 	mov	r3, r5                                        <== NOT EXECUTED
a000a868:	e58dc014 	str	ip, [sp, #20]                                 <== NOT EXECUTED
a000a86c:	e58db000 	str	fp, [sp]                                      <== NOT EXECUTED
a000a870:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000a874:	e12fff3a 	blx	sl                                            <== NOT EXECUTED
    s->max_depth / 1024,                                              
    (s->max_depth * 100) / s->space_available,                        
    (uint32_t) (s->lifetime_allocated / 1024),                        
    (uint32_t) (s->lifetime_freed / 1024)                             
  );                                                                  
  (*print)(                                                           
a000a878:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a000a87c:	e594100c 	ldr	r1, [r4, #12]                                 <== NOT EXECUTED
a000a880:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a000a884:	e58d0004 	str	r0, [sp, #4]                                  <== NOT EXECUTED
a000a888:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a000a88c:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
a000a890:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a000a894:	e58d0008 	str	r0, [sp, #8]                                  <== NOT EXECUTED
a000a898:	e59f1014 	ldr	r1, [pc, #20]	; a000a8b4 <malloc_report_statistics_with_plugin+0x108><== NOT EXECUTED
a000a89c:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000a8a0:	e12fff3a 	blx	sl                                            <== NOT EXECUTED
    s->memalign_calls,                                                
    s->free_calls,                                                    
    s->realloc_calls,                                                 
    s->calloc_calls                                                   
  );                                                                  
}                                                                     
a000a8a4:	e28dd024 	add	sp, sp, #36	; 0x24                            <== NOT EXECUTED
a000a8a8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      

a0006b3c <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;
a0006b3c:	e59f30a0 	ldr	r3, [pc, #160]	; a0006be4 <malloc_sbrk_extend_and_allocate+0xa8>
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
a0006b40:	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;                             
a0006b44:	e5934000 	ldr	r4, [r3]                                      
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
a0006b48:	e1a06000 	mov	r6, r0                                        
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
a0006b4c:	e3540000 	cmp	r4, #0                                        
a0006b50:	1a000001 	bne	a0006b5c <malloc_sbrk_extend_and_allocate+0x20>
    return (void *) 0;                                                
a0006b54:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006b58:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
a0006b5c:	e1a01004 	mov	r1, r4                                        
a0006b60:	e0800004 	add	r0, r0, r4                                    
a0006b64:	eb003883 	bl	a0014d78 <__aeabi_uidiv>                       
a0006b68:	e0040490 	mul	r4, r0, r4                                    
                                                                      
  starting_address = (void *) sbrk(the_size);                         
a0006b6c:	e1a00004 	mov	r0, r4                                        
a0006b70:	ebfff7d9 	bl	a0004adc <sbrk>                                
  if ( starting_address == (void*) -1 )                               
a0006b74:	e3700001 	cmn	r0, #1                                        
a0006b78:	0a000010 	beq	a0006bc0 <malloc_sbrk_extend_and_allocate+0x84>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
a0006b7c:	e59f5064 	ldr	r5, [pc, #100]	; a0006be8 <malloc_sbrk_extend_and_allocate+0xac>
a0006b80:	e1a01000 	mov	r1, r0                                        
a0006b84:	e1a02004 	mov	r2, r4                                        
a0006b88:	e5950000 	ldr	r0, [r5]                                      
a0006b8c:	eb00134b 	bl	a000b8c0 <_Protected_heap_Extend>              
a0006b90:	e2507000 	subs	r7, r0, #0                                   
a0006b94:	0a00000b 	beq	a0006bc8 <malloc_sbrk_extend_and_allocate+0x8c>
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
a0006b98:	e59fc04c 	ldr	ip, [pc, #76]	; a0006bec <malloc_sbrk_extend_and_allocate+0xb0>
a0006b9c:	e5950000 	ldr	r0, [r5]                                      
a0006ba0:	e3a02000 	mov	r2, #0                                        
a0006ba4:	e59c5000 	ldr	r5, [ip]                                      
a0006ba8:	e1a01006 	mov	r1, r6                                        
a0006bac:	e1a03002 	mov	r3, r2                                        
a0006bb0:	e0844005 	add	r4, r4, r5                                    
a0006bb4:	e58c4000 	str	r4, [ip]                                      
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
a0006bb8:	e8bd40f0 	pop	{r4, r5, r6, r7, lr}                          
a0006bbc:	ea00132c 	b	a000b874 <_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;                                                
a0006bc0:	e3a00000 	mov	r0, #0                                        
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
a0006bc4:	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);                                                  
a0006bc8:	e2640000 	rsb	r0, r4, #0                                    
a0006bcc:	ebfff7c2 	bl	a0004adc <sbrk>                                
    errno = ENOMEM;                                                   
a0006bd0:	eb002af5 	bl	a00117ac <__errno>                             
a0006bd4:	e3a0300c 	mov	r3, #12                                       
a0006bd8:	e5803000 	str	r3, [r0]                                      
    return (void *) 0;                                                
a0006bdc:	e1a00007 	mov	r0, r7                                        
a0006be0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

a0006bf0 <malloc_sbrk_initialize>: ) { uintptr_t old_address; uintptr_t uaddress; RTEMS_Malloc_Sbrk_amount = length;
a0006bf0:	e59f3034 	ldr	r3, [pc, #52]	; a0006c2c <malloc_sbrk_initialize+0x3c>
   * If the starting address is 0 then we are to attempt to           
   * get length worth of memory using sbrk. Make sure we              
   * align the address that we get back.                              
   */                                                                 
                                                                      
  if (!starting_address) {                                            
a0006bf4:	e3500000 	cmp	r0, #0                                        
                                                                      
void *malloc_sbrk_initialize(                                         
  void  *starting_address,                                            
  size_t length                                                       
)                                                                     
{                                                                     
a0006bf8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  uintptr_t     old_address;                                          
  uintptr_t     uaddress;                                             
                                                                      
  RTEMS_Malloc_Sbrk_amount = length;                                  
a0006bfc:	e5831000 	str	r1, [r3]                                      
   * If the starting address is 0 then we are to attempt to           
   * get length worth of memory using sbrk. Make sure we              
   * align the address that we get back.                              
   */                                                                 
                                                                      
  if (!starting_address) {                                            
a0006c00:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    uaddress = (uintptr_t)sbrk(length);                               
a0006c04:	e1a00001 	mov	r0, r1                                        
a0006c08:	ebfff7b3 	bl	a0004adc <sbrk>                                
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
a0006c0c:	e3700001 	cmn	r0, #1                                        
a0006c10:	0a000003 	beq	a0006c24 <malloc_sbrk_initialize+0x34>        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
      /* DOES NOT RETURN!!! */                                        
    }                                                                 
                                                                      
    if (uaddress & (CPU_HEAP_ALIGNMENT-1)) {                          
a0006c14:	e3100007 	tst	r0, #7                                        <== NOT EXECUTED
      old_address = uaddress;                                         
      uaddress = (uaddress + CPU_HEAP_ALIGNMENT) & ~(CPU_HEAP_ALIGNMENT-1);
a0006c18:	12800008 	addne	r0, r0, #8                                  <== NOT EXECUTED
a0006c1c:	13c00007 	bicne	r0, r0, #7                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    starting_address = (void *)uaddress;                              
  }                                                                   
  return starting_address;                                            
}                                                                     
a0006c20:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  if (!starting_address) {                                            
    uaddress = (uintptr_t)sbrk(length);                               
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
a0006c24:	e280001b 	add	r0, r0, #27                                   
a0006c28:	eb000e22 	bl	a000a4b8 <rtems_fatal_error_occurred>          
                                                                      

a0006c30 <malloc_set_heap_pointer>: void malloc_set_heap_pointer( Heap_Control *new_heap ) { RTEMS_Malloc_Heap = new_heap;
a0006c30:	e59f3004 	ldr	r3, [pc, #4]	; a0006c3c <malloc_set_heap_pointer+0xc><== NOT EXECUTED
a0006c34:	e5830000 	str	r0, [r3]                                      <== NOT EXECUTED
}                                                                     
a0006c38:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000a9bc <malloc_walk>: #include <stdlib.h> void malloc_walk(size_t source, size_t printf_enabled) { _Protected_heap_Walk( RTEMS_Malloc_Heap, (int) source, printf_enabled );
a000a9bc:	e2512000 	subs	r2, r1, #0                                   <== NOT EXECUTED
a000a9c0:	13a02001 	movne	r2, #1                                      <== NOT EXECUTED
a000a9c4:	e59f100c 	ldr	r1, [pc, #12]	; a000a9d8 <malloc_walk+0x1c>   <== NOT EXECUTED
#include "malloc_p.h"                                                 
                                                                      
#include <stdlib.h>                                                   
                                                                      
void malloc_walk(size_t source, size_t printf_enabled)                
{                                                                     
a000a9c8:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  _Protected_heap_Walk( RTEMS_Malloc_Heap, (int) source, printf_enabled );
a000a9cc:	e5910000 	ldr	r0, [r1]                                      <== NOT EXECUTED
a000a9d0:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a000a9d4:	ea001863 	b	a0010b68 <_Protected_heap_Walk>                 <== NOT EXECUTED
                                                                      

a000ffc4 <memfile_free_block>: * Free a block from an in-memory file. */ void memfile_free_block( void *memory ) {
a000ffc4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  free(memory);                                                       
a000ffc8:	ebffd907 	bl	a00063ec <free>                                <== NOT EXECUTED
  memfile_blocks_allocated--;                                         
a000ffcc:	e59f300c 	ldr	r3, [pc, #12]	; a000ffe0 <memfile_free_block+0x1c><== NOT EXECUTED
a000ffd0:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a000ffd4:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a000ffd8:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
}                                                                     
a000ffdc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000ffe4 <memfile_free_blocks_in_table>: */ void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
a000ffe4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a000ffe8:	e2517000 	subs	r7, r1, #0                                   <== NOT EXECUTED
 */                                                                   
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
a000ffec:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  IMFS_assert( block_table );                                         
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
a000fff0:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a000fff4:	da00000b 	ble	a0010028 <memfile_free_blocks_in_table+0x44>  <== NOT EXECUTED
a000fff8:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
a000fffc:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
a0010000:	e1a08005 	mov	r8, r5                                        <== NOT EXECUTED
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
a0010004:	e4960004 	ldr	r0, [r6], #4                                  <== NOT EXECUTED
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a0010008:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
    if ( b[i] ) {                                                     
a001000c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010010:	0a000001 	beq	a001001c <memfile_free_blocks_in_table+0x38>  <== NOT EXECUTED
      memfile_free_block( b[i] );                                     
a0010014:	ebffffea 	bl	a000ffc4 <memfile_free_block>                  <== NOT EXECUTED
      b[i] = 0;                                                       
a0010018:	e5068004 	str	r8, [r6, #-4]                                 <== NOT EXECUTED
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a001001c:	e1570005 	cmp	r7, r5                                        <== NOT EXECUTED
a0010020:	cafffff7 	bgt	a0010004 <memfile_free_blocks_in_table+0x20>  <== NOT EXECUTED
a0010024:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
a0010028:	ebffffe5 	bl	a000ffc4 <memfile_free_block>                  <== NOT EXECUTED
  *block_table = 0;                                                   
a001002c:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0010030:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
}                                                                     
a0010034:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a0010584 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
a0010584:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a0010588:	e5904018 	ldr	r4, [r0, #24]                                 
 */                                                                   
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
a001058c:	e1a03000 	mov	r3, r0                                        
a0010590:	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 )                           
a0010594:	e5940054 	ldr	r0, [r4, #84]	; 0x54                          
a0010598:	e1500002 	cmp	r0, r2                                        
a001059c:	ba00000e 	blt	a00105dc <memfile_ftruncate+0x58>             
a00105a0:	0a00000a 	beq	a00105d0 <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;                                 
a00105a4:	e5841050 	str	r1, [r4, #80]	; 0x50                          
a00105a8:	e5842054 	str	r2, [r4, #84]	; 0x54                          
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
a00105ac:	e1a0000d 	mov	r0, sp                                        
   *  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;                                 
  iop->size = the_jnode->info.file.size;                              
a00105b0:	e9830006 	stmib	r3, {r1, r2}                                
                                                                      
  IMFS_update_atime( the_jnode );                                     
a00105b4:	e3a01000 	mov	r1, #0                                        
a00105b8:	ebffd7c0 	bl	a00064c0 <gettimeofday>                        
a00105bc:	e59d3000 	ldr	r3, [sp]                                      
                                                                      
  return 0;                                                           
a00105c0:	e3a00000 	mov	r0, #0                                        
   *  future use and just set the length.                             
   */                                                                 
  the_jnode->info.file.size = length;                                 
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
a00105c4:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return 0;                                                           
}                                                                     
a00105c8:	e28dd008 	add	sp, sp, #8                                    
a00105cc:	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 )                           
a00105d0:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          
a00105d4:	e1500001 	cmp	r0, r1                                        
a00105d8:	2afffff1 	bcs	a00105a4 <memfile_ftruncate+0x20>             
    return IMFS_memfile_extend( the_jnode, length );                  
a00105dc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00105e0:	ebfffef1 	bl	a00101ac <IMFS_memfile_extend>                 <== NOT EXECUTED
a00105e4:	eafffff7 	b	a00105c8 <memfile_ftruncate+0x44>               <== NOT EXECUTED
                                                                      

a000faf8 <memfile_ioctl>: IMFS_jnode_t *the_jnode; the_jnode = iop->pathinfo.node_access; return 0; }
a000faf8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000fafc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a00105e8 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
a00105e8:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a00105ec:	e5905018 	ldr	r5, [r0, #24]                                 
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
a00105f0:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a00105f4:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a00105f8:	e3530006 	cmp	r3, #6                                        
a00105fc:	0a00000d 	beq	a0010638 <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 ))                
a0010600:	e1a00005 	mov	r0, r5                                        
a0010604:	e284200c 	add	r2, r4, #12                                   
a0010608:	e8920006 	ldm	r2, {r1, r2}                                  
a001060c:	ebfffee6 	bl	a00101ac <IMFS_memfile_extend>                 
a0010610:	e3500000 	cmp	r0, #0                                        
a0010614:	1a000018 	bne	a001067c <memfile_lseek+0x94>                 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
a0010618:	e2853050 	add	r3, r5, #80	; 0x50                            
a001061c:	e893000c 	ldm	r3, {r2, r3}                                  
a0010620:	e984000c 	stmib	r4, {r2, r3}                                
a0010624:	e284300c 	add	r3, r4, #12                                   
a0010628:	e893000c 	ldm	r3, {r2, r3}                                  
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a001062c:	e1a00002 	mov	r0, r2                                        
a0010630:	e1a01003 	mov	r1, r3                                        
a0010634:	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)                
a0010638:	e5951054 	ldr	r1, [r5, #84]	; 0x54                          
a001063c:	e280300c 	add	r3, r0, #12                                   
a0010640:	e893000c 	ldm	r3, {r2, r3}                                  
a0010644:	e5950050 	ldr	r0, [r5, #80]	; 0x50                          
a0010648:	e1530001 	cmp	r3, r1                                        
a001064c:	ca000002 	bgt	a001065c <memfile_lseek+0x74>                 
a0010650:	1afffff5 	bne	a001062c <memfile_lseek+0x44>                 
a0010654:	e1520000 	cmp	r2, r0                                        
a0010658:	9afffff3 	bls	a001062c <memfile_lseek+0x44>                 
      iop->offset = the_jnode->info.linearfile.size;                  
a001065c:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a0010660:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
a0010664:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0010668:	e584000c 	str	r0, [r4, #12]                                 <== NOT EXECUTED
a001066c:	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;                                                 
}                                                                     
a0010670:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0010674:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a0010678:	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 );                 
a001067c:	eb0002ca 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0010680:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a0010684:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0010688:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a001068c:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a0010690:	eaffffe5 	b	a001062c <memfile_lseek+0x44>                   <== NOT EXECUTED
                                                                      

a00104d0 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
a00104d0:	e92d4070 	push	{r4, r5, r6, lr}                             
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a00104d4:	e5903014 	ldr	r3, [r0, #20]                                 
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a00104d8:	e24dd004 	sub	sp, sp, #4                                    
a00104dc:	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))         
a00104e0:	e3130f81 	tst	r3, #516	; 0x204                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
a00104e4:	e5905018 	ldr	r5, [r0, #24]                                 
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a00104e8:	0a000002 	beq	a00104f8 <memfile_open+0x28>                  
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
a00104ec:	e595204c 	ldr	r2, [r5, #76]	; 0x4c                          
a00104f0:	e3520006 	cmp	r2, #6                                        
a00104f4:	0a00000a 	beq	a0010524 <memfile_open+0x54>                  
    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)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
a00104f8:	e5950050 	ldr	r0, [r5, #80]	; 0x50                          
a00104fc:	e5952054 	ldr	r2, [r5, #84]	; 0x54                          
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
a0010500:	e3130c02 	tst	r3, #512	; 0x200                              
    iop->offset = the_jnode->info.file.size;                          
a0010504:	1584000c 	strne	r0, [r4, #12]                               
a0010508:	15842010 	strne	r2, [r4, #16]                               
a001050c:	15950050 	ldrne	r0, [r5, #80]	; 0x50                        
a0010510:	15952054 	ldrne	r2, [r5, #84]	; 0x54                        
                                                                      
  iop->size = the_jnode->info.file.size;                              
a0010514:	e9840005 	stmib	r4, {r0, r2}                                
  return 0;                                                           
a0010518:	e3a00000 	mov	r0, #0                                        
}                                                                     
a001051c:	e28dd004 	add	sp, sp, #4                                    
a0010520:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
a0010524:	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;                         
a0010528:	e3a00000 	mov	r0, #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;                         
a001052c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0010530:	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;                               
a0010534:	e3a06005 	mov	r6, #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)                                                  
a0010538:	e15c0000 	cmp	ip, r0                                        <== 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;  
a001053c:	e5953058 	ldr	r3, [r5, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
a0010540:	e585604c 	str	r6, [r5, #76]	; 0x4c                          <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
a0010544:	e5851050 	str	r1, [r5, #80]	; 0x50                          <== NOT EXECUTED
a0010548:	e5852054 	str	r2, [r5, #84]	; 0x54                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
a001054c:	e5850058 	str	r0, [r5, #88]	; 0x58                          <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
a0010550:	e585005c 	str	r0, [r5, #92]	; 0x5c                          <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
a0010554:	e5850060 	str	r0, [r5, #96]	; 0x60                          <== NOT EXECUTED
    if ((count != 0)                                                  
a0010558:	1a000002 	bne	a0010568 <memfile_open+0x98>                  <== NOT EXECUTED
a001055c:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a0010560:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0010564:	eaffffe5 	b	a0010500 <memfile_open+0x30>                    <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
a0010568:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a001056c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0010570:	ebffff5a 	bl	a00102e0 <IMFS_memfile_write>                  <== NOT EXECUTED
a0010574:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
a0010578:	0affffe7 	beq	a001051c <memfile_open+0x4c>                  <== NOT EXECUTED
a001057c:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a0010580:	eaffffdc 	b	a00104f8 <memfile_open+0x28>                    <== NOT EXECUTED
                                                                      

a0006890 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
a0006890:	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) ) )                 
a0006894:	e3110a0f 	tst	r1, #61440	; 0xf000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
a0006898:	e24dd020 	sub	sp, sp, #32                                   
a000689c:	e1a04001 	mov	r4, r1                                        
a00068a0:	e1a06000 	mov	r6, r0                                        
a00068a4:	e1a07002 	mov	r7, r2                                        
a00068a8:	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) ) )                 
a00068ac:	1a000006 	bne	a00068cc <mknod+0x3c>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00068b0:	eb002a3d 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a00068b4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00068b8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00068bc:	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;                                                      
}                                                                     
a00068c0:	e1a00004 	mov	r0, r4                                        
a00068c4:	e28dd020 	add	sp, sp, #32                                   
a00068c8:	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 );          
a00068cc:	e28d5004 	add	r5, sp, #4                                    
a00068d0:	e1a02005 	mov	r2, r5                                        
a00068d4:	e28d101c 	add	r1, sp, #28                                   
a00068d8:	eb00026b 	bl	a000728c <rtems_filesystem_get_start_loc>      
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
a00068dc:	e59d3010 	ldr	r3, [sp, #16]                                 
a00068e0:	e59d001c 	ldr	r0, [sp, #28]                                 
a00068e4:	e1a01005 	mov	r1, r5                                        
a00068e8:	e5933004 	ldr	r3, [r3, #4]                                  
a00068ec:	e0860000 	add	r0, r6, r0                                    
a00068f0:	e28d2018 	add	r2, sp, #24                                   
a00068f4:	e12fff33 	blx	r3                                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
a00068f8:	e3500000 	cmp	r0, #0                                        
    return -1;                                                        
a00068fc:	13e04000 	mvnne	r4, #0                                      
  result = (*temp_loc.ops->evalformake_h)(                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
a0006900:	1affffee 	bne	a00068c0 <mknod+0x30>                         
    return -1;                                                        
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
a0006904:	e59d3010 	ldr	r3, [sp, #16]                                 
a0006908:	e58d5000 	str	r5, [sp]                                      
a000690c:	e1a01004 	mov	r1, r4                                        
a0006910:	e593c014 	ldr	ip, [r3, #20]                                 
a0006914:	e59d0018 	ldr	r0, [sp, #24]                                 
a0006918:	e1a02007 	mov	r2, r7                                        
a000691c:	e1a03008 	mov	r3, r8                                        
a0006920:	e12fff3c 	blx	ip                                            
a0006924:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0006928:	e1a00005 	mov	r0, r5                                        
a000692c:	ebfffea9 	bl	a00063d8 <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
a0006930:	eaffffe2 	b	a00068c0 <mknod+0x30>                           
                                                                      

a00069bc <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
a00069bc:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a00069c0:	e3530001 	cmp	r3, #1                                        
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
a00069c4:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a00069c8:	e58d3008 	str	r3, [sp, #8]                                  
a00069cc:	e1a07000 	mov	r7, r0                                        
a00069d0:	e1a06001 	mov	r6, r1                                        
a00069d4:	e1a09002 	mov	r9, r2                                        
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a00069d8:	8a000099 	bhi	a0006c44 <mount+0x288>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
a00069dc:	e1a00002 	mov	r0, r2                                        
a00069e0:	eb001fb2 	bl	a000e8b0 <rtems_filesystem_get_mount_handler>  
  if ( !mount_h )                                                     
a00069e4:	e3500000 	cmp	r0, #0                                        
a00069e8:	e58d0014 	str	r0, [sp, #20]                                 
a00069ec:	0a000094 	beq	a0006c44 <mount+0x288>                        
{                                                                     
  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;                                   
a00069f0:	e2565000 	subs	r5, r6, #0                                   
a00069f4:	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 : "/"; 
a00069f8:	e3550000 	cmp	r5, #0                                        
a00069fc:	0a000089 	beq	a0006c28 <mount+0x26c>                        
 * 	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(                                                            
a0006a00:	e1a00006 	mov	r0, r6                                        
a0006a04:	eb002dd2 	bl	a0012154 <strlen>                              
a0006a08:	e2803001 	add	r3, r0, #1                                    
a0006a0c:	e58d0010 	str	r0, [sp, #16]                                 
a0006a10:	e58d300c 	str	r3, [sp, #12]                                 
a0006a14:	e58d6018 	str	r6, [sp, #24]                                 
  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;          
a0006a18:	e1a00009 	mov	r0, r9                                        
a0006a1c:	eb002dcc 	bl	a0012154 <strlen>                              
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
a0006a20:	e3570000 	cmp	r7, #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;          
a0006a24:	e280b001 	add	fp, r0, #1                                    
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
a0006a28:	01a08007 	moveq	r8, r7                                      
a0006a2c:	0a000002 	beq	a0006a3c <mount+0x80>                         
a0006a30:	e1a00007 	mov	r0, r7                                        
a0006a34:	eb002dc6 	bl	a0012154 <strlen>                              
a0006a38:	e2808001 	add	r8, r0, #1                                    
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
a0006a3c:	e59d300c 	ldr	r3, [sp, #12]                                 
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
a0006a40:	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_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
a0006a44:	e2831074 	add	r1, r3, #116	; 0x74                           
a0006a48:	e081100b 	add	r1, r1, fp                                    
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
a0006a4c:	e0811008 	add	r1, r1, r8                                    
a0006a50:	ebfffdf7 	bl	a0006234 <calloc>                              
                                                                      
  if ( mt_entry != NULL ) {                                           
a0006a54:	e2504000 	subs	r4, r0, #0                                   
a0006a58:	0a00006d 	beq	a0006c14 <mount+0x258>                        
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
a0006a5c:	e284a074 	add	sl, r4, #116	; 0x74                           
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
a0006a60:	e08a300b 	add	r3, sl, fp                                    
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
a0006a64:	e1a01009 	mov	r1, r9                                        
a0006a68:	e1a0200b 	mov	r2, fp                                        
a0006a6c:	e1a0000a 	mov	r0, sl                                        
a0006a70:	e58d3004 	str	r3, [sp, #4]                                  
a0006a74:	eb002bfa 	bl	a0011a64 <memcpy>                              
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
a0006a78:	e59d3004 	ldr	r3, [sp, #4]                                  
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
a0006a7c:	e1a01007 	mov	r1, r7                                        
a0006a80:	e1a02008 	mov	r2, r8                                        
a0006a84:	e1a00003 	mov	r0, r3                                        
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
a0006a88:	e584a06c 	str	sl, [r4, #108]	; 0x6c                         
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
a0006a8c:	e0839008 	add	r9, r3, r8                                    
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
a0006a90:	eb002bf3 	bl	a0011a64 <memcpy>                              
    mt_entry->dev = str;                                              
a0006a94:	e59d3004 	ldr	r3, [sp, #4]                                  
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
a0006a98:	e59d1018 	ldr	r1, [sp, #24]                                 
a0006a9c:	e59d200c 	ldr	r2, [sp, #12]                                 
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
a0006aa0:	e5843070 	str	r3, [r4, #112]	; 0x70                         
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
a0006aa4:	e1a00009 	mov	r0, r9                                        
a0006aa8:	eb002bed 	bl	a0011a64 <memcpy>                              
  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;
a0006aac:	e59fe208 	ldr	lr, [pc, #520]	; a0006cbc <mount+0x300>       
a0006ab0:	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 ) {                                                 
a0006ab4:	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;
a0006ab8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0006abc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0006ac0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0006ac4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0006ac8:	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;                                        
a0006acc:	e59de008 	ldr	lr, [sp, #8]                                  
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
a0006ad0:	e5849068 	str	r9, [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;                           
a0006ad4:	e584402c 	str	r4, [r4, #44]	; 0x2c                          
  mt_entry->options = options;                                        
a0006ad8:	e584e030 	str	lr, [r4, #48]	; 0x30                          
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
a0006adc:	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 ) {                                                 
a0006ae0:	1a000023 	bne	a0006b74 <mount+0x1b8>                        
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a0006ae4:	e59f31d4 	ldr	r3, [pc, #468]	; a0006cc0 <mount+0x304>       
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
a0006ae8:	e5932000 	ldr	r2, [r3]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
a0006aec:	e2833004 	add	r3, r3, #4                                    
a0006af0:	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;           
a0006af4:	01a07005 	moveq	r7, r5                                      
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
a0006af8:	1a000056 	bne	a0006c58 <mount+0x29c>                        
     *  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 ) ) {                               
a0006afc:	e1a00004 	mov	r0, r4                                        
a0006b00:	e59d1054 	ldr	r1, [sp, #84]	; 0x54                          
a0006b04:	e59d3014 	ldr	r3, [sp, #20]                                 
a0006b08:	e12fff33 	blx	r3                                            
a0006b0c:	e2506000 	subs	r6, r0, #0                                   
a0006b10:	1a000057 	bne	a0006c74 <mount+0x2b8>                        
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 );
a0006b14:	e59f71a8 	ldr	r7, [pc, #424]	; a0006cc4 <mount+0x308>       
a0006b18:	e1a02006 	mov	r2, r6                                        
a0006b1c:	e1a01006 	mov	r1, r6                                        
a0006b20:	e5970000 	ldr	r0, [r7]                                      
a0006b24:	eb000be3 	bl	a0009ab8 <rtems_semaphore_obtain>              
a0006b28:	e59f0190 	ldr	r0, [pc, #400]	; a0006cc0 <mount+0x304>       
a0006b2c:	e1a01004 	mov	r1, r4                                        
a0006b30:	eb000e3f 	bl	a000a434 <_Chain_Append>                       
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a0006b34:	e5970000 	ldr	r0, [r7]                                      
a0006b38:	eb000c27 	bl	a0009bdc <rtems_semaphore_release>             
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
a0006b3c:	e3550000 	cmp	r5, #0                                        
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
a0006b40:	11a05006 	movne	r5, r6                                      
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
a0006b44:	1a000007 	bne	a0006b68 <mount+0x1ac>                        
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
a0006b48:	e59fc178 	ldr	ip, [pc, #376]	; a0006cc8 <mount+0x30c>       
a0006b4c:	e284401c 	add	r4, r4, #28                                   
a0006b50:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0006b54:	e59cc000 	ldr	ip, [ip]                                      
a0006b58:	e5944000 	ldr	r4, [r4]                                      
a0006b5c:	e28cc018 	add	ip, ip, #24                                   
a0006b60:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0006b64:	e58c4000 	str	r4, [ip]                                      
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
a0006b68:	e1a00005 	mov	r0, r5                                        
a0006b6c:	e28dd030 	add	sp, sp, #48	; 0x30                            
a0006b70:	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(                              
a0006b74:	e28d701c 	add	r7, sp, #28                                   
a0006b78:	e3a0c001 	mov	ip, #1                                        
a0006b7c:	e1a00006 	mov	r0, r6                                        
a0006b80:	e59d1010 	ldr	r1, [sp, #16]                                 
a0006b84:	e3a02007 	mov	r2, #7                                        
a0006b88:	e1a03007 	mov	r3, r7                                        
a0006b8c:	e58dc000 	str	ip, [sp]                                      
a0006b90:	ebfffdd6 	bl	a00062f0 <rtems_filesystem_evaluate_path>      
a0006b94:	e3700001 	cmn	r0, #1                                        
a0006b98:	0a000031 	beq	a0006c64 <mount+0x2a8>                        
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a0006b9c:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0006ba0:	e1a00007 	mov	r0, r7                                        
a0006ba4:	e5933010 	ldr	r3, [r3, #16]                                 
a0006ba8:	e12fff33 	blx	r3                                            
a0006bac:	e3500001 	cmp	r0, #1                                        
a0006bb0:	1a000039 	bne	a0006c9c <mount+0x2e0>                        
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
a0006bb4:	e59f0110 	ldr	r0, [pc, #272]	; a0006ccc <mount+0x310>       
a0006bb8:	e59d101c 	ldr	r1, [sp, #28]                                 
a0006bbc:	ebffff61 	bl	a0006948 <rtems_filesystem_mount_iterate>      
a0006bc0:	e3500000 	cmp	r0, #0                                        
a0006bc4:	1a000038 	bne	a0006cac <mount+0x2f0>                        
     *  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;            
a0006bc8:	e59d201c 	ldr	r2, [sp, #28]                                 
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
a0006bcc:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
    /*                                                                
     *  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 ) ) {                             
a0006bd0:	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;            
a0006bd4:	e5842008 	str	r2, [r4, #8]                                  
    mt_entry->mt_point_node.handlers = loc.handlers;                  
a0006bd8:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
    mt_entry->mt_point_node.ops = loc.ops;                            
a0006bdc:	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 ) ) {                             
a0006be0:	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;                  
a0006be4:	e5842010 	str	r2, [r4, #16]                                 
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
a0006be8:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          
a0006bec:	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 ) ) {                             
a0006bf0:	e12fff33 	blx	r3                                            
a0006bf4:	e3500000 	cmp	r0, #0                                        
a0006bf8:	0affffbf 	beq	a0006afc <mount+0x140>                        
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a0006bfc:	e1a00004 	mov	r0, r4                                        
a0006c00:	ebfffdf9 	bl	a00063ec <free>                                
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
a0006c04:	e1a00007 	mov	r0, r7                                        
a0006c08:	ebfffdf2 	bl	a00063d8 <rtems_filesystem_freenode>           
                                                                      
  return -1;                                                          
a0006c0c:	e3e05000 	mvn	r5, #0                                        
a0006c10:	eaffffd4 	b	a0006b68 <mount+0x1ac>                          
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a0006c14:	eb002964 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0006c18:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0006c1c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0006c20:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0006c24:	eaffffcf 	b	a0006b68 <mount+0x1ac>                          <== 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 : "/"; 
a0006c28:	e59fe0a0 	ldr	lr, [pc, #160]	; a0006cd0 <mount+0x314>       
a0006c2c:	e3a03002 	mov	r3, #2                                        
a0006c30:	e58d300c 	str	r3, [sp, #12]                                 
a0006c34:	e58de018 	str	lr, [sp, #24]                                 
a0006c38:	e3a0e001 	mov	lr, #1                                        
a0006c3c:	e58de010 	str	lr, [sp, #16]                                 
a0006c40:	eaffff74 	b	a0006a18 <mount+0x5c>                           
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  if ( !mount_h )                                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0006c44:	eb002958 	bl	a00111ac <__errno>                             
a0006c48:	e3a03016 	mov	r3, #22                                       
a0006c4c:	e5803000 	str	r3, [r0]                                      
a0006c50:	e3e05000 	mvn	r5, #0                                        
a0006c54:	eaffffc3 	b	a0006b68 <mount+0x1ac>                          
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
      errno = EINVAL;                                                 
a0006c58:	eb002953 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0006c5c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0006c60:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a0006c64:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006c68:	ebfffddf 	bl	a00063ec <free>                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
a0006c6c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0006c70:	eaffffbc 	b	a0006b68 <mount+0x1ac>                          <== NOT EXECUTED
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
a0006c74:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0006c78:	e1a00004 	mov	r0, r4                                        
a0006c7c:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0006c80:	e12fff33 	blx	r3                                            
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a0006c84:	e1a00004 	mov	r0, r4                                        
a0006c88:	ebfffdd7 	bl	a00063ec <free>                                
                                                                      
  if ( loc_to_free )                                                  
a0006c8c:	e3570000 	cmp	r7, #0                                        
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
a0006c90:	03e05000 	mvneq	r5, #0                                      
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
a0006c94:	0affffb3 	beq	a0006b68 <mount+0x1ac>                        
a0006c98:	eaffffd9 	b	a0006c04 <mount+0x248>                          
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
a0006c9c:	eb002942 	bl	a00111ac <__errno>                             
a0006ca0:	e3a03014 	mov	r3, #20                                       
a0006ca4:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a0006ca8:	eaffffd3 	b	a0006bfc <mount+0x240>                          
    /*                                                                
     *  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;                                                  
a0006cac:	eb00293e 	bl	a00111ac <__errno>                             
a0006cb0:	e3a03010 	mov	r3, #16                                       
a0006cb4:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a0006cb8:	eaffffcf 	b	a0006bfc <mount+0x240>                          
                                                                      

a0006cd8 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
a0006cd8:	e92d4010 	push	{r4, lr}                                     
a0006cdc:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
a0006ce0:	eb002a34 	bl	a00115b8 <fileno>                              
a0006ce4:	e3500002 	cmp	r0, #2                                        
a0006ce8:	9a000003 	bls	a0006cfc <newlib_free_buffers+0x24>           
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
a0006cec:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006cf0:	eb00297b 	bl	a00112e4 <fclose>                              <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a0006cf4:	e3a00000 	mov	r0, #0                                        
a0006cf8:	e8bd8010 	pop	{r4, pc}                                      
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
a0006cfc:	e1d430bc 	ldrh	r3, [r4, #12]                                
a0006d00:	e3130080 	tst	r3, #128	; 0x80                               
a0006d04:	0afffffa 	beq	a0006cf4 <newlib_free_buffers+0x1c>           
        free( fp->_bf._base );                                        
a0006d08:	e5940010 	ldr	r0, [r4, #16]                                 
a0006d0c:	ebfffdb6 	bl	a00063ec <free>                                <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
a0006d10:	e1d420bc 	ldrh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a0006d14:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0006d18:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
a0006d1c:	e3c22080 	bic	r2, r2, #128	; 0x80                           <== NOT EXECUTED
a0006d20:	e1c420bc 	strh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a0006d24:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
a0006d28:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006d2c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0006fdc <open>: int open( const char *pathname, int flags, ... ) {
a0006fdc:	e92d000e 	push	{r1, r2, r3}                                 
a0006fe0:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
a0006fe4:	e24dd01c 	sub	sp, sp, #28                                   
a0006fe8:	e59d503c 	ldr	r5, [sp, #60]	; 0x3c                          
a0006fec:	e1a06000 	mov	r6, r0                                        
  if ( ( status & _FWRITE ) == _FWRITE )                              
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0006ff0:	e59da040 	ldr	sl, [sp, #64]	; 0x40                          
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
a0006ff4:	e2853001 	add	r3, r5, #1                                    
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
a0006ff8:	e2139001 	ands	r9, r3, #1                                   
a0006ffc:	13a09004 	movne	r9, #4                                      
  if ( ( status & _FWRITE ) == _FWRITE )                              
a0007000:	e3130002 	tst	r3, #2                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0007004:	e28d3044 	add	r3, sp, #68	; 0x44                            
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
a0007008:	13899002 	orrne	r9, r9, #2                                  
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a000700c:	e58d3018 	str	r3, [sp, #24]                                 
   *             code does not require changes here since network file
   *             descriptors are obtained using socket(), not open(). 
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
a0007010:	eb001d44 	bl	a000e528 <rtems_libio_allocate>                
  if ( iop == 0 ) {                                                   
a0007014:	e2504000 	subs	r4, r0, #0                                   
a0007018:	0a000033 	beq	a00070ec <open+0x110>                         
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
a000701c:	e1a00006 	mov	r0, r6                                        
a0007020:	eb002c4b 	bl	a0012154 <strlen>                              
a0007024:	e28d7004 	add	r7, sp, #4                                    
a0007028:	e1a01000 	mov	r1, r0                                        
a000702c:	e3a08001 	mov	r8, #1                                        
a0007030:	e1a00006 	mov	r0, r6                                        
a0007034:	e1a02009 	mov	r2, r9                                        
a0007038:	e1a03007 	mov	r3, r7                                        
a000703c:	e58d8000 	str	r8, [sp]                                      
a0007040:	ebfffcaa 	bl	a00062f0 <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
a0007044:	e3700001 	cmn	r0, #1                                        
a0007048:	0a00005b 	beq	a00071bc <open+0x1e0>                         
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
a000704c:	e2053c0a 	and	r3, r5, #2560	; 0xa00                         
a0007050:	e3530c0a 	cmp	r3, #2560	; 0xa00                             
a0007054:	0a000029 	beq	a0007100 <open+0x124>                         
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0007058:	e1a00005 	mov	r0, r5                                        
a000705c:	e5948014 	ldr	r8, [r4, #20]                                 
a0007060:	eb001d10 	bl	a000e4a8 <rtems_libio_fcntl_flags>             
  iop->pathinfo   = loc;                                              
a0007064:	e284c018 	add	ip, r4, #24                                   
a0007068:	e1a0e007 	mov	lr, r7                                        
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a000706c:	e1808008 	orr	r8, r0, r8                                    
  iop->pathinfo   = loc;                                              
a0007070:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0007074:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0007078:	e59e2000 	ldr	r2, [lr]                                      
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
a000707c:	e5943020 	ldr	r3, [r4, #32]                                 
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0007080:	e5848014 	str	r8, [r4, #20]                                 
  iop->pathinfo   = loc;                                              
a0007084:	e58c2000 	str	r2, [ip]                                      
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
a0007088:	e1a00004 	mov	r0, r4                                        
a000708c:	e593c000 	ldr	ip, [r3]                                      
a0007090:	e1a01006 	mov	r1, r6                                        
a0007094:	e1a02005 	mov	r2, r5                                        
a0007098:	e1a0300a 	mov	r3, sl                                        
a000709c:	e12fff3c 	blx	ip                                            
  if ( rc ) {                                                         
a00070a0:	e3500000 	cmp	r0, #0                                        
a00070a4:	1a00003f 	bne	a00071a8 <open+0x1cc>                         
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
a00070a8:	e3150b01 	tst	r5, #1024	; 0x400                             
a00070ac:	1a00001d 	bne	a0007128 <open+0x14c>                         
a00070b0:	e59f5190 	ldr	r5, [pc, #400]	; a0007248 <open+0x26c>        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
a00070b4:	e5953000 	ldr	r3, [r5]                                      
a00070b8:	e0634004 	rsb	r4, r3, r4                                    
a00070bc:	e1a041c4 	asr	r4, r4, #3                                    
a00070c0:	e0843184 	add	r3, r4, r4, lsl #3                            
a00070c4:	e0833303 	add	r3, r3, r3, lsl #6                            
a00070c8:	e0843183 	add	r3, r4, r3, lsl #3                            
a00070cc:	e0833783 	add	r3, r3, r3, lsl #15                           
a00070d0:	e0844183 	add	r4, r4, r3, lsl #3                            
a00070d4:	e2644000 	rsb	r4, r4, #0                                    
}                                                                     
a00070d8:	e1a00004 	mov	r0, r4                                        
a00070dc:	e28dd01c 	add	sp, sp, #28                                   
a00070e0:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a00070e4:	e28dd00c 	add	sp, sp, #12                                   
a00070e8:	e12fff1e 	bx	lr                                             
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
a00070ec:	e3a06017 	mov	r6, #23                                       
  if ( rc ) {                                                         
    if ( iop )                                                        
      rtems_libio_free( iop );                                        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
a00070f0:	eb00282d 	bl	a00111ac <__errno>                             
a00070f4:	e3e04000 	mvn	r4, #0                                        
a00070f8:	e5806000 	str	r6, [r0]                                      
a00070fc:	eafffff5 	b	a00070d8 <open+0xfc>                            
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    /* We were trying to create a file that already exists */         
    rc = EEXIST;                                                      
a0007100:	e3a06011 	mov	r6, #17                                       <== NOT EXECUTED
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
a0007104:	e3540000 	cmp	r4, #0                                        
a0007108:	0a000001 	beq	a0007114 <open+0x138>                         
      rtems_libio_free( iop );                                        
a000710c:	e1a00004 	mov	r0, r4                                        
a0007110:	eb001d46 	bl	a000e630 <rtems_libio_free>                    
    if ( loc_to_free )                                                
a0007114:	e3570000 	cmp	r7, #0                                        
a0007118:	0afffff4 	beq	a00070f0 <open+0x114>                         
      rtems_filesystem_freenode( loc_to_free );                       
a000711c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0007120:	ebfffcac 	bl	a00063d8 <rtems_filesystem_freenode>           <== NOT EXECUTED
a0007124:	eafffff1 	b	a00070f0 <open+0x114>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
a0007128:	e59f5118 	ldr	r5, [pc, #280]	; a0007248 <open+0x26c>        
a000712c:	e3a01000 	mov	r1, #0                                        
a0007130:	e3a02000 	mov	r2, #0                                        
a0007134:	e5953000 	ldr	r3, [r5]                                      
a0007138:	e0633004 	rsb	r3, r3, r4                                    
a000713c:	e1a031c3 	asr	r3, r3, #3                                    
a0007140:	e0830183 	add	r0, r3, r3, lsl #3                            
a0007144:	e0800300 	add	r0, r0, r0, lsl #6                            
a0007148:	e0830180 	add	r0, r3, r0, lsl #3                            
a000714c:	e0800780 	add	r0, r0, r0, lsl #15                           
a0007150:	e0830180 	add	r0, r3, r0, lsl #3                            
a0007154:	e2600000 	rsb	r0, r0, #0                                    
a0007158:	eb001c9b 	bl	a000e3cc <ftruncate>                           
    if ( rc ) {                                                       
a000715c:	e2506000 	subs	r6, r0, #0                                   
a0007160:	0affffd3 	beq	a00070b4 <open+0xd8>                          
      if(errno) rc = errno;                                           
a0007164:	eb002810 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0007168:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a000716c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0007170:	1a000031 	bne	a000723c <open+0x260>                         <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
a0007174:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0007178:	e0634004 	rsb	r4, r3, r4                                    <== NOT EXECUTED
a000717c:	e1a041c4 	asr	r4, r4, #3                                    <== NOT EXECUTED
a0007180:	e0843184 	add	r3, r4, r4, lsl #3                            <== NOT EXECUTED
a0007184:	e0833303 	add	r3, r3, r3, lsl #6                            <== NOT EXECUTED
a0007188:	e0843183 	add	r3, r4, r3, lsl #3                            <== NOT EXECUTED
a000718c:	e0833783 	add	r3, r3, r3, lsl #15                           <== NOT EXECUTED
a0007190:	e0840183 	add	r0, r4, r3, lsl #3                            <== NOT EXECUTED
a0007194:	e2600000 	rsb	r0, r0, #0                                    <== NOT EXECUTED
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
a0007198:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
      close( iop - rtems_libio_iops );                                
a000719c:	eb001c6a 	bl	a000e34c <close>                               <== NOT EXECUTED
      /* those are released by close(): */                            
      iop = 0;                                                        
a00071a0:	e1a07004 	mov	r7, r4                                        <== NOT EXECUTED
a00071a4:	ea000001 	b	a00071b0 <open+0x1d4>                           <== NOT EXECUTED
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
a00071a8:	eb0027ff 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a00071ac:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
a00071b0:	e3560000 	cmp	r6, #0                                        
a00071b4:	0affffbd 	beq	a00070b0 <open+0xd4>                          
a00071b8:	eaffffd1 	b	a0007104 <open+0x128>                           
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
a00071bc:	eb0027fa 	bl	a00111ac <__errno>                             
a00071c0:	e5903000 	ldr	r3, [r0]                                      
a00071c4:	e3530002 	cmp	r3, #2                                        
a00071c8:	0a000003 	beq	a00071dc <open+0x200>                         
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
a00071cc:	eb0027f6 	bl	a00111ac <__errno>                             
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
a00071d0:	e3a07000 	mov	r7, #0                                        
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
a00071d4:	e5906000 	ldr	r6, [r0]                                      
      goto done;                                                      
a00071d8:	eafffff4 	b	a00071b0 <open+0x1d4>                           
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
a00071dc:	e2159c02 	ands	r9, r5, #512	; 0x200                         
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
a00071e0:	01a07009 	moveq	r7, r9                                      
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
a00071e4:	01a06003 	moveq	r6, r3                                      
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
a00071e8:	0affffc5 	beq	a0007104 <open+0x128>                         
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
a00071ec:	e1a00006 	mov	r0, r6                                        
a00071f0:	e38a1902 	orr	r1, sl, #32768	; 0x8000                       
a00071f4:	e3a02000 	mov	r2, #0                                        
a00071f8:	e3a03000 	mov	r3, #0                                        
a00071fc:	ebfffda3 	bl	a0006890 <mknod>                               
    if ( rc ) {                                                       
a0007200:	e2509000 	subs	r9, r0, #0                                   
a0007204:	1afffff0 	bne	a00071cc <open+0x1f0>                         
    /*                                                                
     * After we do the mknod(), we have to evaluate the path to get the
     * "loc" structure needed to actually have the file itself open.  
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
a0007208:	e1a00006 	mov	r0, r6                                        
a000720c:	eb002bd0 	bl	a0012154 <strlen>                              
a0007210:	e1a03007 	mov	r3, r7                                        
a0007214:	e1a01000 	mov	r1, r0                                        
a0007218:	e1a02009 	mov	r2, r9                                        
a000721c:	e1a00006 	mov	r0, r6                                        
a0007220:	e58d8000 	str	r8, [sp]                                      
a0007224:	ebfffc31 	bl	a00062f0 <rtems_filesystem_evaluate_path>      
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
a0007228:	e3500000 	cmp	r0, #0                                        
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
a000722c:	11a07009 	movne	r7, r9                                      
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
a0007230:	13a0600d 	movne	r6, #13                                     
     * "loc" structure needed to actually have the file itself open.  
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
a0007234:	1affffb2 	bne	a0007104 <open+0x128>                         
a0007238:	eaffff86 	b	a0007058 <open+0x7c>                            
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
a000723c:	eb0027da 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0007240:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
a0007244:	eaffffca 	b	a0007174 <open+0x198>                           <== NOT EXECUTED
                                                                      

a0007f4c <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
a0007f4c:	e92d4010 	push	{r4, lr}                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
a0007f50:	e5913034 	ldr	r3, [r1, #52]	; 0x34                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0007f54:	e24dd004 	sub	sp, sp, #4                                    
a0007f58:	e1a04001 	mov	r4, r1                                        
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
a0007f5c:	e3130001 	tst	r3, #1                                        
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0007f60:	e5cd0000 	strb	r0, [sp]                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
a0007f64:	0a000014 	beq	a0007fbc <oproc+0x70>                         
    switch (c) {                                                      
a0007f68:	e5dd1000 	ldrb	r1, [sp]                                     
a0007f6c:	e2412008 	sub	r2, r1, #8                                    
a0007f70:	e3520005 	cmp	r2, #5                                        
a0007f74:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a0007f78:	ea000005 	b	a0007f94 <oproc+0x48>                           
a0007f7c:	a0008044 	.word	0xa0008044                                  
a0007f80:	a000800c 	.word	0xa000800c                                  
a0007f84:	a0008058 	.word	0xa0008058                                  
a0007f88:	a0007f94 	.word	0xa0007f94                                  
a0007f8c:	a0007f94 	.word	0xa0007f94                                  
a0007f90:	a0007fd4 	.word	0xa0007fd4                                  
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
a0007f94:	e3130002 	tst	r3, #2                                        
a0007f98:	1a00003a 	bne	a0008088 <oproc+0x13c>                        
a0007f9c:	e59f310c 	ldr	r3, [pc, #268]	; a00080b0 <oproc+0x164>       
a0007fa0:	e5933000 	ldr	r3, [r3]                                      
        c = toupper(c);                                               
      if (!iscntrl(c))                                                
a0007fa4:	e0831001 	add	r1, r3, r1                                    
a0007fa8:	e5d13001 	ldrb	r3, [r1, #1]                                 
a0007fac:	e3130020 	tst	r3, #32                                       
        tty->column++;                                                
a0007fb0:	05943028 	ldreq	r3, [r4, #40]	; 0x28                        
a0007fb4:	02833001 	addeq	r3, r3, #1                                  
a0007fb8:	05843028 	streq	r3, [r4, #40]	; 0x28                        
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
a0007fbc:	e1a0000d 	mov	r0, sp                                        
a0007fc0:	e3a01001 	mov	r1, #1                                        
a0007fc4:	e1a02004 	mov	r2, r4                                        
a0007fc8:	ebffff99 	bl	a0007e34 <rtems_termios_puts>                  
}                                                                     
a0007fcc:	e28dd004 	add	sp, sp, #4                                    
a0007fd0:	e8bd8010 	pop	{r4, pc}                                      
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
a0007fd4:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a0007fd8:	0a000002 	beq	a0007fe8 <oproc+0x9c>                         <== NOT EXECUTED
a0007fdc:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0007fe0:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0007fe4:	0afffff8 	beq	a0007fcc <oproc+0x80>                         <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
a0007fe8:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
a0007fec:	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) {                             
a0007ff0:	0afffff1 	beq	a0007fbc <oproc+0x70>                         <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
a0007ff4:	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';                                                     
a0007ff8:	e3a0300a 	mov	r3, #10                                       <== NOT EXECUTED
a0007ffc:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
          tty->column = 0;                                            
a0008000:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a0008004:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0008008:	eaffffeb 	b	a0007fbc <oproc+0x70>                           <== NOT EXECUTED
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
a000800c:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
a0008010:	e2033b06 	and	r3, r3, #6144	; 0x1800                        
a0008014:	e3530b06 	cmp	r3, #6144	; 0x1800                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
a0008018:	e2021007 	and	r1, r2, #7                                    
a000801c:	e2611008 	rsb	r1, r1, #8                                    
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
        return;                                                       
      }                                                               
      tty->column += i;                                               
a0008020:	10811002 	addne	r1, r1, r2                                  
a0008024:	15841028 	strne	r1, [r4, #40]	; 0x28                        
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
a0008028:	1affffe3 	bne	a0007fbc <oproc+0x70>                         
        tty->column += i;                                             
a000802c:	e0812002 	add	r2, r1, r2                                    
a0008030:	e5842028 	str	r2, [r4, #40]	; 0x28                          
        rtems_termios_puts ( "        ",  i, tty);                    
a0008034:	e59f0078 	ldr	r0, [pc, #120]	; a00080b4 <oproc+0x168>       
a0008038:	e1a02004 	mov	r2, r4                                        
a000803c:	ebffff7c 	bl	a0007e34 <rtems_termios_puts>                  
        return;                                                       
a0008040:	eaffffe1 	b	a0007fcc <oproc+0x80>                           
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
a0008044:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0008048:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        tty->column--;                                                
a000804c:	c2433001 	subgt	r3, r3, #1                                  <== NOT EXECUTED
a0008050:	c5843028 	strgt	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0008054:	eaffffd8 	b	a0007fbc <oproc+0x70>                           <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
a0008058:	e3130020 	tst	r3, #32                                       
        tty->column = 0;                                              
a000805c:	13a02000 	movne	r2, #0                                      
a0008060:	15842028 	strne	r2, [r4, #40]	; 0x28                        
      if (tty->termios.c_oflag & ONLCR) {                             
a0008064:	e3130004 	tst	r3, #4                                        
a0008068:	0affffd3 	beq	a0007fbc <oproc+0x70>                         
        rtems_termios_puts ("\r", 1, tty);                            
a000806c:	e59f0044 	ldr	r0, [pc, #68]	; a00080b8 <oproc+0x16c>        
a0008070:	e3a01001 	mov	r1, #1                                        
a0008074:	e1a02004 	mov	r2, r4                                        
a0008078:	ebffff6d 	bl	a0007e34 <rtems_termios_puts>                  
        tty->column = 0;                                              
a000807c:	e3a03000 	mov	r3, #0                                        
a0008080:	e5843028 	str	r3, [r4, #40]	; 0x28                          
a0008084:	eaffffcc 	b	a0007fbc <oproc+0x70>                           
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
a0008088:	e59f3020 	ldr	r3, [pc, #32]	; a00080b0 <oproc+0x164>        <== NOT EXECUTED
a000808c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0008090:	e0832001 	add	r2, r3, r1                                    <== NOT EXECUTED
a0008094:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0008098:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a000809c:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
a00080a0:	02411020 	subeq	r1, r1, #32                                 <== NOT EXECUTED
a00080a4:	e20110ff 	and	r1, r1, #255	; 0xff                           <== NOT EXECUTED
a00080a8:	e5cd1000 	strb	r1, [sp]                                     <== NOT EXECUTED
a00080ac:	eaffffbc 	b	a0007fa4 <oproc+0x58>                           <== NOT EXECUTED
                                                                      

a0008500 <pathconf>: long pathconf( const char *path, int name ) {
a0008500:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a0008504:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
a0008508:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000850c:	ebffff5b 	bl	a0008280 <open>                                <== NOT EXECUTED
  if ( fd == -1 )                                                     
a0008510:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
a0008514:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  if ( fd == -1 )                                                     
a0008518:	0a000006 	beq	a0008538 <pathconf+0x38>                      <== NOT EXECUTED
    return -1;                                                        
                                                                      
  status = fpathconf( fd, name );                                     
a000851c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0008520:	ebfffab3 	bl	a0006ff4 <fpathconf>                           <== NOT EXECUTED
a0008524:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  (void) close( fd );                                                 
a0008528:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000852c:	ebfff985 	bl	a0006b48 <close>                               <== NOT EXECUTED
                                                                      
  return status;                                                      
a0008530:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0008534:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
}                                                                     
a0008538:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000f758 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
a000f758:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
a000f75c:	e3a01f7f 	mov	r1, #508	; 0x1fc                              
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
a000f760:	e24dd010 	sub	sp, sp, #16                                   
a000f764:	e1a05000 	mov	r5, r0                                        
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
a000f768:	e2811003 	add	r1, r1, #3                                    
a000f76c:	e59f0124 	ldr	r0, [pc, #292]	; a000f898 <pipe_create+0x140> 
a000f770:	eb0005c9 	bl	a0010e9c <rtems_mkdir>                         
a000f774:	e3500000 	cmp	r0, #0                                        
    return -1;                                                        
a000f778:	13e03000 	mvnne	r3, #0                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
a000f77c:	0a000002 	beq	a000f78c <pipe_create+0x34>                   
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
a000f780:	e1a00003 	mov	r0, r3                                        
a000f784:	e28dd010 	add	sp, sp, #16                                   
a000f788:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000f78c:	e59fc108 	ldr	ip, [pc, #264]	; a000f89c <pipe_create+0x144> 
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000f790:	e59f6108 	ldr	r6, [pc, #264]	; a000f8a0 <pipe_create+0x148> 
a000f794:	e3a03c6f 	mov	r3, #28416	; 0x6f00                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000f798:	e1dc20b0 	ldrh	r2, [ip]                                     
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000f79c:	e58d6000 	str	r6, [sp]                                      
a000f7a0:	e286633e 	add	r6, r6, #-134217728	; 0xf8000000              
a000f7a4:	e286673e 	add	r6, r6, #16252928	; 0xf80000                  
a000f7a8:	e2833066 	add	r3, r3, #102	; 0x66                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000f7ac:	e282e001 	add	lr, r2, #1                                    
a000f7b0:	e59f10ec 	ldr	r1, [pc, #236]	; a000f8a4 <pipe_create+0x14c> 
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000f7b4:	e2866cba 	add	r6, r6, #47616	; 0xba00                       
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000f7b8:	e28d000a 	add	r0, sp, #10                                   
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000f7bc:	e58d6004 	str	r6, [sp, #4]                                  
a000f7c0:	e1cd30b8 	strh	r3, [sp, #8]                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000f7c4:	e1cce0b0 	strh	lr, [ip]                                     
a000f7c8:	eb000f18 	bl	a0013430 <sprintf>                             
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
a000f7cc:	e1a0000d 	mov	r0, sp                                        
a000f7d0:	e3a01d06 	mov	r1, #384	; 0x180                              
a000f7d4:	eb000508 	bl	a0010bfc <mkfifo>                              
a000f7d8:	e2506000 	subs	r6, r0, #0                                   
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000f7dc:	e1a0400d 	mov	r4, sp                                        
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
a000f7e0:	1a000029 	bne	a000f88c <pipe_create+0x134>                  
    return -1;                                                        
    /* sprintf(fifopath + 10, "%04x", rtems_pipe_no ++); */           
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
a000f7e4:	e1a0000d 	mov	r0, sp                                        
a000f7e8:	e3a01901 	mov	r1, #16384	; 0x4000                           
a000f7ec:	ebffe357 	bl	a0008550 <open>                                
  if (filsdes[0] < 0) {                                               
a000f7f0:	e3500000 	cmp	r0, #0                                        
    return -1;                                                        
    /* sprintf(fifopath + 10, "%04x", rtems_pipe_no ++); */           
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
a000f7f4:	e5850000 	str	r0, [r5]                                      
  if (filsdes[0] < 0) {                                               
a000f7f8:	ba000019 	blt	a000f864 <pipe_create+0x10c>                  
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
a000f7fc:	e59f30a4 	ldr	r3, [pc, #164]	; a000f8a8 <pipe_create+0x150> 
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000f800:	e3a01001 	mov	r1, #1                                        
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
a000f804:	e5933000 	ldr	r3, [r3]                                      
a000f808:	e1500003 	cmp	r0, r3                                        
a000f80c:	359f3098 	ldrcc	r3, [pc, #152]	; a000f8ac <pipe_create+0x154>
a000f810:	33a06038 	movcc	r6, #56	; 0x38                              
a000f814:	35933000 	ldrcc	r3, [r3]                                    
a000f818:	30263690 	mlacc	r6, r0, r6, r3                              
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000f81c:	e1a0000d 	mov	r0, sp                                        
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
a000f820:	e5963014 	ldr	r3, [r6, #20]                                 
a000f824:	e3c33001 	bic	r3, r3, #1                                    
a000f828:	e5863014 	str	r3, [r6, #20]                                 
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000f82c:	ebffe347 	bl	a0008550 <open>                                
                                                                      
    if (filsdes[1] < 0) {                                             
a000f830:	e3500000 	cmp	r0, #0                                        
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000f834:	e5850004 	str	r0, [r5, #4]                                  
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
a000f838:	a3a06000 	movge	r6, #0                                      
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
a000f83c:	ba00000d 	blt	a000f878 <pipe_create+0x120>                  
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
a000f840:	e1a0000d 	mov	r0, sp                                        
a000f844:	ebffeb85 	bl	a000a660 <unlink>                              
  }                                                                   
  if(err != 0)                                                        
a000f848:	e3560000 	cmp	r6, #0                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
a000f84c:	01a03006 	moveq	r3, r6                                      
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
a000f850:	0affffca 	beq	a000f780 <pipe_create+0x28>                   
    rtems_set_errno_and_return_minus_one(err);                        
a000f854:	eb000c36 	bl	a0012934 <__errno>                             <== NOT EXECUTED
a000f858:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a000f85c:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
a000f860:	eaffffc6 	b	a000f780 <pipe_create+0x28>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
a000f864:	eb000c32 	bl	a0012934 <__errno>                             <== NOT EXECUTED
a000f868:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    /* Delete file at errors, or else if pipe is successfully created 
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
a000f86c:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a000f870:	ebffeb7a 	bl	a000a660 <unlink>                              <== NOT EXECUTED
a000f874:	eafffff3 	b	a000f848 <pipe_create+0xf0>                     <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
a000f878:	eb000c2d 	bl	a0012934 <__errno>                             <== NOT EXECUTED
a000f87c:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    close(filsdes[0]);                                                
a000f880:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000f884:	ebffdee9 	bl	a0007430 <close>                               <== NOT EXECUTED
a000f888:	eaffffec 	b	a000f840 <pipe_create+0xe8>                     <== NOT EXECUTED
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
    if (errno != EEXIST){                                             
a000f88c:	eb000c28 	bl	a0012934 <__errno>                             
      return -1;                                                      
a000f890:	e3e03000 	mvn	r3, #0                                        
a000f894:	eaffffb9 	b	a000f780 <pipe_create+0x28>                     
                                                                      

a0010e5c <pipe_ioctl>: uint32_t cmd, void *buffer, rtems_libio_t *iop ) { if (cmd == FIONREAD) {
a0010e5c:	e59f3060 	ldr	r3, [pc, #96]	; a0010ec4 <pipe_ioctl+0x68>    <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0010e60:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a0010e64:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0010e68:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0010e6c:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a0010e70:	0a000001 	beq	a0010e7c <pipe_ioctl+0x20>                    <== NOT EXECUTED
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
a0010e74:	e3e00015 	mvn	r0, #21                                       <== NOT EXECUTED
a0010e78:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
a0010e7c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0010e80:	1a000001 	bne	a0010e8c <pipe_ioctl+0x30>                    <== NOT EXECUTED
      return -EFAULT;                                                 
a0010e84:	e3e0000d 	mvn	r0, #13                                       <== NOT EXECUTED
a0010e88:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
a0010e8c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0010e90:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a0010e94:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0010e98:	ebffebb2 	bl	a000bd68 <rtems_semaphore_obtain>              <== NOT EXECUTED
a0010e9c:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a0010ea0:	0a000001 	beq	a0010eac <pipe_ioctl+0x50>                    <== NOT EXECUTED
      return -EINTR;                                                  
a0010ea4:	e3e00003 	mvn	r0, #3                                        <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
a0010ea8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
a0010eac:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a0010eb0:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
a0010eb4:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a0010eb8:	ebffebf3 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
    return 0;                                                         
a0010ebc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0010ec0:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0010aa8 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
a0010aa8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0010aac:	e1a09001 	mov	r9, r1                                        
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0010ab0:	e3a01000 	mov	r1, #0                                        
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0010ab4:	e24dd008 	sub	sp, sp, #8                                    
a0010ab8:	e1a04000 	mov	r4, r0                                        
a0010abc:	e1a05002 	mov	r5, r2                                        
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0010ac0:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          
a0010ac4:	e1a02001 	mov	r2, r1                                        
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0010ac8:	e1a07003 	mov	r7, r3                                        
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0010acc:	ebffeca5 	bl	a000bd68 <rtems_semaphore_obtain>              
a0010ad0:	e250a000 	subs	sl, r0, #0                                   
    return -EINTR;                                                    
a0010ad4:	13e00003 	mvnne	r0, #3                                      
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0010ad8:	1a000028 	bne	a0010b80 <pipe_read+0xd8>                     
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a0010adc:	e3550000 	cmp	r5, #0                                        
a0010ae0:	01a08005 	moveq	r8, r5                                      
a0010ae4:	01a06008 	moveq	r6, r8                                      
a0010ae8:	0a00001f 	beq	a0010b6c <pipe_read+0xc4>                     
a0010aec:	e1a0800a 	mov	r8, sl                                        
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a0010af0:	e28db004 	add	fp, sp, #4                                    
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
a0010af4:	e594200c 	ldr	r2, [r4, #12]                                 
a0010af8:	e3520000 	cmp	r2, #0                                        
a0010afc:	1a000021 	bne	a0010b88 <pipe_read+0xe0>                     
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
a0010b00:	e5946014 	ldr	r6, [r4, #20]                                 
a0010b04:	e3560000 	cmp	r6, #0                                        
a0010b08:	0a000017 	beq	a0010b6c <pipe_read+0xc4>                     
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
a0010b0c:	e5976014 	ldr	r6, [r7, #20]                                 <== NOT EXECUTED
a0010b10:	e2166001 	ands	r6, r6, #1                                   <== NOT EXECUTED
a0010b14:	1a00003a 	bne	a0010c04 <pipe_read+0x15c>                    <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a0010b18:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a0010b1c:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a0010b20:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0010b24:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a0010b28:	ebffecd7 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
a0010b2c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0010b30:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a0010b34:	eb0003eb 	bl	a0011ae8 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a0010b38:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0010b3c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
a0010b40:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a0010b44:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
a0010b48:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a0010b4c:	ebffec85 	bl	a000bd68 <rtems_semaphore_obtain>              <== NOT EXECUTED
a0010b50:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010b54:	1a00002c 	bne	a0010c0c <pipe_read+0x164>                    <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a0010b58:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a0010b5c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a0010b60:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0010b64:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a0010b68:	0affffe1 	beq	a0010af4 <pipe_read+0x4c>                     <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a0010b6c:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
a0010b70:	ebffecc5 	bl	a000be8c <rtems_semaphore_release>             
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
a0010b74:	e3580000 	cmp	r8, #0                                        
a0010b78:	c1a00008 	movgt	r0, r8                                      
a0010b7c:	d1a00006 	movle	r0, r6                                      
    return read;                                                      
  return ret;                                                         
}                                                                     
a0010b80:	e28dd008 	add	sp, sp, #8                                    
a0010b84:	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;                                
a0010b88:	e9941008 	ldmib	r4, {r3, ip}                                <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
a0010b8c:	e06a6005 	rsb	r6, sl, r5                                    <== NOT EXECUTED
a0010b90:	e1520006 	cmp	r2, r6                                        <== NOT EXECUTED
a0010b94:	31a06002 	movcc	r6, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
a0010b98:	e06c3003 	rsb	r3, ip, r3                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a0010b9c:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
a0010ba0:	ca00001b 	bgt	a0010c14 <pipe_read+0x16c>                    <== NOT EXECUTED
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
a0010ba4:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a0010ba8:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
a0010bac:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a0010bb0:	e081100c 	add	r1, r1, ip                                    <== NOT EXECUTED
a0010bb4:	eb000d9b 	bl	a0014228 <memcpy>                              <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
a0010bb8:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
a0010bbc:	e5941004 	ldr	r1, [r4, #4]                                  <== NOT EXECUTED
a0010bc0:	e0860000 	add	r0, r6, r0                                    <== NOT EXECUTED
a0010bc4:	eb00398a 	bl	a001f1f4 <__umodsi3>                           <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a0010bc8:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
a0010bcc:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a0010bd0:	e0663003 	rsb	r3, r6, r3                                    <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
a0010bd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      pipe->Start = 0;                                                
a0010bd8:	05843008 	streq	r3, [r4, #8]                                <== NOT EXECUTED
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
a0010bdc:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
a0010be0:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
a0010be4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0010be8:	1a000016 	bne	a0010c48 <pipe_read+0x1a0>                    <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
a0010bec:	e0888006 	add	r8, r8, r6                                    <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a0010bf0:	e1580005 	cmp	r8, r5                                        <== NOT EXECUTED
a0010bf4:	e1a0a008 	mov	sl, r8                                        <== NOT EXECUTED
a0010bf8:	3affffbd 	bcc	a0010af4 <pipe_read+0x4c>                     <== NOT EXECUTED
a0010bfc:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0010c00:	eaffffd9 	b	a0010b6c <pipe_read+0xc4>                       <== NOT EXECUTED
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
a0010c04:	e3e0600a 	mvn	r6, #10                                       <== NOT EXECUTED
a0010c08:	eaffffd7 	b	a0010b6c <pipe_read+0xc4>                       <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
a0010c0c:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
a0010c10:	eaffffd7 	b	a0010b74 <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);      
a0010c14:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a0010c18:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0010c1c:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
a0010c20:	e081100c 	add	r1, r1, ip                                    <== NOT EXECUTED
a0010c24:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0010c28:	eb000d7e 	bl	a0014228 <memcpy>                              <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
a0010c2c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0010c30:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a0010c34:	e08a0003 	add	r0, sl, r3                                    <== NOT EXECUTED
a0010c38:	e0890000 	add	r0, r9, r0                                    <== NOT EXECUTED
a0010c3c:	e0632006 	rsb	r2, r3, r6                                    <== NOT EXECUTED
a0010c40:	eb000d78 	bl	a0014228 <memcpy>                              <== NOT EXECUTED
a0010c44:	eaffffdb 	b	a0010bb8 <pipe_read+0x110>                      <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a0010c48:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a0010c4c:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a0010c50:	eb00038c 	bl	a0011a88 <rtems_barrier_release>               <== NOT EXECUTED
a0010c54:	eaffffe4 	b	a0010bec <pipe_read+0x144>                      <== NOT EXECUTED
                                                                      

a001058c <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
a001058c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
a0010590:	e5915014 	ldr	r5, [r1, #20]                                 
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  pipe_control_t *pipe = *pipep;                                      
a0010594:	e5904000 	ldr	r4, [r0]                                      
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0010598:	e24dd004 	sub	sp, sp, #4                                    
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
a001059c:	e3150002 	tst	r5, #2                                        
     pipe->Readers --;                                                
a00105a0:	15943010 	ldrne	r3, [r4, #16]                               
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
a00105a4:	e2055006 	and	r5, r5, #6                                    
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00105a8:	e1a06000 	mov	r6, r0                                        
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
a00105ac:	12433001 	subne	r3, r3, #1                                  
a00105b0:	15843010 	strne	r3, [r4, #16]                               
  if (mode & LIBIO_FLAGS_WRITE)                                       
a00105b4:	e3150004 	tst	r5, #4                                        
     pipe->Writers --;                                                
a00105b8:	15943014 	ldrne	r3, [r4, #20]                               
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a00105bc:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
a00105c0:	12433001 	subne	r3, r3, #1                                  
a00105c4:	15843014 	strne	r3, [r4, #20]                               
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a00105c8:	ebffee2f 	bl	a000be8c <rtems_semaphore_release>             
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a00105cc:	e5943010 	ldr	r3, [r4, #16]                                 
a00105d0:	e3530000 	cmp	r3, #0                                        
a00105d4:	1a000007 	bne	a00105f8 <pipe_release+0x6c>                  
a00105d8:	e5947014 	ldr	r7, [r4, #20]                                 
a00105dc:	e3570000 	cmp	r7, #0                                        
a00105e0:	0a000013 	beq	a0010634 <pipe_release+0xa8>                  
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
a00105e4:	e3550004 	cmp	r5, #4                                        
a00105e8:	1a00000d 	bne	a0010624 <pipe_release+0x98>                  
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    PIPE_WAKEUPREADERS(pipe);                                         
                                                                      
  pipe_unlock();                                                      
a00105ec:	ebffffe2 	bl	a001057c <pipe_unlock>                         
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
a00105f0:	e28dd004 	add	sp, sp, #4                                    
a00105f4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    *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)            
a00105f8:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a00105fc:	e2733001 	rsbs	r3, r3, #1                                   <== NOT EXECUTED
a0010600:	33a03000 	movcc	r3, #0                                      <== NOT EXECUTED
a0010604:	e3550002 	cmp	r5, #2                                        <== NOT EXECUTED
a0010608:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a001060c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0010610:	0afffff5 	beq	a00105ec <pipe_release+0x60>                  <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
a0010614:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a0010618:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a001061c:	eb000519 	bl	a0011a88 <rtems_barrier_release>               <== NOT EXECUTED
a0010620:	eafffff1 	b	a00105ec <pipe_release+0x60>                    <== NOT EXECUTED
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
a0010624:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          
a0010628:	e1a0100d 	mov	r1, sp                                        
a001062c:	eb000515 	bl	a0011a88 <rtems_barrier_release>               
a0010630:	eaffffed 	b	a00105ec <pipe_release+0x60>                    
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a0010634:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a0010638:	eb0004e6 	bl	a00119d8 <rtems_barrier_delete>                
  rtems_barrier_delete(pipe->writeBarrier);                           
a001063c:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          
a0010640:	eb0004e4 	bl	a00119d8 <rtems_barrier_delete>                
  rtems_semaphore_delete(pipe->Semaphore);                            
a0010644:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          
a0010648:	ebffed9d 	bl	a000bcc4 <rtems_semaphore_delete>              
  free(pipe->Buffer);                                                 
a001064c:	e5940000 	ldr	r0, [r4]                                      
a0010650:	ebffde9c 	bl	a00080c8 <free>                                
  free(pipe);                                                         
a0010654:	e1a00004 	mov	r0, r4                                        
a0010658:	ebffde9a 	bl	a00080c8 <free>                                
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
a001065c:	e5867000 	str	r7, [r6]                                      
a0010660:	eaffffe1 	b	a00105ec <pipe_release+0x60>                    
                                                                      

a0010c58 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
a0010c58:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a0010c5c:	e2524000 	subs	r4, r2, #0                                   <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0010c60:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0010c64:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0010c68:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
a0010c6c:	01a00004 	moveq	r0, r4                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a0010c70:	1a000001 	bne	a0010c7c <pipe_write+0x24>                    <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
a0010c74:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0010c78:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0010c7c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0010c80:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0010c84:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0010c88:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0010c8c:	ebffec35 	bl	a000bd68 <rtems_semaphore_obtain>              <== NOT EXECUTED
a0010c90:	e2509000 	subs	r9, r0, #0                                   <== NOT EXECUTED
a0010c94:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    return -EINTR;                                                    
a0010c98:	13e00003 	mvnne	r0, #3                                      <== NOT EXECUTED
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0010c9c:	1afffff4 	bne	a0010c74 <pipe_write+0x1c>                    <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
a0010ca0:	e595a010 	ldr	sl, [r5, #16]                                 <== NOT EXECUTED
a0010ca4:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a0010ca8:	0a000057 	beq	a0010e0c <pipe_write+0x1b4>                   <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a0010cac:	e5957004 	ldr	r7, [r5, #4]                                  <== NOT EXECUTED
a0010cb0:	e1a0a009 	mov	sl, r9                                        <== NOT EXECUTED
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a0010cb4:	e28db004 	add	fp, sp, #4                                    <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a0010cb8:	e1540007 	cmp	r4, r7                                        <== NOT EXECUTED
a0010cbc:	91a08004 	movls	r8, r4                                      <== NOT EXECUTED
a0010cc0:	83a08001 	movhi	r8, #1                                      <== NOT EXECUTED
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
a0010cc4:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a0010cc8:	e0602007 	rsb	r2, r0, r7                                    <== NOT EXECUTED
a0010ccc:	e1520008 	cmp	r2, r8                                        <== NOT EXECUTED
a0010cd0:	2a000021 	bcs	a0010d5c <pipe_write+0x104>                   <== NOT EXECUTED
      if (LIBIO_NODELAY(iop)) {                                       
a0010cd4:	e5937014 	ldr	r7, [r3, #20]                                 <== NOT EXECUTED
a0010cd8:	e2177001 	ands	r7, r7, #1                                   <== NOT EXECUTED
a0010cdc:	1a00004e 	bne	a0010e1c <pipe_write+0x1c4>                   <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a0010ce0:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a0010ce4:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a0010ce8:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a0010cec:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a0010cf0:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0010cf4:	ebffec64 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
a0010cf8:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0010cfc:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0010d00:	eb000378 	bl	a0011ae8 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a0010d04:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0010d08:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
a0010d0c:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a0010d10:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
a0010d14:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a0010d18:	ebffec12 	bl	a000bd68 <rtems_semaphore_obtain>              <== NOT EXECUTED
a0010d1c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010d20:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0010d24:	1a00003a 	bne	a0010e14 <pipe_write+0x1bc>                   <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a0010d28:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a0010d2c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a0010d30:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a0010d34:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a0010d38:	1a00002d 	bne	a0010df4 <pipe_write+0x19c>                   <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
a0010d3c:	e5952010 	ldr	r2, [r5, #16]                                 <== NOT EXECUTED
a0010d40:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0010d44:	0a000030 	beq	a0010e0c <pipe_write+0x1b4>                   <== NOT EXECUTED
a0010d48:	e5957004 	ldr	r7, [r5, #4]                                  <== NOT EXECUTED
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
a0010d4c:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a0010d50:	e0602007 	rsb	r2, r0, r7                                    <== NOT EXECUTED
a0010d54:	e1520008 	cmp	r2, r8                                        <== NOT EXECUTED
a0010d58:	3affffdd 	bcc	a0010cd4 <pipe_write+0x7c>                    <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a0010d5c:	e595c008 	ldr	ip, [r5, #8]                                  <== NOT EXECUTED
a0010d60:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a0010d64:	e0698004 	rsb	r8, r9, r4                                    <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a0010d68:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a0010d6c:	e1520008 	cmp	r2, r8                                        <== NOT EXECUTED
a0010d70:	31a08002 	movcc	r8, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a0010d74:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0010d78:	eb00391d 	bl	a001f1f4 <__umodsi3>                           <== NOT EXECUTED
a0010d7c:	e0607007 	rsb	r7, r0, r7                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a0010d80:	e1580007 	cmp	r8, r7                                        <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a0010d84:	e1a0c000 	mov	ip, r0                                        <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a0010d88:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0010d8c:	da000024 	ble	a0010e24 <pipe_write+0x1cc>                   <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
a0010d90:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0010d94:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
a0010d98:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a0010d9c:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
a0010da0:	eb000d20 	bl	a0014228 <memcpy>                              <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
a0010da4:	e0871009 	add	r1, r7, r9                                    <== NOT EXECUTED
a0010da8:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0010dac:	e0861001 	add	r1, r6, r1                                    <== NOT EXECUTED
a0010db0:	e0672008 	rsb	r2, r7, r8                                    <== NOT EXECUTED
a0010db4:	eb000d1b 	bl	a0014228 <memcpy>                              <== NOT EXECUTED
a0010db8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a0010dbc:	e595200c 	ldr	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a0010dc0:	e5951018 	ldr	r1, [r5, #24]                                 <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a0010dc4:	e0822008 	add	r2, r2, r8                                    <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a0010dc8:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a0010dcc:	e585200c 	str	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a0010dd0:	1a00001b 	bne	a0010e44 <pipe_write+0x1ec>                   <== NOT EXECUTED
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
a0010dd4:	e08aa008 	add	sl, sl, r8                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a0010dd8:	e154000a 	cmp	r4, sl                                        <== NOT EXECUTED
a0010ddc:	e1a0900a 	mov	r9, sl                                        <== NOT EXECUTED
a0010de0:	9a000002 	bls	a0010df0 <pipe_write+0x198>                   <== NOT EXECUTED
a0010de4:	e5957004 	ldr	r7, [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;                                                        
a0010de8:	e3a08001 	mov	r8, #1                                        <== NOT EXECUTED
a0010dec:	eaffffb4 	b	a0010cc4 <pipe_write+0x6c>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a0010df0:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a0010df4:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0010df8:	ebffec23 	bl	a000be8c <rtems_semaphore_release>             <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
a0010dfc:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a0010e00:	c1a0000a 	movgt	r0, sl                                      <== NOT EXECUTED
a0010e04:	d1a00007 	movle	r0, r7                                      <== NOT EXECUTED
a0010e08:	eaffff99 	b	a0010c74 <pipe_write+0x1c>                      <== NOT EXECUTED
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
a0010e0c:	e3e0701f 	mvn	r7, #31                                       <== NOT EXECUTED
a0010e10:	eafffff7 	b	a0010df4 <pipe_write+0x19c>                     <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
a0010e14:	e3e07003 	mvn	r7, #3                                        <== NOT EXECUTED
a0010e18:	eafffff7 	b	a0010dfc <pipe_write+0x1a4>                     <== NOT EXECUTED
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
a0010e1c:	e3e0700a 	mvn	r7, #10                                       <== NOT EXECUTED
a0010e20:	eafffff3 	b	a0010df4 <pipe_write+0x19c>                     <== NOT EXECUTED
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
a0010e24:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0010e28:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
a0010e2c:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a0010e30:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
a0010e34:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0010e38:	eb000cfa 	bl	a0014228 <memcpy>                              <== NOT EXECUTED
a0010e3c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0010e40:	eaffffdd 	b	a0010dbc <pipe_write+0x164>                     <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a0010e44:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a0010e48:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a0010e4c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0010e50:	eb00030c 	bl	a0011a88 <rtems_barrier_release>               <== NOT EXECUTED
a0010e54:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0010e58:	eaffffdd 	b	a0010dd4 <pipe_write+0x17c>                     <== NOT EXECUTED
                                                                      

a000b440 <posix_memalign>: ) { /* * Update call statistics */ MSBUMP(memalign_calls, 1);
a000b440:	e59fc044 	ldr	ip, [pc, #68]	; a000b48c <posix_memalign+0x4c><== NOT EXECUTED
int posix_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
a000b444:	e92d0030 	push	{r4, r5}                                     <== NOT EXECUTED
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
a000b448:	e2414001 	sub	r4, r1, #1                                    <== NOT EXECUTED
a000b44c:	e1140001 	tst	r4, r1                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
a000b450:	e59c4008 	ldr	r4, [ip, #8]                                  <== NOT EXECUTED
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
a000b454:	03a05000 	moveq	r5, #0                                      <== NOT EXECUTED
a000b458:	13a05001 	movne	r5, #1                                      <== NOT EXECUTED
a000b45c:	e3510003 	cmp	r1, #3                                        <== NOT EXECUTED
a000b460:	81a03005 	movhi	r3, r5                                      <== NOT EXECUTED
a000b464:	93853001 	orrls	r3, r5, #1                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
a000b468:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
a000b46c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
a000b470:	e58c4008 	str	r4, [ip, #8]                                  <== NOT EXECUTED
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
a000b474:	0a000002 	beq	a000b484 <posix_memalign+0x44>                <== NOT EXECUTED
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
a000b478:	e3a00016 	mov	r0, #22                                       <== NOT EXECUTED
a000b47c:	e8bd0030 	pop	{r4, r5}                                      <== NOT EXECUTED
a000b480:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a000b484:	e8bd0030 	pop	{r4, r5}                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
a000b488:	ea000080 	b	a000b690 <rtems_memalign>                       <== NOT EXECUTED
                                                                      

a0008688 <printk_plugin>: int printk_plugin( void *ignored __attribute__((unused)), const char *format, ... ) {
a0008688:	e92d000e 	push	{r1, r2, r3}                                 <== NOT EXECUTED
a000868c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0008690:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
a0008694:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
                                                                      
  vprintk( format, arg_pointer );                                     
a0008698:	e59d0008 	ldr	r0, [sp, #8]                                  <== NOT EXECUTED
a000869c:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
a00086a0:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
                                                                      
  vprintk( format, arg_pointer );                                     
a00086a4:	eb00077e 	bl	a000a4a4 <vprintk>                             <== NOT EXECUTED
                                                                      
  va_end(arg_pointer); /* clean up when done */                       
                                                                      
  return 0;                                                           
}                                                                     
a00086a8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00086ac:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a00086b0:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
a00086b4:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
a00086b8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0016108 <read>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0016108:	e59f30a8 	ldr	r3, [pc, #168]	; a00161b8 <read+0xb0>         
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a001610c:	e92d4030 	push	{r4, r5, lr}                                 
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016110:	e593c000 	ldr	ip, [r3]                                      
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0016114:	e1a05001 	mov	r5, r1                                        
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016118:	e150000c 	cmp	r0, ip                                        
a001611c:	2a00001b 	bcs	a0016190 <read+0x88>                          
  iop = rtems_libio_iop( fd );                                        
a0016120:	e59fc094 	ldr	ip, [pc, #148]	; a00161bc <read+0xb4>         
a0016124:	e3a04038 	mov	r4, #56	; 0x38                                
a0016128:	e59cc000 	ldr	ip, [ip]                                      
a001612c:	e024c490 	mla	r4, r0, r4, ip                                
  rtems_libio_check_is_open( iop );                                   
a0016130:	e5940014 	ldr	r0, [r4, #20]                                 
a0016134:	e3100c01 	tst	r0, #256	; 0x100                              
a0016138:	0a000014 	beq	a0016190 <read+0x88>                          
  rtems_libio_check_buffer( buffer );                                 
a001613c:	e3510000 	cmp	r1, #0                                        
a0016140:	0a000017 	beq	a00161a4 <read+0x9c>                          
  rtems_libio_check_count( count );                                   
a0016144:	e3520000 	cmp	r2, #0                                        
a0016148:	0a00000e 	beq	a0016188 <read+0x80>                          
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a001614c:	e3100002 	tst	r0, #2                                        
a0016150:	0a000013 	beq	a00161a4 <read+0x9c>                          
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
a0016154:	e5943020 	ldr	r3, [r4, #32]                                 
a0016158:	e1a00004 	mov	r0, r4                                        
a001615c:	e5933008 	ldr	r3, [r3, #8]                                  
a0016160:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0016164:	e3500000 	cmp	r0, #0                                        
a0016168:	da000007 	ble	a001618c <read+0x84>                          
    iop->offset += rc;                                                
a001616c:	e284300c 	add	r3, r4, #12                                   
a0016170:	e893000c 	ldm	r3, {r2, r3}                                  
a0016174:	e0922000 	adds	r2, r2, r0                                   
a0016178:	e0a33fc0 	adc	r3, r3, r0, asr #31                           
a001617c:	e584200c 	str	r2, [r4, #12]                                 
a0016180:	e5843010 	str	r3, [r4, #16]                                 
a0016184:	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 );                                   
a0016188:	e1a00002 	mov	r0, r2                                        
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
a001618c:	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 );                                   
a0016190:	ebffec05 	bl	a00111ac <__errno>                             
a0016194:	e3a03009 	mov	r3, #9                                        
a0016198:	e5803000 	str	r3, [r0]                                      
a001619c:	e3e00000 	mvn	r0, #0                                        
a00161a0:	e8bd8030 	pop	{r4, r5, pc}                                  
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a00161a4:	ebffec00 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a00161a8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00161ac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00161b0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00161b4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0009948 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
a0009948:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a000994c:	e2516000 	subs	r6, r1, #0                                   <== NOT EXECUTED
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
a0009950:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0009954:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
a0009958:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a000995c:	0a00001d 	beq	a00099d8 <readlink+0x90>                      <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
a0009960:	eb003188 	bl	a0015f88 <strlen>                              <== NOT EXECUTED
a0009964:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0009968:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000996c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0009970:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0009974:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0009978:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a000997c:	ebfffb6c 	bl	a0008734 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
                                           0, &loc, false );          
  if ( result != 0 )                                                  
a0009980:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
     return -1;                                                       
a0009984:	13e00000 	mvnne	r0, #0                                      <== NOT EXECUTED
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
a0009988:	0a000001 	beq	a0009994 <readlink+0x4c>                      <== NOT EXECUTED
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
a000998c:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0009990:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
  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 ){
a0009994:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0009998:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000999c:	e5933010 	ldr	r3, [r3, #16]                                 <== NOT EXECUTED
a00099a0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00099a4:	e3500004 	cmp	r0, #4                                        <== NOT EXECUTED
a00099a8:	1a00000f 	bne	a00099ec <readlink+0xa4>                      <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
a00099ac:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a00099b0:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a00099b4:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a00099b8:	e593303c 	ldr	r3, [r3, #60]	; 0x3c                          <== NOT EXECUTED
a00099bc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00099c0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00099c4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00099c8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00099cc:	ebfffb92 	bl	a000881c <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return result;                                                      
a00099d0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00099d4:	eaffffec 	b	a000998c <readlink+0x44>                        <== NOT EXECUTED
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00099d8:	eb002a1f 	bl	a001425c <__errno>                             <== NOT EXECUTED
a00099dc:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00099e0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00099e4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00099e8:	eaffffe7 	b	a000998c <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 );                                
a00099ec:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00099f0:	ebfffb89 	bl	a000881c <rtems_filesystem_freenode>           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00099f4:	eb002a18 	bl	a001425c <__errno>                             <== NOT EXECUTED
a00099f8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00099fc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009a00:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0009a04:	eaffffe0 	b	a000998c <readlink+0x44>                        <== NOT EXECUTED
                                                                      

a0008548 <readv>: int v; int bytes; rtems_libio_t *iop; bool all_zeros; rtems_libio_check_fd( fd );
a0008548:	e59f313c 	ldr	r3, [pc, #316]	; a000868c <readv+0x144>       
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a000854c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0008550:	e5933000 	ldr	r3, [r3]                                      
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0008554:	e1a04002 	mov	r4, r2                                        
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0008558:	e1500003 	cmp	r0, r3                                        
a000855c:	2a000045 	bcs	a0008678 <readv+0x130>                        
  iop = rtems_libio_iop( fd );                                        
a0008560:	e59f3128 	ldr	r3, [pc, #296]	; a0008690 <readv+0x148>       
a0008564:	e3a06038 	mov	r6, #56	; 0x38                                
a0008568:	e5933000 	ldr	r3, [r3]                                      
a000856c:	e0263690 	mla	r6, r0, r6, r3                                
  rtems_libio_check_is_open( iop );                                   
a0008570:	e5963014 	ldr	r3, [r6, #20]                                 
a0008574:	e3130c01 	tst	r3, #256	; 0x100                              
a0008578:	0a00003e 	beq	a0008678 <readv+0x130>                        
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a000857c:	e3130002 	tst	r3, #2                                        
a0008580:	0a000036 	beq	a0008660 <readv+0x118>                        
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a0008584:	e3510000 	cmp	r1, #0                                        
a0008588:	0a000034 	beq	a0008660 <readv+0x118>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a000858c:	e3520000 	cmp	r2, #0                                        
a0008590:	da000032 	ble	a0008660 <readv+0x118>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a0008594:	e3520b01 	cmp	r2, #1024	; 0x400                             
a0008598:	ca000030 	bgt	a0008660 <readv+0x118>                        
a000859c:	e3a02000 	mov	r2, #0                                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00085a0:	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 )                                             
a00085a4:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
a00085a8:	e3a07001 	mov	r7, #1                                        <== NOT EXECUTED
a00085ac:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00085b0:	ea000000 	b	a00085b8 <readv+0x70>                           <== NOT EXECUTED
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a00085b4:	e1a0100c 	mov	r1, ip                                        <== NOT EXECUTED
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
a00085b8:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
   *  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++ ) {                           
a00085bc:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
a00085c0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00085c4:	0a000025 	beq	a0008660 <readv+0x118>                        <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a00085c8:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
   *  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++ ) {                           
a00085cc:	e2833008 	add	r3, r3, #8                                    <== NOT EXECUTED
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a00085d0:	e081c000 	add	ip, r1, r0                                    <== NOT EXECUTED
    if ( total < old )                                                
a00085d4:	e151000c 	cmp	r1, ip                                        <== NOT EXECUTED
a00085d8:	ca000020 	bgt	a0008660 <readv+0x118>                        <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
a00085dc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00085e0:	13a07000 	movne	r7, #0                                      <== NOT EXECUTED
   *  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++ ) {                           
a00085e4:	e1540002 	cmp	r4, r2                                        <== NOT EXECUTED
a00085e8:	cafffff1 	bgt	a00085b4 <readv+0x6c>                         <== NOT EXECUTED
  /*                                                                  
   *  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 ) {                                          
a00085ec:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    return 0;                                                         
a00085f0:	13a08000 	movne	r8, #0                                      <== NOT EXECUTED
  /*                                                                  
   *  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 ) {                                          
a00085f4:	1a00001d 	bne	a0008670 <readv+0x128>                        <== NOT EXECUTED
a00085f8:	e1a08007 	mov	r8, r7                                        <== NOT EXECUTED
a00085fc:	ea00000d 	b	a0008638 <readv+0xf0>                           <== NOT EXECUTED
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a0008600:	0a000006 	beq	a0008620 <readv+0xd8>                         <== NOT EXECUTED
      iop->offset += bytes;                                           
a0008604:	e286300c 	add	r3, r6, #12                                   <== NOT EXECUTED
a0008608:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
a000860c:	e0922000 	adds	r2, r2, r0                                   <== NOT EXECUTED
a0008610:	e0a33fc0 	adc	r3, r3, r0, asr #31                           <== NOT EXECUTED
a0008614:	e586200c 	str	r2, [r6, #12]                                 <== NOT EXECUTED
a0008618:	e5863010 	str	r3, [r6, #16]                                 <== NOT EXECUTED
      total       += bytes;                                           
a000861c:	e0888000 	add	r8, r8, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0008620:	e5953004 	ldr	r3, [r5, #4]                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0008624:	e2855008 	add	r5, r5, #8                                    <== NOT EXECUTED
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0008628:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000862c:	1a00000f 	bne	a0008670 <readv+0x128>                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0008630:	e1540007 	cmp	r4, r7                                        <== NOT EXECUTED
a0008634:	da00000d 	ble	a0008670 <readv+0x128>                        <== NOT EXECUTED
    bytes = (*iop->pathinfo.handlers->read_h)(                        
a0008638:	e5963020 	ldr	r3, [r6, #32]                                 <== NOT EXECUTED
a000863c:	e8950006 	ldm	r5, {r1, r2}                                  <== NOT EXECUTED
a0008640:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0008644:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0008648:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
a000864c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0008650:	e2877001 	add	r7, r7, #1                                    <== NOT EXECUTED
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
a0008654:	aaffffe9 	bge	a0008600 <readv+0xb8>                         <== NOT EXECUTED
      return -1;                                                      
a0008658:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a000865c:	ea000003 	b	a0008670 <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 );                 
a0008660:	eb002705 	bl	a001227c <__errno>                             
a0008664:	e3a03016 	mov	r3, #22                                       
a0008668:	e5803000 	str	r3, [r0]                                      
a000866c:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0008670:	e1a00008 	mov	r0, r8                                        
a0008674:	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 );                                   
a0008678:	eb0026ff 	bl	a001227c <__errno>                             
a000867c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0008680:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0008684:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0008688:	eafffff8 	b	a0008670 <readv+0x128>                          <== NOT EXECUTED
                                                                      

a0016228 <realloc>: void *realloc( void *ptr, size_t size ) {
a0016228:	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())) {                     
a001622c:	e59f3118 	ldr	r3, [pc, #280]	; a001634c <realloc+0x124>     
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0016230:	e59f5118 	ldr	r5, [pc, #280]	; a0016350 <realloc+0x128>     
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
a0016234:	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())) {                     
a0016238:	e5933000 	ldr	r3, [r3]                                      
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a001623c:	e5952010 	ldr	r2, [r5, #16]                                 
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
a0016240:	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())) {                     
a0016244:	e3530003 	cmp	r3, #3                                        
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0016248:	e2822001 	add	r2, r2, #1                                    
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
a001624c:	e1a06001 	mov	r6, r1                                        
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0016250:	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())) {                     
a0016254:	0a000020 	beq	a00162dc <realloc+0xb4>                       
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
a0016258:	e3540000 	cmp	r4, #0                                        
a001625c:	0a00001a 	beq	a00162cc <realloc+0xa4>                       
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
a0016260:	e3560000 	cmp	r6, #0                                        
a0016264:	0a00000f 	beq	a00162a8 <realloc+0x80>                       
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
a0016268:	e59f70e4 	ldr	r7, [pc, #228]	; a0016354 <realloc+0x12c>     
a001626c:	e1a01004 	mov	r1, r4                                        
a0016270:	e1a0200d 	mov	r2, sp                                        
a0016274:	e5970000 	ldr	r0, [r7]                                      
a0016278:	eb000066 	bl	a0016418 <_Protected_heap_Get_block_size>      
a001627c:	e2508000 	subs	r8, r0, #0                                   
a0016280:	0a00000c 	beq	a00162b8 <realloc+0x90>                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
a0016284:	e5970000 	ldr	r0, [r7]                                      
a0016288:	e1a01004 	mov	r1, r4                                        
a001628c:	e1a02006 	mov	r2, r6                                        
a0016290:	eb000071 	bl	a001645c <_Protected_heap_Resize_block>        
a0016294:	e3500000 	cmp	r0, #0                                        
a0016298:	0a00001a 	beq	a0016308 <realloc+0xe0>                       
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
a001629c:	e1a00004 	mov	r0, r4                                        
a00162a0:	e28dd004 	add	sp, sp, #4                                    
a00162a4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
a00162a8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00162ac:	ebffc04e 	bl	a00063ec <free>                                <== NOT EXECUTED
    return (void *) 0;                                                
a00162b0:	e1a04006 	mov	r4, r6                                        <== NOT EXECUTED
a00162b4:	eafffff8 	b	a001629c <realloc+0x74>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
a00162b8:	ebffebbb 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a00162bc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00162c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    return (void *) 0;                                                
a00162c4:	e1a04008 	mov	r4, r8                                        <== NOT EXECUTED
a00162c8:	eafffff3 	b	a001629c <realloc+0x74>                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
a00162cc:	e1a00006 	mov	r0, r6                                        
a00162d0:	ebffc12c 	bl	a0006788 <malloc>                              
a00162d4:	e1a04000 	mov	r4, r0                                        
a00162d8:	eaffffef 	b	a001629c <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)                           
a00162dc:	e59f3074 	ldr	r3, [pc, #116]	; a0016358 <realloc+0x130>     
a00162e0:	e5933000 	ldr	r3, [r3]                                      
a00162e4:	e3530000 	cmp	r3, #0                                        
      return (void *) 0;                                              
a00162e8:	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)                           
a00162ec:	1affffea 	bne	a001629c <realloc+0x74>                       
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
a00162f0:	e59f2064 	ldr	r2, [pc, #100]	; a001635c <realloc+0x134>     
a00162f4:	e5922000 	ldr	r2, [r2]                                      
a00162f8:	e3520000 	cmp	r2, #0                                        
      return (void *) 0;                                              
a00162fc:	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)                                          
a0016300:	0affffd4 	beq	a0016258 <realloc+0x30>                       
a0016304:	eaffffe4 	b	a001629c <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 );                                          
a0016308:	e1a00006 	mov	r0, r6                                        
a001630c:	ebffc11d 	bl	a0006788 <malloc>                              
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0016310:	e5953004 	ldr	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0016314:	e2507000 	subs	r7, r0, #0                                   
    return (void *) 0;                                                
a0016318:	01a04007 	moveq	r4, r7                                      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a001631c:	e2433001 	sub	r3, r3, #1                                    
a0016320:	e5853004 	str	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0016324:	0affffdc 	beq	a001629c <realloc+0x74>                       
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
a0016328:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
a001632c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0016330:	e1560002 	cmp	r6, r2                                        <== NOT EXECUTED
a0016334:	31a02006 	movcc	r2, r6                                      <== NOT EXECUTED
a0016338:	ebffedc9 	bl	a0011a64 <memcpy>                              <== NOT EXECUTED
  free( ptr );                                                        
a001633c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0016340:	ebffc029 	bl	a00063ec <free>                                <== NOT EXECUTED
                                                                      
  return new_area;                                                    
a0016344:	e1a04007 	mov	r4, r7                                        <== NOT EXECUTED
a0016348:	eaffffd3 	b	a001629c <realloc+0x74>                         <== NOT EXECUTED
                                                                      

a0007770 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
a0007770:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0007774:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a0007778:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
a000777c:	ebfffc2a 	bl	a000682c <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a0007780:	e2505000 	subs	r5, r0, #0                                   
a0007784:	1a000046 	bne	a00078a4 <rmdir+0x134>                        
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
a0007788:	e28d4018 	add	r4, sp, #24                                   
a000778c:	e1a00007 	mov	r0, r7                                        
a0007790:	e28d102c 	add	r1, sp, #44	; 0x2c                            
a0007794:	e1a02004 	mov	r2, r4                                        
a0007798:	eb00004d 	bl	a00078d4 <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;           
a000779c:	e1a06005 	mov	r6, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a00077a0:	e28dc004 	add	ip, sp, #4                                    
a00077a4:	e1a0e004 	mov	lr, r4                                        
a00077a8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00077ac:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00077b0:	e59e3000 	ldr	r3, [lr]                                      
  name = pathname + parentpathlen;                                    
a00077b4:	e0875005 	add	r5, r7, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a00077b8:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a00077bc:	e58c3000 	str	r3, [ip]                                      
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a00077c0:	eb002c6f 	bl	a0012984 <strlen>                              
a00077c4:	e1a01000 	mov	r1, r0                                        
a00077c8:	e1a00005 	mov	r0, r5                                        
a00077cc:	ebfffc25 	bl	a0006868 <rtems_filesystem_prefix_separators>  
a00077d0:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a00077d4:	e1a00007 	mov	r0, r7                                        
a00077d8:	eb002c69 	bl	a0012984 <strlen>                              
a00077dc:	e28d5004 	add	r5, sp, #4                                    
a00077e0:	e1a01000 	mov	r1, r0                                        
a00077e4:	e3a02000 	mov	r2, #0                                        
a00077e8:	e1a00007 	mov	r0, r7                                        
a00077ec:	e1a03005 	mov	r3, r5                                        
a00077f0:	e58d2000 	str	r2, [sp]                                      
a00077f4:	ebfffbda 	bl	a0006764 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a00077f8:	e3500000 	cmp	r0, #0                                        
a00077fc:	1a000015 	bne	a0007858 <rmdir+0xe8>                         
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a0007800:	e59d3010 	ldr	r3, [sp, #16]                                 
a0007804:	e1a00005 	mov	r0, r5                                        
a0007808:	e5933010 	ldr	r3, [r3, #16]                                 
a000780c:	e12fff33 	blx	r3                                            
a0007810:	e3500001 	cmp	r0, #1                                        
a0007814:	1a000013 	bne	a0007868 <rmdir+0xf8>                         
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
a0007818:	e59d300c 	ldr	r3, [sp, #12]                                 
a000781c:	e1a01005 	mov	r1, r5                                        
a0007820:	e1a00004 	mov	r0, r4                                        
a0007824:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0007828:	e12fff33 	blx	r3                                            
a000782c:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0007830:	e1a00005 	mov	r0, r5                                        
a0007834:	ebfffc20 	bl	a00068bc <rtems_filesystem_freenode>           
  if ( free_parentloc )                                               
a0007838:	e3560000 	cmp	r6, #0                                        
a000783c:	1a000002 	bne	a000784c <rmdir+0xdc>                         
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
a0007840:	e1a00007 	mov	r0, r7                                        
a0007844:	e28dd030 	add	sp, sp, #48	; 0x30                            
a0007848:	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 );                          
a000784c:	e1a00004 	mov	r0, r4                                        
a0007850:	ebfffc19 	bl	a00068bc <rtems_filesystem_freenode>           
a0007854:	eafffff9 	b	a0007840 <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 )                                             
a0007858:	e3560000 	cmp	r6, #0                                        
a000785c:	1a00000c 	bne	a0007894 <rmdir+0x124>                        <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
a0007860:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0007864:	eafffff5 	b	a0007840 <rmdir+0xd0>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
a0007868:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000786c:	ebfffc12 	bl	a00068bc <rtems_filesystem_freenode>           <== NOT EXECUTED
    if ( free_parentloc )                                             
a0007870:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0007874:	0a000001 	beq	a0007880 <rmdir+0x110>                        <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
a0007878:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000787c:	ebfffc0e 	bl	a00068bc <rtems_filesystem_freenode>           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0007880:	eb002880 	bl	a0011a88 <__errno>                             <== NOT EXECUTED
a0007884:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0007888:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000788c:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0007890:	eaffffea 	b	a0007840 <rmdir+0xd0>                           <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
a0007894:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0007898:	ebfffc07 	bl	a00068bc <rtems_filesystem_freenode>           <== NOT EXECUTED
    return -1;                                                        
a000789c:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a00078a0:	eaffffe6 	b	a0007840 <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,  
a00078a4:	e3a03000 	mov	r3, #0                                        
a00078a8:	e28d4018 	add	r4, sp, #24                                   
a00078ac:	e58d3000 	str	r3, [sp]                                      
a00078b0:	e3a02002 	mov	r2, #2                                        
a00078b4:	e1a00007 	mov	r0, r7                                        
a00078b8:	e1a01005 	mov	r1, r5                                        
a00078bc:	e1a03004 	mov	r3, r4                                        
a00078c0:	ebfffbc3 	bl	a00067d4 <rtems_filesystem_evaluate_path>      
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
a00078c4:	e3500000 	cmp	r0, #0                                        
a00078c8:	1affffe4 	bne	a0007860 <rmdir+0xf0>                         
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
a00078cc:	e3a06001 	mov	r6, #1                                        
a00078d0:	eaffffb2 	b	a00077a0 <rmdir+0x30>                           
                                                                      

a0016538 <rtems_assoc_name_bad>: sprintf(bad_buffer, "< %" PRId32 "[0x%" PRIx32 " ] >", bad_value, bad_value); #else static char bad_buffer[40] = "<assocnamebad.c: : BAD NAME>"; #endif return bad_buffer; }
a0016538:	e59f0000 	ldr	r0, [pc, #0]	; a0016540 <rtems_assoc_name_bad+0x8><== NOT EXECUTED
a001653c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0013974 <rtems_assoc_name_by_local>: const char *rtems_assoc_name_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
a0013974:	e92d4010 	push	{r4, lr}                                     
a0013978:	e1a04001 	mov	r4, r1                                        
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a001397c:	eb000006 	bl	a001399c <rtems_assoc_ptr_by_local>            
  if (nap)                                                            
a0013980:	e3500000 	cmp	r0, #0                                        
a0013984:	0a000001 	beq	a0013990 <rtems_assoc_name_by_local+0x1c>     
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
a0013988:	e5900000 	ldr	r0, [r0]                                      
a001398c:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
a0013990:	e1a00004 	mov	r0, r4                                        
}                                                                     
a0013994:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
a0013998:	ea000ae6 	b	a0016538 <rtems_assoc_name_bad>                 
                                                                      

a0006e0c <rtems_assoc_name_by_local_bitfield>: char *rtems_assoc_name_by_local_bitfield( const rtems_assoc_t *ap, uint32_t value, char *buffer ) {
a0006e0c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             <== NOT EXECUTED
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
a0006e10:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0006e14:	e3a05020 	mov	r5, #32                                       <== NOT EXECUTED
char *rtems_assoc_name_by_local_bitfield(                             
  const rtems_assoc_t *ap,                                            
  uint32_t             value,                                         
  char                *buffer                                         
)                                                                     
{                                                                     
a0006e18:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
a0006e1c:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
a0006e20:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
a0006e24:	e5c23000 	strb	r3, [r2]                                     <== NOT EXECUTED
                                                                      
  for (b = 1; b; b <<= 1) {                                           
a0006e28:	e3a04001 	mov	r4, #1                                        <== NOT EXECUTED
    if (b & value) {                                                  
      if (*buffer)                                                    
        strcat(buffer, " ");                                          
a0006e2c:	e1a09005 	mov	r9, r5                                        <== NOT EXECUTED
a0006e30:	e1a0a003 	mov	sl, r3                                        <== NOT EXECUTED
a0006e34:	ea000008 	b	a0006e5c <rtems_assoc_name_by_local_bitfield+0x50><== NOT EXECUTED
      strcat(buffer, rtems_assoc_name_by_local(ap, b));               
a0006e38:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0006e3c:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006e40:	eb000012 	bl	a0006e90 <rtems_assoc_name_by_local>           <== NOT EXECUTED
a0006e44:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0006e48:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006e4c:	eb002f5f 	bl	a0012bd0 <strcat>                              <== NOT EXECUTED
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
a0006e50:	e2555001 	subs	r5, r5, #1                                   <== NOT EXECUTED
a0006e54:	e1a04084 	lsl	r4, r4, #1                                    <== NOT EXECUTED
a0006e58:	0a00000a 	beq	a0006e88 <rtems_assoc_name_by_local_bitfield+0x7c><== NOT EXECUTED
    if (b & value) {                                                  
a0006e5c:	e1140007 	tst	r4, r7                                        <== NOT EXECUTED
a0006e60:	0afffffa 	beq	a0006e50 <rtems_assoc_name_by_local_bitfield+0x44><== NOT EXECUTED
      if (*buffer)                                                    
a0006e64:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
a0006e68:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006e6c:	0afffff1 	beq	a0006e38 <rtems_assoc_name_by_local_bitfield+0x2c><== NOT EXECUTED
        strcat(buffer, " ");                                          
a0006e70:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006e74:	eb00305c 	bl	a0012fec <strlen>                              <== NOT EXECUTED
a0006e78:	e0863000 	add	r3, r6, r0                                    <== NOT EXECUTED
a0006e7c:	e7c69000 	strb	r9, [r6, r0]                                 <== NOT EXECUTED
a0006e80:	e5c3a001 	strb	sl, [r3, #1]                                 <== NOT EXECUTED
a0006e84:	eaffffeb 	b	a0006e38 <rtems_assoc_name_by_local_bitfield+0x2c><== NOT EXECUTED
      strcat(buffer, rtems_assoc_name_by_local(ap, b));               
    }                                                                 
  }                                                                   
                                                                      
  return buffer;                                                      
}                                                                     
a0006e88:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006e8c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      

a0006f3c <rtems_assoc_name_by_remote>: const char *rtems_assoc_name_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
a0006f3c:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a0006f40:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
a0006f44:	eb00004b 	bl	a0007078 <rtems_assoc_ptr_by_remote>           <== NOT EXECUTED
                                                                      
  if (nap)                                                            
a0006f48:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006f4c:	0a000001 	beq	a0006f58 <rtems_assoc_name_by_remote+0x1c>    <== NOT EXECUTED
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(remote_value);                          
}                                                                     
a0006f50:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
a0006f54:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
                                                                      
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(remote_value);                          
a0006f58:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
a0006f5c:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
                                                                      
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(remote_value);                          
a0006f60:	ea0020d5 	b	a000f2bc <rtems_assoc_name_bad>                 <== NOT EXECUTED
                                                                      

a0006eb8 <rtems_assoc_name_by_remote_bitfield>: char *rtems_assoc_name_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t value, char *buffer ) {
a0006eb8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             <== NOT EXECUTED
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
a0006ebc:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0006ec0:	e3a05020 	mov	r5, #32                                       <== NOT EXECUTED
char *rtems_assoc_name_by_remote_bitfield(                            
  const rtems_assoc_t *ap,                                            
  uint32_t             value,                                         
  char                *buffer                                         
)                                                                     
{                                                                     
a0006ec4:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
a0006ec8:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
a0006ecc:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
a0006ed0:	e5c23000 	strb	r3, [r2]                                     <== NOT EXECUTED
                                                                      
  for (b = 1; b; b <<= 1) {                                           
a0006ed4:	e3a04001 	mov	r4, #1                                        <== NOT EXECUTED
    if (b & value) {                                                  
      if (*buffer)                                                    
	strcat(buffer, " ");                                                 
a0006ed8:	e1a09005 	mov	r9, r5                                        <== NOT EXECUTED
a0006edc:	e1a0a003 	mov	sl, r3                                        <== NOT EXECUTED
a0006ee0:	ea000008 	b	a0006f08 <rtems_assoc_name_by_remote_bitfield+0x50><== NOT EXECUTED
      strcat(buffer, rtems_assoc_name_by_remote(ap, b));              
a0006ee4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0006ee8:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006eec:	eb000012 	bl	a0006f3c <rtems_assoc_name_by_remote>          <== NOT EXECUTED
a0006ef0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0006ef4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006ef8:	eb002f34 	bl	a0012bd0 <strcat>                              <== NOT EXECUTED
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
a0006efc:	e2555001 	subs	r5, r5, #1                                   <== NOT EXECUTED
a0006f00:	e1a04084 	lsl	r4, r4, #1                                    <== NOT EXECUTED
a0006f04:	0a00000a 	beq	a0006f34 <rtems_assoc_name_by_remote_bitfield+0x7c><== NOT EXECUTED
    if (b & value) {                                                  
a0006f08:	e1140007 	tst	r4, r7                                        <== NOT EXECUTED
a0006f0c:	0afffffa 	beq	a0006efc <rtems_assoc_name_by_remote_bitfield+0x44><== NOT EXECUTED
      if (*buffer)                                                    
a0006f10:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
a0006f14:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006f18:	0afffff1 	beq	a0006ee4 <rtems_assoc_name_by_remote_bitfield+0x2c><== NOT EXECUTED
	strcat(buffer, " ");                                                 
a0006f1c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006f20:	eb003031 	bl	a0012fec <strlen>                              <== NOT EXECUTED
a0006f24:	e0863000 	add	r3, r6, r0                                    <== NOT EXECUTED
a0006f28:	e7c69000 	strb	r9, [r6, r0]                                 <== NOT EXECUTED
a0006f2c:	e5c3a001 	strb	sl, [r3, #1]                                 <== NOT EXECUTED
a0006f30:	eaffffeb 	b	a0006ee4 <rtems_assoc_name_by_remote_bitfield+0x2c><== NOT EXECUTED
      strcat(buffer, rtems_assoc_name_by_remote(ap, b));              
    }                                                                 
  }                                                                   
                                                                      
  return buffer;                                                      
}                                                                     
a0006f34:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006f38:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      

a001399c <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
a001399c:	e92d4030 	push	{r4, r5, lr}                                 
a00139a0:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a00139a4:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
a00139a8:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a00139ac:	e3500000 	cmp	r0, #0                                        
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
a00139b0:	01a04000 	moveq	r4, r0                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a00139b4:	0a00000a 	beq	a00139e4 <rtems_assoc_ptr_by_local+0x48>      
a00139b8:	e59f1054 	ldr	r1, [pc, #84]	; a0013a14 <rtems_assoc_ptr_by_local+0x78>
a00139bc:	eb000fcb 	bl	a00178f0 <strcmp>                              
a00139c0:	e3500000 	cmp	r0, #0                                        
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
a00139c4:	13a02000 	movne	r2, #0                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a00139c8:	1a00000a 	bne	a00139f8 <rtems_assoc_ptr_by_local+0x5c>      
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a00139cc:	e594200c 	ldr	r2, [r4, #12]                                 
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a00139d0:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
a00139d4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00139d8:	11a02004 	movne	r2, r4                                      <== NOT EXECUTED
a00139dc:	11a04003 	movne	r4, r3                                      <== NOT EXECUTED
a00139e0:	1a000004 	bne	a00139f8 <rtems_assoc_ptr_by_local+0x5c>      <== NOT EXECUTED
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a00139e4:	e1a00004 	mov	r0, r4                                        
a00139e8:	e8bd8030 	pop	{r4, r5, pc}                                  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a00139ec:	e5b4300c 	ldr	r3, [r4, #12]!                                
a00139f0:	e3530000 	cmp	r3, #0                                        
a00139f4:	0a000003 	beq	a0013a08 <rtems_assoc_ptr_by_local+0x6c>      
    if (ap->local_value == local_value)                               
a00139f8:	e5943004 	ldr	r3, [r4, #4]                                  
a00139fc:	e1530005 	cmp	r3, r5                                        
a0013a00:	1afffff9 	bne	a00139ec <rtems_assoc_ptr_by_local+0x50>      
a0013a04:	eafffff6 	b	a00139e4 <rtems_assoc_ptr_by_local+0x48>        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0013a08:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a0013a0c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0013a10:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0006fe0 <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
a0006fe0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0006fe4:	e5904000 	ldr	r4, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
a0006fe8:	e1a06000 	mov	r6, r0                                        
a0006fec:	e1a07001 	mov	r7, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0006ff0:	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;                                
a0006ff4:	01a06004 	moveq	r6, r4                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0006ff8:	0a000011 	beq	a0007044 <rtems_assoc_ptr_by_name+0x64>       
a0006ffc:	e1a00004 	mov	r0, r4                                        
a0007000:	e59f106c 	ldr	r1, [pc, #108]	; a0007074 <rtems_assoc_ptr_by_name+0x94>
a0007004:	eb002f1c 	bl	a0012c7c <strcmp>                              
a0007008:	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;                                
a000700c:	13a08000 	movne	r8, #0                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0007010:	0a00000d 	beq	a000704c <rtems_assoc_ptr_by_name+0x6c>       
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0007014:	e1a05006 	mov	r5, r6                                        
a0007018:	ea000003 	b	a000702c <rtems_assoc_ptr_by_name+0x4c>         
a000701c:	e595400c 	ldr	r4, [r5, #12]                                 
a0007020:	e285500c 	add	r5, r5, #12                                   
a0007024:	e3540000 	cmp	r4, #0                                        
a0007028:	0a00000e 	beq	a0007068 <rtems_assoc_ptr_by_name+0x88>       
    if (strcmp(ap->name, name) == 0)                                  
a000702c:	e1a00004 	mov	r0, r4                                        
a0007030:	e1a01007 	mov	r1, r7                                        
a0007034:	eb002f10 	bl	a0012c7c <strcmp>                              
a0007038:	e3500000 	cmp	r0, #0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000703c:	e1a06005 	mov	r6, r5                                        
    if (strcmp(ap->name, name) == 0)                                  
a0007040:	1afffff5 	bne	a000701c <rtems_assoc_ptr_by_name+0x3c>       
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
a0007044:	e1a00006 	mov	r0, r6                                        
a0007048:	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++)                                             
a000704c:	e596400c 	ldr	r4, [r6, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a0007050:	e286300c 	add	r3, r6, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
a0007054:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a0007058:	11a08006 	movne	r8, r6                                      <== NOT EXECUTED
a000705c:	11a06003 	movne	r6, r3                                      <== NOT EXECUTED
a0007060:	1affffeb 	bne	a0007014 <rtems_assoc_ptr_by_name+0x34>       <== NOT EXECUTED
a0007064:	eafffff6 	b	a0007044 <rtems_assoc_ptr_by_name+0x64>         <== NOT EXECUTED
a0007068:	e1a06008 	mov	r6, r8                                        
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
a000706c:	e1a00006 	mov	r0, r6                                        
a0007070:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

a0010ca4 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
a0010ca4:	e92d4030 	push	{r4, r5, lr}                                 
a0010ca8:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0010cac:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
a0010cb0:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0010cb4:	e3500000 	cmp	r0, #0                                        
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
a0010cb8:	01a04000 	moveq	r4, r0                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0010cbc:	0a00000a 	beq	a0010cec <rtems_assoc_ptr_by_remote+0x48>     
a0010cc0:	e59f1054 	ldr	r1, [pc, #84]	; a0010d1c <rtems_assoc_ptr_by_remote+0x78>
a0010cc4:	eb000446 	bl	a0011de4 <strcmp>                              
a0010cc8:	e3500000 	cmp	r0, #0                                        
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
a0010ccc:	13a02000 	movne	r2, #0                                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a0010cd0:	1a00000a 	bne	a0010d00 <rtems_assoc_ptr_by_remote+0x5c>     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0010cd4:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a0010cd8:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
a0010cdc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0010ce0:	11a02004 	movne	r2, r4                                      <== NOT EXECUTED
a0010ce4:	11a04003 	movne	r4, r3                                      <== NOT EXECUTED
a0010ce8:	1a000004 	bne	a0010d00 <rtems_assoc_ptr_by_remote+0x5c>     <== NOT EXECUTED
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a0010cec:	e1a00004 	mov	r0, r4                                        
a0010cf0:	e8bd8030 	pop	{r4, r5, pc}                                  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0010cf4:	e5b4300c 	ldr	r3, [r4, #12]!                                
a0010cf8:	e3530000 	cmp	r3, #0                                        
a0010cfc:	0a000003 	beq	a0010d10 <rtems_assoc_ptr_by_remote+0x6c>     
    if (ap->remote_value == remote_value)                             
a0010d00:	e5943008 	ldr	r3, [r4, #8]                                  
a0010d04:	e1530005 	cmp	r3, r5                                        
a0010d08:	1afffff9 	bne	a0010cf4 <rtems_assoc_ptr_by_remote+0x50>     
a0010d0c:	eafffff6 	b	a0010cec <rtems_assoc_ptr_by_remote+0x48>       
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a0010d10:	e1a04002 	mov	r4, r2                                        
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a0010d14:	e1a00004 	mov	r0, r4                                        
a0010d18:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a0007148 <rtems_assoc_remote_by_local>: uint32_t rtems_assoc_remote_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
a0007148:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a000714c:	ebffff84 	bl	a0006f64 <rtems_assoc_ptr_by_local>            <== NOT EXECUTED
  if (nap)                                                            
a0007150:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return nap->remote_value;                                         
a0007154:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a0007158:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a00070f4 <rtems_assoc_remote_by_local_bitfield>: uint32_t rtems_assoc_remote_by_local_bitfield( const rtems_assoc_t *ap, uint32_t local_value ) {
a00070f4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a00070f8:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
a00070fc:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
a0007100:	e3a05020 	mov	r5, #32                                       <== NOT EXECUTED
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
a0007104:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
                                                                      
  for (b = 1; b; b <<= 1)                                             
a0007108:	e3a04001 	mov	r4, #1                                        <== NOT EXECUTED
a000710c:	ea000002 	b	a000711c <rtems_assoc_remote_by_local_bitfield+0x28><== NOT EXECUTED
a0007110:	e2555001 	subs	r5, r5, #1                                   <== NOT EXECUTED
a0007114:	e1a04084 	lsl	r4, r4, #1                                    <== NOT EXECUTED
a0007118:	0a000008 	beq	a0007140 <rtems_assoc_remote_by_local_bitfield+0x4c><== NOT EXECUTED
    if (b & local_value)                                              
a000711c:	e1140006 	tst	r4, r6                                        <== NOT EXECUTED
a0007120:	0afffffa 	beq	a0007110 <rtems_assoc_remote_by_local_bitfield+0x1c><== NOT EXECUTED
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
a0007124:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0007128:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000712c:	eb000005 	bl	a0007148 <rtems_assoc_remote_by_local>         <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
a0007130:	e2555001 	subs	r5, r5, #1                                   <== NOT EXECUTED
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
a0007134:	e1877000 	orr	r7, r7, r0                                    <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
a0007138:	e1a04084 	lsl	r4, r4, #1                                    <== NOT EXECUTED
a000713c:	1afffff6 	bne	a000711c <rtems_assoc_remote_by_local_bitfield+0x28><== NOT EXECUTED
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
                                                                      
  return remote_value;                                                
}                                                                     
a0007140:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0007144:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a000715c <rtems_assoc_remote_by_name>: uint32_t rtems_assoc_remote_by_name( const rtems_assoc_t *ap, const char *name ) {
a000715c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_name(ap, name);                            
a0007160:	ebffff9e 	bl	a0006fe0 <rtems_assoc_ptr_by_name>             <== NOT EXECUTED
  if (nap)                                                            
a0007164:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return nap->remote_value;                                         
a0007168:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000716c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000b780 <rtems_build_id>: uint32_t the_class, uint32_t node, uint32_t index ) { return (( (Objects_Id) the_api ) << OBJECTS_API_START_BIT) |
a000b780:	e1a00c00 	lsl	r0, r0, #24                                   <== NOT EXECUTED
a000b784:	e1800d81 	orr	r0, r0, r1, lsl #27                           <== NOT EXECUTED
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
a000b788:	e1800003 	orr	r0, r0, r3                                    <== NOT EXECUTED
  uint32_t node,                                                      
  uint32_t index                                                      
)                                                                     
{                                                                     
  return _Objects_Build_id( api, class, node, index );                
}                                                                     
a000b78c:	e1800802 	orr	r0, r0, r2, lsl #16                           <== NOT EXECUTED
a000b790:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b794 <rtems_build_name>: char C1, char C2, char C3, char C4 ) {
a000b794:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
a000b798:	e1a02402 	lsl	r2, r2, #8                                    <== NOT EXECUTED
  return _Objects_Build_name( C1, C2, C3, C4 );                       
a000b79c:	e20118ff 	and	r1, r1, #16711680	; 0xff0000                  <== NOT EXECUTED
a000b7a0:	e1811c00 	orr	r1, r1, r0, lsl #24                           <== NOT EXECUTED
a000b7a4:	e2022cff 	and	r2, r2, #65280	; 0xff00                       <== NOT EXECUTED
  char C1,                                                            
  char C2,                                                            
  char C3,                                                            
  char C4                                                             
)                                                                     
{                                                                     
a000b7a8:	e20330ff 	and	r3, r3, #255	; 0xff                           <== NOT EXECUTED
  return _Objects_Build_name( C1, C2, C3, C4 );                       
a000b7ac:	e1811002 	orr	r1, r1, r2                                    <== NOT EXECUTED
}                                                                     
a000b7b0:	e1810003 	orr	r0, r1, r3                                    <== NOT EXECUTED
a000b7b4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000a848 <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
a000a848:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a000a84c:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a000a850:	e1a05003 	mov	r5, r3                                        <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check(        
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Append_with_empty_check( chain, node );               
a000a854:	eb000136 	bl	a000ad34 <_Chain_Append_with_empty_check>      <== NOT EXECUTED
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
a000a858:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a85c:	1a000000 	bne	a000a864 <rtems_chain_append_with_notification+0x1c><== NOT EXECUTED
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
a000a860:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
a000a864:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000a868:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
a000a86c:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
a000a870:	eafffd86 	b	a0009e90 <rtems_event_send>                     <== NOT EXECUTED
                                                                      

a000a874 <rtems_chain_get_with_notification>: rtems_chain_control *chain, rtems_id task, rtems_event_set events, rtems_chain_node **node ) {
a000a874:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a000a878:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool rtems_chain_get_with_empty_check(           
  rtems_chain_control *chain,                                         
  rtems_chain_node **node                                             
)                                                                     
{                                                                     
  return _Chain_Get_with_empty_check( chain, node );                  
a000a87c:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a000a880:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
a000a884:	eb00014d 	bl	a000adc0 <_Chain_Get_with_empty_check>         <== NOT EXECUTED
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
a000a888:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a88c:	1a000000 	bne	a000a894 <rtems_chain_get_with_notification+0x20><== NOT EXECUTED
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
a000a890:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
a000a894:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000a898:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
a000a89c:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
a000a8a0:	eafffd7a 	b	a0009e90 <rtems_event_send>                     <== NOT EXECUTED
                                                                      

a000a8a4 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
a000a8a4:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
a000a8a8:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a000a8ac:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
a000a8b0:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
a000a8b4:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
a000a8b8:	e1a0a003 	mov	sl, r3                                        <== NOT EXECUTED
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
a000a8bc:	e1a0800d 	mov	r8, sp                                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
a000a8c0:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000a8c4:	eb000152 	bl	a000ae14 <_Chain_Get>                          <== NOT EXECUTED
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
a000a8c8:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
a000a8cc:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a000a8d0:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a000a8d4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000a8d8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
a000a8dc:	1a000005 	bne	a000a8f8 <rtems_chain_get_with_wait+0x54>     <== NOT EXECUTED
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
a000a8e0:	ebfffd0d 	bl	a0009d1c <rtems_event_receive>                 <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
a000a8e4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a8e8:	0afffff4 	beq	a000a8c0 <rtems_chain_get_with_wait+0x1c>     <== NOT EXECUTED
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
a000a8ec:	e58a4000 	str	r4, [sl]                                      <== NOT EXECUTED
                                                                      
  return sc;                                                          
}                                                                     
a000a8f0:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000a8f4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
a000a8f8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000a8fc:	eafffffa 	b	a000a8ec <rtems_chain_get_with_wait+0x48>       <== NOT EXECUTED
                                                                      

a000a900 <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
a000a900:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a000a904:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a000a908:	e1a05003 	mov	r5, r3                                        <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(       
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Prepend_with_empty_check( chain, node );              
a000a90c:	eb000157 	bl	a000ae70 <_Chain_Prepend_with_empty_check>     <== NOT EXECUTED
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
a000a910:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a914:	1a000000 	bne	a000a91c <rtems_chain_prepend_with_notification+0x1c><== NOT EXECUTED
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
a000a918:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
a000a91c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000a920:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
a000a924:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
a000a928:	eafffd58 	b	a0009e90 <rtems_event_send>                     <== NOT EXECUTED
                                                                      

a0016d98 <rtems_clock_get>: rtems_status_code rtems_clock_get( rtems_clock_get_options option, void *time_buffer ) {
a0016d98:	e92d4010 	push	{r4, lr}                                     
  if ( !time_buffer )                                                 
a0016d9c:	e2514000 	subs	r4, r1, #0                                   
a0016da0:	0a000012 	beq	a0016df0 <rtems_clock_get+0x58>               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
a0016da4:	e3500000 	cmp	r0, #0                                        
a0016da8:	0a00000d 	beq	a0016de4 <rtems_clock_get+0x4c>               
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
a0016dac:	e3500001 	cmp	r0, #1                                        
a0016db0:	0a000011 	beq	a0016dfc <rtems_clock_get+0x64>               
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {                 
a0016db4:	e3500002 	cmp	r0, #2                                        
a0016db8:	0a000012 	beq	a0016e08 <rtems_clock_get+0x70>               
                                                                      
    *interval = rtems_clock_get_ticks_since_boot();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {                 
a0016dbc:	e3500003 	cmp	r0, #3                                        
a0016dc0:	0a000014 	beq	a0016e18 <rtems_clock_get+0x80>               
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
a0016dc4:	e3500004 	cmp	r0, #4                                        <== NOT EXECUTED
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
a0016dc8:	13a0300a 	movne	r3, #10                                     <== NOT EXECUTED
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
a0016dcc:	0a000001 	beq	a0016dd8 <rtems_clock_get+0x40>               <== NOT EXECUTED
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
a0016dd0:	e1a00003 	mov	r0, r3                                        
a0016dd4:	e8bd8010 	pop	{r4, pc}                                      
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
a0016dd8:	e1a00004 	mov	r0, r4                                        
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
a0016ddc:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
a0016de0:	ea000060 	b	a0016f68 <rtems_clock_get_tod_timeval>          <== NOT EXECUTED
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
a0016de4:	e1a00004 	mov	r0, r4                                        
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
a0016de8:	e8bd4010 	pop	{r4, lr}                                      
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
a0016dec:	ea000027 	b	a0016e90 <rtems_clock_get_tod>                  
  rtems_clock_get_options  option,                                    
  void                    *time_buffer                                
)                                                                     
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
a0016df0:	e3a03009 	mov	r3, #9                                        
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
a0016df4:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0016df8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
a0016dfc:	e1a00004 	mov	r0, r4                                        
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
a0016e00:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
a0016e04:	ea000007 	b	a0016e28 <rtems_clock_get_seconds_since_epoch>  
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_since_boot();                   
a0016e08:	eb00001c 	bl	a0016e80 <rtems_clock_get_ticks_since_boot>    
    return RTEMS_SUCCESSFUL;                                          
a0016e0c:	e3a03000 	mov	r3, #0                                        
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_since_boot();                   
a0016e10:	e5840000 	str	r0, [r4]                                      
    return RTEMS_SUCCESSFUL;                                          
a0016e14:	eaffffed 	b	a0016dd0 <rtems_clock_get+0x38>                 
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
a0016e18:	eb000010 	bl	a0016e60 <rtems_clock_get_ticks_per_second>    
    return RTEMS_SUCCESSFUL;                                          
a0016e1c:	e3a03000 	mov	r3, #0                                        
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
a0016e20:	e5840000 	str	r0, [r4]                                      
    return RTEMS_SUCCESSFUL;                                          
a0016e24:	eaffffe9 	b	a0016dd0 <rtems_clock_get+0x38>                 
                                                                      

a0016f68 <rtems_clock_get_tod_timeval>: #include <rtems/score/watchdog.h> rtems_status_code rtems_clock_get_tod_timeval( struct timeval *time ) {
a0016f68:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  if ( !time )                                                        
a0016f6c:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
#include <rtems/score/watchdog.h>                                     
                                                                      
rtems_status_code rtems_clock_get_tod_timeval(                        
  struct timeval  *time                                               
)                                                                     
{                                                                     
a0016f70:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  if ( !time )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
a0016f74:	03a00009 	moveq	r0, #9                                      <== NOT EXECUTED
                                                                      
rtems_status_code rtems_clock_get_tod_timeval(                        
  struct timeval  *time                                               
)                                                                     
{                                                                     
  if ( !time )                                                        
a0016f78:	0a000012 	beq	a0016fc8 <rtems_clock_get_tod_timeval+0x60>   <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
a0016f7c:	e59f304c 	ldr	r3, [pc, #76]	; a0016fd0 <rtems_clock_get_tod_timeval+0x68><== NOT EXECUTED
a0016f80:	e5d33000 	ldrb	r3, [r3]                                     <== NOT EXECUTED
a0016f84:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return RTEMS_NOT_DEFINED;                                         
a0016f88:	03a0000b 	moveq	r0, #11                                     <== NOT EXECUTED
)                                                                     
{                                                                     
  if ( !time )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
a0016f8c:	0a00000d 	beq	a0016fc8 <rtems_clock_get_tod_timeval+0x60>   <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0016f90:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
a0016f94:	e3853080 	orr	r3, r5, #128	; 0x80                           <== NOT EXECUTED
a0016f98:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
a0016f9c:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0016fa0:	eb0011c5 	bl	a001b6bc <_TOD_Get>                            <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0016fa4:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
a0016fa8:	e59f2024 	ldr	r2, [pc, #36]	; a0016fd4 <rtems_clock_get_tod_timeval+0x6c><== NOT EXECUTED
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
a0016fac:	e59d3004 	ldr	r3, [sp, #4]                                  <== NOT EXECUTED
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  _TOD_Get_timeval( time );                                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a0016fb0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
a0016fb4:	e0c21293 	smull	r1, r2, r3, r2                              <== NOT EXECUTED
a0016fb8:	e1a03fc3 	asr	r3, r3, #31                                   <== NOT EXECUTED
a0016fbc:	e0633342 	rsb	r3, r3, r2, asr #6                            <== NOT EXECUTED
                                                                      
  time->tv_sec  = now.tv_sec;                                         
a0016fc0:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
  time->tv_usec = useconds;                                           
a0016fc4:	e884000c 	stm	r4, {r2, r3}                                  <== NOT EXECUTED
}                                                                     
a0016fc8:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0016fcc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000968c <rtems_clock_get_uptime>: */ rtems_status_code rtems_clock_get_uptime( struct timespec *uptime ) { if ( !uptime )
a000968c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
 *    error code       - if unsuccessful                              
 */                                                                   
rtems_status_code rtems_clock_get_uptime(                             
  struct timespec *uptime                                             
)                                                                     
{                                                                     
a0009690:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  if ( !uptime )                                                      
a0009694:	0a000002 	beq	a00096a4 <rtems_clock_get_uptime+0x18>        <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _TOD_Get_uptime_as_timespec( uptime );                              
a0009698:	eb000589 	bl	a000acc4 <_TOD_Get_uptime_as_timespec>         <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
a000969c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00096a0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
rtems_status_code rtems_clock_get_uptime(                             
  struct timespec *uptime                                             
)                                                                     
{                                                                     
  if ( !uptime )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
a00096a4:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
                                                                      
  _TOD_Get_uptime_as_timespec( uptime );                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00096a8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0009464 <rtems_clock_tick>: * * NOTE: This routine only works for leap-years through 2099. */ rtems_status_code rtems_clock_tick( void ) {
a0009464:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  _TOD_Tickle_ticks();                                                
a0009468:	eb000528 	bl	a000a910 <_TOD_Tickle_ticks>                   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_ticks( void )              
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Ticks_chain );                         
a000946c:	e59f0038 	ldr	r0, [pc, #56]	; a00094ac <rtems_clock_tick+0x48>
a0009470:	eb000ed1 	bl	a000cfbc <_Watchdog_Tickle>                    
                                                                      
  _Watchdog_Tickle_ticks();                                           
                                                                      
  _Thread_Tickle_timeslice();                                         
a0009474:	eb000d40 	bl	a000c97c <_Thread_Tickle_timeslice>            
 *  otherwise.                                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_context_switch_necessary( void ) 
{                                                                     
  return ( _Thread_Dispatch_necessary );                              
a0009478:	e59f3030 	ldr	r3, [pc, #48]	; a00094b0 <rtems_clock_tick+0x4c>
a000947c:	e5d33010 	ldrb	r3, [r3, #16]                                
                                                                      
  if ( _Thread_Is_context_switch_necessary() &&                       
a0009480:	e3530000 	cmp	r3, #0                                        
a0009484:	0a000003 	beq	a0009498 <rtems_clock_tick+0x34>              
 *  otherwise.                                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_dispatching_enabled( void )      
{                                                                     
  return ( _Thread_Dispatch_disable_level == 0 );                     
a0009488:	e59f3024 	ldr	r3, [pc, #36]	; a00094b4 <rtems_clock_tick+0x50><== NOT EXECUTED
a000948c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0009490:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0009494:	0a000001 	beq	a00094a0 <rtems_clock_tick+0x3c>              <== NOT EXECUTED
       _Thread_Is_dispatching_enabled() )                             
    _Thread_Dispatch();                                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0009498:	e3a00000 	mov	r0, #0                                        
a000949c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  _Thread_Tickle_timeslice();                                         
                                                                      
  if ( _Thread_Is_context_switch_necessary() &&                       
       _Thread_Is_dispatching_enabled() )                             
    _Thread_Dispatch();                                               
a00094a0:	eb000a33 	bl	a000bd74 <_Thread_Dispatch>                    <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00094a4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00094a8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0006b98 <rtems_cpu_usage_report>: void rtems_cpu_usage_report( void ) { rtems_cpu_usage_report_with_plugin( NULL, printk_plugin );
a0006b98:	e59f1004 	ldr	r1, [pc, #4]	; a0006ba4 <rtems_cpu_usage_report+0xc><== NOT EXECUTED
a0006b9c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006ba0:	eaffff8d 	b	a00069dc <rtems_cpu_usage_report_with_plugin>   <== NOT EXECUTED
                                                                      

a00069dc <rtems_cpu_usage_report_with_plugin>: void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
a00069dc:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
    Timestamp_Control  uptime, total, ran, last_context_switch;       
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
a00069e0:	e251a000 	subs	sl, r1, #0                                   <== NOT EXECUTED
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a00069e4:	e24dd04c 	sub	sp, sp, #76	; 0x4c                            <== NOT EXECUTED
a00069e8:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
    Timestamp_Control  uptime, total, ran, last_context_switch;       
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
a00069ec:	0a00005d 	beq	a0006b68 <rtems_cpu_usage_report_with_plugin+0x18c><== NOT EXECUTED
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    last_context_switch = _Thread_Time_of_last_context_switch;        
a00069f0:	e59f3178 	ldr	r3, [pc, #376]	; a0006b70 <rtems_cpu_usage_report_with_plugin+0x194><== NOT EXECUTED
    _TOD_Get_uptime( &uptime );                                       
a00069f4:	e28d003c 	add	r0, sp, #60	; 0x3c                            <== NOT EXECUTED
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
a00069f8:	e59f9174 	ldr	r9, [pc, #372]	; a0006b74 <rtems_cpu_usage_report_with_plugin+0x198><== NOT EXECUTED
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    last_context_switch = _Thread_Time_of_last_context_switch;        
a00069fc:	e8930018 	ldm	r3, {r3, r4}                                  <== NOT EXECUTED
a0006a00:	e58d3024 	str	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0006a04:	e58d4028 	str	r4, [sp, #40]	; 0x28                          <== NOT EXECUTED
    _TOD_Get_uptime( &uptime );                                       
a0006a08:	eb001627 	bl	a000c2ac <_TOD_Get_uptime>                     <== NOT EXECUTED
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
a0006a0c:	e28d103c 	add	r1, sp, #60	; 0x3c                            <== NOT EXECUTED
a0006a10:	e28d2034 	add	r2, sp, #52	; 0x34                            <== NOT EXECUTED
a0006a14:	e59f015c 	ldr	r0, [pc, #348]	; a0006b78 <rtems_cpu_usage_report_with_plugin+0x19c><== NOT EXECUTED
a0006a18:	eb001f44 	bl	a000e730 <_Timespec_Subtract>                  <== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
a0006a1c:	e59f1158 	ldr	r1, [pc, #344]	; a0006b7c <rtems_cpu_usage_report_with_plugin+0x1a0><== NOT EXECUTED
a0006a20:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006a24:	e12fff3a 	blx	sl                                            <== NOT EXECUTED
a0006a28:	e59f1150 	ldr	r1, [pc, #336]	; a0006b80 <rtems_cpu_usage_report_with_plugin+0x1a4><== NOT EXECUTED
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
a0006a2c:	e28d700c 	add	r7, sp, #12                                   <== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
a0006a30:	e58d1008 	str	r1, [sp, #8]                                  <== NOT EXECUTED
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
a0006a34:	e59d2008 	ldr	r2, [sp, #8]                                  <== NOT EXECUTED
a0006a38:	e5b23004 	ldr	r3, [r2, #4]!                                 <== NOT EXECUTED
a0006a3c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006a40:	e58d2008 	str	r2, [sp, #8]                                  <== NOT EXECUTED
a0006a44:	0a00003b 	beq	a0006b38 <rtems_cpu_usage_report_with_plugin+0x15c><== NOT EXECUTED
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
a0006a48:	e5936004 	ldr	r6, [r3, #4]                                  <== NOT EXECUTED
    if ( information ) {                                              
a0006a4c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0006a50:	0a000038 	beq	a0006b38 <rtems_cpu_usage_report_with_plugin+0x15c><== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
a0006a54:	e1d631b0 	ldrh	r3, [r6, #16]                                <== NOT EXECUTED
a0006a58:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006a5c:	0a000035 	beq	a0006b38 <rtems_cpu_usage_report_with_plugin+0x15c><== NOT EXECUTED
a0006a60:	e3a05001 	mov	r5, #1                                        <== NOT EXECUTED
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
            _Timestamp_Add_to( &ran, &used );                         
a0006a64:	e28db02c 	add	fp, sp, #44	; 0x2c                            <== NOT EXECUTED
a0006a68:	ea000014 	b	a0006ac0 <rtems_cpu_usage_report_with_plugin+0xe4><== NOT EXECUTED
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
a0006a6c:	e28d1034 	add	r1, sp, #52	; 0x34                            <== NOT EXECUTED
a0006a70:	e1a0000b 	mov	r0, fp                                        <== NOT EXECUTED
a0006a74:	e28d2048 	add	r2, sp, #72	; 0x48                            <== NOT EXECUTED
a0006a78:	e28d3044 	add	r3, sp, #68	; 0x44                            <== NOT EXECUTED
a0006a7c:	eb001f04 	bl	a000e694 <_Timespec_Divide>                    <== NOT EXECUTED
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
a0006a80:	e59d2048 	ldr	r2, [sp, #72]	; 0x48                          <== NOT EXECUTED
a0006a84:	e59d3030 	ldr	r3, [sp, #48]	; 0x30                          <== NOT EXECUTED
a0006a88:	e59fc0f4 	ldr	ip, [pc, #244]	; a0006b84 <rtems_cpu_usage_report_with_plugin+0x1a8><== NOT EXECUTED
a0006a8c:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a0006a90:	e59d2044 	ldr	r2, [sp, #68]	; 0x44                          <== NOT EXECUTED
a0006a94:	e083139c 	umull	r1, r3, ip, r3                              <== NOT EXECUTED
a0006a98:	e58d2004 	str	r2, [sp, #4]                                  <== NOT EXECUTED
a0006a9c:	e1a03323 	lsr	r3, r3, #6                                    <== NOT EXECUTED
a0006aa0:	e59f10e0 	ldr	r1, [pc, #224]	; a0006b88 <rtems_cpu_usage_report_with_plugin+0x1ac><== NOT EXECUTED
a0006aa4:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006aa8:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          <== NOT EXECUTED
a0006aac:	e12fff3a 	blx	sl                                            <== NOT EXECUTED
a0006ab0:	e1d631b0 	ldrh	r3, [r6, #16]                                <== NOT EXECUTED
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
a0006ab4:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
a0006ab8:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a0006abc:	3a00001d 	bcc	a0006b38 <rtems_cpu_usage_report_with_plugin+0x15c><== NOT EXECUTED
        the_thread = (Thread_Control *)information->local_table[ i ]; 
a0006ac0:	e596001c 	ldr	r0, [r6, #28]                                 <== NOT EXECUTED
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
a0006ac4:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a0006ac8:	e3a0100d 	mov	r1, #13                                       <== NOT EXECUTED
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
a0006acc:	e7904105 	ldr	r4, [r0, r5, lsl #2]                          <== NOT EXECUTED
                                                                      
        if ( !the_thread )                                            
a0006ad0:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a0006ad4:	0afffff6 	beq	a0006ab4 <rtems_cpu_usage_report_with_plugin+0xd8><== NOT EXECUTED
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
a0006ad8:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a0006adc:	eb001124 	bl	a000af74 <rtems_object_get_name>               <== NOT EXECUTED
                                                                      
        (*print)(                                                     
a0006ae0:	e1a03007 	mov	r3, r7                                        <== NOT EXECUTED
a0006ae4:	e59f10a0 	ldr	r1, [pc, #160]	; a0006b8c <rtems_cpu_usage_report_with_plugin+0x1b0><== NOT EXECUTED
a0006ae8:	e5942008 	ldr	r2, [r4, #8]                                  <== NOT EXECUTED
a0006aec:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006af0:	e12fff3a 	blx	sl                                            <== NOT EXECUTED
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
a0006af4:	e2841084 	add	r1, r4, #132	; 0x84                           <== NOT EXECUTED
a0006af8:	e8910003 	ldm	r1, {r0, r1}                                  <== NOT EXECUTED
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
a0006afc:	e5992004 	ldr	r2, [r9, #4]                                  <== NOT EXECUTED
a0006b00:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
a0006b04:	e58d002c 	str	r0, [sp, #44]	; 0x2c                          <== NOT EXECUTED
a0006b08:	e58d1030 	str	r1, [sp, #48]	; 0x30                          <== NOT EXECUTED
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
a0006b0c:	e5922008 	ldr	r2, [r2, #8]                                  <== NOT EXECUTED
a0006b10:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0006b14:	1affffd4 	bne	a0006a6c <rtems_cpu_usage_report_with_plugin+0x90><== NOT EXECUTED
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
a0006b18:	e28d0024 	add	r0, sp, #36	; 0x24                            <== NOT EXECUTED
a0006b1c:	e28d103c 	add	r1, sp, #60	; 0x3c                            <== NOT EXECUTED
a0006b20:	e28d201c 	add	r2, sp, #28                                   <== NOT EXECUTED
a0006b24:	eb001f01 	bl	a000e730 <_Timespec_Subtract>                  <== NOT EXECUTED
            _Timestamp_Add_to( &ran, &used );                         
a0006b28:	e1a0000b 	mov	r0, fp                                        <== NOT EXECUTED
a0006b2c:	e28d101c 	add	r1, sp, #28                                   <== NOT EXECUTED
a0006b30:	eb001ec0 	bl	a000e638 <_Timespec_Add_to>                    <== NOT EXECUTED
a0006b34:	eaffffcc 	b	a0006a6c <rtems_cpu_usage_report_with_plugin+0x90><== NOT EXECUTED
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
a0006b38:	e59d2008 	ldr	r2, [sp, #8]                                  <== NOT EXECUTED
a0006b3c:	e59f304c 	ldr	r3, [pc, #76]	; a0006b90 <rtems_cpu_usage_report_with_plugin+0x1b4><== NOT EXECUTED
a0006b40:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0006b44:	1affffba 	bne	a0006a34 <rtems_cpu_usage_report_with_plugin+0x58><== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
a0006b48:	e59d2038 	ldr	r2, [sp, #56]	; 0x38                          <== NOT EXECUTED
a0006b4c:	e59f3030 	ldr	r3, [pc, #48]	; a0006b84 <rtems_cpu_usage_report_with_plugin+0x1a8><== NOT EXECUTED
a0006b50:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006b54:	e59f1038 	ldr	r1, [pc, #56]	; a0006b94 <rtems_cpu_usage_report_with_plugin+0x1b8><== NOT EXECUTED
a0006b58:	e083c392 	umull	ip, r3, r2, r3                              <== NOT EXECUTED
a0006b5c:	e59d2034 	ldr	r2, [sp, #52]	; 0x34                          <== NOT EXECUTED
a0006b60:	e1a03323 	lsr	r3, r3, #6                                    <== NOT EXECUTED
a0006b64:	e12fff3a 	blx	sl                                            <== NOT EXECUTED
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
a0006b68:	e28dd04c 	add	sp, sp, #76	; 0x4c                            <== NOT EXECUTED
a0006b6c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      

a000aff4 <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
a000aff4:	e92d000e 	push	{r1, r2, r3}                                 
a000aff8:	e92d4010 	push	{r4, lr}                                     
a000affc:	e24dd004 	sub	sp, sp, #4                                    
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
a000b000:	e28d3010 	add	r3, sp, #16                                   
int rtems_error(                                                      
  rtems_error_code_t error_flag,                                      
  const char *printf_format,                                          
  ...                                                                 
)                                                                     
{                                                                     
a000b004:	e1a04000 	mov	r4, r0                                        
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
a000b008:	e1a02003 	mov	r2, r3                                        
a000b00c:	e59d100c 	ldr	r1, [sp, #12]                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
a000b010:	e58d3000 	str	r3, [sp]                                      
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
a000b014:	ebffff9c 	bl	a000ae8c <rtems_verror>                        
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
a000b018:	e2143202 	ands	r3, r4, #536870912	; 0x20000000              
a000b01c:	1a000005 	bne	a000b038 <rtems_error+0x44>                   
    rtems_error(0, "fatal error, exiting");                           
    _exit(errno);                                                     
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
a000b020:	e3140201 	tst	r4, #268435456	; 0x10000000                   
a000b024:	1a000009 	bne	a000b050 <rtems_error+0x5c>                   
    rtems_error(0, "fatal error, aborting");                          
    abort();                                                          
  }                                                                   
                                                                      
  return chars_written;                                               
}                                                                     
a000b028:	e28dd004 	add	sp, sp, #4                                    
a000b02c:	e8bd4010 	pop	{r4, lr}                                      
a000b030:	e28dd00c 	add	sp, sp, #12                                   
a000b034:	e12fff1e 	bx	lr                                             
  va_start(arglist, printf_format);                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
    rtems_error(0, "fatal error, exiting");                           
a000b038:	e59f1020 	ldr	r1, [pc, #32]	; a000b060 <rtems_error+0x6c>   
a000b03c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000b040:	ebffffeb 	bl	a000aff4 <rtems_error>                         <== NOT EXECUTED
    _exit(errno);                                                     
a000b044:	eb002e25 	bl	a00168e0 <__errno>                             <== NOT EXECUTED
a000b048:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
a000b04c:	eb0002c6 	bl	a000bb6c <_exit>                               <== NOT EXECUTED
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
    rtems_error(0, "fatal error, aborting");                          
a000b050:	e59f100c 	ldr	r1, [pc, #12]	; a000b064 <rtems_error+0x70>   
a000b054:	e1a00003 	mov	r0, r3                                        
a000b058:	ebffffe5 	bl	a000aff4 <rtems_error>                         
    abort();                                                          
a000b05c:	eb002e15 	bl	a00168b8 <abort>                               
                                                                      

a00094b8 <rtems_event_receive>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
a00094b8:	e92d4070 	push	{r4, r5, r6, lr}                             
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !event_out )                                                   
a00094bc:	e2536000 	subs	r6, r3, #0                                   
a00094c0:	0a000010 	beq	a0009508 <rtems_event_receive+0x50>           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];        
a00094c4:	e59f4044 	ldr	r4, [pc, #68]	; a0009510 <rtems_event_receive+0x58>
                                                                      
  if ( _Event_sets_Is_empty( event_in ) ) {                           
a00094c8:	e3500000 	cmp	r0, #0                                        
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !event_out )                                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];        
a00094cc:	e5945004 	ldr	r5, [r4, #4]                                  
a00094d0:	e59550f4 	ldr	r5, [r5, #244]	; 0xf4                         
                                                                      
  if ( _Event_sets_Is_empty( event_in ) ) {                           
a00094d4:	1a000002 	bne	a00094e4 <rtems_event_receive+0x2c>           
    *event_out = api->pending_events;                                 
a00094d8:	e5953000 	ldr	r3, [r5]                                      
a00094dc:	e5863000 	str	r3, [r6]                                      
    return RTEMS_SUCCESSFUL;                                          
a00094e0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a00094e4:	e59fc028 	ldr	ip, [pc, #40]	; a0009514 <rtems_event_receive+0x5c>
a00094e8:	e59ce000 	ldr	lr, [ip]                                      
a00094ec:	e28ee001 	add	lr, lr, #1                                    
a00094f0:	e58ce000 	str	lr, [ip]                                      
  }                                                                   
                                                                      
  _Thread_Disable_dispatch();                                         
  _Event_Seize( event_in, option_set, ticks, event_out );             
a00094f4:	eb000007 	bl	a0009518 <_Event_Seize>                        
  _Thread_Enable_dispatch();                                          
a00094f8:	eb000a73 	bl	a000becc <_Thread_Enable_dispatch>             
  return( _Thread_Executing->Wait.return_code );                      
a00094fc:	e5943004 	ldr	r3, [r4, #4]                                  
a0009500:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
a0009504:	e8bd8070 	pop	{r4, r5, r6, pc}                              
)                                                                     
{                                                                     
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !event_out )                                                   
    return RTEMS_INVALID_ADDRESS;                                     
a0009508:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
                                                                      
  _Thread_Disable_dispatch();                                         
  _Event_Seize( event_in, option_set, ticks, event_out );             
  _Thread_Enable_dispatch();                                          
  return( _Thread_Executing->Wait.return_code );                      
}                                                                     
a000950c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a000ba38 <rtems_extension_create>: rtems_status_code rtems_extension_create( rtems_name name, const rtems_extensions_table *extension_table, rtems_id *id ) {
a000ba38:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  Extension_Control *the_extension;                                   
                                                                      
  if ( !id )                                                          
a000ba3c:	e2526000 	subs	r6, r2, #0                                   
rtems_status_code rtems_extension_create(                             
  rtems_name                    name,                                 
  const rtems_extensions_table *extension_table,                      
  rtems_id                     *id                                    
)                                                                     
{                                                                     
a000ba40:	e1a04000 	mov	r4, r0                                        
a000ba44:	e1a08001 	mov	r8, r1                                        
  Extension_Control *the_extension;                                   
                                                                      
  if ( !id )                                                          
a000ba48:	0a000020 	beq	a000bad0 <rtems_extension_create+0x98>        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a000ba4c:	e3500000 	cmp	r0, #0                                        
a000ba50:	1a000001 	bne	a000ba5c <rtems_extension_create+0x24>        
    return RTEMS_INVALID_NAME;                                        
a000ba54:	e3a00003 	mov	r0, #3                                        
  );                                                                  
                                                                      
  *id = the_extension->Object.id;                                     
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000ba58:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000ba5c:	e59f3074 	ldr	r3, [pc, #116]	; a000bad8 <rtems_extension_create+0xa0>
a000ba60:	e5932000 	ldr	r2, [r3]                                      
a000ba64:	e2822001 	add	r2, r2, #1                                    
a000ba68:	e5832000 	str	r2, [r3]                                      
#ifndef __EXTENSION_MANAGER_inl                                       
#define __EXTENSION_MANAGER_inl                                       
                                                                      
RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Allocate( void )   
{                                                                     
  return (Extension_Control *) _Objects_Allocate( &_Extension_Information );
a000ba6c:	e59f7068 	ldr	r7, [pc, #104]	; a000badc <rtems_extension_create+0xa4>
a000ba70:	e1a00007 	mov	r0, r7                                        
a000ba74:	eb0003ac 	bl	a000c92c <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_extension = _Extension_Allocate();                              
                                                                      
  if ( !the_extension ) {                                             
a000ba78:	e2505000 	subs	r5, r0, #0                                   
a000ba7c:	0a000010 	beq	a000bac4 <rtems_extension_create+0x8c>        
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
a000ba80:	e285c024 	add	ip, r5, #36	; 0x24                            
a000ba84:	e1a0e008 	mov	lr, r8                                        
a000ba88:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000ba8c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000ba90:	e89e000f 	ldm	lr, {r0, r1, r2, r3}                          
a000ba94:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
                                                                      
  _User_extensions_Add_set( extension );                              
a000ba98:	e2850010 	add	r0, r5, #16                                   
a000ba9c:	eb000b3a 	bl	a000e78c <_User_extensions_Add_set>            
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a000baa0:	e5953008 	ldr	r3, [r5, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000baa4:	e597201c 	ldr	r2, [r7, #28]                                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a000baa8:	e1a01803 	lsl	r1, r3, #16                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000baac:	e7825721 	str	r5, [r2, r1, lsr #14]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a000bab0:	e585400c 	str	r4, [r5, #12]                                 
    &_Extension_Information,                                          
    &the_extension->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_extension->Object.id;                                     
a000bab4:	e5863000 	str	r3, [r6]                                      
  _Thread_Enable_dispatch();                                          
a000bab8:	eb0007ed 	bl	a000da74 <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a000babc:	e3a00000 	mov	r0, #0                                        
a000bac0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_extension = _Extension_Allocate();                              
                                                                      
  if ( !the_extension ) {                                             
    _Thread_Enable_dispatch();                                        
a000bac4:	eb0007ea 	bl	a000da74 <_Thread_Enable_dispatch>             <== NOT EXECUTED
    return RTEMS_TOO_MANY;                                            
a000bac8:	e3a00005 	mov	r0, #5                                        <== NOT EXECUTED
a000bacc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
)                                                                     
{                                                                     
  Extension_Control *the_extension;                                   
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
a000bad0:	e3a00009 	mov	r0, #9                                        
a000bad4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

a000c5a8 <rtems_extension_ident>: rtems_status_code rtems_extension_ident( rtems_name name, rtems_id *id ) {
a000c5a8:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a000c5ac:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
a000c5b0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  Objects_Name_or_id_lookup_errors  status;                           
                                                                      
  status = _Objects_Name_to_id_u32(                                   
a000c5b4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a000c5b8:	e59f0010 	ldr	r0, [pc, #16]	; a000c5d0 <rtems_extension_ident+0x28><== NOT EXECUTED
a000c5bc:	e3e02102 	mvn	r2, #-2147483648	; 0x80000000                 <== NOT EXECUTED
a000c5c0:	eb0004cf 	bl	a000d904 <_Objects_Name_to_id_u32>             <== NOT EXECUTED
    name,                                                             
    OBJECTS_SEARCH_LOCAL_NODE,                                        
    id                                                                
  );                                                                  
                                                                      
  return _Status_Object_name_errors_to_status[ status ];              
a000c5c4:	e59f3008 	ldr	r3, [pc, #8]	; a000c5d4 <rtems_extension_ident+0x2c><== NOT EXECUTED
}                                                                     
a000c5c8:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
a000c5cc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0006348 <rtems_filesystem_dirname>: int rtems_filesystem_dirname( const char *pathname ) {
a0006348:	e92d4030 	push	{r4, r5, lr}                                 
a000634c:	e1a05000 	mov	r5, r0                                        
  int len = strlen( pathname );                                       
a0006350:	eb002f7f 	bl	a0012154 <strlen>                              
                                                                      
  while ( len ) {                                                     
a0006354:	e2504000 	subs	r4, r0, #0                                   
a0006358:	1a000002 	bne	a0006368 <rtems_filesystem_dirname+0x20>      
a000635c:	ea000006 	b	a000637c <rtems_filesystem_dirname+0x34>        <== NOT EXECUTED
a0006360:	e3540000 	cmp	r4, #0                                        
a0006364:	0a000004 	beq	a000637c <rtems_filesystem_dirname+0x34>      
    len--;                                                            
a0006368:	e2444001 	sub	r4, r4, #1                                    
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
a000636c:	e7d50004 	ldrb	r0, [r5, r4]                                 
a0006370:	eb0003e0 	bl	a00072f8 <rtems_filesystem_is_separator>       
a0006374:	e3500000 	cmp	r0, #0                                        
a0006378:	0afffff8 	beq	a0006360 <rtems_filesystem_dirname+0x18>      
      break;                                                          
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
a000637c:	e1a00004 	mov	r0, r4                                        
a0006380:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a000611c <rtems_filesystem_initialize>: rtems_filesystem_umask = 022; /* * mount the first filesystem. */ if ( rtems_filesystem_mount_table_size == 0 )
a000611c:	e59f20f0 	ldr	r2, [pc, #240]	; a0006214 <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 )                              
{                                                                     
a0006120:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0006124:	e59f60ec 	ldr	r6, [pc, #236]	; a0006218 <rtems_filesystem_initialize+0xfc>
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0006128:	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 )                              
{                                                                     
a000612c:	e24dd018 	sub	sp, sp, #24                                   
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0006130:	e5963000 	ldr	r3, [r6]                                      
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0006134:	e3520000 	cmp	r2, #0                                        
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0006138:	e3a02012 	mov	r2, #18                                       
a000613c:	e583202c 	str	r2, [r3, #44]	; 0x2c                          
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0006140:	0a00002d 	beq	a00061fc <rtems_filesystem_initialize+0xe0>   
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a0006144:	e59f30d0 	ldr	r3, [pc, #208]	; a000621c <rtems_filesystem_initialize+0x100>
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
a0006148:	e3a05000 	mov	r5, #0                                        
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a000614c:	e5933000 	ldr	r3, [r3]                                      
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
a0006150:	e5930008 	ldr	r0, [r3, #8]                                  
a0006154:	e593100c 	ldr	r1, [r3, #12]                                 
a0006158:	e893000c 	ldm	r3, {r2, r3}                                  
a000615c:	e58d5000 	str	r5, [sp]                                      
a0006160:	eb000215 	bl	a00069bc <mount>                               
  if ( status == -1 )                                                 
a0006164:	e3700001 	cmn	r0, #1                                        
a0006168:	0a000027 	beq	a000620c <rtems_filesystem_initialize+0xf0>   
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a000616c:	e5963000 	ldr	r3, [r6]                                      
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0006170:	e28d4004 	add	r4, sp, #4                                    
a0006174:	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;                                   
a0006178:	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);                 
a000617c:	e1a02005 	mov	r2, r5                                        
a0006180:	e1a03004 	mov	r3, r4                                        
a0006184:	e59f0094 	ldr	r0, [pc, #148]	; a0006220 <rtems_filesystem_initialize+0x104>
a0006188:	e58d5000 	str	r5, [sp]                                      
a000618c:	eb000057 	bl	a00062f0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root        = loc;                                 
a0006190:	e596c000 	ldr	ip, [r6]                                      
a0006194:	e1a07004 	mov	r7, r4                                        
a0006198:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a000619c:	e28cc018 	add	ip, ip, #24                                   
a00061a0:	e597e000 	ldr	lr, [r7]                                      
a00061a4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00061a8:	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;                                 
a00061ac:	e58ce000 	str	lr, [ip]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00061b0:	e1a02005 	mov	r2, r5                                        
a00061b4:	e1a03004 	mov	r3, r4                                        
a00061b8:	e59f0060 	ldr	r0, [pc, #96]	; a0006220 <rtems_filesystem_initialize+0x104>
a00061bc:	e58d5000 	str	r5, [sp]                                      
a00061c0:	eb00004a 	bl	a00062f0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current     = loc;                                 
a00061c4:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a00061c8:	e596c000 	ldr	ip, [r6]                                      
a00061cc:	e597e000 	ldr	lr, [r7]                                      
a00061d0:	e28cc004 	add	ip, ip, #4                                    
a00061d4:	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);                                      
a00061d8:	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;                                 
a00061dc:	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);                                      
a00061e0:	e59f003c 	ldr	r0, [pc, #60]	; a0006224 <rtems_filesystem_initialize+0x108>
a00061e4:	e2811003 	add	r1, r1, #3                                    
a00061e8:	eb0001a4 	bl	a0006880 <mkdir>                               
  if ( status != 0 )                                                  
a00061ec:	e3500000 	cmp	r0, #0                                        
a00061f0:	1a000003 	bne	a0006204 <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.        
   */                                                                 
}                                                                     
a00061f4:	e28dd018 	add	sp, sp, #24                                   
a00061f8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
a00061fc:	e59f0024 	ldr	r0, [pc, #36]	; a0006228 <rtems_filesystem_initialize+0x10c><== NOT EXECUTED
a0006200:	eb000fd3 	bl	a000a154 <rtems_fatal_error_occurred>          <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
a0006204:	e59f0020 	ldr	r0, [pc, #32]	; a000622c <rtems_filesystem_initialize+0x110><== NOT EXECUTED
a0006208:	eb000fd1 	bl	a000a154 <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 );                         
a000620c:	e59f001c 	ldr	r0, [pc, #28]	; a0006230 <rtems_filesystem_initialize+0x114><== NOT EXECUTED
a0006210:	eb000fcf 	bl	a000a154 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000e7f4 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
a000e7f4:	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 ) {                              
a000e7f8:	e59f60a4 	ldr	r6, [pc, #164]	; a000e8a4 <rtems_filesystem_iterate+0xb0>
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
a000e7fc:	e1a04000 	mov	r4, r0                                        
a000e800:	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 ) {                              
a000e804:	e5963000 	ldr	r3, [r6]                                      
a000e808:	e3530000 	cmp	r3, #0                                        
a000e80c:	1a000002 	bne	a000e81c <rtems_filesystem_iterate+0x28>      
a000e810:	ea00000b 	b	a000e844 <rtems_filesystem_iterate+0x50>        <== NOT EXECUTED
a000e814:	e3500000 	cmp	r0, #0                                        
a000e818:	1a00001f 	bne	a000e89c <rtems_filesystem_iterate+0xa8>      
    stop = (*routine)( table_entry, routine_arg );                    
a000e81c:	e1a00006 	mov	r0, r6                                        
a000e820:	e1a01005 	mov	r1, r5                                        
a000e824:	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 ) {                              
a000e828:	e5963008 	ldr	r3, [r6, #8]                                  
    stop = (*routine)( table_entry, routine_arg );                    
a000e82c:	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 ) {                              
a000e830:	e2866008 	add	r6, r6, #8                                    
a000e834:	e3530000 	cmp	r3, #0                                        
a000e838:	1afffff5 	bne	a000e814 <rtems_filesystem_iterate+0x20>      
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
a000e83c:	e3500000 	cmp	r0, #0                                        
a000e840:	1a000015 	bne	a000e89c <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 );
a000e844:	e59f705c 	ldr	r7, [pc, #92]	; a000e8a8 <rtems_filesystem_iterate+0xb4>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a000e848:	e59f605c 	ldr	r6, [pc, #92]	; a000e8ac <rtems_filesystem_iterate+0xb8>
a000e84c:	e3a01000 	mov	r1, #0                                        
a000e850:	e5970000 	ldr	r0, [r7]                                      
a000e854:	e1a02001 	mov	r2, r1                                        
a000e858:	ebffec96 	bl	a0009ab8 <rtems_semaphore_obtain>              
a000e85c:	e4968004 	ldr	r8, [r6], #4                                  
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
a000e860:	e1580006 	cmp	r8, r6                                        
a000e864:	03a0a000 	moveq	sl, #0                                      
a000e868:	1a000002 	bne	a000e878 <rtems_filesystem_iterate+0x84>      
a000e86c:	ea000008 	b	a000e894 <rtems_filesystem_iterate+0xa0>        
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
a000e870:	e3500000 	cmp	r0, #0                                        
a000e874:	1a000006 	bne	a000e894 <rtems_filesystem_iterate+0xa0>      
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
a000e878:	e2880008 	add	r0, r8, #8                                    
a000e87c:	e1a01005 	mov	r1, r5                                        
a000e880:	e12fff34 	blx	r4                                            
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a000e884:	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 );                  
a000e888:	e1a0a000 	mov	sl, r0                                        
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
a000e88c:	e1580006 	cmp	r8, r6                                        
a000e890:	1afffff6 	bne	a000e870 <rtems_filesystem_iterate+0x7c>      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000e894:	e5970000 	ldr	r0, [r7]                                      
a000e898:	ebffeccf 	bl	a0009bdc <rtems_semaphore_release>             
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
a000e89c:	e1a0000a 	mov	r0, sl                                        
a000e8a0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a0006948 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
a0006948:	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 );
a000694c:	e59f7060 	ldr	r7, [pc, #96]	; a00069b4 <rtems_filesystem_mount_iterate+0x6c>
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a0006950:	e59f4060 	ldr	r4, [pc, #96]	; a00069b8 <rtems_filesystem_mount_iterate+0x70>
                                                                      
bool rtems_filesystem_mount_iterate(                                  
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
a0006954:	e1a06001 	mov	r6, r1                                        
a0006958:	e3a01000 	mov	r1, #0                                        
a000695c:	e1a05000 	mov	r5, r0                                        
a0006960:	e1a02001 	mov	r2, r1                                        
a0006964:	e5970000 	ldr	r0, [r7]                                      
a0006968:	eb000c52 	bl	a0009ab8 <rtems_semaphore_obtain>              
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a000696c:	e4948004 	ldr	r8, [r4], #4                                  
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a0006970:	e1580004 	cmp	r8, r4                                        
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
a0006974:	03a0a000 	moveq	sl, #0                                      
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a0006978:	1a000002 	bne	a0006988 <rtems_filesystem_mount_iterate+0x40>
a000697c:	ea000008 	b	a00069a4 <rtems_filesystem_mount_iterate+0x5c>  <== NOT EXECUTED
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
a0006980:	e3500000 	cmp	r0, #0                                        
a0006984:	1a000006 	bne	a00069a4 <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 );                       
a0006988:	e1a00008 	mov	r0, r8                                        
a000698c:	e1a01006 	mov	r1, r6                                        
a0006990:	e12fff35 	blx	r5                                            
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a0006994:	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 );                       
a0006998:	e1a0a000 	mov	sl, r0                                        
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a000699c:	e1580004 	cmp	r8, r4                                        
a00069a0:	1afffff6 	bne	a0006980 <rtems_filesystem_mount_iterate+0x38>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a00069a4:	e5970000 	ldr	r0, [r7]                                      
a00069a8:	eb000c8b 	bl	a0009bdc <rtems_semaphore_release>             
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a00069ac:	e1a0000a 	mov	r0, sl                                        
a00069b0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a0006384 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
a0006384:	e92d4070 	push	{r4, r5, r6, lr}                             
a0006388:	e1a05000 	mov	r5, r0                                        
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a000638c:	e5d00000 	ldrb	r0, [r0]                                     
a0006390:	e1a06001 	mov	r6, r1                                        
a0006394:	e3510000 	cmp	r1, #0                                        
a0006398:	13500000 	cmpne	r0, #0                                      
a000639c:	03a04000 	moveq	r4, #0                                      
a00063a0:	13a04001 	movne	r4, #1                                      
)                                                                     
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
a00063a4:	13a04000 	movne	r4, #0                                      
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a00063a8:	1a000005 	bne	a00063c4 <rtems_filesystem_prefix_separators+0x40>
a00063ac:	ea000007 	b	a00063d0 <rtems_filesystem_prefix_separators+0x4c><== NOT EXECUTED
a00063b0:	e5f50001 	ldrb	r0, [r5, #1]!                                
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
a00063b4:	e2844001 	add	r4, r4, #1                                    
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a00063b8:	e1560004 	cmp	r6, r4                                        
a00063bc:	13500000 	cmpne	r0, #0                                      
a00063c0:	0a000002 	beq	a00063d0 <rtems_filesystem_prefix_separators+0x4c>
a00063c4:	eb0003cb 	bl	a00072f8 <rtems_filesystem_is_separator>       
a00063c8:	e3500000 	cmp	r0, #0                                        
a00063cc:	1afffff7 	bne	a00063b0 <rtems_filesystem_prefix_separators+0x2c>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
a00063d0:	e1a00004 	mov	r0, r4                                        
a00063d4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a000707c <rtems_gxx_getspecific>: void *rtems_gxx_getspecific(__gthread_key_t key) {
a000707c:	e92d4030 	push	{r4, r5, lr}                                 
a0007080:	e24dd004 	sub	sp, sp, #4                                    
  rtems_status_code  status;                                          
  void              *p= 0;                                            
a0007084:	e3a05000 	mov	r5, #0                                        
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
                                                                      
void *rtems_gxx_getspecific(__gthread_key_t key)                      
{                                                                     
a0007088:	e1a04000 	mov	r4, r0                                        
  rtems_status_code  status;                                          
  void              *p= 0;                                            
a000708c:	e28d2004 	add	r2, sp, #4                                    
a0007090:	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 );   
a0007094:	e1a00005 	mov	r0, r5                                        
a0007098:	e1a01004 	mov	r1, r4                                        
a000709c:	e1a0200d 	mov	r2, sp                                        
a00070a0:	eb000f80 	bl	a000aea8 <rtems_task_variable_get>             
  if ( status == RTEMS_SUCCESSFUL ) {                                 
a00070a4:	e1500005 	cmp	r0, r5                                        
    /* We do not have to do this, but what the heck ! */              
     p= key->val;                                                     
a00070a8:	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 ) {                                 
a00070ac:	1a000001 	bne	a00070b8 <rtems_gxx_getspecific+0x3c>         
       p,                                                             
       rtems_task_self()                                              
    );                                                                
  #endif                                                              
  return p;                                                           
}                                                                     
a00070b0:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a00070b4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
     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 );
a00070b8:	e1a00005 	mov	r0, r5                                        
a00070bc:	e1a01004 	mov	r1, r4                                        
a00070c0:	e5942004 	ldr	r2, [r4, #4]                                  
a00070c4:	eb000f24 	bl	a000ad5c <rtems_task_variable_add>             
    if ( status != RTEMS_SUCCESSFUL ) {                               
a00070c8:	e2503000 	subs	r3, r0, #0                                   
a00070cc:	1a000002 	bne	a00070dc <rtems_gxx_getspecific+0x60>         
        INTERNAL_ERROR_CORE,                                          
        true,                                                         
        INTERNAL_ERROR_GXX_KEY_ADD_FAILED                             
      );                                                              
    }                                                                 
    key->val = (void *)0;                                             
a00070d0:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a00070d4:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
a00070d8:	eafffff4 	b	a00070b0 <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 ) {                               
      _Internal_error_Occurred(                                       
a00070dc:	e1a00005 	mov	r0, r5                                        
a00070e0:	e3a01001 	mov	r1, #1                                        
a00070e4:	e3a02015 	mov	r2, #21                                       
a00070e8:	eb001325 	bl	a000bd84 <_Internal_error_Occurred>            
                                                                      

a0006fe8 <rtems_gxx_key_create>: } return 0; } int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
a0006fe8:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a0006fec:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
a0006ff0:	e3a00008 	mov	r0, #8                                        <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{                                                                     
a0006ff4:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
a0006ff8:	eb00010b 	bl	a000742c <malloc>                              <== NOT EXECUTED
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
a0006ffc:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
a0007000:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  *key = new_key;                                                     
a0007004:	e5860000 	str	r0, [r6]                                      <== NOT EXECUTED
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
a0007008:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000700c:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0007010:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
a0007014:	e8840028 	stm	r4, {r3, r5}                                  <== NOT EXECUTED
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
a0007018:	eb000f4f 	bl	a000ad5c <rtems_task_variable_add>             <== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL )                                   
a000701c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007020:	1a000000 	bne	a0007028 <rtems_gxx_key_create+0x40>          <== NOT EXECUTED
    return 0;                                                         
                                                                      
  free( new_key );                                                    
  return -1;                                                          
}                                                                     
a0007024:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
                                                                      
  free( new_key );                                                    
a0007028:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000702c:	ebffff7b 	bl	a0006e20 <free>                                <== NOT EXECUTED
  return -1;                                                          
a0007030:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0007034:	eafffffa 	b	a0007024 <rtems_gxx_key_create+0x3c>            <== NOT EXECUTED
                                                                      

a0007048 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
a0007048:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: delete key=%x\n", key );                   
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_delete( RTEMS_SELF, (void **)key );    
a000704c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
a0007050:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: delete key=%x\n", key );                   
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_delete( RTEMS_SELF, (void **)key );    
a0007054:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0007058:	eb000f6b 	bl	a000ae0c <rtems_task_variable_delete>          <== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL ) {                                 
a000705c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007060:	1a000003 	bne	a0007074 <rtems_gxx_key_delete+0x2c>          <== NOT EXECUTED
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
a0007064:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a0007068:	0a000001 	beq	a0007074 <rtems_gxx_key_delete+0x2c>          <== NOT EXECUTED
a000706c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0007070:	ebffff6a 	bl	a0006e20 <free>                                <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
a0007074:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0007078:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

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

a000717c <rtems_gxx_mutex_destroy>: int rtems_gxx_mutex_destroy (__gthread_mutex_t *mutex) {
a000717c:	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);                
a0007180:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
a0007184:	eb000d4b 	bl	a000a6b8 <rtems_semaphore_delete>              <== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL )                                   
a0007188:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return 0;                                                         
  return -1;                                                          
}                                                                     
a000718c:	13e00000 	mvnne	r0, #0                                      <== NOT EXECUTED
a0007190:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0006f6c <rtems_gxx_once>: /* uncomment this if you need to debug this interface */ /*#define DEBUG_GXX_WRAPPERS 1*/ int rtems_gxx_once(__gthread_once_t *once, void (*func) (void)) {
a0006f6c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
a0006f70:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
                                                                      
/* uncomment this if you need to debug this interface */              
/*#define DEBUG_GXX_WRAPPERS 1*/                                      
                                                                      
int rtems_gxx_once(__gthread_once_t *once, void (*func) (void))       
{                                                                     
a0006f74:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a0006f78:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
a0006f7c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
/* uncomment this if you need to debug this interface */              
/*#define DEBUG_GXX_WRAPPERS 1*/                                      
                                                                      
int rtems_gxx_once(__gthread_once_t *once, void (*func) (void))       
{                                                                     
a0006f80:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
a0006f84:	0a000002 	beq	a0006f94 <rtems_gxx_once+0x28>                <== NOT EXECUTED
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
a0006f88:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006f8c:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0006f90:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
a0006f94:	e3a00c01 	mov	r0, #256	; 0x100                              <== NOT EXECUTED
a0006f98:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0006f9c:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0006fa0:	eb000ef3 	bl	a000ab74 <rtems_task_mode>                     <== NOT EXECUTED
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
a0006fa4:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
a0006fa8:	e1a0600d 	mov	r6, sp                                        <== NOT EXECUTED
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
a0006fac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006fb0:	1a000007 	bne	a0006fd4 <rtems_gxx_once+0x68>                <== NOT EXECUTED
      *(volatile __gthread_once_t *)once = 1;                         
a0006fb4:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0006fb8:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
a0006fbc:	e3a01c01 	mov	r1, #256	; 0x100                              <== NOT EXECUTED
a0006fc0:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0006fc4:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a0006fc8:	eb000ee9 	bl	a000ab74 <rtems_task_mode>                     <== NOT EXECUTED
    if ( o == 0 )                                                     
      (*func)();                                                      
a0006fcc:	e12fff35 	blx	r5                                            <== NOT EXECUTED
a0006fd0:	eaffffec 	b	a0006f88 <rtems_gxx_once+0x1c>                  <== NOT EXECUTED
                                                                      
    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);         
a0006fd4:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a0006fd8:	e3a01c01 	mov	r1, #256	; 0x100                              <== NOT EXECUTED
a0006fdc:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0006fe0:	eb000ee3 	bl	a000ab74 <rtems_task_mode>                     <== NOT EXECUTED
a0006fe4:	eaffffe7 	b	a0006f88 <rtems_gxx_once+0x1c>                  <== NOT EXECUTED
                                                                      

a00071d0 <rtems_gxx_recursive_mutex_lock>: } int rtems_gxx_recursive_mutex_lock(__gthread_recursive_mutex_t *mutex) { return rtems_gxx_mutex_lock(mutex);
a00071d0:	eaffffe1 	b	a000715c <rtems_gxx_mutex_lock>                 <== NOT EXECUTED
                                                                      

a00071d4 <rtems_gxx_recursive_mutex_trylock>: } int rtems_gxx_recursive_mutex_trylock(__gthread_recursive_mutex_t *mutex) { return rtems_gxx_mutex_trylock(mutex);
a00071d4:	eaffffee 	b	a0007194 <rtems_gxx_mutex_trylock>              <== NOT EXECUTED
                                                                      

a00071d8 <rtems_gxx_recursive_mutex_unlock>: } int rtems_gxx_recursive_mutex_unlock(__gthread_recursive_mutex_t *mutex) { return rtems_gxx_mutex_unlock(mutex);
a00071d8:	eafffff5 	b	a00071b4 <rtems_gxx_mutex_unlock>               <== NOT EXECUTED
                                                                      

a00070ec <rtems_gxx_setspecific>: #endif return p; } int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
a00070ec:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a00070f0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a00070f4:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
      rtems_task_self()                                               
      );                                                              
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
a00070f8:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a00070fc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0007100:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0007104:	eb000f14 	bl	a000ad5c <rtems_task_variable_add>             <== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL ) {                                 
a0007108:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
a000710c:	05845000 	streq	r5, [r4]                                    <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
  return -1;                                                          
a0007110:	13e00000 	mvnne	r0, #0                                      <== NOT EXECUTED
}                                                                     
a0007114:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000b638 <rtems_heap_allocate_aligned_with_boundary>: size_t size, uintptr_t alignment, uintptr_t boundary ) { if (
a000b638:	e59f3048 	ldr	r3, [pc, #72]	; a000b688 <rtems_heap_allocate_aligned_with_boundary+0x50><== NOT EXECUTED
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000b63c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  if (                                                                
a000b640:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000b644:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a000b648:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  if (                                                                
a000b64c:	e3530003 	cmp	r3, #3                                        <== NOT EXECUTED
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000b650:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
  if (                                                                
a000b654:	0a000007 	beq	a000b678 <rtems_heap_allocate_aligned_with_boundary+0x40><== NOT EXECUTED
      && !malloc_is_system_state_OK()                                 
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
a000b658:	ebfffbb3 	bl	a000a52c <malloc_deferred_frees_process>       <== NOT EXECUTED
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
a000b65c:	e59f3028 	ldr	r3, [pc, #40]	; a000b68c <rtems_heap_allocate_aligned_with_boundary+0x54><== NOT EXECUTED
a000b660:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a000b664:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a000b668:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a000b66c:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
a000b670:	e8bd4070 	pop	{r4, r5, r6, lr}                              <== NOT EXECUTED
                                                                      
  malloc_deferred_frees_process();                                    
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
a000b674:	ea0014b8 	b	a001095c <_Protected_heap_Allocate_aligned_with_boundary><== NOT EXECUTED
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
a000b678:	ebfffb97 	bl	a000a4dc <malloc_is_system_state_OK>           <== NOT EXECUTED
a000b67c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b680:	1afffff4 	bne	a000b658 <rtems_heap_allocate_aligned_with_boundary+0x20><== NOT EXECUTED
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
a000b684:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a000a960 <rtems_interrupt_disable>: static inline uint32_t arm_interrupt_disable( void ) { uint32_t arm_switch_reg; uint32_t level; asm volatile (
a000a960:	e10f0000 	mrs	r0, CPSR                                      <== NOT EXECUTED
a000a964:	e3803080 	orr	r3, r0, #128	; 0x80                           <== NOT EXECUTED
a000a968:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
  rtems_interrupt_level previous_level;                               
                                                                      
  _ISR_Disable( previous_level );                                     
                                                                      
  return previous_level;                                              
}                                                                     
a000a96c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000a970 <rtems_interrupt_enable>: static inline void arm_interrupt_enable( uint32_t level ) { ARM_SWITCH_REGISTERS; asm volatile (
a000a970:	e129f000 	msr	CPSR_fc, r0                                   <== NOT EXECUTED
void rtems_interrupt_enable(                                          
  rtems_interrupt_level previous_level                                
)                                                                     
{                                                                     
  _ISR_Enable( previous_level );                                      
}                                                                     
a000a974:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000a978 <rtems_interrupt_flash>: static inline void arm_interrupt_flash( uint32_t level ) { uint32_t arm_switch_reg; asm volatile (
a000a978:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a000a97c:	e129f000 	msr	CPSR_fc, r0                                   <== NOT EXECUTED
a000a980:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
void rtems_interrupt_flash(                                           
  rtems_interrupt_level previous_level                                
)                                                                     
{                                                                     
  _ISR_Flash( previous_level );                                       
}                                                                     
a000a984:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000a988 <rtems_interrupt_is_in_progress>: #undef rtems_interrupt_is_in_progress bool rtems_interrupt_is_in_progress( void ) { return _ISR_Is_in_progress();
a000a988:	e59f300c 	ldr	r3, [pc, #12]	; a000a99c <rtems_interrupt_is_in_progress+0x14><== NOT EXECUTED
a000a98c:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
}                                                                     
a000a990:	e2500000 	subs	r0, r0, #0                                   <== NOT EXECUTED
a000a994:	13a00001 	movne	r0, #1                                      <== NOT EXECUTED
a000a998:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000a33c <rtems_interrupt_level_attribute>: rtems_attribute rtems_interrupt_level_attribute( uint32_t level ) { return RTEMS_INTERRUPT_LEVEL(level); }
a000a33c:	e2000080 	and	r0, r0, #128	; 0x80                           <== NOT EXECUTED
a000a340:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0010ea0 <rtems_io_close>: void *argument ) { rtems_device_driver_entry callout; if ( major >= _IO_Number_of_drivers )
a0010ea0:	e59fc044 	ldr	ip, [pc, #68]	; a0010eec <rtems_io_close+0x4c>
rtems_status_code rtems_io_close(                                     
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010ea4:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010ea8:	e59cc000 	ldr	ip, [ip]                                      
rtems_status_code rtems_io_close(                                     
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010eac:	e1a03000 	mov	r3, r0                                        
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010eb0:	e15c0000 	cmp	ip, r0                                        
a0010eb4:	9a000008 	bls	a0010edc <rtems_io_close+0x3c>                
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
a0010eb8:	e59fc030 	ldr	ip, [pc, #48]	; a0010ef0 <rtems_io_close+0x50>
a0010ebc:	e3a04018 	mov	r4, #24                                       
a0010ec0:	e59cc000 	ldr	ip, [ip]                                      
a0010ec4:	e023c394 	mla	r3, r4, r3, ip                                
a0010ec8:	e5933008 	ldr	r3, [r3, #8]                                  
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010ecc:	e3530000 	cmp	r3, #0                                        
a0010ed0:	0a000003 	beq	a0010ee4 <rtems_io_close+0x44>                
a0010ed4:	e12fff33 	blx	r3                                            
a0010ed8:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
a0010edc:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0010ee0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010ee4:	e1a00003 	mov	r0, r3                                        
}                                                                     
a0010ee8:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a0010ef4 <rtems_io_control>: void *argument ) { rtems_device_driver_entry callout; if ( major >= _IO_Number_of_drivers )
a0010ef4:	e59fc044 	ldr	ip, [pc, #68]	; a0010f40 <rtems_io_control+0x4c>
rtems_status_code rtems_io_control(                                   
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010ef8:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010efc:	e59cc000 	ldr	ip, [ip]                                      
rtems_status_code rtems_io_control(                                   
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010f00:	e1a03000 	mov	r3, r0                                        
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010f04:	e15c0000 	cmp	ip, r0                                        
a0010f08:	9a000008 	bls	a0010f30 <rtems_io_control+0x3c>              
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
a0010f0c:	e59fc030 	ldr	ip, [pc, #48]	; a0010f44 <rtems_io_control+0x50>
a0010f10:	e3a04018 	mov	r4, #24                                       
a0010f14:	e59cc000 	ldr	ip, [ip]                                      
a0010f18:	e023c394 	mla	r3, r4, r3, ip                                
a0010f1c:	e5933014 	ldr	r3, [r3, #20]                                 
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010f20:	e3530000 	cmp	r3, #0                                        
a0010f24:	0a000003 	beq	a0010f38 <rtems_io_control+0x44>              
a0010f28:	e12fff33 	blx	r3                                            
a0010f2c:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
a0010f30:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0010f34:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010f38:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
}                                                                     
a0010f3c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0006078 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
a0006078:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a000607c:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0006080:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0006084:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
a0006088:	eb003031 	bl	a0012154 <strlen>                              <== NOT EXECUTED
a000608c:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0006090:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0006094:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
a0006098:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000609c:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a00060a0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00060a4:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a00060a8:	eb000090 	bl	a00062f0 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
a00060ac:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
a00060b0:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
a00060b4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00060b8:	e5933010 	ldr	r3, [r3, #16]                                 <== NOT EXECUTED
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
a00060bc:	e59d8004 	ldr	r8, [sp, #4]                                  <== NOT EXECUTED
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
a00060c0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
a00060c4:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a00060c8:	03500002 	cmpeq	r0, #2                                      <== NOT EXECUTED
a00060cc:	03a07000 	moveq	r7, #0                                      <== NOT EXECUTED
a00060d0:	13a07001 	movne	r7, #1                                      <== NOT EXECUTED
a00060d4:	0a000004 	beq	a00060ec <rtems_io_lookup_name+0x74>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
a00060d8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00060dc:	eb0000bd 	bl	a00063d8 <rtems_filesystem_freenode>           <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
a00060e0:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00060e4:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a00060e8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
a00060ec:	e5865000 	str	r5, [r6]                                      <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
a00060f0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00060f4:	eb003016 	bl	a0012154 <strlen>                              <== NOT EXECUTED
a00060f8:	e5860004 	str	r0, [r6, #4]                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
a00060fc:	e5983050 	ldr	r3, [r8, #80]	; 0x50                          <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0006100:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
a0006104:	e5863008 	str	r3, [r6, #8]                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
a0006108:	e5983054 	ldr	r3, [r8, #84]	; 0x54                          <== NOT EXECUTED
a000610c:	e586300c 	str	r3, [r6, #12]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0006110:	eb0000b0 	bl	a00063d8 <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a0006114:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006118:	eafffff1 	b	a00060e4 <rtems_io_lookup_name+0x6c>            <== NOT EXECUTED
                                                                      

a0010f48 <rtems_io_open>: void *argument ) { rtems_device_driver_entry callout; if ( major >= _IO_Number_of_drivers )
a0010f48:	e59fc044 	ldr	ip, [pc, #68]	; a0010f94 <rtems_io_open+0x4c> 
rtems_status_code rtems_io_open(                                      
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010f4c:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010f50:	e59cc000 	ldr	ip, [ip]                                      
rtems_status_code rtems_io_open(                                      
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010f54:	e1a03000 	mov	r3, r0                                        
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010f58:	e15c0000 	cmp	ip, r0                                        
a0010f5c:	9a000008 	bls	a0010f84 <rtems_io_open+0x3c>                 
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
a0010f60:	e59fc030 	ldr	ip, [pc, #48]	; a0010f98 <rtems_io_open+0x50> 
a0010f64:	e3a04018 	mov	r4, #24                                       
a0010f68:	e59cc000 	ldr	ip, [ip]                                      
a0010f6c:	e023c394 	mla	r3, r4, r3, ip                                
a0010f70:	e5933004 	ldr	r3, [r3, #4]                                  
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010f74:	e3530000 	cmp	r3, #0                                        
a0010f78:	0a000003 	beq	a0010f8c <rtems_io_open+0x44>                 
a0010f7c:	e12fff33 	blx	r3                                            
a0010f80:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
a0010f84:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0010f88:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010f8c:	e1a00003 	mov	r0, r3                                        
}                                                                     
a0010f90:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a0010f9c <rtems_io_read>: void *argument ) { rtems_device_driver_entry callout; if ( major >= _IO_Number_of_drivers )
a0010f9c:	e59fc044 	ldr	ip, [pc, #68]	; a0010fe8 <rtems_io_read+0x4c> 
rtems_status_code rtems_io_read(                                      
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010fa0:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010fa4:	e59cc000 	ldr	ip, [ip]                                      
rtems_status_code rtems_io_read(                                      
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010fa8:	e1a03000 	mov	r3, r0                                        
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010fac:	e15c0000 	cmp	ip, r0                                        
a0010fb0:	9a000008 	bls	a0010fd8 <rtems_io_read+0x3c>                 
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
a0010fb4:	e59fc030 	ldr	ip, [pc, #48]	; a0010fec <rtems_io_read+0x50> 
a0010fb8:	e3a04018 	mov	r4, #24                                       
a0010fbc:	e59cc000 	ldr	ip, [ip]                                      
a0010fc0:	e023c394 	mla	r3, r4, r3, ip                                
a0010fc4:	e593300c 	ldr	r3, [r3, #12]                                 
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010fc8:	e3530000 	cmp	r3, #0                                        
a0010fcc:	0a000003 	beq	a0010fe0 <rtems_io_read+0x44>                 
a0010fd0:	e12fff33 	blx	r3                                            
a0010fd4:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
a0010fd8:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0010fdc:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0010fe0:	e1a00003 	mov	r0, r3                                        
}                                                                     
a0010fe4:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a000b3ac <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 ) {
a000b3ac:	e92d4030 	push	{r4, r5, lr}                                 
a000b3b0:	e1a04000 	mov	r4, r0                                        
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a000b3b4:	e59f014c 	ldr	r0, [pc, #332]	; a000b508 <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;      
a000b3b8:	e59f314c 	ldr	r3, [pc, #332]	; a000b50c <rtems_io_register_driver+0x160>
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a000b3bc:	e5900000 	ldr	r0, [r0]                                      
a000b3c0:	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;      
a000b3c4:	e5930000 	ldr	r0, [r3]                                      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a000b3c8:	1a000033 	bne	a000b49c <rtems_io_register_driver+0xf0>      
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
a000b3cc:	e3520000 	cmp	r2, #0                                        
a000b3d0:	0a000041 	beq	a000b4dc <rtems_io_register_driver+0x130>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
a000b3d4:	e3510000 	cmp	r1, #0                                        
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
a000b3d8:	e5820000 	str	r0, [r2]                                      
                                                                      
  if ( driver_table == NULL )                                         
a000b3dc:	0a00003e 	beq	a000b4dc <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;
a000b3e0:	e591c000 	ldr	ip, [r1]                                      
a000b3e4:	e35c0000 	cmp	ip, #0                                        
a000b3e8:	0a000038 	beq	a000b4d0 <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 )                                         
a000b3ec:	e1500004 	cmp	r0, r4                                        
a000b3f0:	9a000027 	bls	a000b494 <rtems_io_register_driver+0xe8>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000b3f4:	e59f0114 	ldr	r0, [pc, #276]	; a000b510 <rtems_io_register_driver+0x164>
a000b3f8:	e590c000 	ldr	ip, [r0]                                      
a000b3fc:	e28cc001 	add	ip, ip, #1                                    
a000b400:	e580c000 	str	ip, [r0]                                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
a000b404:	e3540000 	cmp	r4, #0                                        
a000b408:	1a000025 	bne	a000b4a4 <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;                
a000b40c:	e593c000 	ldr	ip, [r3]                                      
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
a000b410:	e35c0000 	cmp	ip, #0                                        
a000b414:	0a000032 	beq	a000b4e4 <rtems_io_register_driver+0x138>     
a000b418:	e59fe0f4 	ldr	lr, [pc, #244]	; a000b514 <rtems_io_register_driver+0x168>
a000b41c:	e59e3000 	ldr	r3, [lr]                                      
a000b420:	ea000003 	b	a000b434 <rtems_io_register_driver+0x88>        
a000b424:	e2844001 	add	r4, r4, #1                                    
a000b428:	e15c0004 	cmp	ip, r4                                        
a000b42c:	e2833018 	add	r3, r3, #24                                   
a000b430:	9a000005 	bls	a000b44c <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;
a000b434:	e5930000 	ldr	r0, [r3]                                      
a000b438:	e3500000 	cmp	r0, #0                                        
a000b43c:	1afffff8 	bne	a000b424 <rtems_io_register_driver+0x78>      
a000b440:	e5930004 	ldr	r0, [r3, #4]                                  
a000b444:	e3500000 	cmp	r0, #0                                        
a000b448:	1afffff5 	bne	a000b424 <rtems_io_register_driver+0x78>      
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
a000b44c:	e15c0004 	cmp	ip, r4                                        
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a000b450:	e5824000 	str	r4, [r2]                                      
                                                                      
  if ( m != n )                                                       
a000b454:	0a000023 	beq	a000b4e8 <rtems_io_register_driver+0x13c>     
a000b458:	e3a0c018 	mov	ip, #24                                       
a000b45c:	e00c0c94 	mul	ip, r4, ip                                    
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
a000b460:	e59e5000 	ldr	r5, [lr]                                      
a000b464:	e1a0e001 	mov	lr, r1                                        
a000b468:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000b46c:	e085c00c 	add	ip, r5, ip                                    
a000b470:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000b474:	e89e0003 	ldm	lr, {r0, r1}                                  
a000b478:	e88c0003 	stm	ip, {r0, r1}                                  
                                                                      
  _Thread_Enable_dispatch();                                          
a000b47c:	eb00074a 	bl	a000d1ac <_Thread_Enable_dispatch>             
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a000b480:	e3a01000 	mov	r1, #0                                        
a000b484:	e1a00004 	mov	r0, r4                                        
a000b488:	e1a02001 	mov	r2, r1                                        
}                                                                     
a000b48c:	e8bd4030 	pop	{r4, r5, lr}                                  
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a000b490:	ea001edd 	b	a001300c <rtems_io_initialize>                  
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
a000b494:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
a000b498:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
a000b49c:	e3a00012 	mov	r0, #18                                       <== NOT EXECUTED
a000b4a0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a000b4a4:	e59fe068 	ldr	lr, [pc, #104]	; a000b514 <rtems_io_register_driver+0x168><== NOT EXECUTED
a000b4a8:	e3a0c018 	mov	ip, #24                                       <== NOT EXECUTED
a000b4ac:	e00c0c94 	mul	ip, r4, ip                                    <== NOT EXECUTED
a000b4b0:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a000b4b4:	e793000c 	ldr	r0, [r3, ip]                                  <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a000b4b8:	e083300c 	add	r3, r3, ip                                    <== NOT EXECUTED
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a000b4bc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b4c0:	0a00000b 	beq	a000b4f4 <rtems_io_register_driver+0x148>     <== NOT EXECUTED
    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();                                      
a000b4c4:	eb000738 	bl	a000d1ac <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_RESOURCE_IN_USE;                                   
a000b4c8:	e3a0000c 	mov	r0, #12                                       <== NOT EXECUTED
a000b4cc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a000b4d0:	e591c004 	ldr	ip, [r1, #4]                                  
a000b4d4:	e35c0000 	cmp	ip, #0                                        
a000b4d8:	1affffc3 	bne	a000b3ec <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;                                     
a000b4dc:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
a000b4e0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a000b4e4:	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();                                      
a000b4e8:	eb00072f 	bl	a000d1ac <_Thread_Enable_dispatch>             
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
a000b4ec:	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;                                                      
a000b4f0:	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;
a000b4f4:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a000b4f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b4fc:	1afffff0 	bne	a000b4c4 <rtems_io_register_driver+0x118>     <== NOT EXECUTED
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
a000b500:	e5824000 	str	r4, [r2]                                      <== NOT EXECUTED
a000b504:	eaffffd5 	b	a000b460 <rtems_io_register_driver+0xb4>        <== NOT EXECUTED
                                                                      

a000b518 <rtems_io_unregister_driver>: rtems_status_code rtems_io_unregister_driver( rtems_device_major_number major ) { if ( rtems_interrupt_is_in_progress() )
a000b518:	e59f3064 	ldr	r3, [pc, #100]	; a000b584 <rtems_io_unregister_driver+0x6c>
 */                                                                   
                                                                      
rtems_status_code rtems_io_unregister_driver(                         
  rtems_device_major_number major                                     
)                                                                     
{                                                                     
a000b51c:	e92d4010 	push	{r4, lr}                                     
  if ( rtems_interrupt_is_in_progress() )                             
a000b520:	e5934000 	ldr	r4, [r3]                                      
a000b524:	e3540000 	cmp	r4, #0                                        
a000b528:	1a000013 	bne	a000b57c <rtems_io_unregister_driver+0x64>    
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
a000b52c:	e59f3054 	ldr	r3, [pc, #84]	; a000b588 <rtems_io_unregister_driver+0x70>
a000b530:	e5933000 	ldr	r3, [r3]                                      
a000b534:	e1530000 	cmp	r3, r0                                        
a000b538:	8a000001 	bhi	a000b544 <rtems_io_unregister_driver+0x2c>    
    _Thread_Enable_dispatch();                                        
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  return RTEMS_UNSATISFIED;                                           
a000b53c:	e3a0000d 	mov	r0, #13                                       
}                                                                     
a000b540:	e8bd8010 	pop	{r4, pc}                                      
a000b544:	e59f3040 	ldr	r3, [pc, #64]	; a000b58c <rtems_io_unregister_driver+0x74>
a000b548:	e5932000 	ldr	r2, [r3]                                      
a000b54c:	e2822001 	add	r2, r2, #1                                    
a000b550:	e5832000 	str	r2, [r3]                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
    _Thread_Disable_dispatch();                                       
    memset(                                                           
a000b554:	e59f2034 	ldr	r2, [pc, #52]	; a000b590 <rtems_io_unregister_driver+0x78>
      &_IO_Driver_address_table[major],                               
a000b558:	e3a03018 	mov	r3, #24                                       
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
    _Thread_Disable_dispatch();                                       
    memset(                                                           
a000b55c:	e1a01004 	mov	r1, r4                                        
a000b560:	e592c000 	ldr	ip, [r2]                                      
a000b564:	e1a02003 	mov	r2, r3                                        
a000b568:	e020c093 	mla	r0, r3, r0, ip                                
a000b56c:	eb00298e 	bl	a0015bac <memset>                              
      &_IO_Driver_address_table[major],                               
      0,                                                              
      sizeof( rtems_driver_address_table )                            
    );                                                                
    _Thread_Enable_dispatch();                                        
a000b570:	eb00070d 	bl	a000d1ac <_Thread_Enable_dispatch>             
                                                                      
    return RTEMS_SUCCESSFUL;                                          
a000b574:	e1a00004 	mov	r0, r4                                        
a000b578:	e8bd8010 	pop	{r4, pc}                                      
rtems_status_code rtems_io_unregister_driver(                         
  rtems_device_major_number major                                     
)                                                                     
{                                                                     
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
a000b57c:	e3a00012 	mov	r0, #18                                       
a000b580:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a0010ff0 <rtems_io_write>: void *argument ) { rtems_device_driver_entry callout; if ( major >= _IO_Number_of_drivers )
a0010ff0:	e59fc044 	ldr	ip, [pc, #68]	; a001103c <rtems_io_write+0x4c>
rtems_status_code rtems_io_write(                                     
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010ff4:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0010ff8:	e59cc000 	ldr	ip, [ip]                                      
rtems_status_code rtems_io_write(                                     
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
a0010ffc:	e1a03000 	mov	r3, r0                                        
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
a0011000:	e15c0000 	cmp	ip, r0                                        
a0011004:	9a000008 	bls	a001102c <rtems_io_write+0x3c>                
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
a0011008:	e59fc030 	ldr	ip, [pc, #48]	; a0011040 <rtems_io_write+0x50>
a001100c:	e3a04018 	mov	r4, #24                                       
a0011010:	e59cc000 	ldr	ip, [ip]                                      
a0011014:	e023c394 	mla	r3, r4, r3, ip                                
a0011018:	e5933010 	ldr	r3, [r3, #16]                                 
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a001101c:	e3530000 	cmp	r3, #0                                        
a0011020:	0a000003 	beq	a0011034 <rtems_io_write+0x44>                
a0011024:	e12fff33 	blx	r3                                            
a0011028:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
a001102c:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0011030:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
a0011034:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
}                                                                     
a0011038:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0006538 <rtems_libio_init>: { rtems_status_code rc; uint32_t i; rtems_libio_t *iop; if (rtems_libio_number_iops > 0)
a0006538:	e59f30bc 	ldr	r3, [pc, #188]	; a00065fc <rtems_libio_init+0xc4>
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a000653c:	e92d4010 	push	{r4, lr}                                     
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a0006540:	e5934000 	ldr	r4, [r3]                                      
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a0006544:	e24dd004 	sub	sp, sp, #4                                    
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a0006548:	e3540000 	cmp	r4, #0                                        
a000654c:	0a000017 	beq	a00065b0 <rtems_libio_init+0x78>              
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
a0006550:	e1a00004 	mov	r0, r4                                        
a0006554:	e3a01038 	mov	r1, #56	; 0x38                                
a0006558:	ebffff35 	bl	a0006234 <calloc>                              
a000655c:	e59f309c 	ldr	r3, [pc, #156]	; a0006600 <rtems_libio_init+0xc8>
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a0006560:	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,
a0006564:	e1a02000 	mov	r2, r0                                        
a0006568:	e5830000 	str	r0, [r3]                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a000656c:	0a000020 	beq	a00065f4 <rtems_libio_init+0xbc>              
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
a0006570:	e59f308c 	ldr	r3, [pc, #140]	; a0006604 <rtems_libio_init+0xcc>
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0006574:	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;            
a0006578:	e5830000 	str	r0, [r3]                                      
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a000657c:	9a000009 	bls	a00065a8 <rtems_libio_init+0x70>              
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
a0006580:	e2803038 	add	r3, r0, #56	; 0x38                            
a0006584:	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;                                       
a0006588:	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++)  
a000658c:	e1520004 	cmp	r2, r4                                        
          iop->data1 = iop + 1;                                       
a0006590:	e5033004 	str	r3, [r3, #-4]                                 
a0006594:	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++)  
a0006598:	1afffffa 	bne	a0006588 <rtems_libio_init+0x50>              
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
a000659c:	e2422001 	sub	r2, r2, #1                                    
a00065a0:	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++)  
a00065a4:	e0220293 	mla	r2, r3, r2, r0                                
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
a00065a8:	e3a03000 	mov	r3, #0                                        
a00065ac:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
a00065b0:	e59fc050 	ldr	ip, [pc, #80]	; a0006608 <rtems_libio_init+0xd0>
a00065b4:	e59f0050 	ldr	r0, [pc, #80]	; a000660c <rtems_libio_init+0xd4>
a00065b8:	e3a01001 	mov	r1, #1                                        
a00065bc:	e3a02054 	mov	r2, #84	; 0x54                                
a00065c0:	e3a03000 	mov	r3, #0                                        
a00065c4:	e58dc000 	str	ip, [sp]                                      
a00065c8:	eb000ca0 	bl	a0009850 <rtems_semaphore_create>              
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
a00065cc:	e3500000 	cmp	r0, #0                                        
a00065d0:	1a000006 	bne	a00065f0 <rtems_libio_init+0xb8>              
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
a00065d4:	e59f3034 	ldr	r3, [pc, #52]	; a0006610 <rtems_libio_init+0xd8>
a00065d8:	e5933000 	ldr	r3, [r3]                                      
a00065dc:	e3530000 	cmp	r3, #0                                        
a00065e0:	0a000000 	beq	a00065e8 <rtems_libio_init+0xb0>              
     (* rtems_fs_init_helper)();                                      
a00065e4:	e12fff33 	blx	r3                                            
}                                                                     
a00065e8:	e28dd004 	add	sp, sp, #4                                    
a00065ec:	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 );                                 
a00065f0:	eb000ed7 	bl	a000a154 <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);              
a00065f4:	e280001a 	add	r0, r0, #26                                   
a00065f8:	eb000ed5 	bl	a000a154 <rtems_fatal_error_occurred>          
                                                                      

a0007854 <rtems_libio_set_private_env>: } } rtems_status_code rtems_libio_set_private_env(void) {
a0007854:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0007858:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
a000785c:	eb000b80 	bl	a000a664 <rtems_task_self>                     
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
a0007860:	e28d7018 	add	r7, sp, #24                                   
a0007864:	e3a0c000 	mov	ip, #0                                        
a0007868:	e1a0200c 	mov	r2, ip                                        
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
a000786c:	e1a06000 	mov	r6, r0                                        
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
a0007870:	e3a01001 	mov	r1, #1                                        
a0007874:	e59f00fc 	ldr	r0, [pc, #252]	; a0007978 <rtems_libio_set_private_env+0x124>
a0007878:	e1a03007 	mov	r3, r7                                        
a000787c:	e58dc000 	str	ip, [sp]                                      
a0007880:	ebfffb2d 	bl	a000653c <rtems_filesystem_evaluate_path>      
  if (rv != 0)                                                        
a0007884:	e250c000 	subs	ip, r0, #0                                   
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
a0007888:	13a0001a 	movne	r0, #26                                     
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
a000788c:	0a000001 	beq	a0007898 <rtems_libio_set_private_env+0x44>   
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
a0007890:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
a0007894:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
a0007898:	e28d5004 	add	r5, sp, #4                                    
a000789c:	e59f00d4 	ldr	r0, [pc, #212]	; a0007978 <rtems_libio_set_private_env+0x124>
a00078a0:	e3a01001 	mov	r1, #1                                        
a00078a4:	e1a0200c 	mov	r2, ip                                        
a00078a8:	e1a03005 	mov	r3, r5                                        
a00078ac:	e58dc000 	str	ip, [sp]                                      
a00078b0:	ebfffb21 	bl	a000653c <rtems_filesystem_evaluate_path>      
  if (rv != 0)                                                        
a00078b4:	e3500000 	cmp	r0, #0                                        
a00078b8:	1a00002a 	bne	a0007968 <rtems_libio_set_private_env+0x114>  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
a00078bc:	e59f30b8 	ldr	r3, [pc, #184]	; a000797c <rtems_libio_set_private_env+0x128>
a00078c0:	e5934000 	ldr	r4, [r3]                                      
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
a00078c4:	e59f30b4 	ldr	r3, [pc, #180]	; a0007980 <rtems_libio_set_private_env+0x12c>
a00078c8:	e1540003 	cmp	r4, r3                                        
a00078cc:	0a000002 	beq	a00078dc <rtems_libio_set_private_env+0x88>   
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
a00078d0:	e5943000 	ldr	r3, [r4]                                      
a00078d4:	e1530006 	cmp	r3, r6                                        
a00078d8:	0a00000d 	beq	a0007914 <rtems_libio_set_private_env+0xc0>   
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
a00078dc:	e3a00048 	mov	r0, #72	; 0x48                                
a00078e0:	ebfffd0c 	bl	a0006d18 <malloc>                              
    if (new_env == NULL)                                              
a00078e4:	e3500000 	cmp	r0, #0                                        
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
a00078e8:	e1a04000 	mov	r4, r0                                        
a00078ec:	e1a0a000 	mov	sl, r0                                        
    if (new_env == NULL)                                              
a00078f0:	0a00001a 	beq	a0007960 <rtems_libio_set_private_env+0x10c>  
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
a00078f4:	e59f8080 	ldr	r8, [pc, #128]	; a000797c <rtems_libio_set_private_env+0x128>
a00078f8:	e3a00000 	mov	r0, #0                                        
a00078fc:	e59f2080 	ldr	r2, [pc, #128]	; a0007984 <rtems_libio_set_private_env+0x130>
a0007900:	e1a01008 	mov	r1, r8                                        
a0007904:	eb000b75 	bl	a000a6e0 <rtems_task_variable_add>             
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
a0007908:	e3500000 	cmp	r0, #0                                        
a000790c:	1a000011 	bne	a0007958 <rtems_libio_set_private_env+0x104>  
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
a0007910:	e5884000 	str	r4, [r8]                                      
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
a0007914:	e59f1064 	ldr	r1, [pc, #100]	; a0007980 <rtems_libio_set_private_env+0x12c>
a0007918:	e3a02048 	mov	r2, #72	; 0x48                                
a000791c:	e1a00004 	mov	r0, r4                                        
a0007920:	eb002956 	bl	a0011e80 <memcpy>                              
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because 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_root = root_loc;                                   
a0007924:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
                                                                      
  rtems_current_user_env->task_id = task_id;                          
a0007928:	e1a0c004 	mov	ip, r4                                        
a000792c:	e48c6018 	str	r6, [ip], #24                                 
   * original locs because 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_root = root_loc;                                   
  rtems_filesystem_current = current_loc;                             
a0007930:	e2844004 	add	r4, r4, #4                                    
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because 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_root = root_loc;                                   
a0007934:	e5976000 	ldr	r6, [r7]                                      
a0007938:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  rtems_filesystem_current = current_loc;                             
a000793c:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         
a0007940:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       
a0007944:	e5953000 	ldr	r3, [r5]                                      
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because 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_root = root_loc;                                   
a0007948:	e58c6000 	str	r6, [ip]                                      
  rtems_filesystem_current = current_loc;                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000794c:	e3a00000 	mov	r0, #0                                        
   * original locs because 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_root = root_loc;                                   
  rtems_filesystem_current = current_loc;                             
a0007950:	e5843000 	str	r3, [r4]                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a0007954:	eaffffcd 	b	a0007890 <rtems_libio_set_private_env+0x3c>     
                                                                      
error_3:                                                              
  free(new_env);                                                      
a0007958:	e1a00004 	mov	r0, r4                                        
a000795c:	ebfffb35 	bl	a0006638 <free>                                
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
a0007960:	e1a00005 	mov	r0, r5                                        
a0007964:	ebfffb2e 	bl	a0006624 <rtems_filesystem_freenode>           
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
a0007968:	e1a00007 	mov	r0, r7                                        
a000796c:	ebfffb2c 	bl	a0006624 <rtems_filesystem_freenode>           
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
a0007970:	e3a0001a 	mov	r0, #26                                       
a0007974:	eaffffc5 	b	a0007890 <rtems_libio_set_private_env+0x3c>     
                                                                      

a0007988 <rtems_libio_share_private_env>: * b) mutex access to rtems_filesystem_current, rtems_filesytem_root * while changing any of those (chdir(), chroot()). */ rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
a0007988:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a000798c:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a0007990:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
a0007994:	eb000b32 	bl	a000a664 <rtems_task_self>                     <== NOT EXECUTED
  /*                                                                  
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
a0007998:	e1560000 	cmp	r6, r0                                        <== NOT EXECUTED
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
a000799c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
    return RTEMS_SUCCESSFUL;                                          
a00079a0:	03a06000 	moveq	r6, #0                                      <== NOT EXECUTED
  /*                                                                  
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
a00079a4:	0a00000c 	beq	a00079dc <rtems_libio_share_private_env+0x54> <== NOT EXECUTED
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
a00079a8:	e59f5040 	ldr	r5, [pc, #64]	; a00079f0 <rtems_libio_share_private_env+0x68><== NOT EXECUTED
a00079ac:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00079b0:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a00079b4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00079b8:	eb000b74 	bl	a000a790 <rtems_task_variable_get>             <== NOT EXECUTED
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
a00079bc:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a00079c0:	1a000005 	bne	a00079dc <rtems_libio_share_private_env+0x54> <== NOT EXECUTED
     * If we have a current environment in place, we need to          
     * free it, since we will be sharing the variable with the        
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
a00079c4:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a00079c8:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a00079cc:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
a00079d0:	0a000004 	beq	a00079e8 <rtems_libio_share_private_env+0x60> <== NOT EXECUTED
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
a00079d4:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00079d8:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00079dc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00079e0:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a00079e4:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
a00079e8:	ebffff8b 	bl	a000781c <free_user_env>                       <== NOT EXECUTED
a00079ec:	eafffff8 	b	a00079d4 <rtems_libio_share_private_env+0x4c>   <== NOT EXECUTED
                                                                      

a000e4dc <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
a000e4dc:	e2002006 	and	r2, r0, #6                                    
a000e4e0:	e3520006 	cmp	r2, #6                                        
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
a000e4e4:	e1a03000 	mov	r3, r0                                        
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
a000e4e8:	03a00002 	moveq	r0, #2                                      
  uint32_t   flags                                                    
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
a000e4ec:	0a000002 	beq	a000e4fc <rtems_libio_to_fcntl_flags+0x20>    
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
a000e4f0:	e3130002 	tst	r3, #2                                        
    fcntl_flags |= O_RDONLY;                                          
a000e4f4:	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) {       
a000e4f8:	0a000006 	beq	a000e518 <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 ) {     
a000e4fc:	e3130001 	tst	r3, #1                                        
    fcntl_flags |= O_NONBLOCK;                                        
a000e500:	13800901 	orrne	r0, r0, #16384	; 0x4000                     
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
a000e504:	e3130c02 	tst	r3, #512	; 0x200                              
    fcntl_flags |= O_APPEND;                                          
a000e508:	13800008 	orrne	r0, r0, #8                                  
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
a000e50c:	e3130b01 	tst	r3, #1024	; 0x400                             
    fcntl_flags |= O_CREAT;                                           
a000e510:	13800c02 	orrne	r0, r0, #512	; 0x200                        
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
a000e514:	e12fff1e 	bx	lr                                             
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
a000e518:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a000e51c:	03a00000 	moveq	r0, #0                                      <== NOT EXECUTED
a000e520:	13a00001 	movne	r0, #1                                      <== NOT EXECUTED
a000e524:	eafffff4 	b	a000e4fc <rtems_libio_to_fcntl_flags+0x20>      <== NOT EXECUTED
                                                                      

a000a8b8 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
a000a8b8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
a000a8bc:	e59f3040 	ldr	r3, [pc, #64]	; a000a904 <rtems_malloc_statistics_at_free+0x4c><== NOT EXECUTED
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
a000a8c0:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a000a8c4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
a000a8c8:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a000a8cc:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a000a8d0:	eb001857 	bl	a0010a34 <_Protected_heap_Get_block_size>      <== NOT EXECUTED
a000a8d4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a8d8:	0a000007 	beq	a000a8fc <rtems_malloc_statistics_at_free+0x44><== NOT EXECUTED
    MSBUMP(lifetime_freed, size);                                     
a000a8dc:	e59f3024 	ldr	r3, [pc, #36]	; a000a908 <rtems_malloc_statistics_at_free+0x50><== NOT EXECUTED
a000a8e0:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a000a8e4:	e2832024 	add	r2, r3, #36	; 0x24                            <== NOT EXECUTED
a000a8e8:	e8920006 	ldm	r2, {r1, r2}                                  <== NOT EXECUTED
a000a8ec:	e0911000 	adds	r1, r1, r0                                   <== NOT EXECUTED
a000a8f0:	e2a22000 	adc	r2, r2, #0                                    <== NOT EXECUTED
a000a8f4:	e5831024 	str	r1, [r3, #36]	; 0x24                          <== NOT EXECUTED
a000a8f8:	e5832028 	str	r2, [r3, #40]	; 0x28                          <== NOT EXECUTED
  }                                                                   
}                                                                     
a000a8fc:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000a900:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a00127c8 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
a00127c8:	e92d4070 	push	{r4, r5, r6, lr}                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a00127cc:	e2504000 	subs	r4, r0, #0                                   
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
a00127d0:	e1a05001 	mov	r5, r1                                        
a00127d4:	e1a06002 	mov	r6, r2                                        
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a00127d8:	0a00001b 	beq	a001284c <rtems_memalign+0x84>                
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
a00127dc:	e3a03000 	mov	r3, #0                                        
a00127e0:	e5843000 	str	r3, [r4]                                      
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a00127e4:	e59f3070 	ldr	r3, [pc, #112]	; a001285c <rtems_memalign+0x94>
a00127e8:	e5933000 	ldr	r3, [r3]                                      
a00127ec:	e3530003 	cmp	r3, #3                                        
a00127f0:	0a000012 	beq	a0012840 <rtems_memalign+0x78>                
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a00127f4:	ebffd37d 	bl	a00075f0 <malloc_deferred_frees_process>       
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
a00127f8:	e59f3060 	ldr	r3, [pc, #96]	; a0012860 <rtems_memalign+0x98>
a00127fc:	e1a02005 	mov	r2, r5                                        
a0012800:	e1a01006 	mov	r1, r6                                        
a0012804:	e5930000 	ldr	r0, [r3]                                      
a0012808:	e3a03000 	mov	r3, #0                                        
a001280c:	ebffe7f1 	bl	a000c7d8 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
a0012810:	e2505000 	subs	r5, r0, #0                                   
a0012814:	0a00000e 	beq	a0012854 <rtems_memalign+0x8c>                
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0012818:	e59f3044 	ldr	r3, [pc, #68]	; a0012864 <rtems_memalign+0x9c>
a001281c:	e5933000 	ldr	r3, [r3]                                      
a0012820:	e3530000 	cmp	r3, #0                                        
a0012824:	0a000002 	beq	a0012834 <rtems_memalign+0x6c>                
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
a0012828:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a001282c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0012830:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  *pointer = return_this;                                             
a0012834:	e5845000 	str	r5, [r4]                                      
  return 0;                                                           
a0012838:	e3a00000 	mov	r0, #0                                        
a001283c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  /*                                                                  
   *  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() )                                 
a0012840:	ebffd356 	bl	a00075a0 <malloc_is_system_state_OK>           
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0012844:	e3500000 	cmp	r0, #0                                        
a0012848:	1affffe9 	bne	a00127f4 <rtems_memalign+0x2c>                
       !malloc_is_system_state_OK() )                                 
    return EINVAL;                                                    
a001284c:	e3a00016 	mov	r0, #22                                       <== NOT EXECUTED
a0012850:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
    return ENOMEM;                                                    
a0012854:	e3a0000c 	mov	r0, #12                                       <== NOT EXECUTED
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
a0012858:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0017808 <rtems_message_queue_broadcast>: rtems_id id, const void *buffer, size_t size, uint32_t *count ) {
a0017808:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  CORE_message_queue_Status       core_status;                        
                                                                      
  if ( !buffer )                                                      
a001780c:	e2516000 	subs	r6, r1, #0                                   
  rtems_id    id,                                                     
  const void *buffer,                                                 
  size_t      size,                                                   
  uint32_t   *count                                                   
)                                                                     
{                                                                     
a0017810:	e24dd00c 	sub	sp, sp, #12                                   
a0017814:	e1a04000 	mov	r4, r0                                        
a0017818:	e1a05002 	mov	r5, r2                                        
a001781c:	e1a07003 	mov	r7, r3                                        
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  CORE_message_queue_Status       core_status;                        
                                                                      
  if ( !buffer )                                                      
a0017820:	0a000016 	beq	a0017880 <rtems_message_queue_broadcast+0x78> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !count )                                                       
a0017824:	e3530000 	cmp	r3, #0                                        
a0017828:	0a000014 	beq	a0017880 <rtems_message_queue_broadcast+0x78> 
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
     _Objects_Get( &_Message_queue_Information, id, location );       
a001782c:	e59f0054 	ldr	r0, [pc, #84]	; a0017888 <rtems_message_queue_broadcast+0x80>
a0017830:	e1a01004 	mov	r1, r4                                        
a0017834:	e28d2008 	add	r2, sp, #8                                    
a0017838:	eb0014ed 	bl	a001cbf4 <_Objects_Get>                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
a001783c:	e59d3008 	ldr	r3, [sp, #8]                                  
a0017840:	e3530000 	cmp	r3, #0                                        
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
a0017844:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !count )                                                       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
a0017848:	1a00000a 	bne	a0017878 <rtems_message_queue_broadcast+0x70> 
                                                                      
    case OBJECTS_LOCAL:                                               
      core_status = _CORE_message_queue_Broadcast(                    
a001784c:	e58d3000 	str	r3, [sp]                                      
a0017850:	e1a01006 	mov	r1, r6                                        
a0017854:	e1a03004 	mov	r3, r4                                        
a0017858:	e1a02005 	mov	r2, r5                                        
a001785c:	e2800014 	add	r0, r0, #20                                   
a0017860:	e58d7004 	str	r7, [sp, #4]                                  
a0017864:	eb000dc8 	bl	a001af8c <_CORE_message_queue_Broadcast>       
a0017868:	e1a04000 	mov	r4, r0                                        
                        NULL,                                         
                      #endif                                          
                      count                                           
                    );                                                
                                                                      
      _Thread_Enable_dispatch();                                      
a001786c:	eb0017de 	bl	a001d7ec <_Thread_Enable_dispatch>             
      return                                                          
a0017870:	e1a00004 	mov	r0, r4                                        
a0017874:	eb0000d5 	bl	a0017bd0 <_Message_queue_Translate_core_message_queue_return_code>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0017878:	e28dd00c 	add	sp, sp, #12                                   
a001787c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !count )                                                       
    return RTEMS_INVALID_ADDRESS;                                     
a0017880:	e3a00009 	mov	r0, #9                                        
a0017884:	eafffffb 	b	a0017878 <rtems_message_queue_broadcast+0x70>   
                                                                      

a0011ff4 <rtems_message_queue_create>: uint32_t count, size_t max_message_size, rtems_attribute attribute_set, rtems_id *id ) {
a0011ff4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  CORE_message_queue_Attributes   the_msgq_attributes;                
#if defined(RTEMS_MULTIPROCESSING)                                    
  bool                            is_global;                          
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0011ff8:	e2507000 	subs	r7, r0, #0                                   
  uint32_t         count,                                             
  size_t           max_message_size,                                  
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
a0011ffc:	e24dd008 	sub	sp, sp, #8                                    
a0012000:	e1a04001 	mov	r4, r1                                        
a0012004:	e1a06002 	mov	r6, r2                                        
a0012008:	e59d5020 	ldr	r5, [sp, #32]                                 
#if defined(RTEMS_MULTIPROCESSING)                                    
  bool                            is_global;                          
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
a001200c:	03a00003 	moveq	r0, #3                                      
  CORE_message_queue_Attributes   the_msgq_attributes;                
#if defined(RTEMS_MULTIPROCESSING)                                    
  bool                            is_global;                          
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0012010:	0a000008 	beq	a0012038 <rtems_message_queue_create+0x44>    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
a0012014:	e3550000 	cmp	r5, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a0012018:	03a00009 	moveq	r0, #9                                      
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
a001201c:	0a000005 	beq	a0012038 <rtems_message_queue_create+0x44>    
  if ( (is_global = _Attributes_Is_global( attribute_set ) ) &&       
       !_System_state_Is_multiprocessing )                            
    return RTEMS_MP_NOT_CONFIGURED;                                   
#endif                                                                
                                                                      
  if ( count == 0 )                                                   
a0012020:	e3510000 	cmp	r1, #0                                        
      return RTEMS_INVALID_NUMBER;                                    
a0012024:	03a0000a 	moveq	r0, #10                                     
  if ( (is_global = _Attributes_Is_global( attribute_set ) ) &&       
       !_System_state_Is_multiprocessing )                            
    return RTEMS_MP_NOT_CONFIGURED;                                   
#endif                                                                
                                                                      
  if ( count == 0 )                                                   
a0012028:	0a000002 	beq	a0012038 <rtems_message_queue_create+0x44>    
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  if ( max_message_size == 0 )                                        
a001202c:	e3520000 	cmp	r2, #0                                        
      return RTEMS_INVALID_SIZE;                                      
a0012030:	03a00008 	moveq	r0, #8                                      
#endif                                                                
                                                                      
  if ( count == 0 )                                                   
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  if ( max_message_size == 0 )                                        
a0012034:	1a000001 	bne	a0012040 <rtems_message_queue_create+0x4c>    
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0012038:	e28dd008 	add	sp, sp, #8                                    
a001203c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0012040:	e59f2098 	ldr	r2, [pc, #152]	; a00120e0 <rtems_message_queue_create+0xec>
a0012044:	e5921000 	ldr	r1, [r2]                                      
a0012048:	e2811001 	add	r1, r1, #1                                    
a001204c:	e5821000 	str	r1, [r2]                                      
#endif                                                                
#endif                                                                
                                                                      
  _Thread_Disable_dispatch();              /* protects object pointer */
                                                                      
  the_message_queue = _Message_queue_Allocate();                      
a0012050:	e58d3000 	str	r3, [sp]                                      
a0012054:	eb0016f8 	bl	a0017c3c <_Message_queue_Allocate>             
                                                                      
  if ( !the_message_queue ) {                                         
a0012058:	e2508000 	subs	r8, r0, #0                                   
a001205c:	e59d3000 	ldr	r3, [sp]                                      
a0012060:	0a00001b 	beq	a00120d4 <rtems_message_queue_create+0xe0>    
  }                                                                   
#endif                                                                
                                                                      
  the_message_queue->attribute_set = attribute_set;                   
                                                                      
  if (_Attributes_Is_priority( attribute_set ) )                      
a0012064:	e2132004 	ands	r2, r3, #4                                   
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_message_queue->attribute_set = attribute_set;                   
a0012068:	e5883010 	str	r3, [r8, #16]                                 
                                                                      
  if (_Attributes_Is_priority( attribute_set ) )                      
    the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_PRIORITY;
a001206c:	13a03001 	movne	r3, #1                                      
a0012070:	158d3004 	strne	r3, [sp, #4]                                
  else                                                                
    the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;
a0012074:	058d2004 	streq	r2, [sp, #4]                                
                                                                      
  if ( ! _CORE_message_queue_Initialize(                              
a0012078:	e2880014 	add	r0, r8, #20                                   
a001207c:	e28d1004 	add	r1, sp, #4                                    
a0012080:	e1a02004 	mov	r2, r4                                        
a0012084:	e1a03006 	mov	r3, r6                                        
a0012088:	eb000477 	bl	a001326c <_CORE_message_queue_Initialize>      
a001208c:	e3500000 	cmp	r0, #0                                        
a0012090:	1a000005 	bne	a00120ac <rtems_message_queue_create+0xb8>    
 */                                                                   
RTEMS_INLINE_ROUTINE void _Message_queue_Free (                       
  Message_queue_Control *the_message_queue                            
)                                                                     
{                                                                     
  _Objects_Free( &_Message_queue_Information, &the_message_queue->Object );
a0012094:	e59f0048 	ldr	r0, [pc, #72]	; a00120e4 <rtems_message_queue_create+0xf0><== NOT EXECUTED
a0012098:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a001209c:	eb000837 	bl	a0014180 <_Objects_Free>                       <== NOT EXECUTED
        _Objects_MP_Close(                                            
          &_Message_queue_Information, the_message_queue->Object.id); 
#endif                                                                
                                                                      
    _Message_queue_Free( the_message_queue );                         
    _Thread_Enable_dispatch();                                        
a00120a0:	eb000bb5 	bl	a0014f7c <_Thread_Enable_dispatch>             <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
a00120a4:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
a00120a8:	eaffffe2 	b	a0012038 <rtems_message_queue_create+0x44>      <== NOT EXECUTED
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00120ac:	e59f2030 	ldr	r2, [pc, #48]	; a00120e4 <rtems_message_queue_create+0xf0>
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a00120b0:	e5983008 	ldr	r3, [r8, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00120b4:	e592201c 	ldr	r2, [r2, #28]                                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a00120b8:	e1a01803 	lsl	r1, r3, #16                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00120bc:	e7828721 	str	r8, [r2, r1, lsr #14]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a00120c0:	e588700c 	str	r7, [r8, #12]                                 
    &_Message_queue_Information,                                      
    &the_message_queue->Object,                                       
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_message_queue->Object.id;                                 
a00120c4:	e5853000 	str	r3, [r5]                                      
      name,                                                           
      0                                                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
a00120c8:	eb000bab 	bl	a0014f7c <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a00120cc:	e3a00000 	mov	r0, #0                                        
a00120d0:	eaffffd8 	b	a0012038 <rtems_message_queue_create+0x44>      
  _Thread_Disable_dispatch();              /* protects object pointer */
                                                                      
  the_message_queue = _Message_queue_Allocate();                      
                                                                      
  if ( !the_message_queue ) {                                         
    _Thread_Enable_dispatch();                                        
a00120d4:	eb000ba8 	bl	a0014f7c <_Thread_Enable_dispatch>             <== NOT EXECUTED
    return RTEMS_TOO_MANY;                                            
a00120d8:	e3a00005 	mov	r0, #5                                        <== NOT EXECUTED
a00120dc:	eaffffd5 	b	a0012038 <rtems_message_queue_create+0x44>      <== NOT EXECUTED
                                                                      

a0017a3c <rtems_message_queue_get_number_pending>: rtems_status_code rtems_message_queue_get_number_pending( rtems_id id, uint32_t *count ) {
a0017a3c:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
a0017a40:	e2514000 	subs	r4, r1, #0                                   <== NOT EXECUTED
                                                                      
rtems_status_code rtems_message_queue_get_number_pending(             
  rtems_id  id,                                                       
  uint32_t *count                                                     
)                                                                     
{                                                                     
a0017a44:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a0017a48:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
    return RTEMS_INVALID_ADDRESS;                                     
a0017a4c:	03a00009 	moveq	r0, #9                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
a0017a50:	0a00000a 	beq	a0017a80 <rtems_message_queue_get_number_pending+0x44><== NOT EXECUTED
a0017a54:	e59f002c 	ldr	r0, [pc, #44]	; a0017a88 <rtems_message_queue_get_number_pending+0x4c><== NOT EXECUTED
a0017a58:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0017a5c:	eb001464 	bl	a001cbf4 <_Objects_Get>                        <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
a0017a60:	e59d5000 	ldr	r5, [sp]                                      <== NOT EXECUTED
a0017a64:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0017a68:	13a00004 	movne	r0, #4                                      <== NOT EXECUTED
                                                                      
  if ( !count )                                                       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
a0017a6c:	1a000003 	bne	a0017a80 <rtems_message_queue_get_number_pending+0x44><== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      *count = the_message_queue->message_queue.number_of_pending_messages;
a0017a70:	e590305c 	ldr	r3, [r0, #92]	; 0x5c                          <== NOT EXECUTED
a0017a74:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
a0017a78:	eb00175b 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a0017a7c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0017a80:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0017a84:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a001211c <rtems_message_queue_receive>: void *buffer, size_t *size, rtems_option option_set, rtems_interval timeout ) {
a001211c:	e92d4070 	push	{r4, r5, r6, lr}                             
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  bool                            wait;                               
                                                                      
  if ( !buffer )                                                      
a0012120:	e2515000 	subs	r5, r1, #0                                   
  void           *buffer,                                             
  size_t         *size,                                               
  rtems_option    option_set,                                         
  rtems_interval  timeout                                             
)                                                                     
{                                                                     
a0012124:	e24dd00c 	sub	sp, sp, #12                                   
a0012128:	e1a01000 	mov	r1, r0                                        
a001212c:	e1a04002 	mov	r4, r2                                        
a0012130:	e1a06003 	mov	r6, r3                                        
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  bool                            wait;                               
                                                                      
  if ( !buffer )                                                      
a0012134:	0a000019 	beq	a00121a0 <rtems_message_queue_receive+0x84>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
a0012138:	e3520000 	cmp	r2, #0                                        
a001213c:	0a000017 	beq	a00121a0 <rtems_message_queue_receive+0x84>   
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
     _Objects_Get( &_Message_queue_Information, id, location );       
a0012140:	e59f0060 	ldr	r0, [pc, #96]	; a00121a8 <rtems_message_queue_receive+0x8c>
a0012144:	e28d2008 	add	r2, sp, #8                                    
a0012148:	eb000865 	bl	a00142e4 <_Objects_Get>                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
a001214c:	e59d3008 	ldr	r3, [sp, #8]                                  
a0012150:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0012154:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !size )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
a0012158:	1a00000e 	bne	a0012198 <rtems_message_queue_receive+0x7c>   
      if ( _Options_Is_no_wait( option_set ) )                        
        wait = false;                                                 
      else                                                            
        wait = true;                                                  
                                                                      
      _CORE_message_queue_Seize(                                      
a001215c:	e59d301c 	ldr	r3, [sp, #28]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Options_Is_no_wait (                       
  rtems_option option_set                                             
)                                                                     
{                                                                     
   return (option_set & RTEMS_NO_WAIT) ? true : false;                
a0012160:	e2066001 	and	r6, r6, #1                                    
a0012164:	e5901008 	ldr	r1, [r0, #8]                                  
a0012168:	e1a02005 	mov	r2, r5                                        
a001216c:	e2800014 	add	r0, r0, #20                                   
a0012170:	e58d3004 	str	r3, [sp, #4]                                  
a0012174:	e2266001 	eor	r6, r6, #1                                    
a0012178:	e1a03004 	mov	r3, r4                                        
a001217c:	e58d6000 	str	r6, [sp]                                      
a0012180:	eb00046a 	bl	a0013330 <_CORE_message_queue_Seize>           
        buffer,                                                       
        size,                                                         
        wait,                                                         
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
a0012184:	eb000b7c 	bl	a0014f7c <_Thread_Enable_dispatch>             
      return _Message_queue_Translate_core_message_queue_return_code( 
        _Thread_Executing->Wait.return_code                           
a0012188:	e59f301c 	ldr	r3, [pc, #28]	; a00121ac <rtems_message_queue_receive+0x90>
a001218c:	e5933004 	ldr	r3, [r3, #4]                                  
        size,                                                         
        wait,                                                         
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
      return _Message_queue_Translate_core_message_queue_return_code( 
a0012190:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
a0012194:	eb000024 	bl	a001222c <_Message_queue_Translate_core_message_queue_return_code>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0012198:	e28dd00c 	add	sp, sp, #12                                   
a001219c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
a00121a0:	e3a00009 	mov	r0, #9                                        
a00121a4:	eafffffb 	b	a0012198 <rtems_message_queue_receive+0x7c>     
                                                                      

a000b7b8 <rtems_object_api_maximum_class>: int rtems_object_api_maximum_class( int api ) { return _Objects_API_maximum_class(api);
a000b7b8:	ea000639 	b	a000d0a4 <_Objects_API_maximum_class>           <== NOT EXECUTED
                                                                      

a000b7bc <rtems_object_api_minimum_class>: */ RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid( uint32_t the_api ) { if ( !the_api || the_api > OBJECTS_APIS_LAST )
a000b7bc:	e2400001 	sub	r0, r0, #1                                    <== NOT EXECUTED
  uint32_t api                                                        
)                                                                     
{                                                                     
  if ( _Objects_Is_api_valid( api ) )                                 
    return 1;                                                         
  return -1;                                                          
a000b7c0:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
}                                                                     
a000b7c4:	33a00001 	movcc	r0, #1                                      <== NOT EXECUTED
a000b7c8:	23e00000 	mvncs	r0, #0                                      <== NOT EXECUTED
a000b7cc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b7d0 <rtems_object_get_api_class_name>: ) { const rtems_assoc_t *api_assoc; const rtems_assoc_t *class_assoc; if ( the_api == OBJECTS_INTERNAL_API )
a000b7d0:	e3500001 	cmp	r0, #1                                        <== NOT EXECUTED
                                                                      
const char *rtems_object_get_api_class_name(                          
  int the_api,                                                        
  int the_class                                                       
)                                                                     
{                                                                     
a000b7d4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *api_assoc;                                     
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
a000b7d8:	0a000004 	beq	a000b7f0 <rtems_object_get_api_class_name+0x20><== NOT EXECUTED
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
a000b7dc:	e3500002 	cmp	r0, #2                                        <== NOT EXECUTED
    api_assoc = rtems_object_api_classic_assoc;                       
a000b7e0:	059f0024 	ldreq	r0, [pc, #36]	; a000b80c <rtems_object_get_api_class_name+0x3c><== NOT EXECUTED
  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;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
a000b7e4:	0a000002 	beq	a000b7f4 <rtems_object_get_api_class_name+0x24><== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  else if ( the_api == OBJECTS_POSIX_API )                            
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
a000b7e8:	e59f0020 	ldr	r0, [pc, #32]	; a000b810 <rtems_object_get_api_class_name+0x40><== NOT EXECUTED
a000b7ec:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  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;                      
a000b7f0:	e59f001c 	ldr	r0, [pc, #28]	; a000b814 <rtems_object_get_api_class_name+0x44><== NOT EXECUTED
  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 );     
a000b7f4:	eb0013ca 	bl	a0010724 <rtems_assoc_ptr_by_local>            <== NOT EXECUTED
  if ( class_assoc )                                                  
a000b7f8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return class_assoc->name;                                         
a000b7fc:	15900000 	ldrne	r0, [r0]                                    <== NOT EXECUTED
    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 )                                                  
a000b800:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                <== NOT EXECUTED
    return class_assoc->name;                                         
  return "BAD CLASS";                                                 
a000b804:	e59f000c 	ldr	r0, [pc, #12]	; a000b818 <rtems_object_get_api_class_name+0x48><== NOT EXECUTED
}                                                                     
a000b808:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000b81c <rtems_object_get_api_name>: }; const char *rtems_object_get_api_name( int api ) {
a000b81c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000b820:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *api_assoc;                                     
                                                                      
  api_assoc = rtems_assoc_ptr_by_local( rtems_objects_api_assoc, api );
a000b824:	e59f0010 	ldr	r0, [pc, #16]	; a000b83c <rtems_object_get_api_name+0x20><== NOT EXECUTED
a000b828:	eb0013bd 	bl	a0010724 <rtems_assoc_ptr_by_local>            <== NOT EXECUTED
  if ( api_assoc )                                                    
a000b82c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return api_assoc->name;                                           
a000b830:	15900000 	ldrne	r0, [r0]                                    <== NOT EXECUTED
  return "BAD CLASS";                                                 
a000b834:	059f0004 	ldreq	r0, [pc, #4]	; a000b840 <rtems_object_get_api_name+0x24><== NOT EXECUTED
}                                                                     
a000b838:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000b87c <rtems_object_get_class_information>: rtems_status_code rtems_object_get_class_information( int the_api, int the_class, rtems_object_api_class_information *info ) {
a000b87c:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
a000b880:	e2524000 	subs	r4, r2, #0                                   <== NOT EXECUTED
a000b884:	0a00001c 	beq	a000b8fc <rtems_object_get_class_information+0x80><== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
a000b888:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
a000b88c:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
a000b890:	eb0006e4 	bl	a000d428 <_Objects_Get_information>            <== NOT EXECUTED
  if ( !obj_info )                                                    
a000b894:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b898:	0a000019 	beq	a000b904 <rtems_object_get_class_information+0x88><== NOT EXECUTED
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
a000b89c:	e1d0c1b0 	ldrh	ip, [r0, #16]                                <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
a000b8a0:	e5901008 	ldr	r1, [r0, #8]                                  <== NOT EXECUTED
  info->maximum_id  = obj_info->maximum_id;                           
a000b8a4:	e590200c 	ldr	r2, [r0, #12]                                 <== NOT EXECUTED
  info->auto_extend = obj_info->auto_extend;                          
a000b8a8:	e5d03012 	ldrb	r3, [r0, #18]                                <== NOT EXECUTED
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
a000b8ac:	e35c0000 	cmp	ip, #0                                        <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
a000b8b0:	e8840006 	stm	r4, {r1, r2}                                  <== NOT EXECUTED
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
a000b8b4:	e5c4300c 	strb	r3, [r4, #12]                                <== NOT EXECUTED
  info->maximum     = obj_info->maximum;                              
a000b8b8:	e584c008 	str	ip, [r4, #8]                                  <== NOT EXECUTED
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
a000b8bc:	01a0500c 	moveq	r5, ip                                      <== NOT EXECUTED
a000b8c0:	0a00000a 	beq	a000b8f0 <rtems_object_get_class_information+0x74><== NOT EXECUTED
a000b8c4:	e590001c 	ldr	r0, [r0, #28]                                 <== NOT EXECUTED
a000b8c8:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a000b8cc:	e1a03002 	mov	r3, r2                                        <== NOT EXECUTED
a000b8d0:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
    if ( !obj_info->local_table[i] )                                  
a000b8d4:	e7901102 	ldr	r1, [r0, r2, lsl #2]                          <== NOT EXECUTED
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
a000b8d8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000b8dc:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
    if ( !obj_info->local_table[i] )                                  
a000b8e0:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
      unallocated++;                                                  
a000b8e4:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
a000b8e8:	e15c0003 	cmp	ip, r3                                        <== NOT EXECUTED
a000b8ec:	2afffff8 	bcs	a000b8d4 <rtems_object_get_class_information+0x58><== NOT EXECUTED
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
a000b8f0:	e5845010 	str	r5, [r4, #16]                                 <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000b8f4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000b8f8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
a000b8fc:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
a000b900:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  if ( !obj_info )                                                    
    return RTEMS_INVALID_NUMBER;                                      
a000b904:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000b908:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000af74 <rtems_object_get_name>: Objects_Id id, size_t length, char *name ) { return _Objects_Get_name_as_string( id, length, name );
a000af74:	ea0007a1 	b	a000ce00 <_Objects_Get_name_as_string>          <== NOT EXECUTED
                                                                      

a000b910 <rtems_object_id_api_maximum>: #undef rtems_object_id_api_maximum int rtems_object_id_api_maximum(void) { return OBJECTS_APIS_LAST; }
a000b910:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a000b914:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b918 <rtems_object_id_api_minimum>: #undef rtems_object_id_api_minimum int rtems_object_id_api_minimum(void) { return OBJECTS_INTERNAL_API; }
a000b918:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000b91c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b920 <rtems_object_id_get_api>: */ RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API( Objects_Id id ) { return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
a000b920:	e1a00c20 	lsr	r0, r0, #24                                   <== NOT EXECUTED
int rtems_object_id_get_api(                                          
  rtems_id id                                                         
)                                                                     
{                                                                     
  return _Objects_Get_API( id );                                      
}                                                                     
a000b924:	e2000007 	and	r0, r0, #7                                    <== NOT EXECUTED
a000b928:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b92c <rtems_object_id_get_class>: int rtems_object_id_get_class( rtems_id id ) { return _Objects_Get_class( id ); }
a000b92c:	e1a00da0 	lsr	r0, r0, #27                                   <== NOT EXECUTED
a000b930:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b934 <rtems_object_id_get_index>: #undef rtems_object_id_get_index int rtems_object_id_get_index( rtems_id id ) { return _Objects_Get_index( id );
a000b934:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
}                                                                     
a000b938:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a000b93c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b940 <rtems_object_id_get_node>: * be a single processor system. */ #if defined(RTEMS_USE_16_BIT_OBJECT) return 1; #else return (id >> OBJECTS_NODE_START_BIT) & OBJECTS_NODE_VALID_BITS;
a000b940:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
int rtems_object_id_get_node(                                         
  rtems_id id                                                         
)                                                                     
{                                                                     
  return _Objects_Get_node( id );                                     
}                                                                     
a000b944:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
a000b948:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000b94c <rtems_object_set_name>: */ rtems_status_code rtems_object_set_name( rtems_id id, const char *name ) {
a000b94c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  Objects_Information *information;                                   
  Objects_Locations    location;                                      
  Objects_Control     *the_object;                                    
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
a000b950:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
 */                                                                   
rtems_status_code rtems_object_set_name(                              
  rtems_id       id,                                                  
  const char    *name                                                 
)                                                                     
{                                                                     
a000b954:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  Objects_Locations    location;                                      
  Objects_Control     *the_object;                                    
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
a000b958:	03a00009 	moveq	r0, #9                                      <== NOT EXECUTED
  Objects_Information *information;                                   
  Objects_Locations    location;                                      
  Objects_Control     *the_object;                                    
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
a000b95c:	0a000010 	beq	a000b9a4 <rtems_object_set_name+0x58>         <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
a000b960:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b964:	059f3058 	ldreq	r3, [pc, #88]	; a000b9c4 <rtems_object_set_name+0x78><== NOT EXECUTED
a000b968:	11a04000 	movne	r4, r0                                      <== NOT EXECUTED
a000b96c:	05933004 	ldreq	r3, [r3, #4]                                <== NOT EXECUTED
a000b970:	05934008 	ldreq	r4, [r3, #8]                                <== NOT EXECUTED
                                                                      
  information  = _Objects_Get_information_id( tmpId );                
a000b974:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000b978:	eb0006a5 	bl	a000d414 <_Objects_Get_information_id>         <== NOT EXECUTED
  if ( !information )                                                 
a000b97c:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a000b980:	0a000006 	beq	a000b9a0 <rtems_object_set_name+0x54>         <== NOT EXECUTED
    return RTEMS_INVALID_ID;                                          
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
a000b984:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000b988:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a000b98c:	eb00071c 	bl	a000d604 <_Objects_Get>                        <== NOT EXECUTED
  switch ( location ) {                                               
a000b990:	e59d4000 	ldr	r4, [sp]                                      <== NOT EXECUTED
                                                                      
  information  = _Objects_Get_information_id( tmpId );                
  if ( !information )                                                 
    return RTEMS_INVALID_ID;                                          
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
a000b994:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  switch ( location ) {                                               
a000b998:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a000b99c:	0a000002 	beq	a000b9ac <rtems_object_set_name+0x60>         <== NOT EXECUTED
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000b9a0:	e3a00004 	mov	r0, #4                                        <== NOT EXECUTED
}                                                                     
a000b9a4:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000b9a8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Set_name( information, the_object, name );             
a000b9ac:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a000b9b0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000b9b4:	eb00078e 	bl	a000d7f4 <_Objects_Set_name>                   <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
a000b9b8:	eb000a2f 	bl	a000e27c <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a000b9bc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000b9c0:	eafffff7 	b	a000b9a4 <rtems_object_set_name+0x58>           <== NOT EXECUTED
                                                                      

a0017c5c <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
a0017c5c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0017c60:	e2506000 	subs	r6, r0, #0                                   
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
a0017c64:	e24dd008 	sub	sp, sp, #8                                    
a0017c68:	e1a04001 	mov	r4, r1                                        
a0017c6c:	e59d502c 	ldr	r5, [sp, #44]	; 0x2c                          
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
a0017c70:	03a00003 	moveq	r0, #3                                      
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0017c74:	0a000031 	beq	a0017d40 <rtems_partition_create+0xe4>        
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
a0017c78:	e3510000 	cmp	r1, #0                                        
a0017c7c:	0a000033 	beq	a0017d50 <rtems_partition_create+0xf4>        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
a0017c80:	e3550000 	cmp	r5, #0                                        
a0017c84:	0a000031 	beq	a0017d50 <rtems_partition_create+0xf4>        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
a0017c88:	e3520000 	cmp	r2, #0                                        
a0017c8c:	13530000 	cmpne	r3, #0                                      
a0017c90:	0a00002c 	beq	a0017d48 <rtems_partition_create+0xec>        
a0017c94:	e1520003 	cmp	r2, r3                                        
a0017c98:	3a00002a 	bcc	a0017d48 <rtems_partition_create+0xec>        
a0017c9c:	e3130007 	tst	r3, #7                                        
a0017ca0:	1a000028 	bne	a0017d48 <rtems_partition_create+0xec>        
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
a0017ca4:	e2118007 	ands	r8, r1, #7                                   
a0017ca8:	1a000028 	bne	a0017d50 <rtems_partition_create+0xf4>        
a0017cac:	e59f10b0 	ldr	r1, [pc, #176]	; a0017d64 <rtems_partition_create+0x108>
a0017cb0:	e5910000 	ldr	r0, [r1]                                      
a0017cb4:	e2800001 	add	r0, r0, #1                                    
a0017cb8:	e5810000 	str	r0, [r1]                                      
 *  This function allocates a partition control block from            
 *  the inactive chain of free partition control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void )  
{                                                                     
  return (Partition_Control *) _Objects_Allocate( &_Partition_Information );
a0017cbc:	e59fa0a4 	ldr	sl, [pc, #164]	; a0017d68 <rtems_partition_create+0x10c>
a0017cc0:	e58d2004 	str	r2, [sp, #4]                                  
a0017cc4:	e58d3000 	str	r3, [sp]                                      
a0017cc8:	e1a0000a 	mov	r0, sl                                        
a0017ccc:	eb001283 	bl	a001c6e0 <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
a0017cd0:	e2507000 	subs	r7, r0, #0                                   
a0017cd4:	e59d2004 	ldr	r2, [sp, #4]                                  
a0017cd8:	e59d3000 	ldr	r3, [sp]                                      
a0017cdc:	0a00001d 	beq	a0017d58 <rtems_partition_create+0xfc>        
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
a0017ce0:	e59d1028 	ldr	r1, [sp, #40]	; 0x28                          
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
a0017ce4:	e5872014 	str	r2, [r7, #20]                                 
  the_partition->buffer_size           = buffer_size;                 
a0017ce8:	e5873018 	str	r3, [r7, #24]                                 
  the_partition->attribute_set         = attribute_set;               
a0017cec:	e587101c 	str	r1, [r7, #28]                                 
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
a0017cf0:	e5874010 	str	r4, [r7, #16]                                 
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
a0017cf4:	e1a01003 	mov	r1, r3                                        
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
a0017cf8:	e5878020 	str	r8, [r7, #32]                                 
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
a0017cfc:	e1a00002 	mov	r0, r2                                        
a0017d00:	e58d3000 	str	r3, [sp]                                      
a0017d04:	eb005d9f 	bl	a002f388 <__aeabi_uidiv>                       
a0017d08:	e2879024 	add	r9, r7, #36	; 0x24                            
a0017d0c:	e1a02000 	mov	r2, r0                                        
a0017d10:	e1a01004 	mov	r1, r4                                        
a0017d14:	e1a00009 	mov	r0, r9                                        
a0017d18:	e59d3000 	ldr	r3, [sp]                                      
a0017d1c:	eb000c81 	bl	a001af28 <_Chain_Initialize>                   
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a0017d20:	e5973008 	ldr	r3, [r7, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0017d24:	e59a201c 	ldr	r2, [sl, #28]                                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a0017d28:	e1a01803 	lsl	r1, r3, #16                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0017d2c:	e7827721 	str	r7, [r2, r1, lsr #14]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a0017d30:	e587600c 	str	r6, [r7, #12]                                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
a0017d34:	e5853000 	str	r3, [r5]                                      
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
a0017d38:	eb0016ab 	bl	a001d7ec <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a0017d3c:	e1a00008 	mov	r0, r8                                        
}                                                                     
a0017d40:	e28dd008 	add	sp, sp, #8                                    
a0017d44:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
a0017d48:	e3a00008 	mov	r0, #8                                        <== NOT EXECUTED
a0017d4c:	eafffffb 	b	a0017d40 <rtems_partition_create+0xe4>          <== NOT EXECUTED
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
     return RTEMS_INVALID_ADDRESS;                                    
a0017d50:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
a0017d54:	eafffff9 	b	a0017d40 <rtems_partition_create+0xe4>          <== NOT EXECUTED
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
a0017d58:	eb0016a3 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
    return RTEMS_TOO_MANY;                                            
a0017d5c:	e3a00005 	mov	r0, #5                                        <== NOT EXECUTED
a0017d60:	eafffff6 	b	a0017d40 <rtems_partition_create+0xe4>          <== NOT EXECUTED
                                                                      

a0017d6c <rtems_partition_delete>: */ rtems_status_code rtems_partition_delete( rtems_id id ) {
a0017d6c:	e92d4030 	push	{r4, r5, lr}                                 
a0017d70:	e24dd004 	sub	sp, sp, #4                                    
a0017d74:	e1a01000 	mov	r1, r0                                        
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
a0017d78:	e1a0200d 	mov	r2, sp                                        
a0017d7c:	e59f0054 	ldr	r0, [pc, #84]	; a0017dd8 <rtems_partition_delete+0x6c>
a0017d80:	eb00139b 	bl	a001cbf4 <_Objects_Get>                        
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
a0017d84:	e59d3000 	ldr	r3, [sp]                                      
a0017d88:	e1a04000 	mov	r4, r0                                        
a0017d8c:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0017d90:	13a00004 	movne	r0, #4                                      
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
a0017d94:	1a000004 	bne	a0017dac <rtems_partition_delete+0x40>        
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_partition->number_of_used_blocks == 0 ) {              
a0017d98:	e5945020 	ldr	r5, [r4, #32]                                 
a0017d9c:	e3550000 	cmp	r5, #0                                        
a0017da0:	0a000003 	beq	a0017db4 <rtems_partition_delete+0x48>        
#endif                                                                
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
a0017da4:	eb001690 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_RESOURCE_IN_USE;                                   
a0017da8:	e3a0000c 	mov	r0, #12                                       <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0017dac:	e28dd004 	add	sp, sp, #4                                    
a0017db0:	e8bd8030 	pop	{r4, r5, pc}                                  
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_partition->number_of_used_blocks == 0 ) {              
        _Objects_Close( &_Partition_Information, &the_partition->Object );
a0017db4:	e1a01004 	mov	r1, r4                                        
a0017db8:	e59f0018 	ldr	r0, [pc, #24]	; a0017dd8 <rtems_partition_delete+0x6c>
a0017dbc:	eb00126c 	bl	a001c774 <_Objects_Close>                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Partition_Free (                           
   Partition_Control *the_partition                                   
)                                                                     
{                                                                     
  _Objects_Free( &_Partition_Information, &the_partition->Object );   
a0017dc0:	e59f0010 	ldr	r0, [pc, #16]	; a0017dd8 <rtems_partition_delete+0x6c>
a0017dc4:	e1a01004 	mov	r1, r4                                        
a0017dc8:	eb001320 	bl	a001ca50 <_Objects_Free>                       
            0                          /* Not used */                 
          );                                                          
        }                                                             
#endif                                                                
                                                                      
        _Thread_Enable_dispatch();                                    
a0017dcc:	eb001686 	bl	a001d7ec <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a0017dd0:	e1a00005 	mov	r0, r5                                        
a0017dd4:	eafffff4 	b	a0017dac <rtems_partition_delete+0x40>          
                                                                      

a0017e88 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
a0017e88:	e92d4070 	push	{r4, r5, r6, lr}                             
a0017e8c:	e1a03000 	mov	r3, r0                                        
a0017e90:	e24dd004 	sub	sp, sp, #4                                    
a0017e94:	e1a04001 	mov	r4, r1                                        
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
a0017e98:	e59f008c 	ldr	r0, [pc, #140]	; a0017f2c <rtems_partition_return_buffer+0xa4>
a0017e9c:	e1a01003 	mov	r1, r3                                        
a0017ea0:	e1a0200d 	mov	r2, sp                                        
a0017ea4:	eb001352 	bl	a001cbf4 <_Objects_Get>                        
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
a0017ea8:	e59d3000 	ldr	r3, [sp]                                      
a0017eac:	e1a05000 	mov	r5, r0                                        
a0017eb0:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0017eb4:	13a00004 	movne	r0, #4                                      
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
a0017eb8:	1a000016 	bne	a0017f18 <rtems_partition_return_buffer+0x90> 
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
a0017ebc:	e5950010 	ldr	r0, [r5, #16]                                 
a0017ec0:	e5953014 	ldr	r3, [r5, #20]                                 
a0017ec4:	e0803003 	add	r3, r0, r3                                    
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
a0017ec8:	e1540003 	cmp	r4, r3                                        
a0017ecc:	83a03000 	movhi	r3, #0                                      
a0017ed0:	93a03001 	movls	r3, #1                                      
a0017ed4:	e1540000 	cmp	r4, r0                                        
a0017ed8:	33a03000 	movcc	r3, #0                                      
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
a0017edc:	e3530000 	cmp	r3, #0                                        
a0017ee0:	0a00000e 	beq	a0017f20 <rtems_partition_return_buffer+0x98> 
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
a0017ee4:	e0600004 	rsb	r0, r0, r4                                    
a0017ee8:	e5951018 	ldr	r1, [r5, #24]                                 
a0017eec:	eb005d6b 	bl	a002f4a0 <__umodsi3>                           
                                                                      
  starting = the_partition->starting_address;                         
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
a0017ef0:	e2506000 	subs	r6, r0, #0                                   
a0017ef4:	1a000009 	bne	a0017f20 <rtems_partition_return_buffer+0x98> 
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
a0017ef8:	e2850024 	add	r0, r5, #36	; 0x24                            
a0017efc:	e1a01004 	mov	r1, r4                                        
a0017f00:	eb000be8 	bl	a001aea8 <_Chain_Append>                       
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
a0017f04:	e5953020 	ldr	r3, [r5, #32]                                 
a0017f08:	e2433001 	sub	r3, r3, #1                                    
a0017f0c:	e5853020 	str	r3, [r5, #32]                                 
        _Thread_Enable_dispatch();                                    
a0017f10:	eb001635 	bl	a001d7ec <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a0017f14:	e1a00006 	mov	r0, r6                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0017f18:	e28dd004 	add	sp, sp, #4                                    
a0017f1c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
a0017f20:	eb001631 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_INVALID_ADDRESS;                                   
a0017f24:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
a0017f28:	eafffffa 	b	a0017f18 <rtems_partition_return_buffer+0x90>   <== NOT EXECUTED
                                                                      

a001724c <rtems_port_create>: void *internal_start, void *external_start, uint32_t length, rtems_id *id ) {
a001724c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  register Dual_ported_memory_Control *the_port;                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0017250:	e2504000 	subs	r4, r0, #0                                   
  void         *internal_start,                                       
  void         *external_start,                                       
  uint32_t      length,                                               
  rtems_id     *id                                                    
)                                                                     
{                                                                     
a0017254:	e24dd00c 	sub	sp, sp, #12                                   
a0017258:	e59d5020 	ldr	r5, [sp, #32]                                 
  register Dual_ported_memory_Control *the_port;                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
a001725c:	03a00003 	moveq	r0, #3                                      
  rtems_id     *id                                                    
)                                                                     
{                                                                     
  register Dual_ported_memory_Control *the_port;                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0017260:	0a000005 	beq	a001727c <rtems_port_create+0x30>             
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
a0017264:	e3550000 	cmp	r5, #0                                        
a0017268:	0a000002 	beq	a0017278 <rtems_port_create+0x2c>             
 *    id       - port id                                              
 *    RTEMS_SUCCESSFUL - if successful                                
 *    error code - if unsuccessful                                    
 */                                                                   
                                                                      
rtems_status_code rtems_port_create(                                  
a001726c:	e1826001 	orr	r6, r2, r1                                    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_Addresses_Is_aligned( internal_start ) ||                    
a0017270:	e2166007 	ands	r6, r6, #7                                   
a0017274:	0a000002 	beq	a0017284 <rtems_port_create+0x38>             
       !_Addresses_Is_aligned( external_start ) )                     
    return RTEMS_INVALID_ADDRESS;                                     
a0017278:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a001727c:	e28dd00c 	add	sp, sp, #12                                   
a0017280:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0017284:	e59f0074 	ldr	r0, [pc, #116]	; a0017300 <rtems_port_create+0xb4>
a0017288:	e590c000 	ldr	ip, [r0]                                      
a001728c:	e28cc001 	add	ip, ip, #1                                    
a0017290:	e580c000 	str	ip, [r0]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Dual_ported_memory_Control                       
   *_Dual_ported_memory_Allocate ( void )                             
{                                                                     
  return (Dual_ported_memory_Control *)                               
     _Objects_Allocate( &_Dual_ported_memory_Information );           
a0017294:	e59f7068 	ldr	r7, [pc, #104]	; a0017304 <rtems_port_create+0xb8>
a0017298:	e58d1008 	str	r1, [sp, #8]                                  
a001729c:	e58d2004 	str	r2, [sp, #4]                                  
a00172a0:	e1a00007 	mov	r0, r7                                        
a00172a4:	e58d3000 	str	r3, [sp]                                      
a00172a8:	eb00150c 	bl	a001c6e0 <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();             /* to prevent deletion */   
                                                                      
  the_port = _Dual_ported_memory_Allocate();                          
                                                                      
  if ( !the_port ) {                                                  
a00172ac:	e3500000 	cmp	r0, #0                                        
a00172b0:	e59d1008 	ldr	r1, [sp, #8]                                  
a00172b4:	e59d2004 	ldr	r2, [sp, #4]                                  
a00172b8:	e59d3000 	ldr	r3, [sp]                                      
a00172bc:	0a00000c 	beq	a00172f4 <rtems_port_create+0xa8>             
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a00172c0:	e590c008 	ldr	ip, [r0, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00172c4:	e597e01c 	ldr	lr, [r7, #28]                                 
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_port->internal_base = internal_start;                           
  the_port->external_base = external_start;                           
  the_port->length        = length - 1;                               
a00172c8:	e2433001 	sub	r3, r3, #1                                    
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a00172cc:	e1a0780c 	lsl	r7, ip, #16                                   
  if ( !the_port ) {                                                  
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_port->internal_base = internal_start;                           
a00172d0:	e5801010 	str	r1, [r0, #16]                                 
  the_port->external_base = external_start;                           
a00172d4:	e5802014 	str	r2, [r0, #20]                                 
  the_port->length        = length - 1;                               
a00172d8:	e5803018 	str	r3, [r0, #24]                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00172dc:	e78e0727 	str	r0, [lr, r7, lsr #14]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a00172e0:	e580400c 	str	r4, [r0, #12]                                 
    &_Dual_ported_memory_Information,                                 
    &the_port->Object,                                                
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
a00172e4:	e585c000 	str	ip, [r5]                                      
  _Thread_Enable_dispatch();                                          
a00172e8:	eb00193f 	bl	a001d7ec <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a00172ec:	e1a00006 	mov	r0, r6                                        
a00172f0:	eaffffe1 	b	a001727c <rtems_port_create+0x30>               
  _Thread_Disable_dispatch();             /* to prevent deletion */   
                                                                      
  the_port = _Dual_ported_memory_Allocate();                          
                                                                      
  if ( !the_port ) {                                                  
    _Thread_Enable_dispatch();                                        
a00172f4:	eb00193c 	bl	a001d7ec <_Thread_Enable_dispatch>             
    return RTEMS_TOO_MANY;                                            
a00172f8:	e3a00005 	mov	r0, #5                                        
a00172fc:	eaffffde 	b	a001727c <rtems_port_create+0x30>               
                                                                      

a0005a98 <rtems_print_buffer>: void rtems_print_buffer( const unsigned char *buffer, int length ) {
a0005a98:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
a0005a9c:	e3510000 	cmp	r1, #0                                        
                                                                      
void rtems_print_buffer(                                              
  const unsigned char *buffer,                                        
  int                  length                                         
)                                                                     
{                                                                     
a0005aa0:	e24dd084 	sub	sp, sp, #132	; 0x84                           
a0005aa4:	e58d0004 	str	r0, [sp, #4]                                  
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
a0005aa8:	0a00003f 	beq	a0005bac <rtems_print_buffer+0x114>           
                                                                      
  mod = length % 16;                                                  
a0005aac:	e1a03fc1 	asr	r3, r1, #31                                   
a0005ab0:	e1a03e23 	lsr	r3, r3, #28                                   
a0005ab4:	e0819003 	add	r9, r1, r3                                    
a0005ab8:	e209900f 	and	r9, r9, #15                                   
a0005abc:	e0639009 	rsb	r9, r3, r9                                    
                                                                      
  max = length - mod;                                                 
a0005ac0:	e0691001 	rsb	r1, r9, r1                                    
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
a0005ac4:	e3510000 	cmp	r1, #0                                        
                                                                      
  if ( !length ) return;                                              
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
a0005ac8:	e58d1000 	str	r1, [sp]                                      
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
a0005acc:	da000034 	ble	a0005ba4 <rtems_print_buffer+0x10c>           
a0005ad0:	e59f7238 	ldr	r7, [pc, #568]	; a0005d10 <rtems_print_buffer+0x278>
a0005ad4:	e3a08000 	mov	r8, #0                                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0005ad8:	e58d9008 	str	r9, [sp, #8]                                  
a0005adc:	e28d400c 	add	r4, sp, #12                                   
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
a0005ae0:	e1a0a008 	mov	sl, r8                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0005ae4:	e3a0b07c 	mov	fp, #124	; 0x7c                               
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0005ae8:	e1a09000 	mov	r9, r0                                        
static inline void Dump_Line(                                         
  const unsigned char *buffer,                                        
  int                  length                                         
);                                                                    
                                                                      
void rtems_print_buffer(                                              
a0005aec:	e0896008 	add	r6, r9, r8                                    
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
a0005af0:	e5cda00c 	strb	sl, [sp, #12]                                
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0005af4:	e3a05000 	mov	r5, #0                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0005af8:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0005afc:	e1a00004 	mov	r0, r4                                        
a0005b00:	e59f120c 	ldr	r1, [pc, #524]	; a0005d14 <rtems_print_buffer+0x27c>
a0005b04:	e1a02004 	mov	r2, r4                                        
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0005b08:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0005b0c:	eb0030cb 	bl	a0011e40 <sprintf>                             
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0005b10:	e3550010 	cmp	r5, #16                                       
a0005b14:	1afffff7 	bne	a0005af8 <rtems_print_buffer+0x60>            
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0005b18:	e1a00004 	mov	r0, r4                                        
a0005b1c:	eb0031fe 	bl	a001231c <strlen>                              
a0005b20:	e0843000 	add	r3, r4, r0                                    
a0005b24:	e7c4b000 	strb	fp, [r4, r0]                                 
  for( i=0 ; i<length ; i++ )                                         
a0005b28:	e3a05000 	mov	r5, #0                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0005b2c:	e5c3a001 	strb	sl, [r3, #1]                                 
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0005b30:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0005b34:	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,                        
a0005b38:	e1a00004 	mov	r0, r4                                        
a0005b3c:	e59f11d4 	ldr	r1, [pc, #468]	; a0005d18 <rtems_print_buffer+0x280>
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0005b40:	e0822003 	add	r2, r2, r3                                    
a0005b44:	e5d2c001 	ldrb	ip, [r2, #1]                                 
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0005b48:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%c", line_buffer,                        
a0005b4c:	e1a02004 	mov	r2, r4                                        
a0005b50:	e31c0097 	tst	ip, #151	; 0x97                               
a0005b54:	03a0302e 	moveq	r3, #46	; 0x2e                              
a0005b58:	eb0030b8 	bl	a0011e40 <sprintf>                             
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0005b5c:	e3550010 	cmp	r5, #16                                       
a0005b60:	1afffff2 	bne	a0005b30 <rtems_print_buffer+0x98>            
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0005b64:	e1a00004 	mov	r0, r4                                        
a0005b68:	eb0031eb 	bl	a001231c <strlen>                              
a0005b6c:	e0843000 	add	r3, r4, r0                                    
a0005b70:	e1a02000 	mov	r2, r0                                        
a0005b74:	e7c4b002 	strb	fp, [r4, r2]                                 
a0005b78:	e2831002 	add	r1, r3, #2                                    
a0005b7c:	e3a0200a 	mov	r2, #10                                       
a0005b80:	e5c32001 	strb	r2, [r3, #1]                                 
                                                                      
  printk( line_buffer );                                              
a0005b84:	e1a00004 	mov	r0, r4                                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0005b88:	e5c1a000 	strb	sl, [r1]                                     
                                                                      
  printk( line_buffer );                                              
a0005b8c:	eb000651 	bl	a00074d8 <printk>                              
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
a0005b90:	e59d3000 	ldr	r3, [sp]                                      
a0005b94:	e2888010 	add	r8, r8, #16                                   
a0005b98:	e1530008 	cmp	r3, r8                                        
a0005b9c:	caffffd2 	bgt	a0005aec <rtems_print_buffer+0x54>            
a0005ba0:	e59d9008 	ldr	r9, [sp, #8]                                  
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
a0005ba4:	e3590000 	cmp	r9, #0                                        
a0005ba8:	1a000001 	bne	a0005bb4 <rtems_print_buffer+0x11c>           
    Dump_Line( &buffer[ max ], mod );                                 
}                                                                     
a0005bac:	e28dd084 	add	sp, sp, #132	; 0x84                           
a0005bb0:	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 );                                 
a0005bb4:	e59d2004 	ldr	r2, [sp, #4]                                  
a0005bb8:	e59d3000 	ldr	r3, [sp]                                      
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
a0005bbc:	e3a05000 	mov	r5, #0                                        
a0005bc0:	e5cd500c 	strb	r5, [sp, #12]                                
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
a0005bc4:	e0826003 	add	r6, r2, r3                                    
a0005bc8:	d28d400c 	addle	r4, sp, #12                                 
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0005bcc:	da00000b 	ble	a0005c00 <rtems_print_buffer+0x168>           
a0005bd0:	e28d400c 	add	r4, sp, #12                                   
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0005bd4:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0005bd8:	e1a00004 	mov	r0, r4                                        
a0005bdc:	e59f1130 	ldr	r1, [pc, #304]	; a0005d14 <rtems_print_buffer+0x27c>
a0005be0:	e1a02004 	mov	r2, r4                                        
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0005be4:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
a0005be8:	eb003094 	bl	a0011e40 <sprintf>                             
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
a0005bec:	e1590005 	cmp	r9, r5                                        
a0005bf0:	cafffff7 	bgt	a0005bd4 <rtems_print_buffer+0x13c>           
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
a0005bf4:	e359000f 	cmp	r9, #15                                       
a0005bf8:	d1a05009 	movle	r5, r9                                      
a0005bfc:	ca00003b 	bgt	a0005cf0 <rtems_print_buffer+0x258>           
    strcat( line_buffer, "   " );                                     
a0005c00:	e1a00004 	mov	r0, r4                                        
a0005c04:	eb0031c4 	bl	a001231c <strlen>                              
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
a0005c08:	e2855001 	add	r5, r5, #1                                    
    strcat( line_buffer, "   " );                                     
a0005c0c:	e59f1108 	ldr	r1, [pc, #264]	; a0005d1c <rtems_print_buffer+0x284>
a0005c10:	e0840000 	add	r0, r4, r0                                    
a0005c14:	e3a02004 	mov	r2, #4                                        
a0005c18:	eb002ff7 	bl	a0011bfc <memcpy>                              
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
a0005c1c:	e355000f 	cmp	r5, #15                                       
a0005c20:	dafffff6 	ble	a0005c00 <rtems_print_buffer+0x168>           
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0005c24:	e1a00004 	mov	r0, r4                                        
a0005c28:	eb0031bb 	bl	a001231c <strlen>                              
a0005c2c:	e3a03000 	mov	r3, #0                                        
a0005c30:	e0842000 	add	r2, r4, r0                                    
  for( i=0 ; i<length ; i++ )                                         
a0005c34:	e1590003 	cmp	r9, r3                                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0005c38:	e3a0107c 	mov	r1, #124	; 0x7c                               
a0005c3c:	e7c41000 	strb	r1, [r4, r0]                                 
  for( i=0 ; i<length ; i++ )                                         
a0005c40:	d1a09003 	movle	r9, r3                                      
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0005c44:	e5c23001 	strb	r3, [r2, #1]                                 
  for( i=0 ; i<length ; i++ )                                         
a0005c48:	da000010 	ble	a0005c90 <rtems_print_buffer+0x1f8>           
a0005c4c:	e59f70bc 	ldr	r7, [pc, #188]	; a0005d10 <rtems_print_buffer+0x278>
a0005c50:	e3a05000 	mov	r5, #0                                        
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0005c54:	e7d63005 	ldrb	r3, [r6, r5]                                 
a0005c58:	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,                        
a0005c5c:	e1a00004 	mov	r0, r4                                        
a0005c60:	e59f10b0 	ldr	r1, [pc, #176]	; a0005d18 <rtems_print_buffer+0x280>
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
a0005c64:	e0822003 	add	r2, r2, r3                                    
a0005c68:	e5d2c001 	ldrb	ip, [r2, #1]                                 
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0005c6c:	e2855001 	add	r5, r5, #1                                    
    sprintf( line_buffer, "%s%c", line_buffer,                        
a0005c70:	e1a02004 	mov	r2, r4                                        
a0005c74:	e31c0097 	tst	ip, #151	; 0x97                               
a0005c78:	03a0302e 	moveq	r3, #46	; 0x2e                              
a0005c7c:	eb00306f 	bl	a0011e40 <sprintf>                             
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
a0005c80:	e1590005 	cmp	r9, r5                                        
a0005c84:	cafffff2 	bgt	a0005c54 <rtems_print_buffer+0x1bc>           
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
a0005c88:	e359000f 	cmp	r9, #15                                       
a0005c8c:	ca000009 	bgt	a0005cb8 <rtems_print_buffer+0x220>           
    strcat( line_buffer, " " );                                       
a0005c90:	e3a06020 	mov	r6, #32                                       
a0005c94:	e3a05000 	mov	r5, #0                                        
a0005c98:	e1a00004 	mov	r0, r4                                        
a0005c9c:	eb00319e 	bl	a001231c <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++ )                                                 
a0005ca0:	e2899001 	add	r9, r9, #1                                    
    strcat( line_buffer, " " );                                       
a0005ca4:	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++ )                                                 
a0005ca8:	e359000f 	cmp	r9, #15                                       
    strcat( line_buffer, " " );                                       
a0005cac:	e7c46000 	strb	r6, [r4, r0]                                 
a0005cb0:	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++ )                                                 
a0005cb4:	dafffff7 	ble	a0005c98 <rtems_print_buffer+0x200>           
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0005cb8:	e1a00004 	mov	r0, r4                                        
a0005cbc:	eb003196 	bl	a001231c <strlen>                              
a0005cc0:	e3a0c07c 	mov	ip, #124	; 0x7c                               
a0005cc4:	e1a02000 	mov	r2, r0                                        
a0005cc8:	e0843000 	add	r3, r4, r0                                    
a0005ccc:	e7c4c002 	strb	ip, [r4, r2]                                 
a0005cd0:	e3a0200a 	mov	r2, #10                                       
a0005cd4:	e2831002 	add	r1, r3, #2                                    
a0005cd8:	e5c32001 	strb	r2, [r3, #1]                                 
a0005cdc:	e3a03000 	mov	r3, #0                                        
                                                                      
  printk( line_buffer );                                              
a0005ce0:	e1a00004 	mov	r0, r4                                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
a0005ce4:	e5c13000 	strb	r3, [r1]                                     
                                                                      
  printk( line_buffer );                                              
a0005ce8:	eb0005fa 	bl	a00074d8 <printk>                              
a0005cec:	eaffffae 	b	a0005bac <rtems_print_buffer+0x114>             
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
a0005cf0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0005cf4:	eb003188 	bl	a001231c <strlen>                              <== NOT EXECUTED
a0005cf8:	e3a0207c 	mov	r2, #124	; 0x7c                               <== NOT EXECUTED
a0005cfc:	e7c42000 	strb	r2, [r4, r0]                                 <== NOT EXECUTED
a0005d00:	e0843000 	add	r3, r4, r0                                    <== NOT EXECUTED
a0005d04:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0005d08:	e5c32001 	strb	r2, [r3, #1]                                 <== NOT EXECUTED
a0005d0c:	eaffffce 	b	a0005c4c <rtems_print_buffer+0x1b4>             <== NOT EXECUTED
                                                                      

a0017f30 <rtems_rate_monotonic_cancel>: */ rtems_status_code rtems_rate_monotonic_cancel( rtems_id id ) {
a0017f30:	e92d4030 	push	{r4, r5, lr}                                 
a0017f34:	e24dd004 	sub	sp, sp, #4                                    
a0017f38:	e1a01000 	mov	r1, r0                                        
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
a0017f3c:	e1a0200d 	mov	r2, sp                                        
a0017f40:	e59f0050 	ldr	r0, [pc, #80]	; a0017f98 <rtems_rate_monotonic_cancel+0x68>
a0017f44:	eb00132a 	bl	a001cbf4 <_Objects_Get>                        
  Rate_monotonic_Control *the_period;                                 
  Objects_Locations       location;                                   
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a0017f48:	e59d4000 	ldr	r4, [sp]                                      
a0017f4c:	e1a05000 	mov	r5, r0                                        
a0017f50:	e3540000 	cmp	r4, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0017f54:	13a00004 	movne	r0, #4                                      
{                                                                     
  Rate_monotonic_Control *the_period;                                 
  Objects_Locations       location;                                   
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a0017f58:	1a000006 	bne	a0017f78 <rtems_rate_monotonic_cancel+0x48>   
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
a0017f5c:	e59f3038 	ldr	r3, [pc, #56]	; a0017f9c <rtems_rate_monotonic_cancel+0x6c>
a0017f60:	e5952040 	ldr	r2, [r5, #64]	; 0x40                          
a0017f64:	e5933004 	ldr	r3, [r3, #4]                                  
a0017f68:	e1520003 	cmp	r2, r3                                        
a0017f6c:	0a000003 	beq	a0017f80 <rtems_rate_monotonic_cancel+0x50>   
        _Thread_Enable_dispatch();                                    
a0017f70:	eb00161d 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
a0017f74:	e3a00017 	mov	r0, #23                                       <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0017f78:	e28dd004 	add	sp, sp, #4                                    
a0017f7c:	e8bd8030 	pop	{r4, r5, pc}                                  
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
      (void) _Watchdog_Remove( &the_period->Timer );                  
a0017f80:	e2850010 	add	r0, r5, #16                                   
a0017f84:	eb001afa 	bl	a001eb74 <_Watchdog_Remove>                    
      the_period->state = RATE_MONOTONIC_INACTIVE;                    
a0017f88:	e5854038 	str	r4, [r5, #56]	; 0x38                          
      _Thread_Enable_dispatch();                                      
a0017f8c:	eb001616 	bl	a001d7ec <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a0017f90:	e1a00004 	mov	r0, r4                                        
a0017f94:	eafffff7 	b	a0017f78 <rtems_rate_monotonic_cancel+0x48>     
                                                                      

a000a8c4 <rtems_rate_monotonic_create>: rtems_status_code rtems_rate_monotonic_create( rtems_name name, rtems_id *id ) {
a000a8c4:	e92d4070 	push	{r4, r5, r6, lr}                             
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a000a8c8:	e2504000 	subs	r4, r0, #0                                   
                                                                      
rtems_status_code rtems_rate_monotonic_create(                        
  rtems_name  name,                                                   
  rtems_id   *id                                                      
)                                                                     
{                                                                     
a000a8cc:	e1a05001 	mov	r5, r1                                        
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a000a8d0:	0a00002b 	beq	a000a984 <rtems_rate_monotonic_create+0xc0>   
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
a000a8d4:	e3510000 	cmp	r1, #0                                        
a000a8d8:	0a00002e 	beq	a000a998 <rtems_rate_monotonic_create+0xd4>   
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000a8dc:	e59f30bc 	ldr	r3, [pc, #188]	; a000a9a0 <rtems_rate_monotonic_create+0xdc>
a000a8e0:	e5932000 	ldr	r2, [r3]                                      
a000a8e4:	e2822001 	add	r2, r2, #1                                    
a000a8e8:	e5832000 	str	r2, [r3]                                      
 *  the inactive chain of free period control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void )
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Allocate( &_Rate_monotonic_Information );                
a000a8ec:	e59f60b0 	ldr	r6, [pc, #176]	; a000a9a4 <rtems_rate_monotonic_create+0xe0>
a000a8f0:	e1a00006 	mov	r0, r6                                        
a000a8f4:	eb00080b 	bl	a000c928 <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();            /* to prevent deletion */    
                                                                      
  the_period = _Rate_monotonic_Allocate();                            
                                                                      
  if ( !the_period ) {                                                
a000a8f8:	e3500000 	cmp	r0, #0                                        
a000a8fc:	0a000022 	beq	a000a98c <rtems_rate_monotonic_create+0xc8>   
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_period->owner = _Thread_Executing;                              
a000a900:	e59f30a0 	ldr	r3, [pc, #160]	; a000a9a8 <rtems_rate_monotonic_create+0xe4>
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a000a904:	e5902008 	ldr	r2, [r0, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000a908:	e596101c 	ldr	r1, [r6, #28]                                 
a000a90c:	e593e004 	ldr	lr, [r3, #4]                                  
  the_period->state = RATE_MONOTONIC_INACTIVE;                        
a000a910:	e3a06000 	mov	r6, #0                                        
                                                                      
  _Watchdog_Initialize( &the_period->Timer, NULL, 0, NULL );          
                                                                      
  _Rate_monotonic_Reset_statistics( the_period );                     
a000a914:	e3e03102 	mvn	r3, #-2147483648	; 0x80000000                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a000a918:	e1a0c802 	lsl	ip, r2, #16                                   
  if ( !the_period ) {                                                
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_period->owner = _Thread_Executing;                              
a000a91c:	e580e040 	str	lr, [r0, #64]	; 0x40                          
  the_period->state = RATE_MONOTONIC_INACTIVE;                        
a000a920:	e5806038 	str	r6, [r0, #56]	; 0x38                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000a924:	e5806018 	str	r6, [r0, #24]                                 
  the_watchdog->routine   = routine;                                  
a000a928:	e580602c 	str	r6, [r0, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a000a92c:	e5806030 	str	r6, [r0, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a000a930:	e5806034 	str	r6, [r0, #52]	; 0x34                          
                                                                      
  _Watchdog_Initialize( &the_period->Timer, NULL, 0, NULL );          
                                                                      
  _Rate_monotonic_Reset_statistics( the_period );                     
a000a934:	e5806054 	str	r6, [r0, #84]	; 0x54                          
a000a938:	e5806058 	str	r6, [r0, #88]	; 0x58                          
a000a93c:	e5806064 	str	r6, [r0, #100]	; 0x64                         
a000a940:	e5806068 	str	r6, [r0, #104]	; 0x68                         
a000a944:	e580606c 	str	r6, [r0, #108]	; 0x6c                         
a000a948:	e5806070 	str	r6, [r0, #112]	; 0x70                         
a000a94c:	e580607c 	str	r6, [r0, #124]	; 0x7c                         
a000a950:	e5806080 	str	r6, [r0, #128]	; 0x80                         
a000a954:	e5806084 	str	r6, [r0, #132]	; 0x84                         
a000a958:	e5806088 	str	r6, [r0, #136]	; 0x88                         
a000a95c:	e580305c 	str	r3, [r0, #92]	; 0x5c                          
a000a960:	e5803060 	str	r3, [r0, #96]	; 0x60                          
a000a964:	e5803074 	str	r3, [r0, #116]	; 0x74                         
a000a968:	e5803078 	str	r3, [r0, #120]	; 0x78                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000a96c:	e781072c 	str	r0, [r1, ip, lsr #14]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a000a970:	e580400c 	str	r4, [r0, #12]                                 
    &_Rate_monotonic_Information,                                     
    &the_period->Object,                                              
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
a000a974:	e5852000 	str	r2, [r5]                                      
  _Thread_Enable_dispatch();                                          
a000a978:	eb000c5e 	bl	a000daf8 <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a000a97c:	e1a00006 	mov	r0, r6                                        
a000a980:	e8bd8070 	pop	{r4, r5, r6, pc}                              
)                                                                     
{                                                                     
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
a000a984:	e3a00003 	mov	r0, #3                                        
a000a988:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  _Thread_Disable_dispatch();            /* to prevent deletion */    
                                                                      
  the_period = _Rate_monotonic_Allocate();                            
                                                                      
  if ( !the_period ) {                                                
    _Thread_Enable_dispatch();                                        
a000a98c:	eb000c59 	bl	a000daf8 <_Thread_Enable_dispatch>             <== NOT EXECUTED
    return RTEMS_TOO_MANY;                                            
a000a990:	e3a00005 	mov	r0, #5                                        <== NOT EXECUTED
a000a994:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
a000a998:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000a99c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0010a10 <rtems_rate_monotonic_get_statistics>: rtems_status_code rtems_rate_monotonic_get_statistics( rtems_id id, rtems_rate_monotonic_period_statistics *statistics ) {
a0010a10:	e92d4bf0 	push	{r4, r5, r6, r7, r8, r9, fp, lr}             <== NOT EXECUTED
  Objects_Locations                        location;                  
  Rate_monotonic_Control                  *the_period;                
  rtems_rate_monotonic_period_statistics  *dst;                       
  Rate_monotonic_Statistics               *src;                       
                                                                      
  if ( !statistics )                                                  
a0010a14:	e2514000 	subs	r4, r1, #0                                   <== NOT EXECUTED
                                                                      
rtems_status_code rtems_rate_monotonic_get_statistics(                
  rtems_id                                id,                         
  rtems_rate_monotonic_period_statistics *statistics                  
)                                                                     
{                                                                     
a0010a18:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a0010a1c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  Rate_monotonic_Control                  *the_period;                
  rtems_rate_monotonic_period_statistics  *dst;                       
  Rate_monotonic_Statistics               *src;                       
                                                                      
  if ( !statistics )                                                  
    return RTEMS_INVALID_ADDRESS;                                     
a0010a20:	03a00009 	moveq	r0, #9                                      <== NOT EXECUTED
  Objects_Locations                        location;                  
  Rate_monotonic_Control                  *the_period;                
  rtems_rate_monotonic_period_statistics  *dst;                       
  Rate_monotonic_Statistics               *src;                       
                                                                      
  if ( !statistics )                                                  
a0010a24:	0a000024 	beq	a0010abc <rtems_rate_monotonic_get_statistics+0xac><== NOT EXECUTED
a0010a28:	e59f0094 	ldr	r0, [pc, #148]	; a0010ac4 <rtems_rate_monotonic_get_statistics+0xb4><== NOT EXECUTED
a0010a2c:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0010a30:	ebfff132 	bl	a000cf00 <_Objects_Get>                        <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a0010a34:	e59d5000 	ldr	r5, [sp]                                      <== NOT EXECUTED
a0010a38:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0010a3c:	13a00004 	movne	r0, #4                                      <== NOT EXECUTED
                                                                      
  if ( !statistics )                                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a0010a40:	1a00001d 	bne	a0010abc <rtems_rate_monotonic_get_statistics+0xac><== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      dst = statistics;                                               
      src = &the_period->Statistics;                                  
      dst->count        = src->count;                                 
a0010a44:	e590e054 	ldr	lr, [r0, #84]	; 0x54                          <== NOT EXECUTED
      dst->missed_count = src->missed_count;                          
a0010a48:	e5901058 	ldr	r1, [r0, #88]	; 0x58                          <== NOT EXECUTED
      #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                      
        _Timestamp_To_timespec( &src->min_cpu_time,   &dst->min_cpu_time );
        _Timestamp_To_timespec( &src->max_cpu_time,   &dst->max_cpu_time );
        _Timestamp_To_timespec( &src->total_cpu_time, &dst->total_cpu_time );
        _Timestamp_To_timespec( &src->min_wall_time,   &dst->min_wall_time );
a0010a4c:	e2803074 	add	r3, r0, #116	; 0x74                           <== NOT EXECUTED
a0010a50:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
      dst = statistics;                                               
      src = &the_period->Statistics;                                  
      dst->count        = src->count;                                 
      dst->missed_count = src->missed_count;                          
      #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                      
        _Timestamp_To_timespec( &src->min_cpu_time,   &dst->min_cpu_time );
a0010a54:	e280905c 	add	r9, r0, #92	; 0x5c                            <== NOT EXECUTED
a0010a58:	e8990300 	ldm	r9, {r8, r9}                                  <== NOT EXECUTED
        _Timestamp_To_timespec( &src->max_cpu_time,   &dst->max_cpu_time );
a0010a5c:	e2807064 	add	r7, r0, #100	; 0x64                           <== NOT EXECUTED
a0010a60:	e89700c0 	ldm	r7, {r6, r7}                                  <== NOT EXECUTED
        _Timestamp_To_timespec( &src->total_cpu_time, &dst->total_cpu_time );
a0010a64:	e280c06c 	add	ip, r0, #108	; 0x6c                           <== NOT EXECUTED
a0010a68:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
        _Timestamp_To_timespec( &src->min_wall_time,   &dst->min_wall_time );
a0010a6c:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
a0010a70:	e5843024 	str	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
        _Timestamp_To_timespec( &src->max_wall_time,   &dst->max_wall_time );
a0010a74:	e280307c 	add	r3, r0, #124	; 0x7c                           <== NOT EXECUTED
a0010a78:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
a0010a7c:	e5842028 	str	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0010a80:	e584302c 	str	r3, [r4, #44]	; 0x2c                          <== NOT EXECUTED
        _Timestamp_To_timespec( &src->total_wall_time, &dst->total_wall_time );
a0010a84:	e2803084 	add	r3, r0, #132	; 0x84                           <== NOT EXECUTED
a0010a88:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      dst = statistics;                                               
      src = &the_period->Statistics;                                  
      dst->count        = src->count;                                 
a0010a8c:	e584e000 	str	lr, [r4]                                      <== NOT EXECUTED
        _Timestamp_To_timespec( &src->min_cpu_time,   &dst->min_cpu_time );
        _Timestamp_To_timespec( &src->max_cpu_time,   &dst->max_cpu_time );
        _Timestamp_To_timespec( &src->total_cpu_time, &dst->total_cpu_time );
        _Timestamp_To_timespec( &src->min_wall_time,   &dst->min_wall_time );
        _Timestamp_To_timespec( &src->max_wall_time,   &dst->max_wall_time );
        _Timestamp_To_timespec( &src->total_wall_time, &dst->total_wall_time );
a0010a90:	e5842030 	str	r2, [r4, #48]	; 0x30                          <== NOT EXECUTED
a0010a94:	e5843034 	str	r3, [r4, #52]	; 0x34                          <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      dst = statistics;                                               
      src = &the_period->Statistics;                                  
      dst->count        = src->count;                                 
      dst->missed_count = src->missed_count;                          
a0010a98:	e5841004 	str	r1, [r4, #4]                                  <== NOT EXECUTED
      #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                      
        _Timestamp_To_timespec( &src->min_cpu_time,   &dst->min_cpu_time );
a0010a9c:	e5848008 	str	r8, [r4, #8]                                  <== NOT EXECUTED
a0010aa0:	e584900c 	str	r9, [r4, #12]                                 <== NOT EXECUTED
        _Timestamp_To_timespec( &src->max_cpu_time,   &dst->max_cpu_time );
a0010aa4:	e5846010 	str	r6, [r4, #16]                                 <== NOT EXECUTED
a0010aa8:	e5847014 	str	r7, [r4, #20]                                 <== NOT EXECUTED
        _Timestamp_To_timespec( &src->total_cpu_time, &dst->total_cpu_time );
a0010aac:	e584b018 	str	fp, [r4, #24]                                 <== NOT EXECUTED
a0010ab0:	e584c01c 	str	ip, [r4, #28]                                 <== NOT EXECUTED
        dst->min_wall_time   = src->min_wall_time;                    
        dst->max_wall_time   = src->max_wall_time;                    
        dst->total_wall_time = src->total_wall_time;                  
      #endif                                                          
                                                                      
      _Thread_Enable_dispatch();                                      
a0010ab4:	ebfff40f 	bl	a000daf8 <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a0010ab8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0010abc:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0010ac0:	e8bd8bf0 	pop	{r4, r5, r6, r7, r8, r9, fp, pc}              <== NOT EXECUTED
                                                                      

a0010ac8 <rtems_rate_monotonic_get_status>: rtems_status_code rtems_rate_monotonic_get_status( rtems_id id, rtems_rate_monotonic_period_status *status ) {
a0010ac8:	e92d4010 	push	{r4, lr}                                     
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
a0010acc:	e2514000 	subs	r4, r1, #0                                   
                                                                      
rtems_status_code rtems_rate_monotonic_get_status(                    
  rtems_id                            id,                             
  rtems_rate_monotonic_period_status *status                          
)                                                                     
{                                                                     
a0010ad0:	e24dd014 	sub	sp, sp, #20                                   
a0010ad4:	e1a01000 	mov	r1, r0                                        
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
a0010ad8:	03a00009 	moveq	r0, #9                                      
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
a0010adc:	0a000013 	beq	a0010b30 <rtems_rate_monotonic_get_status+0x68>
a0010ae0:	e28d2010 	add	r2, sp, #16                                   
a0010ae4:	e59f008c 	ldr	r0, [pc, #140]	; a0010b78 <rtems_rate_monotonic_get_status+0xb0>
a0010ae8:	ebfff104 	bl	a000cf00 <_Objects_Get>                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a0010aec:	e59d2010 	ldr	r2, [sp, #16]                                 
a0010af0:	e1a03000 	mov	r3, r0                                        
a0010af4:	e3520000 	cmp	r2, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0010af8:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !status )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a0010afc:	1a00000b 	bne	a0010b30 <rtems_rate_monotonic_get_status+0x68>
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
a0010b00:	e5932040 	ldr	r2, [r3, #64]	; 0x40                          
      status->state = the_period->state;                              
a0010b04:	e5933038 	ldr	r3, [r3, #56]	; 0x38                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
a0010b08:	e5922008 	ldr	r2, [r2, #8]                                  
      status->state = the_period->state;                              
                                                                      
      /*                                                              
       *  If the period is inactive, there is no information.         
       */                                                             
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
a0010b0c:	e3530000 	cmp	r3, #0                                        
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
      status->state = the_period->state;                              
a0010b10:	e884000c 	stm	r4, {r2, r3}                                  
                                                                      
      /*                                                              
       *  If the period is inactive, there is no information.         
       */                                                             
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
a0010b14:	1a000007 	bne	a0010b38 <rtems_rate_monotonic_get_status+0x70>
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timespec_Set_to_zero( &status->since_last_period );        
a0010b18:	e5843008 	str	r3, [r4, #8]                                  
a0010b1c:	e584300c 	str	r3, [r4, #12]                                 
          _Timespec_Set_to_zero( &status->executed_since_last_period );
a0010b20:	e5843010 	str	r3, [r4, #16]                                 
a0010b24:	e5843014 	str	r3, [r4, #20]                                 
          status->since_last_period = since_last_period;              
          status->executed_since_last_period = executed;              
        #endif                                                        
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
a0010b28:	ebfff3f2 	bl	a000daf8 <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a0010b2c:	e3a00000 	mov	r0, #0                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0010b30:	e28dd014 	add	sp, sp, #20                                   
a0010b34:	e8bd8010 	pop	{r4, pc}                                      
      } else {                                                        
                                                                      
        /*                                                            
         *  Grab the current status.                                  
         */                                                           
        valid_status =                                                
a0010b38:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a0010b3c:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
a0010b40:	ebffe7a5 	bl	a000a9dc <_Rate_monotonic_Get_status>          <== NOT EXECUTED
          _Rate_monotonic_Get_status(                                 
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
a0010b44:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010b48:	0a000007 	beq	a0010b6c <rtems_rate_monotonic_get_status+0xa4><== NOT EXECUTED
          _Thread_Enable_dispatch();                                  
          return RTEMS_NOT_DEFINED;                                   
        }                                                             
                                                                      
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timestamp_To_timespec(                                     
a0010b4c:	e89d000c 	ldm	sp, {r2, r3}                                  <== NOT EXECUTED
a0010b50:	e5842008 	str	r2, [r4, #8]                                  <== NOT EXECUTED
a0010b54:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
            &since_last_period, &status->since_last_period            
          );                                                          
          _Timestamp_To_timespec(                                     
a0010b58:	e28d3008 	add	r3, sp, #8                                    <== NOT EXECUTED
a0010b5c:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
a0010b60:	e5842010 	str	r2, [r4, #16]                                 <== NOT EXECUTED
a0010b64:	e5843014 	str	r3, [r4, #20]                                 <== NOT EXECUTED
a0010b68:	eaffffee 	b	a0010b28 <rtems_rate_monotonic_get_status+0x60> <== NOT EXECUTED
        valid_status =                                                
          _Rate_monotonic_Get_status(                                 
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
          _Thread_Enable_dispatch();                                  
a0010b6c:	ebfff3e1 	bl	a000daf8 <_Thread_Enable_dispatch>             <== NOT EXECUTED
          return RTEMS_NOT_DEFINED;                                   
a0010b70:	e3a0000b 	mov	r0, #11                                       <== NOT EXECUTED
a0010b74:	eaffffed 	b	a0010b30 <rtems_rate_monotonic_get_status+0x68> <== NOT EXECUTED
                                                                      

a000ac08 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
a000ac08:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000ac0c:	e1a04000 	mov	r4, r0                                        
a000ac10:	e24dd008 	sub	sp, sp, #8                                    
a000ac14:	e1a05001 	mov	r5, r1                                        
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
a000ac18:	e59f017c 	ldr	r0, [pc, #380]	; a000ad9c <rtems_rate_monotonic_period+0x194>
a000ac1c:	e1a01004 	mov	r1, r4                                        
a000ac20:	e28d2004 	add	r2, sp, #4                                    
a000ac24:	eb0008b5 	bl	a000cf00 <_Objects_Get>                        
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
a000ac28:	e59d3004 	ldr	r3, [sp, #4]                                  
a000ac2c:	e1a06000 	mov	r6, r0                                        
a000ac30:	e3530000 	cmp	r3, #0                                        
a000ac34:	1a000008 	bne	a000ac5c <rtems_rate_monotonic_period+0x54>   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
a000ac38:	e59f7160 	ldr	r7, [pc, #352]	; a000ada0 <rtems_rate_monotonic_period+0x198>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
a000ac3c:	e5902040 	ldr	r2, [r0, #64]	; 0x40                          
a000ac40:	e5973004 	ldr	r3, [r7, #4]                                  
a000ac44:	e1520003 	cmp	r2, r3                                        
a000ac48:	0a000005 	beq	a000ac64 <rtems_rate_monotonic_period+0x5c>   
        _Thread_Enable_dispatch();                                    
a000ac4c:	eb000ba9 	bl	a000daf8 <_Thread_Enable_dispatch>             <== NOT EXECUTED
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
a000ac50:	e3a00017 	mov	r0, #23                                       <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000ac54:	e28dd008 	add	sp, sp, #8                                    
a000ac58:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000ac5c:	e3a00004 	mov	r0, #4                                        <== NOT EXECUTED
a000ac60:	eafffffb 	b	a000ac54 <rtems_rate_monotonic_period+0x4c>     <== NOT EXECUTED
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
a000ac64:	e3550000 	cmp	r5, #0                                        
a000ac68:	1a000008 	bne	a000ac90 <rtems_rate_monotonic_period+0x88>   
        switch ( the_period->state ) {                                
a000ac6c:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a000ac70:	e3530004 	cmp	r3, #4                                        
a000ac74:	959f2128 	ldrls	r2, [pc, #296]	; a000ada4 <rtems_rate_monotonic_period+0x19c>
a000ac78:	81a00005 	movhi	r0, r5                                      
a000ac7c:	97920103 	ldrls	r0, [r2, r3, lsl #2]                        
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
a000ac80:	e58d0000 	str	r0, [sp]                                      
a000ac84:	eb000b9b 	bl	a000daf8 <_Thread_Enable_dispatch>             
        return RTEMS_TIMEOUT;                                         
a000ac88:	e59d0000 	ldr	r0, [sp]                                      
a000ac8c:	eafffff0 	b	a000ac54 <rtems_rate_monotonic_period+0x4c>     
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000ac90:	e10f8000 	mrs	r8, CPSR                                      
a000ac94:	e3883080 	orr	r3, r8, #128	; 0x80                           
a000ac98:	e129f003 	msr	CPSR_fc, r3                                   
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
a000ac9c:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a000aca0:	e3530000 	cmp	r3, #0                                        
a000aca4:	0a00000e 	beq	a000ace4 <rtems_rate_monotonic_period+0xdc>   
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
a000aca8:	e3530002 	cmp	r3, #2                                        
a000acac:	0a00001f 	beq	a000ad30 <rtems_rate_monotonic_period+0x128>  
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
a000acb0:	e3530004 	cmp	r3, #4                                        <== NOT EXECUTED
a000acb4:	1affffe8 	bne	a000ac5c <rtems_rate_monotonic_period+0x54>   <== NOT EXECUTED
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
a000acb8:	ebffff97 	bl	a000ab1c <_Rate_monotonic_Update_statistics>   <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000acbc:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
a000acc0:	e3a03002 	mov	r3, #2                                        <== NOT EXECUTED
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000acc4:	e59f00dc 	ldr	r0, [pc, #220]	; a000ada8 <rtems_rate_monotonic_period+0x1a0><== NOT EXECUTED
a000acc8:	e2861010 	add	r1, r6, #16                                   <== NOT EXECUTED
a000accc:	e5863038 	str	r3, [r6, #56]	; 0x38                          <== NOT EXECUTED
        the_period->next_length = length;                             
a000acd0:	e586503c 	str	r5, [r6, #60]	; 0x3c                          <== NOT EXECUTED
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a000acd4:	e586501c 	str	r5, [r6, #28]                                 <== NOT EXECUTED
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000acd8:	eb000f76 	bl	a000eab8 <_Watchdog_Insert>                    <== NOT EXECUTED
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_TIMEOUT;                                         
a000acdc:	e3a00006 	mov	r0, #6                                        <== NOT EXECUTED
a000ace0:	eaffffe6 	b	a000ac80 <rtems_rate_monotonic_period+0x78>     <== NOT EXECUTED
a000ace4:	e129f008 	msr	CPSR_fc, r8                                   
        _ISR_Enable( level );                                         
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
a000ace8:	ebffff6b 	bl	a000aa9c <_Rate_monotonic_Initiate_statistics> 
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
a000acec:	e3a03002 	mov	r3, #2                                        
a000acf0:	e5863038 	str	r3, [r6, #56]	; 0x38                          
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a000acf4:	e59f30b0 	ldr	r3, [pc, #176]	; a000adac <rtems_rate_monotonic_period+0x1a4>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000acf8:	e3a07000 	mov	r7, #0                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000acfc:	e59f00a4 	ldr	r0, [pc, #164]	; a000ada8 <rtems_rate_monotonic_period+0x1a0>
a000ad00:	e2861010 	add	r1, r6, #16                                   
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a000ad04:	e586302c 	str	r3, [r6, #44]	; 0x2c                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000ad08:	e5867018 	str	r7, [r6, #24]                                 
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
a000ad0c:	e5864030 	str	r4, [r6, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a000ad10:	e5867034 	str	r7, [r6, #52]	; 0x34                          
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
a000ad14:	e586503c 	str	r5, [r6, #60]	; 0x3c                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a000ad18:	e586501c 	str	r5, [r6, #28]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000ad1c:	eb000f65 	bl	a000eab8 <_Watchdog_Insert>                    
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
a000ad20:	e58d7000 	str	r7, [sp]                                      
a000ad24:	eb000b73 	bl	a000daf8 <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a000ad28:	e59d0000 	ldr	r0, [sp]                                      
a000ad2c:	eaffffc8 	b	a000ac54 <rtems_rate_monotonic_period+0x4c>     
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
a000ad30:	ebffff79 	bl	a000ab1c <_Rate_monotonic_Update_statistics>   
        /*                                                            
         *  This tells the _Rate_monotonic_Timeout that this task is  
         *  in the process of blocking on the period and that we      
         *  may be changing the length of the next period.            
         */                                                           
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
a000ad34:	e3a03001 	mov	r3, #1                                        
a000ad38:	e5863038 	str	r3, [r6, #56]	; 0x38                          
        the_period->next_length = length;                             
a000ad3c:	e586503c 	str	r5, [r6, #60]	; 0x3c                          
a000ad40:	e129f008 	msr	CPSR_fc, r8                                   
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
a000ad44:	e5973004 	ldr	r3, [r7, #4]                                  
a000ad48:	e5962008 	ldr	r2, [r6, #8]                                  
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a000ad4c:	e3a01901 	mov	r1, #16384	; 0x4000                           
a000ad50:	e1a00003 	mov	r0, r3                                        
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
a000ad54:	e5832020 	str	r2, [r3, #32]                                 
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a000ad58:	eb000d8c 	bl	a000e390 <_Thread_Set_state>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000ad5c:	e10f2000 	mrs	r2, CPSR                                      
a000ad60:	e3823080 	orr	r3, r2, #128	; 0x80                           
a000ad64:	e129f003 	msr	CPSR_fc, r3                                   
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
a000ad68:	e3a01002 	mov	r1, #2                                        
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
a000ad6c:	e5963038 	ldr	r3, [r6, #56]	; 0x38                          
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
a000ad70:	e5861038 	str	r1, [r6, #56]	; 0x38                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000ad74:	e129f002 	msr	CPSR_fc, r2                                   
                                                                      
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
a000ad78:	e3530003 	cmp	r3, #3                                        
a000ad7c:	0a000002 	beq	a000ad8c <rtems_rate_monotonic_period+0x184>  
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
        _Thread_Enable_dispatch();                                    
a000ad80:	eb000b5c 	bl	a000daf8 <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a000ad84:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000ad88:	eaffffb1 	b	a000ac54 <rtems_rate_monotonic_period+0x4c>     <== NOT EXECUTED
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a000ad8c:	e5970004 	ldr	r0, [r7, #4]                                  <== NOT EXECUTED
a000ad90:	e3a01901 	mov	r1, #16384	; 0x4000                           <== NOT EXECUTED
a000ad94:	eb000a75 	bl	a000d770 <_Thread_Clear_state>                 <== NOT EXECUTED
a000ad98:	eafffff8 	b	a000ad80 <rtems_rate_monotonic_period+0x178>    <== NOT EXECUTED
                                                                      

a000afc8 <rtems_rate_monotonic_report_statistics>: } } void rtems_rate_monotonic_report_statistics( void ) { rtems_rate_monotonic_report_statistics_with_plugin( NULL, printk_plugin );
a000afc8:	e59f1004 	ldr	r1, [pc, #4]	; a000afd4 <rtems_rate_monotonic_report_statistics+0xc><== NOT EXECUTED
a000afcc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000afd0:	eaffff76 	b	a000adb0 <rtems_rate_monotonic_report_statistics_with_plugin><== NOT EXECUTED
                                                                      

a000adb0 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
a000adb0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
a000adb4:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a000adb8:	e24dd078 	sub	sp, sp, #120	; 0x78                           <== NOT EXECUTED
a000adbc:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
a000adc0:	0a000040 	beq	a000aec8 <rtems_rate_monotonic_report_statistics_with_plugin+0x118><== NOT EXECUTED
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
a000adc4:	e59f11d0 	ldr	r1, [pc, #464]	; a000af9c <rtems_rate_monotonic_report_statistics_with_plugin+0x1ec><== NOT EXECUTED
a000adc8:	e12fff35 	blx	r5                                            <== NOT EXECUTED
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
a000adcc:	e59f11cc 	ldr	r1, [pc, #460]	; a000afa0 <rtems_rate_monotonic_report_statistics_with_plugin+0x1f0><== NOT EXECUTED
a000add0:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000add4:	e12fff35 	blx	r5                                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
a000add8:	e59f61c4 	ldr	r6, [pc, #452]	; a000afa4 <rtems_rate_monotonic_report_statistics_with_plugin+0x1f4><== NOT EXECUTED
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
    (*print)( context, "--- Wall times are in seconds ---\n" );       
a000addc:	e59f11c4 	ldr	r1, [pc, #452]	; a000afa8 <rtems_rate_monotonic_report_statistics_with_plugin+0x1f8><== NOT EXECUTED
a000ade0:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000ade4:	e12fff35 	blx	r5                                            <== NOT EXECUTED
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
a000ade8:	e59f11bc 	ldr	r1, [pc, #444]	; a000afac <rtems_rate_monotonic_report_statistics_with_plugin+0x1fc><== NOT EXECUTED
a000adec:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000adf0:	e12fff35 	blx	r5                                            <== NOT EXECUTED
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
a000adf4:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000adf8:	e59f11b0 	ldr	r1, [pc, #432]	; a000afb0 <rtems_rate_monotonic_report_statistics_with_plugin+0x200><== NOT EXECUTED
a000adfc:	e12fff35 	blx	r5                                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
a000ae00:	e5964008 	ldr	r4, [r6, #8]                                  <== NOT EXECUTED
a000ae04:	e596300c 	ldr	r3, [r6, #12]                                 <== NOT EXECUTED
a000ae08:	e1540003 	cmp	r4, r3                                        <== NOT EXECUTED
a000ae0c:	8a00002d 	bhi	a000aec8 <rtems_rate_monotonic_report_statistics_with_plugin+0x118><== NOT EXECUTED
a000ae10:	e28d7018 	add	r7, sp, #24                                   <== NOT EXECUTED
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
a000ae14:	e2870018 	add	r0, r7, #24                                   <== NOT EXECUTED
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
a000ae18:	e2871030 	add	r1, r7, #48	; 0x30                            <== NOT EXECUTED
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
a000ae1c:	e59fa190 	ldr	sl, [pc, #400]	; a000afb4 <rtems_rate_monotonic_report_statistics_with_plugin+0x204><== NOT EXECUTED
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
a000ae20:	e28d9070 	add	r9, sp, #112	; 0x70                           <== NOT EXECUTED
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
a000ae24:	e58d0010 	str	r0, [sp, #16]                                 <== NOT EXECUTED
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
a000ae28:	e28db068 	add	fp, sp, #104	; 0x68                           <== NOT EXECUTED
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
a000ae2c:	e58d1014 	str	r1, [sp, #20]                                 <== NOT EXECUTED
a000ae30:	ea000003 	b	a000ae44 <rtems_rate_monotonic_report_statistics_with_plugin+0x94><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
a000ae34:	e596300c 	ldr	r3, [r6, #12]                                 <== NOT EXECUTED
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
a000ae38:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
a000ae3c:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
a000ae40:	3a000020 	bcc	a000aec8 <rtems_rate_monotonic_report_statistics_with_plugin+0x118><== NOT EXECUTED
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
a000ae44:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ae48:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000ae4c:	eb0016ef 	bl	a0010a10 <rtems_rate_monotonic_get_statistics> <== NOT EXECUTED
    if ( status != RTEMS_SUCCESSFUL )                                 
a000ae50:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000ae54:	1afffff6 	bne	a000ae34 <rtems_rate_monotonic_report_statistics_with_plugin+0x84><== NOT EXECUTED
    #if defined(RTEMS_DEBUG)                                          
      status = rtems_rate_monotonic_get_status( id, &the_status );    
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
a000ae58:	e28d1050 	add	r1, sp, #80	; 0x50                            <== NOT EXECUTED
a000ae5c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000ae60:	eb001718 	bl	a0010ac8 <rtems_rate_monotonic_get_status>     <== NOT EXECUTED
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
a000ae64:	e1a02009 	mov	r2, r9                                        <== NOT EXECUTED
a000ae68:	e3a01005 	mov	r1, #5                                        <== NOT EXECUTED
a000ae6c:	e59d0050 	ldr	r0, [sp, #80]	; 0x50                          <== NOT EXECUTED
a000ae70:	eb0000b9 	bl	a000b15c <rtems_object_get_name>               <== NOT EXECUTED
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
a000ae74:	e59d3018 	ldr	r3, [sp, #24]                                 <== NOT EXECUTED
a000ae78:	e59f1138 	ldr	r1, [pc, #312]	; a000afb8 <rtems_rate_monotonic_report_statistics_with_plugin+0x208><== NOT EXECUTED
a000ae7c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000ae80:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000ae84:	e59d301c 	ldr	r3, [sp, #28]                                 <== NOT EXECUTED
a000ae88:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000ae8c:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
a000ae90:	e1a03009 	mov	r3, r9                                        <== NOT EXECUTED
a000ae94:	e12fff35 	blx	r5                                            <== NOT EXECUTED
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
a000ae98:	e59d3018 	ldr	r3, [sp, #24]                                 <== NOT EXECUTED
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
a000ae9c:	e59d0010 	ldr	r0, [sp, #16]                                 <== NOT EXECUTED
a000aea0:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
a000aea4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      (*print)( context, "\n" );                                      
a000aea8:	e59f110c 	ldr	r1, [pc, #268]	; a000afbc <rtems_rate_monotonic_report_statistics_with_plugin+0x20c><== NOT EXECUTED
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
a000aeac:	1a000007 	bne	a000aed0 <rtems_rate_monotonic_report_statistics_with_plugin+0x120><== NOT EXECUTED
      (*print)( context, "\n" );                                      
a000aeb0:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000aeb4:	e12fff35 	blx	r5                                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
a000aeb8:	e596300c 	ldr	r3, [r6, #12]                                 <== NOT EXECUTED
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
a000aebc:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
a000aec0:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
a000aec4:	2affffde 	bcs	a000ae44 <rtems_rate_monotonic_report_statistics_with_plugin+0x94><== NOT EXECUTED
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
a000aec8:	e28dd078 	add	sp, sp, #120	; 0x78                           <== NOT EXECUTED
a000aecc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
a000aed0:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a000aed4:	eb000dfa 	bl	a000e6c4 <_Timespec_Divide_by_integer>         <== NOT EXECUTED
      (*print)( context,                                              
a000aed8:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000aedc:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          <== NOT EXECUTED
a000aee0:	e59d102c 	ldr	r1, [sp, #44]	; 0x2c                          <== NOT EXECUTED
a000aee4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000aee8:	e0c3c29a 	smull	ip, r3, sl, r2                              <== NOT EXECUTED
a000aeec:	e1a02fc2 	asr	r2, r2, #31                                   <== NOT EXECUTED
a000aef0:	e0623343 	rsb	r3, r2, r3, asr #6                            <== NOT EXECUTED
a000aef4:	e59d2068 	ldr	r2, [sp, #104]	; 0x68                         <== NOT EXECUTED
a000aef8:	e0c0c19a 	smull	ip, r0, sl, r1                              <== NOT EXECUTED
a000aefc:	e58d2008 	str	r2, [sp, #8]                                  <== NOT EXECUTED
a000af00:	e59d206c 	ldr	r2, [sp, #108]	; 0x6c                         <== NOT EXECUTED
a000af04:	e1a01fc1 	asr	r1, r1, #31                                   <== NOT EXECUTED
a000af08:	e0611340 	rsb	r1, r1, r0, asr #6                            <== NOT EXECUTED
a000af0c:	e0c0c29a 	smull	ip, r0, sl, r2                              <== NOT EXECUTED
a000af10:	e1a02fc2 	asr	r2, r2, #31                                   <== NOT EXECUTED
a000af14:	e0622340 	rsb	r2, r2, r0, asr #6                            <== NOT EXECUTED
a000af18:	e58d1004 	str	r1, [sp, #4]                                  <== NOT EXECUTED
a000af1c:	e58d200c 	str	r2, [sp, #12]                                 <== NOT EXECUTED
a000af20:	e59f1098 	ldr	r1, [pc, #152]	; a000afc0 <rtems_rate_monotonic_report_statistics_with_plugin+0x210><== NOT EXECUTED
a000af24:	e59d2020 	ldr	r2, [sp, #32]                                 <== NOT EXECUTED
a000af28:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000af2c:	e12fff35 	blx	r5                                            <== NOT EXECUTED
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
a000af30:	e59d1018 	ldr	r1, [sp, #24]                                 <== NOT EXECUTED
a000af34:	e59d0014 	ldr	r0, [sp, #20]                                 <== NOT EXECUTED
a000af38:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
a000af3c:	eb000de0 	bl	a000e6c4 <_Timespec_Divide_by_integer>         <== NOT EXECUTED
      (*print)( context,                                              
a000af40:	e59d2040 	ldr	r2, [sp, #64]	; 0x40                          <== NOT EXECUTED
a000af44:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          <== NOT EXECUTED
a000af48:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a000af4c:	e59d2044 	ldr	r2, [sp, #68]	; 0x44                          <== NOT EXECUTED
a000af50:	e0c0139a 	smull	r1, r0, sl, r3                              <== NOT EXECUTED
a000af54:	e0c1c29a 	smull	ip, r1, sl, r2                              <== NOT EXECUTED
a000af58:	e1a02fc2 	asr	r2, r2, #31                                   <== NOT EXECUTED
a000af5c:	e0622341 	rsb	r2, r2, r1, asr #6                            <== NOT EXECUTED
a000af60:	e58d2004 	str	r2, [sp, #4]                                  <== NOT EXECUTED
a000af64:	e59d2068 	ldr	r2, [sp, #104]	; 0x68                         <== NOT EXECUTED
a000af68:	e1a03fc3 	asr	r3, r3, #31                                   <== NOT EXECUTED
a000af6c:	e0633340 	rsb	r3, r3, r0, asr #6                            <== NOT EXECUTED
a000af70:	e58d2008 	str	r2, [sp, #8]                                  <== NOT EXECUTED
a000af74:	e59d206c 	ldr	r2, [sp, #108]	; 0x6c                         <== NOT EXECUTED
a000af78:	e59f1044 	ldr	r1, [pc, #68]	; a000afc4 <rtems_rate_monotonic_report_statistics_with_plugin+0x214><== NOT EXECUTED
a000af7c:	e0c0c29a 	smull	ip, r0, sl, r2                              <== NOT EXECUTED
a000af80:	e1a02fc2 	asr	r2, r2, #31                                   <== NOT EXECUTED
a000af84:	e0622340 	rsb	r2, r2, r0, asr #6                            <== NOT EXECUTED
a000af88:	e58d200c 	str	r2, [sp, #12]                                 <== NOT EXECUTED
a000af8c:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000af90:	e59d2038 	ldr	r2, [sp, #56]	; 0x38                          <== NOT EXECUTED
a000af94:	e12fff35 	blx	r5                                            <== NOT EXECUTED
a000af98:	eaffffa5 	b	a000ae34 <rtems_rate_monotonic_report_statistics_with_plugin+0x84><== NOT EXECUTED
                                                                      

a000afd8 <rtems_rate_monotonic_reset_all_statistics>: rtems_fatal_error_occurred( 99 ); } } #endif _Thread_Dispatch_disable_level += 1;
a000afd8:	e59f3040 	ldr	r3, [pc, #64]	; a000b020 <rtems_rate_monotonic_reset_all_statistics+0x48><== NOT EXECUTED
                                                                      
/*                                                                    
 *  rtems_rate_monotonic_reset_all_statistics                         
 */                                                                   
void rtems_rate_monotonic_reset_all_statistics( void )                
{                                                                     
a000afdc:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a000afe0:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a000afe4:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a000afe8:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
a000afec:	e59f5030 	ldr	r5, [pc, #48]	; a000b024 <rtems_rate_monotonic_reset_all_statistics+0x4c><== NOT EXECUTED
a000aff0:	e5954008 	ldr	r4, [r5, #8]                                  <== NOT EXECUTED
a000aff4:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
a000aff8:	e1540003 	cmp	r4, r3                                        <== NOT EXECUTED
a000affc:	8a000005 	bhi	a000b018 <rtems_rate_monotonic_reset_all_statistics+0x40><== NOT EXECUTED
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      (void) rtems_rate_monotonic_reset_statistics( id );             
a000b000:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000b004:	eb000007 	bl	a000b028 <rtems_rate_monotonic_reset_statistics><== NOT EXECUTED
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
a000b008:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
a000b00c:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
a000b010:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
a000b014:	2afffff9 	bcs	a000b000 <rtems_rate_monotonic_reset_all_statistics+0x28><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
}                                                                     
a000b018:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
a000b01c:	ea000ab5 	b	a000daf8 <_Thread_Enable_dispatch>              <== NOT EXECUTED
                                                                      

a000b028 <rtems_rate_monotonic_reset_statistics>: */ rtems_status_code rtems_rate_monotonic_reset_statistics( rtems_id id ) {
a000b028:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000b02c:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a000b030:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000b034:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a000b038:	e59f005c 	ldr	r0, [pc, #92]	; a000b09c <rtems_rate_monotonic_reset_statistics+0x74><== NOT EXECUTED
a000b03c:	eb0007af 	bl	a000cf00 <_Objects_Get>                        <== NOT EXECUTED
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a000b040:	e59d4000 	ldr	r4, [sp]                                      <== NOT EXECUTED
a000b044:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000b048:	13a00004 	movne	r0, #4                                      <== NOT EXECUTED
{                                                                     
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
a000b04c:	1a000010 	bne	a000b094 <rtems_rate_monotonic_reset_statistics+0x6c><== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      _Rate_monotonic_Reset_statistics( the_period );                 
a000b050:	e3e03102 	mvn	r3, #-2147483648	; 0x80000000                 <== NOT EXECUTED
a000b054:	e5804054 	str	r4, [r0, #84]	; 0x54                          <== NOT EXECUTED
a000b058:	e5804058 	str	r4, [r0, #88]	; 0x58                          <== NOT EXECUTED
a000b05c:	e5804064 	str	r4, [r0, #100]	; 0x64                         <== NOT EXECUTED
a000b060:	e5804068 	str	r4, [r0, #104]	; 0x68                         <== NOT EXECUTED
a000b064:	e580406c 	str	r4, [r0, #108]	; 0x6c                         <== NOT EXECUTED
a000b068:	e5804070 	str	r4, [r0, #112]	; 0x70                         <== NOT EXECUTED
a000b06c:	e580407c 	str	r4, [r0, #124]	; 0x7c                         <== NOT EXECUTED
a000b070:	e5804080 	str	r4, [r0, #128]	; 0x80                         <== NOT EXECUTED
a000b074:	e5804084 	str	r4, [r0, #132]	; 0x84                         <== NOT EXECUTED
a000b078:	e5804088 	str	r4, [r0, #136]	; 0x88                         <== NOT EXECUTED
a000b07c:	e580305c 	str	r3, [r0, #92]	; 0x5c                          <== NOT EXECUTED
a000b080:	e5803060 	str	r3, [r0, #96]	; 0x60                          <== NOT EXECUTED
a000b084:	e5803074 	str	r3, [r0, #116]	; 0x74                         <== NOT EXECUTED
a000b088:	e5803078 	str	r3, [r0, #120]	; 0x78                         <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
a000b08c:	eb000a99 	bl	a000daf8 <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a000b090:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000b094:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000b098:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0018718 <rtems_region_create>: uintptr_t length, uintptr_t page_size, rtems_attribute attribute_set, rtems_id *id ) {
a0018718:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a001871c:	e2509000 	subs	r9, r0, #0                                   
  uintptr_t           length,                                         
  uintptr_t           page_size,                                      
  rtems_attribute     attribute_set,                                  
  rtems_id           *id                                              
)                                                                     
{                                                                     
a0018720:	e24dd004 	sub	sp, sp, #4                                    
a0018724:	e1a05001 	mov	r5, r1                                        
a0018728:	e1a07002 	mov	r7, r2                                        
a001872c:	e1a06003 	mov	r6, r3                                        
a0018730:	e59db02c 	ldr	fp, [sp, #44]	; 0x2c                          
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
a0018734:	03a05003 	moveq	r5, #3                                      
)                                                                     
{                                                                     
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0018738:	0a00001a 	beq	a00187a8 <rtems_region_create+0x90>           
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
a001873c:	e3550000 	cmp	r5, #0                                        
a0018740:	0a000035 	beq	a001881c <rtems_region_create+0x104>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
a0018744:	e35b0000 	cmp	fp, #0                                        
a0018748:	0a000033 	beq	a001881c <rtems_region_create+0x104>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
a001874c:	e59f80d0 	ldr	r8, [pc, #208]	; a0018824 <rtems_region_create+0x10c>
 *  This function allocates a region control block from               
 *  the inactive chain of free region control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE Region_Control *_Region_Allocate( void )         
{                                                                     
  return (Region_Control *) _Objects_Allocate( &_Region_Information );
a0018750:	e59fa0d0 	ldr	sl, [pc, #208]	; a0018828 <rtems_region_create+0x110>
a0018754:	e5980000 	ldr	r0, [r8]                                      
a0018758:	eb0009a9 	bl	a001ae04 <_API_Mutex_Lock>                     
a001875c:	e1a0000a 	mov	r0, sl                                        
a0018760:	eb000fde 	bl	a001c6e0 <_Objects_Allocate>                   
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
a0018764:	e2504000 	subs	r4, r0, #0                                   
      return_status = RTEMS_TOO_MANY;                                 
a0018768:	03a05005 	moveq	r5, #5                                      
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
a001876c:	0a00000b 	beq	a00187a0 <rtems_region_create+0x88>           
      return_status = RTEMS_TOO_MANY;                                 
                                                                      
    else {                                                            
                                                                      
      the_region->maximum_segment_size = _Heap_Initialize(            
a0018770:	e2840068 	add	r0, r4, #104	; 0x68                           
a0018774:	e1a01005 	mov	r1, r5                                        
a0018778:	e1a02007 	mov	r2, r7                                        
a001877c:	e1a03006 	mov	r3, r6                                        
a0018780:	eb000eb1 	bl	a001c24c <_Heap_Initialize>                    
        &the_region->Memory, starting_address, length, page_size      
      );                                                              
                                                                      
      if ( !the_region->maximum_segment_size ) {                      
a0018784:	e3500000 	cmp	r0, #0                                        
    if ( !the_region )                                                
      return_status = RTEMS_TOO_MANY;                                 
                                                                      
    else {                                                            
                                                                      
      the_region->maximum_segment_size = _Heap_Initialize(            
a0018788:	e584005c 	str	r0, [r4, #92]	; 0x5c                          
        &the_region->Memory, starting_address, length, page_size      
      );                                                              
                                                                      
      if ( !the_region->maximum_segment_size ) {                      
a001878c:	1a000008 	bne	a00187b4 <rtems_region_create+0x9c>           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Region_Free (                              
  Region_Control *the_region                                          
)                                                                     
{                                                                     
  _Objects_Free( &_Region_Information, &the_region->Object );         
a0018790:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0018794:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0018798:	eb0010ac 	bl	a001ca50 <_Objects_Free>                       <== NOT EXECUTED
        _Region_Free( the_region );                                   
        return_status = RTEMS_INVALID_SIZE;                           
a001879c:	e3a05008 	mov	r5, #8                                        <== NOT EXECUTED
        *id = the_region->Object.id;                                  
        return_status = RTEMS_SUCCESSFUL;                             
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a00187a0:	e5980000 	ldr	r0, [r8]                                      
a00187a4:	eb0009b2 	bl	a001ae74 <_API_Mutex_Unlock>                   
  return return_status;                                               
}                                                                     
a00187a8:	e1a00005 	mov	r0, r5                                        
a00187ac:	e28dd004 	add	sp, sp, #4                                    
a00187b0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
        the_region->length                = length;                   
        the_region->page_size             = page_size;                
        the_region->attribute_set         = attribute_set;            
        the_region->number_of_used_blocks = 0;                        
                                                                      
        _Thread_queue_Initialize(                                     
a00187b4:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
                                                                      
        the_region->starting_address      = starting_address;         
        the_region->length                = length;                   
        the_region->page_size             = page_size;                
        the_region->attribute_set         = attribute_set;            
        the_region->number_of_used_blocks = 0;                        
a00187b8:	e3a0c000 	mov	ip, #0                                        
        return_status = RTEMS_INVALID_SIZE;                           
      }                                                               
                                                                      
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
a00187bc:	e5845050 	str	r5, [r4, #80]	; 0x50                          
        the_region->length                = length;                   
        the_region->page_size             = page_size;                
        the_region->attribute_set         = attribute_set;            
        the_region->number_of_used_blocks = 0;                        
                                                                      
        _Thread_queue_Initialize(                                     
a00187c0:	e3130004 	tst	r3, #4                                        
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
        the_region->length                = length;                   
        the_region->page_size             = page_size;                
        the_region->attribute_set         = attribute_set;            
a00187c4:	e5843060 	str	r3, [r4, #96]	; 0x60                          
        the_region->number_of_used_blocks = 0;                        
a00187c8:	e584c064 	str	ip, [r4, #100]	; 0x64                         
      }                                                               
                                                                      
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
        the_region->length                = length;                   
a00187cc:	e5847054 	str	r7, [r4, #84]	; 0x54                          
        the_region->page_size             = page_size;                
a00187d0:	e5846058 	str	r6, [r4, #88]	; 0x58                          
        the_region->attribute_set         = attribute_set;            
        the_region->number_of_used_blocks = 0;                        
                                                                      
        _Thread_queue_Initialize(                                     
a00187d4:	e2840010 	add	r0, r4, #16                                   
a00187d8:	03a01000 	moveq	r1, #0                                      
a00187dc:	13a01001 	movne	r1, #1                                      
a00187e0:	e3a02040 	mov	r2, #64	; 0x40                                
a00187e4:	e3a03006 	mov	r3, #6                                        
a00187e8:	e58dc000 	str	ip, [sp]                                      
a00187ec:	eb0015d3 	bl	a001df40 <_Thread_queue_Initialize>            
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a00187f0:	e5943008 	ldr	r3, [r4, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a00187f4:	e59a201c 	ldr	r2, [sl, #28]                                 
          &the_region->Object,                                        
          (Objects_Name) name                                         
        );                                                            
                                                                      
        *id = the_region->Object.id;                                  
        return_status = RTEMS_SUCCESSFUL;                             
a00187f8:	e59dc000 	ldr	ip, [sp]                                      
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a00187fc:	e1a01803 	lsl	r1, r3, #16                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0018800:	e7824721 	str	r4, [r2, r1, lsr #14]                         
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a0018804:	e5980000 	ldr	r0, [r8]                                      
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a0018808:	e584900c 	str	r9, [r4, #12]                                 
          &_Region_Information,                                       
          &the_region->Object,                                        
          (Objects_Name) name                                         
        );                                                            
                                                                      
        *id = the_region->Object.id;                                  
a001880c:	e58b3000 	str	r3, [fp]                                      
        return_status = RTEMS_SUCCESSFUL;                             
a0018810:	e1a0500c 	mov	r5, ip                                        
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a0018814:	eb000996 	bl	a001ae74 <_API_Mutex_Unlock>                   
a0018818:	eaffffe2 	b	a00187a8 <rtems_region_create+0x90>             
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
a001881c:	e3a05009 	mov	r5, #9                                        <== NOT EXECUTED
a0018820:	eaffffe0 	b	a00187a8 <rtems_region_create+0x90>             <== NOT EXECUTED
                                                                      

a00188b0 <rtems_region_extend>: rtems_status_code rtems_region_extend( rtems_id id, void *starting_address, uintptr_t length ) {
a00188b0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  bool                extend_ok;                                      
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
a00188b4:	e2518000 	subs	r8, r1, #0                                   <== NOT EXECUTED
rtems_status_code rtems_region_extend(                                
  rtems_id   id,                                                      
  void      *starting_address,                                        
  uintptr_t  length                                                   
)                                                                     
{                                                                     
a00188b8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a00188bc:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a00188c0:	e1a07002 	mov	r7, r2                                        <== NOT EXECUTED
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
a00188c4:	03a05009 	moveq	r5, #9                                      <== NOT EXECUTED
  bool                extend_ok;                                      
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
a00188c8:	0a00000d 	beq	a0018904 <rtems_region_extend+0x54>           <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
a00188cc:	e59f407c 	ldr	r4, [pc, #124]	; a0018950 <rtems_region_extend+0xa0><== NOT EXECUTED
a00188d0:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00188d4:	eb00094a 	bl	a001ae04 <_API_Mutex_Lock>                     <== NOT EXECUTED
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Region_Control *)                                           
    _Objects_Get_no_protection( &_Region_Information, id, location ); 
a00188d8:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00188dc:	e59f0070 	ldr	r0, [pc, #112]	; a0018954 <rtems_region_extend+0xa4><== NOT EXECUTED
a00188e0:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a00188e4:	eb0010b2 	bl	a001cbb4 <_Objects_Get_no_protection>          <== NOT EXECUTED
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a00188e8:	e59d5000 	ldr	r5, [sp]                                      <== NOT EXECUTED
a00188ec:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a00188f0:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
a00188f4:	13a05004 	movne	r5, #4                                      <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a00188f8:	0a000004 	beq	a0018910 <rtems_region_extend+0x60>           <== NOT EXECUTED
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a00188fc:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0018900:	eb00095b 	bl	a001ae74 <_API_Mutex_Unlock>                   <== NOT EXECUTED
  return return_status;                                               
}                                                                     
a0018904:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0018908:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a001890c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        extend_ok = _Heap_Extend(                                     
a0018910:	e2800068 	add	r0, r0, #104	; 0x68                           <== NOT EXECUTED
a0018914:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a0018918:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a001891c:	e28d3004 	add	r3, sp, #4                                    <== NOT EXECUTED
a0018920:	eb000c88 	bl	a001bb48 <_Heap_Extend>                        <== NOT EXECUTED
          starting_address,                                           
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( extend_ok ) {                                            
a0018924:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
          the_region->length                += amount_extended;       
          the_region->maximum_segment_size  += amount_extended;       
          return_status = RTEMS_SUCCESSFUL;                           
        } else {                                                      
          return_status = RTEMS_INVALID_ADDRESS;                      
a0018928:	03a05009 	moveq	r5, #9                                      <== NOT EXECUTED
          starting_address,                                           
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( extend_ok ) {                                            
a001892c:	0afffff2 	beq	a00188fc <rtems_region_extend+0x4c>           <== NOT EXECUTED
          the_region->length                += amount_extended;       
a0018930:	e59d3004 	ldr	r3, [sp, #4]                                  <== NOT EXECUTED
a0018934:	e5962054 	ldr	r2, [r6, #84]	; 0x54                          <== NOT EXECUTED
          the_region->maximum_segment_size  += amount_extended;       
a0018938:	e596105c 	ldr	r1, [r6, #92]	; 0x5c                          <== NOT EXECUTED
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( extend_ok ) {                                            
          the_region->length                += amount_extended;       
a001893c:	e0822003 	add	r2, r2, r3                                    <== NOT EXECUTED
          the_region->maximum_segment_size  += amount_extended;       
a0018940:	e0813003 	add	r3, r1, r3                                    <== NOT EXECUTED
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( extend_ok ) {                                            
          the_region->length                += amount_extended;       
a0018944:	e5862054 	str	r2, [r6, #84]	; 0x54                          <== NOT EXECUTED
          the_region->maximum_segment_size  += amount_extended;       
a0018948:	e586305c 	str	r3, [r6, #92]	; 0x5c                          <== NOT EXECUTED
a001894c:	eaffffea 	b	a00188fc <rtems_region_extend+0x4c>             <== NOT EXECUTED
                                                                      

a0018958 <rtems_region_get_free_information>: rtems_status_code rtems_region_get_free_information( rtems_id id, Heap_Information_block *the_info ) {
a0018958:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
a001895c:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
                                                                      
rtems_status_code rtems_region_get_free_information(                  
  rtems_id                id,                                         
  Heap_Information_block *the_info                                    
)                                                                     
{                                                                     
a0018960:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0018964:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
a0018968:	03a06009 	moveq	r6, #9                                      <== NOT EXECUTED
{                                                                     
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
a001896c:	0a00000c 	beq	a00189a4 <rtems_region_get_free_information+0x4c><== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
a0018970:	e59f4054 	ldr	r4, [pc, #84]	; a00189cc <rtems_region_get_free_information+0x74><== NOT EXECUTED
a0018974:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0018978:	eb000921 	bl	a001ae04 <_API_Mutex_Lock>                     <== NOT EXECUTED
a001897c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a0018980:	e59f0048 	ldr	r0, [pc, #72]	; a00189d0 <rtems_region_get_free_information+0x78><== NOT EXECUTED
a0018984:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0018988:	eb001089 	bl	a001cbb4 <_Objects_Get_no_protection>          <== NOT EXECUTED
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a001898c:	e59d6000 	ldr	r6, [sp]                                      <== NOT EXECUTED
a0018990:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
a0018994:	13a06004 	movne	r6, #4                                      <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a0018998:	0a000004 	beq	a00189b0 <rtems_region_get_free_information+0x58><== NOT EXECUTED
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a001899c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00189a0:	eb000933 	bl	a001ae74 <_API_Mutex_Unlock>                   <== NOT EXECUTED
  return return_status;                                               
}                                                                     
a00189a4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00189a8:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a00189ac:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        the_info->Used.number   = 0;                                  
a00189b0:	e585600c 	str	r6, [r5, #12]                                 <== NOT EXECUTED
        the_info->Used.total    = 0;                                  
a00189b4:	e5856014 	str	r6, [r5, #20]                                 <== NOT EXECUTED
        the_info->Used.largest  = 0;                                  
a00189b8:	e5856010 	str	r6, [r5, #16]                                 <== NOT EXECUTED
                                                                      
        _Heap_Get_free_information( &the_region->Memory, &the_info->Free );
a00189bc:	e2800068 	add	r0, r0, #104	; 0x68                           <== NOT EXECUTED
a00189c0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00189c4:	eb000d7c 	bl	a001bfbc <_Heap_Get_free_information>          <== NOT EXECUTED
                                                                      
        return_status = RTEMS_SUCCESSFUL;                             
        break;                                                        
a00189c8:	eafffff3 	b	a001899c <rtems_region_get_free_information+0x44><== NOT EXECUTED
                                                                      

a00189d4 <rtems_region_get_information>: rtems_status_code rtems_region_get_information( rtems_id id, Heap_Information_block *the_info ) {
a00189d4:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
a00189d8:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
                                                                      
rtems_status_code rtems_region_get_information(                       
  rtems_id                id,                                         
  Heap_Information_block *the_info                                    
)                                                                     
{                                                                     
a00189dc:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a00189e0:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
a00189e4:	03a06009 	moveq	r6, #9                                      <== NOT EXECUTED
{                                                                     
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
a00189e8:	0a00000c 	beq	a0018a20 <rtems_region_get_information+0x4c>  <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
a00189ec:	e59f4048 	ldr	r4, [pc, #72]	; a0018a3c <rtems_region_get_information+0x68><== NOT EXECUTED
a00189f0:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00189f4:	eb000902 	bl	a001ae04 <_API_Mutex_Lock>                     <== NOT EXECUTED
a00189f8:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a00189fc:	e59f003c 	ldr	r0, [pc, #60]	; a0018a40 <rtems_region_get_information+0x6c><== NOT EXECUTED
a0018a00:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0018a04:	eb00106a 	bl	a001cbb4 <_Objects_Get_no_protection>          <== NOT EXECUTED
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a0018a08:	e59d6000 	ldr	r6, [sp]                                      <== NOT EXECUTED
a0018a0c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
a0018a10:	13a06004 	movne	r6, #4                                      <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a0018a14:	0a000004 	beq	a0018a2c <rtems_region_get_information+0x58>  <== NOT EXECUTED
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a0018a18:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0018a1c:	eb000914 	bl	a001ae74 <_API_Mutex_Unlock>                   <== NOT EXECUTED
  return return_status;                                               
}                                                                     
a0018a20:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0018a24:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0018a28:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
        _Heap_Get_information( &the_region->Memory, the_info );       
a0018a2c:	e2800068 	add	r0, r0, #104	; 0x68                           <== NOT EXECUTED
a0018a30:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0018a34:	eb000d7a 	bl	a001c024 <_Heap_Get_information>               <== NOT EXECUTED
        return_status = RTEMS_SUCCESSFUL;                             
        break;                                                        
a0018a38:	eafffff6 	b	a0018a18 <rtems_region_get_information+0x44>    <== NOT EXECUTED
                                                                      

a0018b88 <rtems_region_get_segment_size>: rtems_status_code rtems_region_get_segment_size( rtems_id id, void *segment, uintptr_t *size ) {
a0018b88:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
a0018b8c:	e2516000 	subs	r6, r1, #0                                   
rtems_status_code rtems_region_get_segment_size(                      
  rtems_id   id,                                                      
  void      *segment,                                                 
  uintptr_t *size                                                     
)                                                                     
{                                                                     
a0018b90:	e24dd004 	sub	sp, sp, #4                                    
a0018b94:	e1a07000 	mov	r7, r0                                        
a0018b98:	e1a05002 	mov	r5, r2                                        
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
a0018b9c:	0a00001b 	beq	a0018c10 <rtems_region_get_segment_size+0x88> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
a0018ba0:	e3520000 	cmp	r2, #0                                        
a0018ba4:	0a000019 	beq	a0018c10 <rtems_region_get_segment_size+0x88> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
a0018ba8:	e59f4068 	ldr	r4, [pc, #104]	; a0018c18 <rtems_region_get_segment_size+0x90>
a0018bac:	e5940000 	ldr	r0, [r4]                                      
a0018bb0:	eb000893 	bl	a001ae04 <_API_Mutex_Lock>                     
a0018bb4:	e59f0060 	ldr	r0, [pc, #96]	; a0018c1c <rtems_region_get_segment_size+0x94>
a0018bb8:	e1a01007 	mov	r1, r7                                        
a0018bbc:	e1a0200d 	mov	r2, sp                                        
a0018bc0:	eb000ffb 	bl	a001cbb4 <_Objects_Get_no_protection>          
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a0018bc4:	e59d3000 	ldr	r3, [sp]                                      
a0018bc8:	e3530000 	cmp	r3, #0                                        
a0018bcc:	0a000007 	beq	a0018bf0 <rtems_region_get_segment_size+0x68> 
  void      *segment,                                                 
  uintptr_t *size                                                     
)                                                                     
{                                                                     
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
a0018bd0:	e3530001 	cmp	r3, #1                                        <== NOT EXECUTED
a0018bd4:	03a05004 	moveq	r5, #4                                      <== NOT EXECUTED
a0018bd8:	13a05000 	movne	r5, #0                                      <== NOT EXECUTED
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a0018bdc:	e5940000 	ldr	r0, [r4]                                      
a0018be0:	eb0008a3 	bl	a001ae74 <_API_Mutex_Unlock>                   
  return return_status;                                               
}                                                                     
a0018be4:	e1a00005 	mov	r0, r5                                        
a0018be8:	e28dd004 	add	sp, sp, #4                                    
a0018bec:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
a0018bf0:	e1a02005 	mov	r2, r5                                        
a0018bf4:	e2800068 	add	r0, r0, #104	; 0x68                           
a0018bf8:	e1a01006 	mov	r1, r6                                        
a0018bfc:	eb000e7d 	bl	a001c5f8 <_Heap_Size_of_alloc_area>            
  void      *segment,                                                 
  uintptr_t *size                                                     
)                                                                     
{                                                                     
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
a0018c00:	e3500000 	cmp	r0, #0                                        
a0018c04:	03a05009 	moveq	r5, #9                                      
a0018c08:	13a05000 	movne	r5, #0                                      
a0018c0c:	eafffff2 	b	a0018bdc <rtems_region_get_segment_size+0x54>   
                                                                      
  if ( !segment )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
a0018c10:	e3a05009 	mov	r5, #9                                        <== NOT EXECUTED
a0018c14:	eafffff2 	b	a0018be4 <rtems_region_get_segment_size+0x5c>   <== NOT EXECUTED
                                                                      

a0018c50 <rtems_region_resize_segment>: rtems_id id, void *segment, uintptr_t size, uintptr_t *old_size ) {
a0018c50:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  uintptr_t                osize;                                     
  rtems_status_code        return_status;                             
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
a0018c54:	e2535000 	subs	r5, r3, #0                                   <== NOT EXECUTED
  rtems_id    id,                                                     
  void       *segment,                                                
  uintptr_t   size,                                                   
  uintptr_t  *old_size                                                
)                                                                     
{                                                                     
a0018c58:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
a0018c5c:	e24dd010 	sub	sp, sp, #16                                   <== NOT EXECUTED
a0018c60:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
a0018c64:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
  rtems_status_code        return_status;                             
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
a0018c68:	03a00009 	moveq	r0, #9                                      <== NOT EXECUTED
  uintptr_t                osize;                                     
  rtems_status_code        return_status;                             
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
a0018c6c:	0a00000d 	beq	a0018ca8 <rtems_region_resize_segment+0x58>   <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
a0018c70:	e59f408c 	ldr	r4, [pc, #140]	; a0018d04 <rtems_region_resize_segment+0xb4><== NOT EXECUTED
a0018c74:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0018c78:	eb000861 	bl	a001ae04 <_API_Mutex_Lock>                     <== NOT EXECUTED
a0018c7c:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a0018c80:	e59f0080 	ldr	r0, [pc, #128]	; a0018d08 <rtems_region_resize_segment+0xb8><== NOT EXECUTED
a0018c84:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
a0018c88:	eb000fc9 	bl	a001cbb4 <_Objects_Get_no_protection>          <== NOT EXECUTED
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a0018c8c:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
a0018c90:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
a0018c94:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0018c98:	0a000004 	beq	a0018cb0 <rtems_region_resize_segment+0x60>   <== NOT EXECUTED
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a0018c9c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0018ca0:	eb000873 	bl	a001ae74 <_API_Mutex_Unlock>                   <== NOT EXECUTED
  return return_status;                                               
a0018ca4:	e3a00004 	mov	r0, #4                                        <== NOT EXECUTED
}                                                                     
a0018ca8:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
a0018cac:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        _Region_Debug_Walk( the_region, 7 );                          
                                                                      
        status = _Heap_Resize_block(                                  
a0018cb0:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
a0018cb4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0018cb8:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a0018cbc:	e28d3004 	add	r3, sp, #4                                    <== NOT EXECUTED
a0018cc0:	e2800068 	add	r0, r0, #104	; 0x68                           <== NOT EXECUTED
a0018cc4:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0018cc8:	eb000dfa 	bl	a001c4b8 <_Heap_Resize_block>                  <== NOT EXECUTED
          segment,                                                    
          (uint32_t) size,                                            
          &osize,                                                     
          &avail_size                                                 
        );                                                            
        *old_size = (uint32_t) osize;                                 
a0018ccc:	e59d3004 	ldr	r3, [sp, #4]                                  <== NOT EXECUTED
                                                                      
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL )                       
a0018cd0:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
          segment,                                                    
          (uint32_t) size,                                            
          &osize,                                                     
          &avail_size                                                 
        );                                                            
        *old_size = (uint32_t) osize;                                 
a0018cd4:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
                                                                      
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL )                       
a0018cd8:	1a000003 	bne	a0018cec <rtems_region_resize_segment+0x9c>   <== NOT EXECUTED
          _Region_Process_queue( the_region );    /* unlocks allocator */
a0018cdc:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0018ce0:	eb001f24 	bl	a0020978 <_Region_Process_queue>               <== NOT EXECUTED
        else                                                          
          _RTEMS_Unlock_allocator();                                  
                                                                      
                                                                      
        if (status == HEAP_RESIZE_SUCCESSFUL)                         
          return RTEMS_SUCCESSFUL;                                    
a0018ce4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0018ce8:	eaffffee 	b	a0018ca8 <rtems_region_resize_segment+0x58>     <== NOT EXECUTED
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL )                       
          _Region_Process_queue( the_region );    /* unlocks allocator */
        else                                                          
          _RTEMS_Unlock_allocator();                                  
a0018cec:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0018cf0:	eb00085f 	bl	a001ae74 <_API_Mutex_Unlock>                   <== NOT EXECUTED
                                                                      
                                                                      
        if (status == HEAP_RESIZE_SUCCESSFUL)                         
          return RTEMS_SUCCESSFUL;                                    
        if (status == HEAP_RESIZE_UNSATISFIED)                        
          return RTEMS_UNSATISFIED;                                   
a0018cf4:	e3560001 	cmp	r6, #1                                        <== NOT EXECUTED
a0018cf8:	13a00009 	movne	r0, #9                                      <== NOT EXECUTED
a0018cfc:	03a0000d 	moveq	r0, #13                                     <== NOT EXECUTED
a0018d00:	eaffffe8 	b	a0018ca8 <rtems_region_resize_segment+0x58>     <== NOT EXECUTED
                                                                      

a0018d0c <rtems_region_return_segment>: rtems_status_code rtems_region_return_segment( rtems_id id, void *segment ) {
a0018d0c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  uint32_t                 size;                                      
#endif                                                                
  int                      status;                                    
  register Region_Control *the_region;                                
                                                                      
  _RTEMS_Lock_allocator();                                            
a0018d10:	e59f4078 	ldr	r4, [pc, #120]	; a0018d90 <rtems_region_return_segment+0x84>
                                                                      
rtems_status_code rtems_region_return_segment(                        
  rtems_id  id,                                                       
  void     *segment                                                   
)                                                                     
{                                                                     
a0018d14:	e24dd004 	sub	sp, sp, #4                                    
a0018d18:	e1a06000 	mov	r6, r0                                        
  uint32_t                 size;                                      
#endif                                                                
  int                      status;                                    
  register Region_Control *the_region;                                
                                                                      
  _RTEMS_Lock_allocator();                                            
a0018d1c:	e5940000 	ldr	r0, [r4]                                      
                                                                      
rtems_status_code rtems_region_return_segment(                        
  rtems_id  id,                                                       
  void     *segment                                                   
)                                                                     
{                                                                     
a0018d20:	e1a05001 	mov	r5, r1                                        
  uint32_t                 size;                                      
#endif                                                                
  int                      status;                                    
  register Region_Control *the_region;                                
                                                                      
  _RTEMS_Lock_allocator();                                            
a0018d24:	eb000836 	bl	a001ae04 <_API_Mutex_Lock>                     
a0018d28:	e1a01006 	mov	r1, r6                                        
a0018d2c:	e59f0060 	ldr	r0, [pc, #96]	; a0018d94 <rtems_region_return_segment+0x88>
a0018d30:	e1a0200d 	mov	r2, sp                                        
a0018d34:	eb000f9e 	bl	a001cbb4 <_Objects_Get_no_protection>          
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a0018d38:	e59d6000 	ldr	r6, [sp]                                      
a0018d3c:	e1a07000 	mov	r7, r0                                        
a0018d40:	e3560000 	cmp	r6, #0                                        
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
a0018d44:	13a06004 	movne	r6, #4                                      
  register Region_Control *the_region;                                
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
a0018d48:	1a000005 	bne	a0018d64 <rtems_region_return_segment+0x58>   
RTEMS_INLINE_ROUTINE bool _Region_Free_segment (                      
  Region_Control *the_region,                                         
  void           *the_segment                                         
)                                                                     
{                                                                     
  return _Heap_Free( &the_region->Memory, the_segment );              
a0018d4c:	e2800068 	add	r0, r0, #104	; 0x68                           
a0018d50:	e1a01005 	mov	r1, r5                                        
a0018d54:	eb000c28 	bl	a001bdfc <_Heap_Free>                          
#endif                                                                
          status = _Region_Free_segment( the_region, segment );       
                                                                      
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
a0018d58:	e3500000 	cmp	r0, #0                                        
            return_status = RTEMS_INVALID_ADDRESS;                    
a0018d5c:	03a06009 	moveq	r6, #9                                      
#endif                                                                
          status = _Region_Free_segment( the_region, segment );       
                                                                      
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
a0018d60:	1a000004 	bne	a0018d78 <rtems_region_return_segment+0x6c>   
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
a0018d64:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0018d68:	eb000841 	bl	a001ae74 <_API_Mutex_Unlock>                   <== NOT EXECUTED
  return return_status;                                               
}                                                                     
a0018d6c:	e1a00006 	mov	r0, r6                                        
a0018d70:	e28dd004 	add	sp, sp, #4                                    
a0018d74:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
            return_status = RTEMS_INVALID_ADDRESS;                    
          else {                                                      
            the_region->number_of_used_blocks -= 1;                   
a0018d78:	e5973064 	ldr	r3, [r7, #100]	; 0x64                         
                                                                      
            _Region_Process_queue(the_region); /* unlocks allocator */
a0018d7c:	e1a00007 	mov	r0, r7                                        
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
            return_status = RTEMS_INVALID_ADDRESS;                    
          else {                                                      
            the_region->number_of_used_blocks -= 1;                   
a0018d80:	e2433001 	sub	r3, r3, #1                                    
a0018d84:	e5873064 	str	r3, [r7, #100]	; 0x64                         
                                                                      
            _Region_Process_queue(the_region); /* unlocks allocator */
a0018d88:	eb001efa 	bl	a0020978 <_Region_Process_queue>               
                                                                      
            return RTEMS_SUCCESSFUL;                                  
a0018d8c:	eafffff6 	b	a0018d6c <rtems_region_return_segment+0x60>     
                                                                      

a0009850 <rtems_semaphore_create>: uint32_t count, rtems_attribute attribute_set, rtems_task_priority priority_ceiling, rtems_id *id ) {
a0009850:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  register Semaphore_Control *the_semaphore;                          
  CORE_mutex_Attributes       the_mutex_attr;                         
  CORE_semaphore_Attributes   the_semaphore_attr;                     
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0009854:	e2505000 	subs	r5, r0, #0                                   
  uint32_t             count,                                         
  rtems_attribute      attribute_set,                                 
  rtems_task_priority  priority_ceiling,                              
  rtems_id            *id                                             
)                                                                     
{                                                                     
a0009858:	e24dd020 	sub	sp, sp, #32                                   
a000985c:	e1a04001 	mov	r4, r1                                        
a0009860:	e59d6038 	ldr	r6, [sp, #56]	; 0x38                          
  CORE_mutex_Attributes       the_mutex_attr;                         
  CORE_semaphore_Attributes   the_semaphore_attr;                     
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
a0009864:	03a00003 	moveq	r0, #3                                      
  register Semaphore_Control *the_semaphore;                          
  CORE_mutex_Attributes       the_mutex_attr;                         
  CORE_semaphore_Attributes   the_semaphore_attr;                     
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a0009868:	0a000008 	beq	a0009890 <rtems_semaphore_create+0x40>        
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
a000986c:	e3560000 	cmp	r6, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a0009870:	03a00009 	moveq	r0, #9                                      
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
a0009874:	0a000005 	beq	a0009890 <rtems_semaphore_create+0x40>        
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  } else                                                              
#endif                                                                
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) ||            
a0009878:	e21210c0 	ands	r1, r2, #192	; 0xc0                          
a000987c:	0a000037 	beq	a0009960 <rtems_semaphore_create+0x110>       
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_binary_semaphore(            
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
  return ((attribute_set & RTEMS_SEMAPHORE_CLASS) == RTEMS_BINARY_SEMAPHORE);
a0009880:	e2028030 	and	r8, r2, #48	; 0x30                            
              _Attributes_Is_priority_ceiling( attribute_set ) ) {    
                                                                      
    if ( ! (_Attributes_Is_binary_semaphore( attribute_set ) &&       
a0009884:	e3580010 	cmp	r8, #16                                       
a0009888:	0a000002 	beq	a0009898 <rtems_semaphore_create+0x48>        
                                                                      
  }                                                                   
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
a000988c:	e3a0000b 	mov	r0, #11                                       <== NOT EXECUTED
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0009890:	e28dd020 	add	sp, sp, #32                                   
a0009894:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
#endif                                                                
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) ||            
              _Attributes_Is_priority_ceiling( attribute_set ) ) {    
                                                                      
    if ( ! (_Attributes_Is_binary_semaphore( attribute_set ) &&       
a0009898:	e3120004 	tst	r2, #4                                        
a000989c:	0afffffa 	beq	a000988c <rtems_semaphore_create+0x3c>        
            _Attributes_Is_priority( attribute_set ) ) )              
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  }                                                                   
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
a00098a0:	e35100c0 	cmp	r1, #192	; 0xc0                               
a00098a4:	0afffff8 	beq	a000988c <rtems_semaphore_create+0x3c>        
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
a00098a8:	e3540001 	cmp	r4, #1                                        
    return RTEMS_INVALID_NUMBER;                                      
a00098ac:	83a0000a 	movhi	r0, #10                                     
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
a00098b0:	8afffff6 	bhi	a0009890 <rtems_semaphore_create+0x40>        
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a00098b4:	e59f1150 	ldr	r1, [pc, #336]	; a0009a0c <rtems_semaphore_create+0x1bc>
a00098b8:	e5910000 	ldr	r0, [r1]                                      
a00098bc:	e2800001 	add	r0, r0, #1                                    
a00098c0:	e5810000 	str	r0, [r1]                                      
 *  This function allocates a semaphore control block from            
 *  the inactive chain of free semaphore control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Allocate( void )   
{                                                                     
  return (Semaphore_Control *) _Objects_Allocate( &_Semaphore_Information );
a00098c4:	e59f0144 	ldr	r0, [pc, #324]	; a0009a10 <rtems_semaphore_create+0x1c0>
a00098c8:	e58d2004 	str	r2, [sp, #4]                                  
a00098cc:	e58d3000 	str	r3, [sp]                                      
a00098d0:	eb00054a 	bl	a000ae00 <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_semaphore = _Semaphore_Allocate();                              
                                                                      
  if ( !the_semaphore ) {                                             
a00098d4:	e2507000 	subs	r7, r0, #0                                   
a00098d8:	e59d2004 	ldr	r2, [sp, #4]                                  
a00098dc:	e59d3000 	ldr	r3, [sp]                                      
a00098e0:	0a00002f 	beq	a00099a4 <rtems_semaphore_create+0x154>       
  the_semaphore->attribute_set = attribute_set;                       
                                                                      
  /*                                                                  
   *  Initialize it as a counting semaphore.                          
   */                                                                 
  if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {         
a00098e4:	e3580000 	cmp	r8, #0                                        
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_semaphore->attribute_set = attribute_set;                       
a00098e8:	e5872010 	str	r2, [r7, #16]                                 
                                                                      
  /*                                                                  
   *  Initialize it as a counting semaphore.                          
   */                                                                 
  if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {         
a00098ec:	0a00001e 	beq	a000996c <rtems_semaphore_create+0x11c>       
  } else {                                                            
    /*                                                                
     *  It is either simple binary semaphore or a more powerful mutex 
     *  style binary semaphore.  This is the mutex style.             
     */                                                               
    if ( _Attributes_Is_priority( attribute_set ) )                   
a00098f0:	e2121004 	ands	r1, r2, #4                                   
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;    
a00098f4:	13a01001 	movne	r1, #1                                      
a00098f8:	158d1010 	strne	r1, [sp, #16]                               
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
a00098fc:	058d1010 	streq	r1, [sp, #16]                               
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
a0009900:	e3580010 	cmp	r8, #16                                       
a0009904:	0a000029 	beq	a00099b0 <rtems_semaphore_create+0x160>       
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
          the_mutex_attr.only_owner_release = true;                   
        }                                                             
      }                                                               
    } else /* must be simple binary semaphore */ {                    
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;
a0009908:	e3a03002 	mov	r3, #2                                        
a000990c:	e58d3008 	str	r3, [sp, #8]                                  
      the_mutex_attr.only_owner_release = false;                      
a0009910:	e3a03000 	mov	r3, #0                                        
a0009914:	e5cd300c 	strb	r3, [sp, #12]                                
    }                                                                 
                                                                      
    mutex_status = _CORE_mutex_Initialize(                            
a0009918:	e3540001 	cmp	r4, #1                                        
a000991c:	13a02000 	movne	r2, #0                                      
a0009920:	03a02001 	moveq	r2, #1                                      
a0009924:	e2870014 	add	r0, r7, #20                                   
a0009928:	e28d1008 	add	r1, sp, #8                                    
a000992c:	eb0002e1 	bl	a000a4b8 <_CORE_mutex_Initialize>              
      &the_semaphore->Core_control.mutex,                             
      &the_mutex_attr,                                                
      (count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED          
    );                                                                
                                                                      
    if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {       
a0009930:	e3500006 	cmp	r0, #6                                        
a0009934:	0a00002e 	beq	a00099f4 <rtems_semaphore_create+0x1a4>       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0009938:	e59f20d0 	ldr	r2, [pc, #208]	; a0009a10 <rtems_semaphore_create+0x1c0>
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a000993c:	e5973008 	ldr	r3, [r7, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0009940:	e592201c 	ldr	r2, [r2, #28]                                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a0009944:	e1a01803 	lsl	r1, r3, #16                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0009948:	e7827721 	str	r7, [r2, r1, lsr #14]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a000994c:	e587500c 	str	r5, [r7, #12]                                 
    &_Semaphore_Information,                                          
    &the_semaphore->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_semaphore->Object.id;                                     
a0009950:	e5863000 	str	r3, [r6]                                      
      the_semaphore->Object.id,                                       
      name,                                                           
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
a0009954:	eb00095c 	bl	a000becc <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a0009958:	e3a00000 	mov	r0, #0                                        
a000995c:	eaffffcb 	b	a0009890 <rtems_semaphore_create+0x40>          
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
a0009960:	e2128030 	ands	r8, r2, #48	; 0x30                           
a0009964:	1affffcf 	bne	a00098a8 <rtems_semaphore_create+0x58>        
a0009968:	eaffffd1 	b	a00098b4 <rtems_semaphore_create+0x64>          
    /*                                                                
     *  This effectively disables limit checking.                     
     */                                                               
    the_semaphore_attr.maximum_count = 0xFFFFFFFF;                    
                                                                      
    if ( _Attributes_Is_priority( attribute_set ) )                   
a000996c:	e3120004 	tst	r2, #4                                        
   */                                                                 
  if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {         
    /*                                                                
     *  This effectively disables limit checking.                     
     */                                                               
    the_semaphore_attr.maximum_count = 0xFFFFFFFF;                    
a0009970:	e3e03000 	mvn	r3, #0                                        
a0009974:	e58d3018 	str	r3, [sp, #24]                                 
                                                                      
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
a0009978:	13a03001 	movne	r3, #1                                      
a000997c:	158d301c 	strne	r3, [sp, #28]                               
     *  The following are just to make Purify happy.                  
     */                                                               
    the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    the_mutex_attr.priority_ceiling = PRIORITY_MINIMUM;               
                                                                      
    _CORE_semaphore_Initialize(                                       
a0009980:	e2870014 	add	r0, r7, #20                                   
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
                                                                      
    /*                                                                
     *  The following are just to make Purify happy.                  
     */                                                               
    the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
a0009984:	e3a03000 	mov	r3, #0                                        
    the_mutex_attr.priority_ceiling = PRIORITY_MINIMUM;               
                                                                      
    _CORE_semaphore_Initialize(                                       
a0009988:	e28d1018 	add	r1, sp, #24                                   
a000998c:	e1a02004 	mov	r2, r4                                        
    the_semaphore_attr.maximum_count = 0xFFFFFFFF;                    
                                                                      
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
    else                                                              
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
a0009990:	058d801c 	streq	r8, [sp, #28]                               
                                                                      
    /*                                                                
     *  The following are just to make Purify happy.                  
     */                                                               
    the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
a0009994:	e58d3008 	str	r3, [sp, #8]                                  
    the_mutex_attr.priority_ceiling = PRIORITY_MINIMUM;               
a0009998:	e58d3014 	str	r3, [sp, #20]                                 
                                                                      
    _CORE_semaphore_Initialize(                                       
a000999c:	eb000394 	bl	a000a7f4 <_CORE_semaphore_Initialize>          
a00099a0:	eaffffe4 	b	a0009938 <rtems_semaphore_create+0xe8>          
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_semaphore = _Semaphore_Allocate();                              
                                                                      
  if ( !the_semaphore ) {                                             
    _Thread_Enable_dispatch();                                        
a00099a4:	eb000948 	bl	a000becc <_Thread_Enable_dispatch>             
    return RTEMS_TOO_MANY;                                            
a00099a8:	e3a00005 	mov	r0, #5                                        
a00099ac:	eaffffb7 	b	a0009890 <rtems_semaphore_create+0x40>          
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
      the_mutex_attr.priority_ceiling      = priority_ceiling;        
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
      the_mutex_attr.only_owner_release    = false;                   
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
a00099b0:	e59d0010 	ldr	r0, [sp, #16]                                 
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
      the_mutex_attr.priority_ceiling      = priority_ceiling;        
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
a00099b4:	e3a01000 	mov	r1, #0                                        
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;    
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
      the_mutex_attr.priority_ceiling      = priority_ceiling;        
a00099b8:	e58d3014 	str	r3, [sp, #20]                                 
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
      the_mutex_attr.only_owner_release    = false;                   
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
a00099bc:	e3500001 	cmp	r0, #1                                        
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
      the_mutex_attr.priority_ceiling      = priority_ceiling;        
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
a00099c0:	e58d1008 	str	r1, [sp, #8]                                  
      the_mutex_attr.only_owner_release    = false;                   
a00099c4:	e5cd100c 	strb	r1, [sp, #12]                                
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
a00099c8:	1affffd2 	bne	a0009918 <rtems_semaphore_create+0xc8>        
        if ( _Attributes_Is_inherit_priority( attribute_set ) ) {     
a00099cc:	e3120040 	tst	r2, #64	; 0x40                                
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
a00099d0:	13a03002 	movne	r3, #2                                      
a00099d4:	158d3010 	strne	r3, [sp, #16]                               
          the_mutex_attr.only_owner_release = true;                   
a00099d8:	15cd000c 	strbne	r0, [sp, #12]                              
      the_mutex_attr.priority_ceiling      = priority_ceiling;        
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
      the_mutex_attr.only_owner_release    = false;                   
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
        if ( _Attributes_Is_inherit_priority( attribute_set ) ) {     
a00099dc:	1affffcd 	bne	a0009918 <rtems_semaphore_create+0xc8>        
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
          the_mutex_attr.only_owner_release = true;                   
        } else if ( _Attributes_Is_priority_ceiling( attribute_set ) ) {
a00099e0:	e3120080 	tst	r2, #128	; 0x80                               
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
a00099e4:	13a03003 	movne	r3, #3                                      
a00099e8:	158d3010 	strne	r3, [sp, #16]                               
          the_mutex_attr.only_owner_release = true;                   
a00099ec:	15cd000c 	strbne	r0, [sp, #12]                              
a00099f0:	eaffffc8 	b	a0009918 <rtems_semaphore_create+0xc8>          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
a00099f4:	e59f0014 	ldr	r0, [pc, #20]	; a0009a10 <rtems_semaphore_create+0x1c0>
a00099f8:	e1a01007 	mov	r1, r7                                        
a00099fc:	eb0005db 	bl	a000b170 <_Objects_Free>                       
      (count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED          
    );                                                                
                                                                      
    if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {       
      _Semaphore_Free( the_semaphore );                               
      _Thread_Enable_dispatch();                                      
a0009a00:	eb000931 	bl	a000becc <_Thread_Enable_dispatch>             
      return RTEMS_INVALID_PRIORITY;                                  
a0009a04:	e3a00013 	mov	r0, #19                                       
a0009a08:	eaffffa0 	b	a0009890 <rtems_semaphore_create+0x40>          
                                                                      

a0009a14 <rtems_semaphore_delete>: #endif rtems_status_code rtems_semaphore_delete( rtems_id id ) {
a0009a14:	e92d4010 	push	{r4, lr}                                     
a0009a18:	e24dd004 	sub	sp, sp, #4                                    
a0009a1c:	e1a01000 	mov	r1, r0                                        
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    _Objects_Get( &_Semaphore_Information, id, location );            
a0009a20:	e1a0200d 	mov	r2, sp                                        
a0009a24:	e59f0088 	ldr	r0, [pc, #136]	; a0009ab4 <rtems_semaphore_delete+0xa0>
a0009a28:	eb000629 	bl	a000b2d4 <_Objects_Get>                        
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
a0009a2c:	e59d3000 	ldr	r3, [sp]                                      
a0009a30:	e1a04000 	mov	r4, r0                                        
a0009a34:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0009a38:	13a00004 	movne	r0, #4                                      
{                                                                     
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
a0009a3c:	1a000009 	bne	a0009a68 <rtems_semaphore_delete+0x54>        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore(          
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
  return ((attribute_set & RTEMS_SEMAPHORE_CLASS) == RTEMS_COUNTING_SEMAPHORE);
a0009a40:	e5941010 	ldr	r1, [r4, #16]                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
a0009a44:	e2111030 	ands	r1, r1, #48	; 0x30                           
a0009a48:	0a000015 	beq	a0009aa4 <rtems_semaphore_delete+0x90>        
        if ( _CORE_mutex_Is_locked( &the_semaphore->Core_control.mutex ) &&
a0009a4c:	e5943064 	ldr	r3, [r4, #100]	; 0x64                         
a0009a50:	e3530000 	cmp	r3, #0                                        
a0009a54:	1a000005 	bne	a0009a70 <rtems_semaphore_delete+0x5c>        
a0009a58:	e3510020 	cmp	r1, #32                                       
a0009a5c:	0a000003 	beq	a0009a70 <rtems_semaphore_delete+0x5c>        
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
a0009a60:	eb000919 	bl	a000becc <_Thread_Enable_dispatch>             <== NOT EXECUTED
          return RTEMS_RESOURCE_IN_USE;                               
a0009a64:	e3a0000c 	mov	r0, #12                                       <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0009a68:	e28dd004 	add	sp, sp, #4                                    
a0009a6c:	e8bd8010 	pop	{r4, pc}                                      
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
          return RTEMS_RESOURCE_IN_USE;                               
        }                                                             
        _CORE_mutex_Flush(                                            
a0009a70:	e2840014 	add	r0, r4, #20                                   
a0009a74:	e3a01000 	mov	r1, #0                                        
a0009a78:	e3a02004 	mov	r2, #4                                        
a0009a7c:	eb00028c 	bl	a000a4b4 <_CORE_mutex_Flush>                   
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_SEMAPHORE_WAS_DELETED                                  
        );                                                            
     }                                                                
                                                                      
      _Objects_Close( &_Semaphore_Information, &the_semaphore->Object );
a0009a80:	e1a01004 	mov	r1, r4                                        
a0009a84:	e59f0028 	ldr	r0, [pc, #40]	; a0009ab4 <rtems_semaphore_delete+0xa0>
a0009a88:	eb000501 	bl	a000ae94 <_Objects_Close>                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
a0009a8c:	e59f0020 	ldr	r0, [pc, #32]	; a0009ab4 <rtems_semaphore_delete+0xa0>
a0009a90:	e1a01004 	mov	r1, r4                                        
a0009a94:	eb0005b5 	bl	a000b170 <_Objects_Free>                       
          0,                         /* Not used */                   
          0                          /* Not used */                   
        );                                                            
      }                                                               
#endif                                                                
      _Thread_Enable_dispatch();                                      
a0009a98:	eb00090b 	bl	a000becc <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a0009a9c:	e3a00000 	mov	r0, #0                                        
a0009aa0:	eafffff0 	b	a0009a68 <rtems_semaphore_delete+0x54>          
          &the_semaphore->Core_control.mutex,                         
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_MUTEX_WAS_DELETED                                      
        );                                                            
      } else {                                                        
        _CORE_semaphore_Flush(                                        
a0009aa4:	e2840014 	add	r0, r4, #20                                   
a0009aa8:	e3a02002 	mov	r2, #2                                        
a0009aac:	eb00034f 	bl	a000a7f0 <_CORE_semaphore_Flush>               
a0009ab0:	eafffff2 	b	a0009a80 <rtems_semaphore_delete+0x6c>          
                                                                      

a0012acc <rtems_semaphore_flush>: #endif rtems_status_code rtems_semaphore_flush( rtems_id id ) {
a0012acc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
a0012ad0:	e24dd004 	sub	sp, sp, #4                                    
a0012ad4:	e1a01000 	mov	r1, r0                                        
a0012ad8:	e1a0200d 	mov	r2, sp                                        
a0012adc:	e59f004c 	ldr	r0, [pc, #76]	; a0012b30 <rtems_semaphore_flush+0x64>
a0012ae0:	ebffe6ad 	bl	a000c59c <_Objects_Get>                        
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
a0012ae4:	e59d3000 	ldr	r3, [sp]                                      
a0012ae8:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0012aec:	13a00004 	movne	r0, #4                                      
{                                                                     
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
a0012af0:	1a000007 	bne	a0012b14 <rtems_semaphore_flush+0x48>         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore(          
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
  return ((attribute_set & RTEMS_SEMAPHORE_CLASS) == RTEMS_COUNTING_SEMAPHORE);
a0012af4:	e5901010 	ldr	r1, [r0, #16]                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
a0012af8:	e2111030 	ands	r1, r1, #48	; 0x30                           
a0012afc:	1a000006 	bne	a0012b1c <rtems_semaphore_flush+0x50>         
          &the_semaphore->Core_control.mutex,                         
          SEND_OBJECT_WAS_DELETED,                                    
          CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT                        
        );                                                            
      } else {                                                        
        _CORE_semaphore_Flush(                                        
a0012b00:	e2800014 	add	r0, r0, #20                                   <== NOT EXECUTED
a0012b04:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0012b08:	ebffe40a 	bl	a000bb38 <_CORE_semaphore_Flush>               <== NOT EXECUTED
          &the_semaphore->Core_control.semaphore,                     
          SEND_OBJECT_WAS_DELETED,                                    
          CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT                    
        );                                                            
      }                                                               
      _Thread_Enable_dispatch();                                      
a0012b0c:	ebffe9a6 	bl	a000d1ac <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a0012b10:	e3a00000 	mov	r0, #0                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0012b14:	e28dd004 	add	sp, sp, #4                                    
a0012b18:	e8bd8000 	pop	{pc}                                          
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
        _CORE_mutex_Flush(                                            
a0012b1c:	e2800014 	add	r0, r0, #20                                   
a0012b20:	e1a01003 	mov	r1, r3                                        
a0012b24:	e3a02001 	mov	r2, #1                                        
a0012b28:	ebffe333 	bl	a000b7fc <_CORE_mutex_Flush>                   
a0012b2c:	eafffff6 	b	a0012b0c <rtems_semaphore_flush+0x40>           
                                                                      

a0009ab8 <rtems_semaphore_obtain>: rtems_status_code rtems_semaphore_obtain( rtems_id id, rtems_option option_set, rtems_interval timeout ) {
a0009ab8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0009abc:	e1a04000 	mov	r4, r0                                        
a0009ac0:	e24dd00c 	sub	sp, sp, #12                                   
  Objects_Locations *location,                                        
  ISR_Level         *level                                            
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    _Objects_Get_isr_disable( &_Semaphore_Information, id, location, level );
a0009ac4:	e28d3004 	add	r3, sp, #4                                    
a0009ac8:	e1a05001 	mov	r5, r1                                        
a0009acc:	e1a06002 	mov	r6, r2                                        
a0009ad0:	e59f00f4 	ldr	r0, [pc, #244]	; a0009bcc <rtems_semaphore_obtain+0x114>
a0009ad4:	e1a01004 	mov	r1, r4                                        
a0009ad8:	e28d2008 	add	r2, sp, #8                                    
a0009adc:	eb0005e0 	bl	a000b264 <_Objects_Get_isr_disable>            
  register Semaphore_Control     *the_semaphore;                      
  Objects_Locations               location;                           
  ISR_Level                       level;                              
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  switch ( location ) {                                               
a0009ae0:	e59d3008 	ldr	r3, [sp, #8]                                  
a0009ae4:	e3530000 	cmp	r3, #0                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0009ae8:	13a00004 	movne	r0, #4                                      
  register Semaphore_Control     *the_semaphore;                      
  Objects_Locations               location;                           
  ISR_Level                       level;                              
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  switch ( location ) {                                               
a0009aec:	1a00000e 	bne	a0009b2c <rtems_semaphore_obtain+0x74>        
a0009af0:	e5903010 	ldr	r3, [r0, #16]                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
a0009af4:	e2133030 	ands	r3, r3, #48	; 0x30                           
a0009af8:	0a00000d 	beq	a0009b34 <rtems_semaphore_obtain+0x7c>        
        _CORE_mutex_Seize(                                            
a0009afc:	e59d3004 	ldr	r3, [sp, #4]                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Options_Is_no_wait (                       
  rtems_option option_set                                             
)                                                                     
{                                                                     
   return (option_set & RTEMS_NO_WAIT) ? true : false;                
a0009b00:	e2052001 	and	r2, r5, #1                                    
a0009b04:	e2800014 	add	r0, r0, #20                                   
a0009b08:	e58d3000 	str	r3, [sp]                                      
a0009b0c:	e2222001 	eor	r2, r2, #1                                    
a0009b10:	e1a03006 	mov	r3, r6                                        
a0009b14:	e1a01004 	mov	r1, r4                                        
a0009b18:	eb0002b0 	bl	a000a5e0 <_CORE_mutex_Seize>                   
          ((_Options_Is_no_wait( option_set )) ? false : true),       
          timeout,                                                    
          level                                                       
        );                                                            
        return _Semaphore_Translate_core_mutex_return_code(           
                  _Thread_Executing->Wait.return_code );              
a0009b1c:	e59f30ac 	ldr	r3, [pc, #172]	; a0009bd0 <rtems_semaphore_obtain+0x118>
a0009b20:	e5933004 	ldr	r3, [r3, #4]                                  
          id,                                                         
          ((_Options_Is_no_wait( option_set )) ? false : true),       
          timeout,                                                    
          level                                                       
        );                                                            
        return _Semaphore_Translate_core_mutex_return_code(           
a0009b24:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
a0009b28:	eb00004c 	bl	a0009c60 <_Semaphore_Translate_core_mutex_return_code>
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0009b2c:	e28dd00c 	add	sp, sp, #12                                   
a0009b30:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
{                                                                     
  Thread_Control *executing;                                          
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
a0009b34:	e59f7094 	ldr	r7, [pc, #148]	; a0009bd0 <rtems_semaphore_obtain+0x118>
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
a0009b38:	e590105c 	ldr	r1, [r0, #92]	; 0x5c                          
{                                                                     
  Thread_Control *executing;                                          
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
a0009b3c:	e5972004 	ldr	r2, [r7, #4]                                  
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
a0009b40:	e3510000 	cmp	r1, #0                                        
  Thread_Control *executing;                                          
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
a0009b44:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  if ( the_semaphore->count != 0 ) {                                  
a0009b48:	1a000009 	bne	a0009b74 <rtems_semaphore_obtain+0xbc>        
    the_semaphore->count -= 1;                                        
    _ISR_Enable( *level_p );                                          
    return;                                                           
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
a0009b4c:	e3150001 	tst	r5, #1                                        
a0009b50:	0a00000c 	beq	a0009b88 <rtems_semaphore_obtain+0xd0>        
a0009b54:	e59d3004 	ldr	r3, [sp, #4]                                  <== NOT EXECUTED
a0009b58:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    _ISR_Enable( *level_p );                                          
    executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT;
a0009b5c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0009b60:	e5823034 	str	r3, [r2, #52]	; 0x34                          <== NOT EXECUTED
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
                  _Thread_Executing->Wait.return_code );              
a0009b64:	e5973004 	ldr	r3, [r7, #4]                                  
        id,                                                           
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
a0009b68:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
a0009b6c:	eb00003f 	bl	a0009c70 <_Semaphore_Translate_core_semaphore_return_code>
a0009b70:	eaffffed 	b	a0009b2c <rtems_semaphore_obtain+0x74>          
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
    the_semaphore->count -= 1;                                        
a0009b74:	e2411001 	sub	r1, r1, #1                                    
a0009b78:	e580105c 	str	r1, [r0, #92]	; 0x5c                          
a0009b7c:	e59d3004 	ldr	r3, [sp, #4]                                  
a0009b80:	e129f003 	msr	CPSR_fc, r3                                   
a0009b84:	eafffff6 	b	a0009b64 <rtems_semaphore_obtain+0xac>          
a0009b88:	e59f3044 	ldr	r3, [pc, #68]	; a0009bd4 <rtems_semaphore_obtain+0x11c>
a0009b8c:	e5931000 	ldr	r1, [r3]                                      
a0009b90:	e2811001 	add	r1, r1, #1                                    
a0009b94:	e5831000 	str	r1, [r3]                                      
                                                                      
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;
a0009b98:	e3a01001 	mov	r1, #1                                        
    return;                                                           
  }                                                                   
                                                                      
  _Thread_Disable_dispatch();                                         
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue          = &the_semaphore->Wait_queue;        
a0009b9c:	e2803014 	add	r3, r0, #20                                   
a0009ba0:	e5801044 	str	r1, [r0, #68]	; 0x44                          
a0009ba4:	e5823044 	str	r3, [r2, #68]	; 0x44                          
  executing->Wait.id             = id;                                
a0009ba8:	e5824020 	str	r4, [r2, #32]                                 
a0009bac:	e59d2004 	ldr	r2, [sp, #4]                                  
a0009bb0:	e129f002 	msr	CPSR_fc, r2                                   
  _ISR_Enable( *level_p );                                            
                                                                      
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
a0009bb4:	e59f201c 	ldr	r2, [pc, #28]	; a0009bd8 <rtems_semaphore_obtain+0x120>
a0009bb8:	e1a00003 	mov	r0, r3                                        
a0009bbc:	e1a01006 	mov	r1, r6                                        
a0009bc0:	eb0009e8 	bl	a000c368 <_Thread_queue_Enqueue_with_handler>  
  _Thread_Enable_dispatch();                                          
a0009bc4:	eb0008c0 	bl	a000becc <_Thread_Enable_dispatch>             
a0009bc8:	eaffffe5 	b	a0009b64 <rtems_semaphore_obtain+0xac>          
                                                                      

a0019268 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
a0019268:	e92d4010 	push	{r4, lr}                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
a001926c:	e2514000 	subs	r4, r1, #0                                   
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
a0019270:	e24dd004 	sub	sp, sp, #4                                    
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
a0019274:	03a0000a 	moveq	r0, #10                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
a0019278:	1a000001 	bne	a0019284 <rtems_signal_send+0x1c>             
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a001927c:	e28dd004 	add	sp, sp, #4                                    
a0019280:	e8bd8010 	pop	{r4, pc}                                      
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a0019284:	e1a0100d 	mov	r1, sp                                        
a0019288:	eb001160 	bl	a001d810 <_Thread_Get>                         
  switch ( location ) {                                               
a001928c:	e59d3000 	ldr	r3, [sp]                                      
a0019290:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0019294:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a0019298:	1afffff7 	bne	a001927c <rtems_signal_send+0x14>             
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
a001929c:	e59030f4 	ldr	r3, [r0, #244]	; 0xf4                         
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
a00192a0:	e593200c 	ldr	r2, [r3, #12]                                 
a00192a4:	e3520000 	cmp	r2, #0                                        
a00192a8:	0a00001c 	beq	a0019320 <rtems_signal_send+0xb8>             
        if ( asr->is_enabled ) {                                      
a00192ac:	e5d32008 	ldrb	r2, [r3, #8]                                 
a00192b0:	e3520000 	cmp	r2, #0                                        
a00192b4:	0a00000f 	beq	a00192f8 <rtems_signal_send+0x90>             
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00192b8:	e10f2000 	mrs	r2, CPSR                                      
a00192bc:	e3821080 	orr	r1, r2, #128	; 0x80                           
a00192c0:	e129f001 	msr	CPSR_fc, r1                                   
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
    *signal_set |= signals;                                           
a00192c4:	e5931014 	ldr	r1, [r3, #20]                                 
a00192c8:	e1814004 	orr	r4, r1, r4                                    
a00192cc:	e5834014 	str	r4, [r3, #20]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00192d0:	e129f002 	msr	CPSR_fc, r2                                   
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
a00192d4:	e59f3050 	ldr	r3, [pc, #80]	; a001932c <rtems_signal_send+0xc4>
a00192d8:	e5932000 	ldr	r2, [r3]                                      
a00192dc:	e3520000 	cmp	r2, #0                                        
a00192e0:	0a00000b 	beq	a0019314 <rtems_signal_send+0xac>             
a00192e4:	e5932004 	ldr	r2, [r3, #4]                                  
a00192e8:	e1500002 	cmp	r0, r2                                        
            _Thread_Dispatch_necessary = true;                        
a00192ec:	03a02001 	moveq	r2, #1                                      <== NOT EXECUTED
a00192f0:	05c32010 	strbeq	r2, [r3, #16]                              <== NOT EXECUTED
a00192f4:	ea000006 	b	a0019314 <rtems_signal_send+0xac>               <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00192f8:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
a00192fc:	e3821080 	orr	r1, r2, #128	; 0x80                           <== NOT EXECUTED
a0019300:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
a0019304:	e5931018 	ldr	r1, [r3, #24]                                 <== NOT EXECUTED
a0019308:	e1814004 	orr	r4, r1, r4                                    <== NOT EXECUTED
a001930c:	e5834018 	str	r4, [r3, #24]                                 <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0019310:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
a0019314:	eb001134 	bl	a001d7ec <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a0019318:	e3a00000 	mov	r0, #0                                        
a001931c:	eaffffd6 	b	a001927c <rtems_signal_send+0x14>               
      }                                                               
      _Thread_Enable_dispatch();                                      
a0019320:	eb001131 	bl	a001d7ec <_Thread_Enable_dispatch>             
      return RTEMS_NOT_DEFINED;                                       
a0019324:	e3a0000b 	mov	r0, #11                                       
a0019328:	eaffffd3 	b	a001927c <rtems_signal_send+0x14>               <== NOT EXECUTED
                                                                      

a0005a80 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
a0005a80:	e92d4830 	push	{r4, r5, fp, lr}                             
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a0005a84:	e59f4074 	ldr	r4, [pc, #116]	; a0005b00 <rtems_stack_checker_is_blown+0x80>
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a0005a88:	e28db00c 	add	fp, sp, #12                                   
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a0005a8c:	e5943004 	ldr	r3, [r4, #4]                                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0005a90:	e59300b8 	ldr	r0, [r3, #184]	; 0xb8                         
a0005a94:	e15b0000 	cmp	fp, r0                                        
      return false;                                                   
a0005a98:	33a05000 	movcc	r5, #0                                      
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0005a9c:	3a000004 	bcc	a0005ab4 <rtems_stack_checker_is_blown+0x34>  
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
a0005aa0:	e59350b4 	ldr	r5, [r3, #180]	; 0xb4                         
a0005aa4:	e0805005 	add	r5, r0, r5                                    
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
a0005aa8:	e15b0005 	cmp	fp, r5                                        
a0005aac:	83a05000 	movhi	r5, #0                                      
a0005ab0:	93a05001 	movls	r5, #1                                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
a0005ab4:	e59f3048 	ldr	r3, [pc, #72]	; a0005b04 <rtems_stack_checker_is_blown+0x84>
a0005ab8:	e5933008 	ldr	r3, [r3, #8]                                  
a0005abc:	e3530000 	cmp	r3, #0                                        
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
a0005ac0:	03a01001 	moveq	r1, #1                                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
a0005ac4:	0a000005 	beq	a0005ae0 <rtems_stack_checker_is_blown+0x60>  
    pattern_ok = (!memcmp(                                            
a0005ac8:	e59f1038 	ldr	r1, [pc, #56]	; a0005b08 <rtems_stack_checker_is_blown+0x88>
a0005acc:	e2800008 	add	r0, r0, #8                                    
a0005ad0:	e3a02010 	mov	r2, #16                                       
a0005ad4:	eb002fc2 	bl	a00119e4 <memcmp>                              
a0005ad8:	e2701001 	rsbs	r1, r0, #1                                   
a0005adc:	33a01000 	movcc	r1, #0                                      
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
a0005ae0:	e3550000 	cmp	r5, #0                                        
a0005ae4:	0a000003 	beq	a0005af8 <rtems_stack_checker_is_blown+0x78>  
a0005ae8:	e3510000 	cmp	r1, #0                                        
a0005aec:	0a000001 	beq	a0005af8 <rtems_stack_checker_is_blown+0x78>  
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
a0005af0:	e3a00000 	mov	r0, #0                                        
a0005af4:	e8bd8830 	pop	{r4, r5, fp, pc}                              
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
a0005af8:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a0005afc:	ebffff97 	bl	a0005960 <Stack_check_report_blown_task>       <== NOT EXECUTED
                                                                      

a0005b64 <rtems_stack_checker_report_usage>: } void rtems_stack_checker_report_usage( void ) { rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
a0005b64:	e59f1004 	ldr	r1, [pc, #4]	; a0005b70 <rtems_stack_checker_report_usage+0xc><== NOT EXECUTED
a0005b68:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0005b6c:	eaffffe6 	b	a0005b0c <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
                                                                      

a0005b0c <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
a0005b0c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  if ( !print )                                                       
a0005b10:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a0005b14:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  if ( !print )                                                       
a0005b18:	0a00000c 	beq	a0005b50 <rtems_stack_checker_report_usage_with_plugin+0x44><== NOT EXECUTED
    return;                                                           
                                                                      
  print_context = context;                                            
a0005b1c:	e59f4030 	ldr	r4, [pc, #48]	; a0005b54 <rtems_stack_checker_report_usage_with_plugin+0x48><== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
a0005b20:	e59f1030 	ldr	r1, [pc, #48]	; a0005b58 <rtems_stack_checker_report_usage_with_plugin+0x4c><== NOT EXECUTED
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
a0005b24:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
  print_handler = print;                                              
a0005b28:	e5845000 	str	r5, [r4]                                      <== NOT EXECUTED
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
a0005b2c:	e12fff35 	blx	r5                                            <== NOT EXECUTED
  (*print)( context,                                                  
a0005b30:	e59f1024 	ldr	r1, [pc, #36]	; a0005b5c <rtems_stack_checker_report_usage_with_plugin+0x50><== NOT EXECUTED
a0005b34:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0005b38:	e12fff35 	blx	r5                                            <== NOT EXECUTED
"    ID      NAME    LOW          HIGH     CURRENT     AVAILABLE     USED\n"
  );                                                                  
                                                                      
  /* iterate over all threads and dump the usage */                   
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
a0005b3c:	e59f001c 	ldr	r0, [pc, #28]	; a0005b60 <rtems_stack_checker_report_usage_with_plugin+0x54><== NOT EXECUTED
a0005b40:	eb00149d 	bl	a000adbc <rtems_iterate_over_all_threads>      <== NOT EXECUTED
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    /* dump interrupt stack info if any */                            
    Stack_check_Dump_threads_usage((Thread_Control *) -1);            
  #endif                                                              
                                                                      
  print_context = NULL;                                               
a0005b44:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0005b48:	e5843004 	str	r3, [r4, #4]                                  <== NOT EXECUTED
  print_handler = NULL;                                               
a0005b4c:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
a0005b50:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0005a14 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
a0005a14:	e92d4810 	push	{r4, fp, lr}                                 
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
a0005a18:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
a0005a1c:	e28db008 	add	fp, sp, #8                                    
a0005a20:	e1a04000 	mov	r4, r0                                        
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0005a24:	e15b0003 	cmp	fp, r3                                        
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
a0005a28:	e2830008 	add	r0, r3, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0005a2c:	3a000003 	bcc	a0005a40 <rtems_stack_checker_switch_extension+0x2c>
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
a0005a30:	e59420b4 	ldr	r2, [r4, #180]	; 0xb4                         
a0005a34:	e0833002 	add	r3, r3, r2                                    
a0005a38:	e15b0003 	cmp	fp, r3                                        
a0005a3c:	9a000006 	bls	a0005a5c <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,                                     
a0005a40:	e59f1034 	ldr	r1, [pc, #52]	; a0005a7c <rtems_stack_checker_switch_extension+0x68><== NOT EXECUTED
a0005a44:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
a0005a48:	eb002fe5 	bl	a00119e4 <memcmp>                              <== NOT EXECUTED
a0005a4c:	e2701001 	rsbs	r1, r0, #1                                   <== NOT EXECUTED
a0005a50:	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 );             
a0005a54:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0005a58:	ebffffc0 	bl	a0005960 <Stack_check_report_blown_task>       <== NOT EXECUTED
  /*                                                                  
   *  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,                                     
a0005a5c:	e59f1018 	ldr	r1, [pc, #24]	; a0005a7c <rtems_stack_checker_switch_extension+0x68>
a0005a60:	e3a02010 	mov	r2, #16                                       
a0005a64:	eb002fde 	bl	a00119e4 <memcmp>                              
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
a0005a68:	e3500000 	cmp	r0, #0                                        
a0005a6c:	1a000000 	bne	a0005a74 <rtems_stack_checker_switch_extension+0x60>
a0005a70:	e8bd8810 	pop	{r4, fp, pc}                                  
a0005a74:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0005a78:	eafffff5 	b	a0005a54 <rtems_stack_checker_switch_extension+0x40><== NOT EXECUTED
                                                                      

a001025c <rtems_string_to_pointer>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
a001025c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a0010260:	e2515000 	subs	r5, r1, #0                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
a0010264:	e1a04000 	mov	r4, r0                                        
a0010268:	e24dd004 	sub	sp, sp, #4                                    
a001026c:	e1a06002 	mov	r6, r2                                        
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
a0010270:	03a00009 	moveq	r0, #9                                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a0010274:	0a000013 	beq	a00102c8 <rtems_string_to_pointer+0x6c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a0010278:	eb000881 	bl	a0012484 <__errno>                             
a001027c:	e3a03000 	mov	r3, #0                                        
a0010280:	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 );                         
a0010284:	e1a0100d 	mov	r1, sp                                        
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
a0010288:	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 );                         
a001028c:	e1a00004 	mov	r0, r4                                        
a0010290:	e3a02010 	mov	r2, #16                                       
a0010294:	eb0015a7 	bl	a0015938 <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 )                                                       
a0010298:	e3560000 	cmp	r6, #0                                        
    *endptr = end;                                                    
a001029c:	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 )                                                       
a00102a0:	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 );                         
a00102a4:	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;                                                    
a00102a8:	15863000 	strne	r3, [r6]                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
a00102ac:	e1540003 	cmp	r4, r3                                        
    return RTEMS_NOT_DEFINED;                                         
a00102b0:	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 )                                                     
a00102b4:	0a000003 	beq	a00102c8 <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))              
a00102b8:	e3770001 	cmn	r7, #1                                        
a00102bc:	0a000003 	beq	a00102d0 <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;                          
a00102c0:	e5857000 	str	r7, [r5]                                      
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
a00102c4:	e3a00000 	mov	r0, #0                                        
}                                                                     
a00102c8:	e28dd004 	add	sp, sp, #4                                    
a00102cc:	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))              
a00102d0:	eb00086b 	bl	a0012484 <__errno>                             <== NOT EXECUTED
a00102d4:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a00102d8:	e3530022 	cmp	r3, #34	; 0x22                                <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
a00102dc:	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))              
a00102e0:	1afffff6 	bne	a00102c0 <rtems_string_to_pointer+0x64>       <== NOT EXECUTED
a00102e4:	eafffff7 	b	a00102c8 <rtems_string_to_pointer+0x6c>         <== NOT EXECUTED
                                                                      

a0005e98 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
a0005e98:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0005e9c:	e24ddf6b 	sub	sp, sp, #428	; 0x1ac                          
a0005ea0:	e1a06001 	mov	r6, r1                                        
a0005ea4:	e1a07002 	mov	r7, r2                                        
a0005ea8:	e58d0018 	str	r0, [sp, #24]                                 
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
a0005eac:	eb003ec8 	bl	a00159d4 <strlen>                              
a0005eb0:	e28d2f65 	add	r2, sp, #404	; 0x194                          
a0005eb4:	e1a01000 	mov	r1, r0                                        
a0005eb8:	e58d2008 	str	r2, [sp, #8]                                  
a0005ebc:	e59d0018 	ldr	r0, [sp, #24]                                 
a0005ec0:	e3a02000 	mov	r2, #0                                        
a0005ec4:	e28d3f65 	add	r3, sp, #404	; 0x194                          
a0005ec8:	e58d2000 	str	r2, [sp]                                      
a0005ecc:	eb0002be 	bl	a00069cc <rtems_filesystem_evaluate_path>      
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
a0005ed0:	e3500000 	cmp	r0, #0                                        
     return -1;                                                       
a0005ed4:	13e02000 	mvnne	r2, #0                                      
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
a0005ed8:	e58d0014 	str	r0, [sp, #20]                                 
     return -1;                                                       
a0005edc:	158d2014 	strne	r2, [sp, #20]                               
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
a0005ee0:	1a000032 	bne	a0005fb0 <rtems_tarfs_load+0x118>             
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
a0005ee4:	e59d31a0 	ldr	r3, [sp, #416]	; 0x1a0                        
a0005ee8:	e59f21d4 	ldr	r2, [pc, #468]	; a00060c4 <rtems_tarfs_load+0x22c>
a0005eec:	e1530002 	cmp	r3, r2                                        
a0005ef0:	059d8014 	ldreq	r8, [sp, #20]                               
a0005ef4:	1a00006b 	bne	a00060a8 <rtems_tarfs_load+0x210>             
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
a0005ef8:	e2884c02 	add	r4, r8, #512	; 0x200                          
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
a0005efc:	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)                                      
a0005f00:	e1540007 	cmp	r4, r7                                        
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
a0005f04:	e28d5f47 	add	r5, sp, #284	; 0x11c                          
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
a0005f08:	e58d3004 	str	r3, [sp, #4]                                  
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
a0005f0c:	8a000027 	bhi	a0005fb0 <rtems_tarfs_load+0x118>             
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
a0005f10:	e0868008 	add	r8, r6, r8                                    
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
a0005f14:	e2880c01 	add	r0, r8, #256	; 0x100                          
a0005f18:	e2800001 	add	r0, r0, #1                                    
a0005f1c:	e59f11a4 	ldr	r1, [pc, #420]	; a00060c8 <rtems_tarfs_load+0x230>
a0005f20:	e3a02005 	mov	r2, #5                                        
a0005f24:	eb003ec2 	bl	a0015a34 <strncmp>                             
a0005f28:	e250a000 	subs	sl, r0, #0                                   
a0005f2c:	1a00001f 	bne	a0005fb0 <rtems_tarfs_load+0x118>             
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
a0005f30:	e3a02063 	mov	r2, #99	; 0x63                                
a0005f34:	e1a01008 	mov	r1, r8                                        
a0005f38:	e1a00005 	mov	r0, r5                                        
a0005f3c:	eb003f1d 	bl	a0015bb8 <strncpy>                             
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
a0005f40:	e3a01008 	mov	r1, #8                                        
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
a0005f44:	e5cda17f 	strb	sl, [sp, #383]	; 0x17f                       
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
a0005f48:	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];                                        
a0005f4c:	e5d8b09c 	ldrb	fp, [r8, #156]	; 0x9c                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
a0005f50:	eb001fd9 	bl	a000debc <_rtems_octal2ulong>                  
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
a0005f54:	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);                
a0005f58:	e58d0010 	str	r0, [sp, #16]                                 
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
a0005f5c:	e288007c 	add	r0, r8, #124	; 0x7c                           
a0005f60:	eb001fd5 	bl	a000debc <_rtems_octal2ulong>                  
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
a0005f64:	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);               
a0005f68:	e1a09000 	mov	r9, r0                                        
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
a0005f6c:	e2880094 	add	r0, r8, #148	; 0x94                           
a0005f70:	eb001fd1 	bl	a000debc <_rtems_octal2ulong>                  
a0005f74:	e1a03000 	mov	r3, r0                                        
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
a0005f78:	e1a00008 	mov	r0, r8                                        
a0005f7c:	e58d300c 	str	r3, [sp, #12]                                 
a0005f80:	eb0020da 	bl	a000e2f0 <_rtems_tar_header_checksum>          
a0005f84:	e59d300c 	ldr	r3, [sp, #12]                                 
a0005f88:	e1500003 	cmp	r0, r3                                        
a0005f8c:	1a000007 	bne	a0005fb0 <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) {                                        
a0005f90:	e35b0035 	cmp	fp, #53	; 0x35                                
a0005f94:	0a00001a 	beq	a0006004 <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) {                                   
a0005f98:	e35b0030 	cmp	fp, #48	; 0x30                                
a0005f9c:	0a000006 	beq	a0005fbc <rtems_tarfs_load+0x124>             
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
a0005fa0:	e1a08004 	mov	r8, r4                                        
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
a0005fa4:	e2884c02 	add	r4, r8, #512	; 0x200                          
a0005fa8:	e1540007 	cmp	r4, r7                                        
a0005fac:	9affffd7 	bls	a0005f10 <rtems_tarfs_load+0x78>              
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
a0005fb0:	e59d0014 	ldr	r0, [sp, #20]                                 
a0005fb4:	e28ddf6b 	add	sp, sp, #428	; 0x1ac                          
a0005fb8:	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;                                                 
a0005fbc:	e59dc008 	ldr	ip, [sp, #8]                                  
a0005fc0:	e59de004 	ldr	lr, [sp, #4]                                  
a0005fc4:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0005fc8:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0005fcc:	e59cc000 	ldr	ip, [ip]                                      
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
a0005fd0:	e1a00005 	mov	r0, r5                                        
a0005fd4:	e28d1d06 	add	r1, sp, #384	; 0x180                          
a0005fd8:	e28d2f6a 	add	r2, sp, #424	; 0x1a8                          
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
a0005fdc:	e58ec000 	str	ip, [lr]                                      
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
a0005fe0:	eb0022da 	bl	a000eb50 <IMFS_evaluate_for_make>              
a0005fe4:	e2508000 	subs	r8, r0, #0                                   
a0005fe8:	0a00001c 	beq	a0006060 <rtems_tarfs_load+0x1c8>             
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
a0005fec:	e2899f7f 	add	r9, r9, #508	; 0x1fc                          <== NOT EXECUTED
a0005ff0:	e2899003 	add	r9, r9, #3                                    <== NOT EXECUTED
a0005ff4:	e1a094a9 	lsr	r9, r9, #9                                    <== NOT EXECUTED
      offset += 512 * nblocks;                                        
a0005ff8:	e0844489 	add	r4, r4, r9, lsl #9                            <== NOT EXECUTED
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
a0005ffc:	e1a08004 	mov	r8, r4                                        
a0006000:	eaffffe7 	b	a0005fa4 <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);                              
a0006004:	e59d1018 	ldr	r1, [sp, #24]                                 
a0006008:	e28d001c 	add	r0, sp, #28                                   
a000600c:	eb003cac 	bl	a00152c4 <strcpy>                              
      if (full_filename[strlen(full_filename)-1] != '/')              
a0006010:	e28d001c 	add	r0, sp, #28                                   
a0006014:	eb003e6e 	bl	a00159d4 <strlen>                              
a0006018:	e28def6b 	add	lr, sp, #428	; 0x1ac                          
a000601c:	e08e3000 	add	r3, lr, r0                                    
a0006020:	e5533191 	ldrb	r3, [r3, #-401]	; 0x191                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
a0006024:	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] != '/')              
a0006028:	e353002f 	cmp	r3, #47	; 0x2f                                
        strcat(full_filename, "/");                                   
a000602c:	128d101c 	addne	r1, sp, #28                                 
a0006030:	10813000 	addne	r3, r1, r0                                  
a0006034:	13a0202f 	movne	r2, #47	; 0x2f                              
a0006038:	17c12000 	strbne	r2, [r1, r0]                               
a000603c:	15c3a001 	strbne	sl, [r3, #1]                               
      strcat(full_filename, filename);                                
a0006040:	e1a01005 	mov	r1, r5                                        
a0006044:	e28d001c 	add	r0, sp, #28                                   
a0006048:	eb003be6 	bl	a0014fe8 <strcat>                              
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
a000604c:	e3a01f7f 	mov	r1, #508	; 0x1fc                              
a0006050:	e28d001c 	add	r0, sp, #28                                   
a0006054:	e2811003 	add	r1, r1, #3                                    
a0006058:	eb0004d5 	bl	a00073b4 <mkdir>                               
a000605c:	eaffffd0 	b	a0005fa4 <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,      
a0006060:	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(                                      
a0006064:	e28d0d06 	add	r0, sp, #384	; 0x180                          
a0006068:	e59d21a8 	ldr	r2, [sp, #424]	; 0x1a8                        
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
a000606c:	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(                                      
a0006070:	e3a01006 	mov	r1, #6                                        
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
a0006074:	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(                                      
a0006078:	e3833902 	orr	r3, r3, #32768	; 0x8000                       
a000607c:	e58d8000 	str	r8, [sp]                                      
a0006080:	eb00210d 	bl	a000e4bc <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;                     
a0006084:	e5809050 	str	r9, [r0, #80]	; 0x50                          
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
a0006088:	e2899f7f 	add	r9, r9, #508	; 0x1fc                          
a000608c:	e2899003 	add	r9, r9, #3                                    
a0006090:	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];            
a0006094:	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;                     
a0006098:	e5808054 	str	r8, [r0, #84]	; 0x54                          
        node->info.linearfile.direct = &tar_image[offset];            
a000609c:	e5803058 	str	r3, [r0, #88]	; 0x58                          
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
a00060a0:	e0844489 	add	r4, r4, r9, lsl #9                            
a00060a4:	eaffffd4 	b	a0005ffc <rtems_tarfs_load+0x164>               
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
a00060a8:	e59f201c 	ldr	r2, [pc, #28]	; a00060cc <rtems_tarfs_load+0x234>
a00060ac:	e1530002 	cmp	r3, r2                                        
a00060b0:	01a08000 	moveq	r8, r0                                      
a00060b4:	0affff8f 	beq	a0005ef8 <rtems_tarfs_load+0x60>              
     return -1;                                                       
a00060b8:	e3e03000 	mvn	r3, #0                                        
a00060bc:	e58d3014 	str	r3, [sp, #20]                                 
a00060c0:	eaffffba 	b	a0005fb0 <rtems_tarfs_load+0x118>               
                                                                      

a0009dc0 <rtems_task_delete>: */ rtems_status_code rtems_task_delete( rtems_id id ) {
a0009dc0:	e92d4070 	push	{r4, r5, r6, lr}                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  Objects_Information     *the_information;                           
                                                                      
  _RTEMS_Lock_allocator();                                            
a0009dc4:	e59f4070 	ldr	r4, [pc, #112]	; a0009e3c <rtems_task_delete+0x7c>
 */                                                                   
                                                                      
rtems_status_code rtems_task_delete(                                  
  rtems_id id                                                         
)                                                                     
{                                                                     
a0009dc8:	e24dd004 	sub	sp, sp, #4                                    
a0009dcc:	e1a05000 	mov	r5, r0                                        
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  Objects_Information     *the_information;                           
                                                                      
  _RTEMS_Lock_allocator();                                            
a0009dd0:	e5940000 	ldr	r0, [r4]                                      
a0009dd4:	eb00016d 	bl	a000a390 <_API_Mutex_Lock>                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a0009dd8:	e1a00005 	mov	r0, r5                                        
a0009ddc:	e1a0100d 	mov	r1, sp                                        
a0009de0:	eb000842 	bl	a000bef0 <_Thread_Get>                         
  switch ( location ) {                                               
a0009de4:	e59d5000 	ldr	r5, [sp]                                      
  Objects_Locations        location;                                  
  Objects_Information     *the_information;                           
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a0009de8:	e1a06000 	mov	r6, r0                                        
  switch ( location ) {                                               
a0009dec:	e3550000 	cmp	r5, #0                                        
a0009df0:	1a00000d 	bne	a0009e2c <rtems_task_delete+0x6c>             
                                                                      
    case OBJECTS_LOCAL:                                               
      the_information = _Objects_Get_information_id( the_thread->Object.id );
a0009df4:	e5900008 	ldr	r0, [r0, #8]                                  
a0009df8:	eb0004fa 	bl	a000b1e8 <_Objects_Get_information_id>         
            0                                /* Not used */           
          );                                                          
        }                                                             
      #endif                                                          
                                                                      
      _Thread_Close( the_information, the_thread );                   
a0009dfc:	e1a01006 	mov	r1, r6                                        
a0009e00:	eb000764 	bl	a000bb98 <_Thread_Close>                       
a0009e04:	e5960008 	ldr	r0, [r6, #8]                                  
a0009e08:	eb0004f6 	bl	a000b1e8 <_Objects_Get_information_id>         
a0009e0c:	e1a01006 	mov	r1, r6                                        
a0009e10:	eb0004d6 	bl	a000b170 <_Objects_Free>                       
                                                                      
      _RTEMS_tasks_Free( the_thread );                                
                                                                      
      _RTEMS_Unlock_allocator();                                      
a0009e14:	e5940000 	ldr	r0, [r4]                                      
a0009e18:	eb000178 	bl	a000a400 <_API_Mutex_Unlock>                   
      _Thread_Enable_dispatch();                                      
a0009e1c:	eb00082a 	bl	a000becc <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a0009e20:	e1a00005 	mov	r0, r5                                        
      break;                                                          
  }                                                                   
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0009e24:	e28dd004 	add	sp, sp, #4                                    
a0009e28:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  _RTEMS_Unlock_allocator();                                          
a0009e2c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0009e30:	eb000172 	bl	a000a400 <_API_Mutex_Unlock>                   <== NOT EXECUTED
  return RTEMS_INVALID_ID;                                            
a0009e34:	e3a00004 	mov	r0, #4                                        <== NOT EXECUTED
a0009e38:	eafffff9 	b	a0009e24 <rtems_task_delete+0x64>               <== NOT EXECUTED
                                                                      

a000bf40 <rtems_task_get_note>: rtems_status_code rtems_task_get_note( rtems_id id, uint32_t notepad, uint32_t *note ) {
a000bf40:	e92d4030 	push	{r4, r5, lr}                                 
a000bf44:	e1a04001 	mov	r4, r1                                        
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
a000bf48:	e59f10a4 	ldr	r1, [pc, #164]	; a000bff4 <rtems_task_get_note+0xb4>
rtems_status_code rtems_task_get_note(                                
  rtems_id    id,                                                     
  uint32_t    notepad,                                                
  uint32_t   *note                                                    
)                                                                     
{                                                                     
a000bf4c:	e1a03000 	mov	r3, r0                                        
a000bf50:	e24dd008 	sub	sp, sp, #8                                    
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
a000bf54:	e5d11004 	ldrb	r1, [r1, #4]                                 
a000bf58:	e3510000 	cmp	r1, #0                                        
    return RTEMS_NOT_CONFIGURED;                                      
a000bf5c:	03a00016 	moveq	r0, #22                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
a000bf60:	0a000019 	beq	a000bfcc <rtems_task_get_note+0x8c>           
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  if ( !note )                                                        
a000bf64:	e3520000 	cmp	r2, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a000bf68:	03a00009 	moveq	r0, #9                                      
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  if ( !note )                                                        
a000bf6c:	0a000016 	beq	a000bfcc <rtems_task_get_note+0x8c>           
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
a000bf70:	e354000f 	cmp	r4, #15                                       
    return RTEMS_INVALID_NUMBER;                                      
a000bf74:	83a0000a 	movhi	r0, #10                                     
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
a000bf78:	8a000013 	bhi	a000bfcc <rtems_task_get_note+0x8c>           
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
a000bf7c:	e3530000 	cmp	r3, #0                                        
a000bf80:	0a000013 	beq	a000bfd4 <rtems_task_get_note+0x94>           
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
a000bf84:	e59f106c 	ldr	r1, [pc, #108]	; a000bff8 <rtems_task_get_note+0xb8>
a000bf88:	e5911004 	ldr	r1, [r1, #4]                                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
a000bf8c:	e591c008 	ldr	ip, [r1, #8]                                  
a000bf90:	e153000c 	cmp	r3, ip                                        
a000bf94:	0a000010 	beq	a000bfdc <rtems_task_get_note+0x9c>           
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      *note = api->Notepads[ notepad ];                               
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000bf98:	e28d1004 	add	r1, sp, #4                                    
a000bf9c:	e58d2000 	str	r2, [sp]                                      
a000bfa0:	eb000905 	bl	a000e3bc <_Thread_Get>                         
  switch ( location ) {                                               
a000bfa4:	e89d0024 	ldm	sp, {r2, r5}                                  
a000bfa8:	e3550000 	cmp	r5, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000bfac:	13a00004 	movne	r0, #4                                      
      *note = api->Notepads[ notepad ];                               
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a000bfb0:	1a000005 	bne	a000bfcc <rtems_task_get_note+0x8c>           
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
      *note = api->Notepads[ notepad ];                               
a000bfb4:	e59030f4 	ldr	r3, [r0, #244]	; 0xf4                         
a000bfb8:	e2844008 	add	r4, r4, #8                                    
a000bfbc:	e7933104 	ldr	r3, [r3, r4, lsl #2]                          
a000bfc0:	e5823000 	str	r3, [r2]                                      
      _Thread_Enable_dispatch();                                      
a000bfc4:	eb0008f3 	bl	a000e398 <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a000bfc8:	e1a00005 	mov	r0, r5                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000bfcc:	e28dd008 	add	sp, sp, #8                                    
a000bfd0:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
a000bfd4:	e59f301c 	ldr	r3, [pc, #28]	; a000bff8 <rtems_task_get_note+0xb8><== NOT EXECUTED
a000bfd8:	e5931004 	ldr	r1, [r3, #4]                                  <== NOT EXECUTED
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      *note = api->Notepads[ notepad ];                               
a000bfdc:	e59130f4 	ldr	r3, [r1, #244]	; 0xf4                         <== NOT EXECUTED
a000bfe0:	e2844008 	add	r4, r4, #8                                    <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a000bfe4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      *note = api->Notepads[ notepad ];                               
a000bfe8:	e7933104 	ldr	r3, [r3, r4, lsl #2]                          <== NOT EXECUTED
a000bfec:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a000bff0:	eafffff5 	b	a000bfcc <rtems_task_get_note+0x8c>             <== NOT EXECUTED
                                                                      

a0009e40 <rtems_task_ident>: rtems_id *id ) { Objects_Name_or_id_lookup_errors status; if ( !id )
a0009e40:	e2523000 	subs	r3, r2, #0                                   
rtems_status_code rtems_task_ident(                                   
  rtems_name    name,                                                 
  uint32_t      node,                                                 
  rtems_id     *id                                                    
)                                                                     
{                                                                     
a0009e44:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
a0009e48:	e1a0c000 	mov	ip, r0                                        
a0009e4c:	e1a02001 	mov	r2, r1                                        
  Objects_Name_or_id_lookup_errors  status;                           
                                                                      
  if ( !id )                                                          
a0009e50:	0a00000c 	beq	a0009e88 <rtems_task_ident+0x48>              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( name == OBJECTS_ID_OF_SELF ) {                                 
a0009e54:	e3500000 	cmp	r0, #0                                        
a0009e58:	1a000004 	bne	a0009e70 <rtems_task_ident+0x30>              
    *id = _Thread_Executing->Object.id;                               
a0009e5c:	e59f202c 	ldr	r2, [pc, #44]	; a0009e90 <rtems_task_ident+0x50>
a0009e60:	e5922004 	ldr	r2, [r2, #4]                                  
a0009e64:	e5922008 	ldr	r2, [r2, #8]                                  
a0009e68:	e5832000 	str	r2, [r3]                                      
    return RTEMS_SUCCESSFUL;                                          
a0009e6c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
   }                                                                  
                                                                      
  status = _Objects_Name_to_id_u32( &_RTEMS_tasks_Information, name, node, id );
a0009e70:	e59f001c 	ldr	r0, [pc, #28]	; a0009e94 <rtems_task_ident+0x54>
a0009e74:	e1a0100c 	mov	r1, ip                                        
a0009e78:	eb00056e 	bl	a000b438 <_Objects_Name_to_id_u32>             
                                                                      
  return _Status_Object_name_errors_to_status[ status ];              
a0009e7c:	e59f3014 	ldr	r3, [pc, #20]	; a0009e98 <rtems_task_ident+0x58>
a0009e80:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          
a0009e84:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
)                                                                     
{                                                                     
  Objects_Name_or_id_lookup_errors  status;                           
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
a0009e88:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
   }                                                                  
                                                                      
  status = _Objects_Name_to_id_u32( &_RTEMS_tasks_Information, name, node, id );
                                                                      
  return _Status_Object_name_errors_to_status[ status ];              
}                                                                     
a0009e8c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0019694 <rtems_task_is_suspended>: */ rtems_status_code rtems_task_is_suspended( rtems_id id ) {
a0019694:	e92d4010 	push	{r4, lr}                                     
a0019698:	e24dd004 	sub	sp, sp, #4                                    
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a001969c:	e1a0100d 	mov	r1, sp                                        
a00196a0:	eb00105a 	bl	a001d810 <_Thread_Get>                         
  switch ( location ) {                                               
a00196a4:	e59d3000 	ldr	r3, [sp]                                      
a00196a8:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a00196ac:	13a00004 	movne	r0, #4                                      
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a00196b0:	1a000004 	bne	a00196c8 <rtems_task_is_suspended+0x34>       
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_suspended (                      
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_SUSPENDED);                            
a00196b4:	e5904010 	ldr	r4, [r0, #16]                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
a00196b8:	e2144002 	ands	r4, r4, #2                                   
a00196bc:	0a000003 	beq	a00196d0 <rtems_task_is_suspended+0x3c>       
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
a00196c0:	eb001049 	bl	a001d7ec <_Thread_Enable_dispatch>             
      return RTEMS_ALREADY_SUSPENDED;                                 
a00196c4:	e3a0000f 	mov	r0, #15                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a00196c8:	e28dd004 	add	sp, sp, #4                                    
a00196cc:	e8bd8010 	pop	{r4, pc}                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
        _Thread_Enable_dispatch();                                    
a00196d0:	eb001045 	bl	a001d7ec <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a00196d4:	e1a00004 	mov	r0, r4                                        
a00196d8:	eafffffa 	b	a00196c8 <rtems_task_is_suspended+0x34>         
                                                                      

a0010d20 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
a0010d20:	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 )                                           
a0010d24:	e2525000 	subs	r5, r2, #0                                   
rtems_status_code rtems_task_mode(                                    
  rtems_mode  mode_set,                                               
  rtems_mode  mask,                                                   
  rtems_mode *previous_mode_set                                       
)                                                                     
{                                                                     
a0010d28:	e1a04000 	mov	r4, r0                                        
a0010d2c:	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 )                                           
a0010d30:	0a000053 	beq	a0010e84 <rtems_task_mode+0x164>              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
a0010d34:	e59f9158 	ldr	r9, [pc, #344]	; a0010e94 <rtems_task_mode+0x174>
a0010d38:	e5997004 	ldr	r7, [r9, #4]                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
a0010d3c:	e59780f4 	ldr	r8, [r7, #244]	; 0xf4                         
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
a0010d40:	e5d7a074 	ldrb	sl, [r7, #116]	; 0x74                        
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
a0010d44:	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;           
a0010d48:	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;
a0010d4c:	e35a0000 	cmp	sl, #0                                        
a0010d50:	03a0ac01 	moveq	sl, #256	; 0x100                            
a0010d54:	13a0a000 	movne	sl, #0                                      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
a0010d58:	e3530000 	cmp	r3, #0                                        
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
a0010d5c:	138aac02 	orrne	sl, sl, #512	; 0x200                        
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
a0010d60:	e35b0000 	cmp	fp, #0                                        
a0010d64:	03a0bb01 	moveq	fp, #1024	; 0x400                           
a0010d68:	13a0b000 	movne	fp, #0                                      
  old_mode |= _ISR_Get_level();                                       
a0010d6c:	ebfff1d0 	bl	a000d4b4 <_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;           
a0010d70:	e18bb000 	orr	fp, fp, r0                                    
  old_mode |= _ISR_Get_level();                                       
a0010d74:	e18ba00a 	orr	sl, fp, sl                                    
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
a0010d78:	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;                                      
a0010d7c:	e585a000 	str	sl, [r5]                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
a0010d80:	0a000003 	beq	a0010d94 <rtems_task_mode+0x74>               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
a0010d84:	e3140c01 	tst	r4, #256	; 0x100                              
a0010d88:	13a03000 	movne	r3, #0                                      
a0010d8c:	03a03001 	moveq	r3, #1                                      
a0010d90:	e5c73074 	strb	r3, [r7, #116]	; 0x74                        
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
a0010d94:	e3160c02 	tst	r6, #512	; 0x200                              
a0010d98:	1a00001c 	bne	a0010e10 <rtems_task_mode+0xf0>               
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
a0010d9c:	e3160080 	tst	r6, #128	; 0x80                               
a0010da0:	1a000023 	bne	a0010e34 <rtems_task_mode+0x114>              
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
a0010da4:	e2166b01 	ands	r6, r6, #1024	; 0x400                        
a0010da8:	0a000012 	beq	a0010df8 <rtems_task_mode+0xd8>               
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
a0010dac:	e5d82008 	ldrb	r2, [r8, #8]                                 
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
a0010db0:	e3140b01 	tst	r4, #1024	; 0x400                             
a0010db4:	13a03000 	movne	r3, #0                                      
a0010db8:	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 ) {                        
a0010dbc:	e1520003 	cmp	r2, r3                                        
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
a0010dc0:	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 ) {                        
a0010dc4:	0a00000b 	beq	a0010df8 <rtems_task_mode+0xd8>               
      asr->is_enabled = is_asr_enabled;                               
a0010dc8:	e5c83008 	strb	r3, [r8, #8]                                 
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0010dcc:	e10f3000 	mrs	r3, CPSR                                      
a0010dd0:	e3832080 	orr	r2, r3, #128	; 0x80                           
a0010dd4:	e129f002 	msr	CPSR_fc, r2                                   
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
a0010dd8:	e5981018 	ldr	r1, [r8, #24]                                 
    information->signals_pending = information->signals_posted;       
a0010ddc:	e5982014 	ldr	r2, [r8, #20]                                 
    information->signals_posted  = _signals;                          
a0010de0:	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;       
a0010de4:	e5882018 	str	r2, [r8, #24]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0010de8:	e129f003 	msr	CPSR_fc, r3                                   
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
a0010dec:	e5986014 	ldr	r6, [r8, #20]                                 
a0010df0:	e3560000 	cmp	r6, #0                                        
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
a0010df4:	13a06001 	movne	r6, #1                                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
a0010df8:	e59f3098 	ldr	r3, [pc, #152]	; a0010e98 <rtems_task_mode+0x178>
a0010dfc:	e5933000 	ldr	r3, [r3]                                      
a0010e00:	e3530003 	cmp	r3, #3                                        
a0010e04:	0a00000d 	beq	a0010e40 <rtems_task_mode+0x120>              
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a0010e08:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0010e0c:	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) ) {                            
a0010e10:	e2143c02 	ands	r3, r4, #512	; 0x200                         
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
a0010e14:	13a03001 	movne	r3, #1                                      
a0010e18:	1587307c 	strne	r3, [r7, #124]	; 0x7c                       
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
a0010e1c:	159f3078 	ldrne	r3, [pc, #120]	; a0010e9c <rtems_task_mode+0x17c>
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
a0010e20:	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;      
a0010e24:	15933000 	ldrne	r3, [r3]                                    
a0010e28:	15873078 	strne	r3, [r7, #120]	; 0x78                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
a0010e2c:	e3160080 	tst	r6, #128	; 0x80                               
a0010e30:	0affffdb 	beq	a0010da4 <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 ) );           
a0010e34:	e2040080 	and	r0, r4, #128	; 0x80                           
a0010e38:	ebfff198 	bl	a000d4a0 <_CPU_ISR_Set_level>                  
a0010e3c:	eaffffd8 	b	a0010da4 <rtems_task_mode+0x84>                 
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
a0010e40:	e3560000 	cmp	r6, #0                                        
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
a0010e44:	e5993004 	ldr	r3, [r9, #4]                                  
                                                                      
  if ( are_signals_pending ||                                         
a0010e48:	1a000008 	bne	a0010e70 <rtems_task_mode+0x150>              
a0010e4c:	e59f2040 	ldr	r2, [pc, #64]	; a0010e94 <rtems_task_mode+0x174>
a0010e50:	e5922008 	ldr	r2, [r2, #8]                                  
a0010e54:	e1530002 	cmp	r3, r2                                        
a0010e58:	0a00000b 	beq	a0010e8c <rtems_task_mode+0x16c>              
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
a0010e5c:	e5d33074 	ldrb	r3, [r3, #116]	; 0x74                        
a0010e60:	e3530000 	cmp	r3, #0                                        
a0010e64:	1a000001 	bne	a0010e70 <rtems_task_mode+0x150>              
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a0010e68:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
}                                                                     
a0010e6c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
    _Thread_Dispatch_necessary = true;                                
a0010e70:	e3a03001 	mov	r3, #1                                        
a0010e74:	e5c93010 	strb	r3, [r9, #16]                                
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
a0010e78:	ebffebbd 	bl	a000bd74 <_Thread_Dispatch>                    
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a0010e7c:	e3a00000 	mov	r0, #0                                        
a0010e80:	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;                                     
a0010e84:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
a0010e88:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a0010e8c:	e1a00006 	mov	r0, r6                                        
a0010e90:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

a000d2b8 <rtems_task_resume>: */ rtems_status_code rtems_task_resume( rtems_id id ) {
a000d2b8:	e92d4010 	push	{r4, lr}                                     
a000d2bc:	e24dd004 	sub	sp, sp, #4                                    
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000d2c0:	e1a0100d 	mov	r1, sp                                        
a000d2c4:	eb00080a 	bl	a000f2f4 <_Thread_Get>                         
  switch ( location ) {                                               
a000d2c8:	e59d4000 	ldr	r4, [sp]                                      
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000d2cc:	e1a03000 	mov	r3, r0                                        
  switch ( location ) {                                               
a000d2d0:	e3540000 	cmp	r4, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000d2d4:	13a00004 	movne	r0, #4                                      
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a000d2d8:	1a000004 	bne	a000d2f0 <rtems_task_resume+0x38>             
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_suspended (                      
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_SUSPENDED);                            
a000d2dc:	e5933010 	ldr	r3, [r3, #16]                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _States_Is_suspended( the_thread->current_state ) ) {      
a000d2e0:	e3130002 	tst	r3, #2                                        
a000d2e4:	1a000003 	bne	a000d2f8 <rtems_task_resume+0x40>             
        _Thread_Resume( the_thread, true );                           
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
a000d2e8:	eb0007f8 	bl	a000f2d0 <_Thread_Enable_dispatch>             
      return RTEMS_INCORRECT_STATE;                                   
a000d2ec:	e3a0000e 	mov	r0, #14                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000d2f0:	e28dd004 	add	sp, sp, #4                                    
a000d2f4:	e8bd8010 	pop	{r4, pc}                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _States_Is_suspended( the_thread->current_state ) ) {      
        _Thread_Resume( the_thread, true );                           
a000d2f8:	e3a01001 	mov	r1, #1                                        
a000d2fc:	eb000a0f 	bl	a000fb40 <_Thread_Resume>                      
        _Thread_Enable_dispatch();                                    
a000d300:	eb0007f2 	bl	a000f2d0 <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a000d304:	e1a00004 	mov	r0, r4                                        
a000d308:	eafffff8 	b	a000d2f0 <rtems_task_resume+0x38>               
                                                                      

a000c0f4 <rtems_task_set_note>: rtems_status_code rtems_task_set_note( rtems_id id, uint32_t notepad, uint32_t note ) {
a000c0f4:	e92d4030 	push	{r4, r5, lr}                                 
a000c0f8:	e1a04001 	mov	r4, r1                                        
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
a000c0fc:	e59f1090 	ldr	r1, [pc, #144]	; a000c194 <rtems_task_set_note+0xa0>
rtems_status_code rtems_task_set_note(                                
  rtems_id id,                                                        
  uint32_t notepad,                                                   
  uint32_t note                                                       
)                                                                     
{                                                                     
a000c100:	e1a03000 	mov	r3, r0                                        
a000c104:	e24dd008 	sub	sp, sp, #8                                    
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
a000c108:	e5d11004 	ldrb	r1, [r1, #4]                                 
a000c10c:	e3510000 	cmp	r1, #0                                        
    return RTEMS_NOT_CONFIGURED;                                      
a000c110:	03a00016 	moveq	r0, #22                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
a000c114:	0a000015 	beq	a000c170 <rtems_task_set_note+0x7c>           
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
a000c118:	e354000f 	cmp	r4, #15                                       
    return RTEMS_INVALID_NUMBER;                                      
a000c11c:	83a0000a 	movhi	r0, #10                                     
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
a000c120:	8a000012 	bhi	a000c170 <rtems_task_set_note+0x7c>           
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
a000c124:	e3530000 	cmp	r3, #0                                        
a000c128:	0a000012 	beq	a000c178 <rtems_task_set_note+0x84>           
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
a000c12c:	e59f1064 	ldr	r1, [pc, #100]	; a000c198 <rtems_task_set_note+0xa4>
a000c130:	e5911004 	ldr	r1, [r1, #4]                                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
a000c134:	e591c008 	ldr	ip, [r1, #8]                                  
a000c138:	e153000c 	cmp	r3, ip                                        
a000c13c:	0a00000f 	beq	a000c180 <rtems_task_set_note+0x8c>           
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      api->Notepads[ notepad ] = note;                                
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000c140:	e28d1004 	add	r1, sp, #4                                    
a000c144:	e58d2000 	str	r2, [sp]                                      
a000c148:	eb00089b 	bl	a000e3bc <_Thread_Get>                         
  switch ( location ) {                                               
a000c14c:	e89d0024 	ldm	sp, {r2, r5}                                  
a000c150:	e3550000 	cmp	r5, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000c154:	13a00004 	movne	r0, #4                                      
      api->Notepads[ notepad ] = note;                                
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a000c158:	1a000004 	bne	a000c170 <rtems_task_set_note+0x7c>           
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
      api->Notepads[ notepad ] = note;                                
a000c15c:	e59030f4 	ldr	r3, [r0, #244]	; 0xf4                         
a000c160:	e2844008 	add	r4, r4, #8                                    
a000c164:	e7832104 	str	r2, [r3, r4, lsl #2]                          
      _Thread_Enable_dispatch();                                      
a000c168:	eb00088a 	bl	a000e398 <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a000c16c:	e1a00005 	mov	r0, r5                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000c170:	e28dd008 	add	sp, sp, #8                                    
a000c174:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
a000c178:	e59f3018 	ldr	r3, [pc, #24]	; a000c198 <rtems_task_set_note+0xa4>
a000c17c:	e5931004 	ldr	r1, [r3, #4]                                  <== NOT EXECUTED
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      api->Notepads[ notepad ] = note;                                
a000c180:	e59130f4 	ldr	r3, [r1, #244]	; 0xf4                         <== NOT EXECUTED
a000c184:	e2844008 	add	r4, r4, #8                                    <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a000c188:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      api->Notepads[ notepad ] = note;                                
a000c18c:	e7832104 	str	r2, [r3, r4, lsl #2]                          <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a000c190:	eafffff6 	b	a000c170 <rtems_task_set_note+0x7c>             <== NOT EXECUTED
                                                                      

a000e47c <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
a000e47c:	e92d4030 	push	{r4, r5, lr}                                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
a000e480:	e2514000 	subs	r4, r1, #0                                   
rtems_status_code rtems_task_set_priority(                            
  rtems_id             id,                                            
  rtems_task_priority  new_priority,                                  
  rtems_task_priority *old_priority                                   
)                                                                     
{                                                                     
a000e484:	e24dd004 	sub	sp, sp, #4                                    
a000e488:	e1a05002 	mov	r5, r2                                        
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
a000e48c:	0a000004 	beq	a000e4a4 <rtems_task_set_priority+0x28>       
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
a000e490:	e59f3078 	ldr	r3, [pc, #120]	; a000e510 <rtems_task_set_priority+0x94>
a000e494:	e5d33000 	ldrb	r3, [r3]                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
a000e498:	e1540003 	cmp	r4, r3                                        
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
a000e49c:	83a00013 	movhi	r0, #19                                     
a000e4a0:	8a000018 	bhi	a000e508 <rtems_task_set_priority+0x8c>       
                                                                      
  if ( !old_priority )                                                
a000e4a4:	e3550000 	cmp	r5, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a000e4a8:	03a00009 	moveq	r0, #9                                      
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
a000e4ac:	0a000015 	beq	a000e508 <rtems_task_set_priority+0x8c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000e4b0:	e1a0100d 	mov	r1, sp                                        
a000e4b4:	eb000886 	bl	a00106d4 <_Thread_Get>                         
  switch ( location ) {                                               
a000e4b8:	e59d3000 	ldr	r3, [sp]                                      
a000e4bc:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000e4c0:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a000e4c4:	1a00000f 	bne	a000e508 <rtems_task_set_priority+0x8c>       
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
a000e4c8:	e5903014 	ldr	r3, [r0, #20]                                 
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
a000e4cc:	e3540000 	cmp	r4, #0                                        
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
a000e4d0:	e5853000 	str	r3, [r5]                                      
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
a000e4d4:	0a000009 	beq	a000e500 <rtems_task_set_priority+0x84>       
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
a000e4d8:	e590301c 	ldr	r3, [r0, #28]                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
        the_thread->real_priority = new_priority;                     
a000e4dc:	e5804018 	str	r4, [r0, #24]                                 
        if ( the_thread->resource_count == 0 ||                       
a000e4e0:	e3530000 	cmp	r3, #0                                        
a000e4e4:	0a000002 	beq	a000e4f4 <rtems_task_set_priority+0x78>       
a000e4e8:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
a000e4ec:	e1540003 	cmp	r4, r3                                        <== NOT EXECUTED
a000e4f0:	2a000002 	bcs	a000e500 <rtems_task_set_priority+0x84>       <== NOT EXECUTED
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
a000e4f4:	e1a01004 	mov	r1, r4                                        
a000e4f8:	e3a02000 	mov	r2, #0                                        
a000e4fc:	eb00072b 	bl	a00101b0 <_Thread_Change_priority>             
      }                                                               
      _Thread_Enable_dispatch();                                      
a000e500:	eb00086a 	bl	a00106b0 <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a000e504:	e3a00000 	mov	r0, #0                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000e508:	e28dd004 	add	sp, sp, #4                                    
a000e50c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a0009f2c <rtems_task_start>: rtems_status_code rtems_task_start( rtems_id id, rtems_task_entry entry_point, rtems_task_argument argument ) {
a0009f2c:	e92d4070 	push	{r4, r5, r6, lr}                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( entry_point == NULL )                                          
a0009f30:	e2515000 	subs	r5, r1, #0                                   
rtems_status_code rtems_task_start(                                   
  rtems_id         	id,                                               
  rtems_task_entry 	entry_point,                                      
  rtems_task_argument	argument                                        
)                                                                     
{                                                                     
a0009f34:	e24dd008 	sub	sp, sp, #8                                    
a0009f38:	e1a06002 	mov	r6, r2                                        
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( entry_point == NULL )                                          
    return RTEMS_INVALID_ADDRESS;                                     
a0009f3c:	03a00009 	moveq	r0, #9                                      
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( entry_point == NULL )                                          
a0009f40:	0a00000e 	beq	a0009f80 <rtems_task_start+0x54>              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a0009f44:	e28d1004 	add	r1, sp, #4                                    
a0009f48:	eb0007e8 	bl	a000bef0 <_Thread_Get>                         
  switch ( location ) {                                               
a0009f4c:	e59d4004 	ldr	r4, [sp, #4]                                  
a0009f50:	e3540000 	cmp	r4, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0009f54:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( entry_point == NULL )                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a0009f58:	1a000008 	bne	a0009f80 <rtems_task_start+0x54>              
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Thread_Start(                                             
a0009f5c:	e1a01004 	mov	r1, r4                                        
a0009f60:	e1a02005 	mov	r2, r5                                        
a0009f64:	e1a03004 	mov	r3, r4                                        
a0009f68:	e58d6000 	str	r6, [sp]                                      
a0009f6c:	eb000a6f 	bl	a000c930 <_Thread_Start>                       
a0009f70:	e3500000 	cmp	r0, #0                                        
a0009f74:	1a000003 	bne	a0009f88 <rtems_task_start+0x5c>              
             the_thread, THREAD_START_NUMERIC, entry_point, NULL, argument ) ) {
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
a0009f78:	eb0007d3 	bl	a000becc <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_INCORRECT_STATE;                                   
a0009f7c:	e3a0000e 	mov	r0, #14                                       <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0009f80:	e28dd008 	add	sp, sp, #8                                    
a0009f84:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Thread_Start(                                             
             the_thread, THREAD_START_NUMERIC, entry_point, NULL, argument ) ) {
        _Thread_Enable_dispatch();                                    
a0009f88:	eb0007cf 	bl	a000becc <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a0009f8c:	e1a00004 	mov	r0, r4                                        
a0009f90:	eafffffa 	b	a0009f80 <rtems_task_start+0x54>                
                                                                      

a000d56c <rtems_task_suspend>: */ rtems_status_code rtems_task_suspend( rtems_id id ) {
a000d56c:	e92d4010 	push	{r4, lr}                                     
a000d570:	e24dd004 	sub	sp, sp, #4                                    
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000d574:	e1a0100d 	mov	r1, sp                                        
a000d578:	eb0007d6 	bl	a000f4d8 <_Thread_Get>                         
  switch ( location ) {                                               
a000d57c:	e59d3000 	ldr	r3, [sp]                                      
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
a000d580:	e1a02000 	mov	r2, r0                                        
  switch ( location ) {                                               
a000d584:	e3530000 	cmp	r3, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000d588:	13a00004 	movne	r0, #4                                      
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
a000d58c:	1a000004 	bne	a000d5a4 <rtems_task_suspend+0x38>            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_suspended (                      
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_SUSPENDED);                            
a000d590:	e5924010 	ldr	r4, [r2, #16]                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
a000d594:	e2144002 	ands	r4, r4, #2                                   
a000d598:	0a000003 	beq	a000d5ac <rtems_task_suspend+0x40>            
        _Thread_Suspend( the_thread );                                
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
a000d59c:	eb0007c4 	bl	a000f4b4 <_Thread_Enable_dispatch>             
      return RTEMS_ALREADY_SUSPENDED;                                 
a000d5a0:	e3a0000f 	mov	r0, #15                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000d5a4:	e28dd004 	add	sp, sp, #4                                    
a000d5a8:	e8bd8010 	pop	{r4, pc}                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
        _Thread_Suspend( the_thread );                                
a000d5ac:	eb000a6c 	bl	a000ff64 <_Thread_Suspend>                     
        _Thread_Enable_dispatch();                                    
a000d5b0:	eb0007bf 	bl	a000f4b4 <_Thread_Enable_dispatch>             
        return RTEMS_SUCCESSFUL;                                      
a000d5b4:	e1a00004 	mov	r0, r4                                        
a000d5b8:	eafffff9 	b	a000d5a4 <rtems_task_suspend+0x38>              
                                                                      

a000ad5c <rtems_task_variable_add>: rtems_status_code rtems_task_variable_add( rtems_id tid, void **ptr, void (*dtor)(void *) ) {
a000ad5c:	e92d4070 	push	{r4, r5, r6, lr}                             
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
a000ad60:	e2514000 	subs	r4, r1, #0                                   
rtems_status_code rtems_task_variable_add(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void (*dtor)(void *)                                                
)                                                                     
{                                                                     
a000ad64:	e24dd004 	sub	sp, sp, #4                                    
a000ad68:	e1a05002 	mov	r5, r2                                        
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
a000ad6c:	03a00009 	moveq	r0, #9                                      
{                                                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
a000ad70:	0a000016 	beq	a000add0 <rtems_task_variable_add+0x74>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
a000ad74:	e1a0100d 	mov	r1, sp                                        
a000ad78:	eb000833 	bl	a000ce4c <_Thread_Get>                         
  switch (location) {                                                 
a000ad7c:	e59d3000 	ldr	r3, [sp]                                      
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
a000ad80:	e1a06000 	mov	r6, r0                                        
  switch (location) {                                                 
a000ad84:	e3530000 	cmp	r3, #0                                        
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
a000ad88:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
a000ad8c:	1a00000f 	bne	a000add0 <rtems_task_variable_add+0x74>       
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
a000ad90:	e5963100 	ldr	r3, [r6, #256]	; 0x100                        
      while (tvp) {                                                   
a000ad94:	e3530000 	cmp	r3, #0                                        
a000ad98:	1a000011 	bne	a000ade4 <rtems_task_variable_add+0x88>       
                                                                      
      /*                                                              
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
a000ad9c:	e3a00014 	mov	r0, #20                                       
a000ada0:	eb000c9e 	bl	a000e020 <_Workspace_Allocate>                 
      if (new == NULL) {                                              
a000ada4:	e3500000 	cmp	r0, #0                                        
a000ada8:	0a000014 	beq	a000ae00 <rtems_task_variable_add+0xa4>       
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
a000adac:	e5942000 	ldr	r2, [r4]                                      
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
a000adb0:	e5963100 	ldr	r3, [r6, #256]	; 0x100                        
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
      new->ptr = ptr;                                                 
a000adb4:	e5804004 	str	r4, [r0, #4]                                  
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
a000adb8:	e5802008 	str	r2, [r0, #8]                                  
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
a000adbc:	e5805010 	str	r5, [r0, #16]                                 
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
a000adc0:	e5803000 	str	r3, [r0]                                      
      the_thread->task_variables = new;                               
a000adc4:	e5860100 	str	r0, [r6, #256]	; 0x100                        
      _Thread_Enable_dispatch();                                      
a000adc8:	eb000816 	bl	a000ce28 <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a000adcc:	e3a00000 	mov	r0, #0                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000add0:	e28dd004 	add	sp, sp, #4                                    
a000add4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
        if (tvp->ptr == ptr) {                                        
          tvp->dtor = dtor;                                           
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
a000add8:	e5933000 	ldr	r3, [r3]                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
a000addc:	e3530000 	cmp	r3, #0                                        
a000ade0:	0affffed 	beq	a000ad9c <rtems_task_variable_add+0x40>       
        if (tvp->ptr == ptr) {                                        
a000ade4:	e5932004 	ldr	r2, [r3, #4]                                  
a000ade8:	e1520004 	cmp	r2, r4                                        
a000adec:	1afffff9 	bne	a000add8 <rtems_task_variable_add+0x7c>       
          tvp->dtor = dtor;                                           
a000adf0:	e5835010 	str	r5, [r3, #16]                                 
          _Thread_Enable_dispatch();                                  
a000adf4:	eb00080b 	bl	a000ce28 <_Thread_Enable_dispatch>             
          return RTEMS_SUCCESSFUL;                                    
a000adf8:	e3a00000 	mov	r0, #0                                        
a000adfc:	eafffff3 	b	a000add0 <rtems_task_variable_add+0x74>         
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
a000ae00:	eb000808 	bl	a000ce28 <_Thread_Enable_dispatch>             
        return RTEMS_NO_MEMORY;                                       
a000ae04:	e3a0001a 	mov	r0, #26                                       
a000ae08:	eafffff0 	b	a000add0 <rtems_task_variable_add+0x74>         
                                                                      

a000ae0c <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
a000ae0c:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
a000ae10:	e2514000 	subs	r4, r1, #0                                   <== NOT EXECUTED
                                                                      
rtems_status_code rtems_task_variable_delete(                         
  rtems_id  tid,                                                      
  void    **ptr                                                       
)                                                                     
{                                                                     
a000ae14:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
a000ae18:	03a00009 	moveq	r0, #9                                      <== NOT EXECUTED
{                                                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
a000ae1c:	0a000015 	beq	a000ae78 <rtems_task_variable_delete+0x6c>    <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
a000ae20:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a000ae24:	eb000808 	bl	a000ce4c <_Thread_Get>                         <== NOT EXECUTED
  switch (location) {                                                 
a000ae28:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000ae2c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000ae30:	13a00004 	movne	r0, #4                                      <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
a000ae34:	1a00000f 	bne	a000ae78 <rtems_task_variable_delete+0x6c>    <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
a000ae38:	e5903100 	ldr	r3, [r0, #256]	; 0x100                        <== NOT EXECUTED
      while (tvp) {                                                   
a000ae3c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000ae40:	0a00000a 	beq	a000ae70 <rtems_task_variable_delete+0x64>    <== NOT EXECUTED
        if (tvp->ptr == ptr) {                                        
a000ae44:	e5932004 	ldr	r2, [r3, #4]                                  <== NOT EXECUTED
a000ae48:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a000ae4c:	1a000004 	bne	a000ae64 <rtems_task_variable_delete+0x58>    <== NOT EXECUTED
a000ae50:	ea000010 	b	a000ae98 <rtems_task_variable_delete+0x8c>      <== NOT EXECUTED
a000ae54:	e5912004 	ldr	r2, [r1, #4]                                  <== NOT EXECUTED
a000ae58:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a000ae5c:	0a000007 	beq	a000ae80 <rtems_task_variable_delete+0x74>    <== NOT EXECUTED
a000ae60:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
a000ae64:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
a000ae68:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a000ae6c:	1afffff8 	bne	a000ae54 <rtems_task_variable_delete+0x48>    <== NOT EXECUTED
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
a000ae70:	eb0007ec 	bl	a000ce28 <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_INVALID_ADDRESS;                                   
a000ae74:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000ae78:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000ae7c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
a000ae80:	e5912000 	ldr	r2, [r1]                                      <== NOT EXECUTED
a000ae84:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
a000ae88:	eb000028 	bl	a000af30 <_RTEMS_Tasks_Invoke_task_variable_dtor><== NOT EXECUTED
          _Thread_Enable_dispatch();                                  
a000ae8c:	eb0007e5 	bl	a000ce28 <_Thread_Enable_dispatch>             <== NOT EXECUTED
          return RTEMS_SUCCESSFUL;                                    
a000ae90:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000ae94:	eafffff7 	b	a000ae78 <rtems_task_variable_delete+0x6c>      <== NOT EXECUTED
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
a000ae98:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a000ae9c:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a000aea0:	e5802100 	str	r2, [r0, #256]	; 0x100                        <== NOT EXECUTED
a000aea4:	eafffff7 	b	a000ae88 <rtems_task_variable_delete+0x7c>      <== NOT EXECUTED
                                                                      

a000aea8 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
a000aea8:	e92d4030 	push	{r4, r5, lr}                                 
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
a000aeac:	e2514000 	subs	r4, r1, #0                                   
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
a000aeb0:	e24dd004 	sub	sp, sp, #4                                    
a000aeb4:	e1a05002 	mov	r5, r2                                        
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
a000aeb8:	0a000017 	beq	a000af1c <rtems_task_variable_get+0x74>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
a000aebc:	e3520000 	cmp	r2, #0                                        
a000aec0:	0a000015 	beq	a000af1c <rtems_task_variable_get+0x74>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
a000aec4:	e1a0100d 	mov	r1, sp                                        
a000aec8:	eb0007df 	bl	a000ce4c <_Thread_Get>                         
  switch (location) {                                                 
a000aecc:	e59d3000 	ldr	r3, [sp]                                      
a000aed0:	e3530000 	cmp	r3, #0                                        
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
a000aed4:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !result )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
a000aed8:	1a00000d 	bne	a000af14 <rtems_task_variable_get+0x6c>       
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
a000aedc:	e5903100 	ldr	r3, [r0, #256]	; 0x100                        
      while (tvp) {                                                   
a000aee0:	e3530000 	cmp	r3, #0                                        
a000aee4:	1a000003 	bne	a000aef8 <rtems_task_variable_get+0x50>       
a000aee8:	ea00000d 	b	a000af24 <rtems_task_variable_get+0x7c>         
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
a000aeec:	e5933000 	ldr	r3, [r3]                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
a000aef0:	e3530000 	cmp	r3, #0                                        
a000aef4:	0a00000a 	beq	a000af24 <rtems_task_variable_get+0x7c>       <== NOT EXECUTED
        if (tvp->ptr == ptr) {                                        
a000aef8:	e5932004 	ldr	r2, [r3, #4]                                  <== NOT EXECUTED
a000aefc:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a000af00:	1afffff9 	bne	a000aeec <rtems_task_variable_get+0x44>       <== NOT EXECUTED
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
a000af04:	e593300c 	ldr	r3, [r3, #12]                                 <== NOT EXECUTED
a000af08:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
          _Thread_Enable_dispatch();                                  
a000af0c:	eb0007c5 	bl	a000ce28 <_Thread_Enable_dispatch>             <== NOT EXECUTED
          return RTEMS_SUCCESSFUL;                                    
a000af10:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000af14:	e28dd004 	add	sp, sp, #4                                    
a000af18:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
a000af1c:	e3a00009 	mov	r0, #9                                        
a000af20:	eafffffb 	b	a000af14 <rtems_task_variable_get+0x6c>         
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
a000af24:	eb0007bf 	bl	a000ce28 <_Thread_Enable_dispatch>             
      return RTEMS_INVALID_ADDRESS;                                   
a000af28:	e3a00009 	mov	r0, #9                                        
a000af2c:	eafffff8 	b	a000af14 <rtems_task_variable_get+0x6c>         <== NOT EXECUTED
                                                                      

a0009f94 <rtems_task_wake_after>:
a0009f94:	e59f307c 	ldr	r3, [pc, #124]	; a000a018 <rtems_task_wake_after+0x84>
 */                                                                   
                                                                      
rtems_status_code rtems_task_wake_after(                              
  rtems_interval ticks                                                
)                                                                     
{                                                                     
a0009f98:	e92d4030 	push	{r4, r5, lr}                                 
a0009f9c:	e5932000 	ldr	r2, [r3]                                      
a0009fa0:	e1a04000 	mov	r4, r0                                        
a0009fa4:	e2822001 	add	r2, r2, #1                                    
a0009fa8:	e5832000 	str	r2, [r3]                                      
  _Thread_Disable_dispatch();                                         
    if ( ticks == 0 ) {                                               
a0009fac:	e3500000 	cmp	r0, #0                                        
a0009fb0:	0a000012 	beq	a000a000 <rtems_task_wake_after+0x6c>         
      _Scheduler_Yield();                                             
    } else {                                                          
      _Thread_Set_state( _Thread_Executing, STATES_DELAYING );        
a0009fb4:	e59f5060 	ldr	r5, [pc, #96]	; a000a01c <rtems_task_wake_after+0x88>
a0009fb8:	e3a01008 	mov	r1, #8                                        
a0009fbc:	e5950004 	ldr	r0, [r5, #4]                                  
a0009fc0:	eb0009e7 	bl	a000c764 <_Thread_Set_state>                   
      _Watchdog_Initialize(                                           
        &_Thread_Executing->Timer,                                    
a0009fc4:	e5951004 	ldr	r1, [r5, #4]                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a0009fc8:	e59f0050 	ldr	r0, [pc, #80]	; a000a020 <rtems_task_wake_after+0x8c>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0009fcc:	e3a03000 	mov	r3, #0                                        
  _Thread_Disable_dispatch();                                         
    if ( ticks == 0 ) {                                               
      _Scheduler_Yield();                                             
    } else {                                                          
      _Thread_Set_state( _Thread_Executing, STATES_DELAYING );        
      _Watchdog_Initialize(                                           
a0009fd0:	e5912008 	ldr	r2, [r1, #8]                                  
a0009fd4:	e5813050 	str	r3, [r1, #80]	; 0x50                          
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
a0009fd8:	e581306c 	str	r3, [r1, #108]	; 0x6c                         
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
a0009fdc:	e5812068 	str	r2, [r1, #104]	; 0x68                         
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a0009fe0:	e5810064 	str	r0, [r1, #100]	; 0x64                         
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a0009fe4:	e5814054 	str	r4, [r1, #84]	; 0x54                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a0009fe8:	e59f0034 	ldr	r0, [pc, #52]	; a000a024 <rtems_task_wake_after+0x90>
a0009fec:	e2811048 	add	r1, r1, #72	; 0x48                            
a0009ff0:	eb000b57 	bl	a000cd54 <_Watchdog_Insert>                    
        _Thread_Executing->Object.id,                                 
        NULL                                                          
      );                                                              
      _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );     
    }                                                                 
  _Thread_Enable_dispatch();                                          
a0009ff4:	eb0007b4 	bl	a000becc <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0009ff8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0009ffc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
 *  always operates on the scheduler that 'owns' the currently executing
 *  thread.                                                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Yield( void )                    
{                                                                     
  _Scheduler.Operations.yield( &_Scheduler );                         
a000a000:	e59f0020 	ldr	r0, [pc, #32]	; a000a028 <rtems_task_wake_after+0x94>
a000a004:	e5903008 	ldr	r3, [r0, #8]                                  
a000a008:	e12fff33 	blx	r3                                            
        _Thread_Executing->Object.id,                                 
        NULL                                                          
      );                                                              
      _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );     
    }                                                                 
  _Thread_Enable_dispatch();                                          
a000a00c:	eb0007ae 	bl	a000becc <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000a010:	e3a00000 	mov	r0, #0                                        
a000a014:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a000b08c <rtems_task_wake_when>: rtems_time_of_day *time_buffer ) { Watchdog_Interval seconds; if ( !_TOD_Is_set )
a000b08c:	e59f30c8 	ldr	r3, [pc, #200]	; a000b15c <rtems_task_wake_when+0xd0>
 */                                                                   
                                                                      
rtems_status_code rtems_task_wake_when(                               
  rtems_time_of_day *time_buffer                                      
)                                                                     
{                                                                     
a000b090:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
a000b094:	e5d33000 	ldrb	r3, [r3]                                     
 */                                                                   
                                                                      
rtems_status_code rtems_task_wake_when(                               
  rtems_time_of_day *time_buffer                                      
)                                                                     
{                                                                     
a000b098:	e1a05000 	mov	r5, r0                                        
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
a000b09c:	e3530000 	cmp	r3, #0                                        
a000b0a0:	0a000011 	beq	a000b0ec <rtems_task_wake_when+0x60>          
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !time_buffer )                                                 
a000b0a4:	e3500000 	cmp	r0, #0                                        
a000b0a8:	0a000029 	beq	a000b154 <rtems_task_wake_when+0xc8>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  time_buffer->ticks = 0;                                             
a000b0ac:	e3a04000 	mov	r4, #0                                        
a000b0b0:	e5804018 	str	r4, [r0, #24]                                 
                                                                      
  if ( !_TOD_Validate( time_buffer ) )                                
a000b0b4:	ebfffcfb 	bl	a000a4a8 <_TOD_Validate>                       
a000b0b8:	e1500004 	cmp	r0, r4                                        
a000b0bc:	1a000001 	bne	a000b0c8 <rtems_task_wake_when+0x3c>          
    return RTEMS_INVALID_CLOCK;                                       
a000b0c0:	e3a00014 	mov	r0, #20                                       
a000b0c4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
  seconds = _TOD_To_seconds( time_buffer );                           
a000b0c8:	e1a00005 	mov	r0, r5                                        
a000b0cc:	ebfffcce 	bl	a000a40c <_TOD_To_seconds>                     
                                                                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
a000b0d0:	e59f6088 	ldr	r6, [pc, #136]	; a000b160 <rtems_task_wake_when+0xd4>
  time_buffer->ticks = 0;                                             
                                                                      
  if ( !_TOD_Validate( time_buffer ) )                                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( time_buffer );                           
a000b0d4:	e1a05000 	mov	r5, r0                                        
                                                                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
a000b0d8:	e5963000 	ldr	r3, [r6]                                      
a000b0dc:	e1500003 	cmp	r0, r3                                        
a000b0e0:	8a000003 	bhi	a000b0f4 <rtems_task_wake_when+0x68>          
    return RTEMS_INVALID_CLOCK;                                       
a000b0e4:	e3a00014 	mov	r0, #20                                       <== NOT EXECUTED
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000b0e8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
)                                                                     
{                                                                     
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
a000b0ec:	e3a0000b 	mov	r0, #11                                       <== NOT EXECUTED
a000b0f0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
a000b0f4:	e59f3068 	ldr	r3, [pc, #104]	; a000b164 <rtems_task_wake_when+0xd8>
a000b0f8:	e5932000 	ldr	r2, [r3]                                      
a000b0fc:	e2822001 	add	r2, r2, #1                                    
a000b100:	e5832000 	str	r2, [r3]                                      
                                                                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_TIME );  
a000b104:	e59f705c 	ldr	r7, [pc, #92]	; a000b168 <rtems_task_wake_when+0xdc>
a000b108:	e3a01010 	mov	r1, #16                                       
a000b10c:	e5970004 	ldr	r0, [r7, #4]                                  
a000b110:	eb0009f2 	bl	a000d8e0 <_Thread_Set_state>                   
    _Watchdog_Initialize(                                             
      &_Thread_Executing->Timer,                                      
a000b114:	e5971004 	ldr	r1, [r7, #4]                                  
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_seconds(                                         
a000b118:	e5962000 	ldr	r2, [r6]                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
a000b11c:	e59f0048 	ldr	r0, [pc, #72]	; a000b16c <rtems_task_wake_when+0xe0>
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_TIME );  
    _Watchdog_Initialize(                                             
a000b120:	e5913008 	ldr	r3, [r1, #8]                                  
      &_Thread_Executing->Timer,                                      
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_seconds(                                         
a000b124:	e0625005 	rsb	r5, r2, r5                                    
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a000b128:	e59f2040 	ldr	r2, [pc, #64]	; a000b170 <rtems_task_wake_when+0xe4>
  the_watchdog->id        = id;                                       
a000b12c:	e5813068 	str	r3, [r1, #104]	; 0x68                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000b130:	e5814050 	str	r4, [r1, #80]	; 0x50                          
  the_watchdog->routine   = routine;                                  
a000b134:	e5812064 	str	r2, [r1, #100]	; 0x64                         
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
a000b138:	e581406c 	str	r4, [r1, #108]	; 0x6c                         
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a000b13c:	e5815054 	str	r5, [r1, #84]	; 0x54                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
a000b140:	e2811048 	add	r1, r1, #72	; 0x48                            
a000b144:	eb000b92 	bl	a000df94 <_Watchdog_Insert>                    
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
a000b148:	eb0007be 	bl	a000d048 <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a000b14c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000b150:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
a000b154:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
a000b158:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a00093b8 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
a00093b8:	e3500009 	cmp	r0, #9                                        
a00093bc:	012fff1e 	bxeq	lr                                           
a00093c0:	da000013 	ble	a0009414 <rtems_termios_baud_to_index+0x5c>   
a00093c4:	e350000e 	cmp	r0, #14                                       <== NOT EXECUTED
a00093c8:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a00093cc:	da00001b 	ble	a0009440 <rtems_termios_baud_to_index+0x88>   <== NOT EXECUTED
a00093d0:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a00093d4:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
a00093d8:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
a00093dc:	03a00011 	moveq	r0, #17                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a00093e0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a00093e4:	da000028 	ble	a000948c <rtems_termios_baud_to_index+0xd4>   <== NOT EXECUTED
a00093e8:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a00093ec:	e2833003 	add	r3, r3, #3                                    <== NOT EXECUTED
a00093f0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
a00093f4:	03a00012 	moveq	r0, #18                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a00093f8:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a00093fc:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0009400:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
a0009404:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0009408:	1a00001d 	bne	a0009484 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
a000940c:	e3a00013 	mov	r0, #19                                       <== NOT EXECUTED
a0009410:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0009414:	e3500004 	cmp	r0, #4                                        
a0009418:	012fff1e 	bxeq	lr                                           
a000941c:	ca000010 	bgt	a0009464 <rtems_termios_baud_to_index+0xac>   
a0009420:	e3500001 	cmp	r0, #1                                        
a0009424:	012fff1e 	bxeq	lr                                           
a0009428:	da00001f 	ble	a00094ac <rtems_termios_baud_to_index+0xf4>   
a000942c:	e3500002 	cmp	r0, #2                                        
a0009430:	012fff1e 	bxeq	lr                                           
a0009434:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
a0009438:	1a000011 	bne	a0009484 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
a000943c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0009440:	e350000b 	cmp	r0, #11                                       <== NOT EXECUTED
a0009444:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
a0009448:	b3a0000a 	movlt	r0, #10                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a000944c:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a0009450:	e350000c 	cmp	r0, #12                                       <== NOT EXECUTED
a0009454:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0009458:	e350000d 	cmp	r0, #13                                       <== NOT EXECUTED
a000945c:	1a000008 	bne	a0009484 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
a0009460:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0009464:	e3500006 	cmp	r0, #6                                        <== NOT EXECUTED
a0009468:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
a000946c:	b3a00005 	movlt	r0, #5                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0009470:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a0009474:	e3500007 	cmp	r0, #7                                        <== NOT EXECUTED
a0009478:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a000947c:	e3500008 	cmp	r0, #8                                        <== NOT EXECUTED
a0009480:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
a0009484:	e3e00000 	mvn	r0, #0                                        
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
a0009488:	e12fff1e 	bx	lr                                             
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a000948c:	e350000f 	cmp	r0, #15                                       
a0009490:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0009494:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0009498:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000949c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00094a0:	1afffff7 	bne	a0009484 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
a00094a4:	e3a00010 	mov	r0, #16                                       <== NOT EXECUTED
a00094a8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a00094ac:	e3500000 	cmp	r0, #0                                        
a00094b0:	012fff1e 	bxeq	lr                                           
a00094b4:	eafffff2 	b	a0009484 <rtems_termios_baud_to_index+0xcc>     
                                                                      

a00094b8 <rtems_termios_baud_to_number>: extern rtems_assoc_t termios_assoc_table[]; int32_t rtems_termios_baud_to_number( int termios_baud ) {
a00094b8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  int baud;                                                           
                                                                      
  baud = rtems_assoc_local_by_remote( termios_assoc_table, termios_baud );
a00094bc:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
extern rtems_assoc_t termios_assoc_table[];                           
                                                                      
int32_t rtems_termios_baud_to_number(                                 
  int termios_baud                                                    
)                                                                     
{                                                                     
a00094c0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  int baud;                                                           
                                                                      
  baud = rtems_assoc_local_by_remote( termios_assoc_table, termios_baud );
a00094c4:	e59f001c 	ldr	r0, [pc, #28]	; a00094e8 <rtems_termios_baud_to_number+0x30><== NOT EXECUTED
a00094c8:	eb001c82 	bl	a00106d8 <rtems_assoc_local_by_remote>         <== NOT EXECUTED
  if ( baud == 0 && termios_baud != 0 )                               
a00094cc:	e2703001 	rsbs	r3, r0, #1                                   <== NOT EXECUTED
a00094d0:	33a03000 	movcc	r3, #0                                      <== NOT EXECUTED
a00094d4:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a00094d8:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a00094dc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return -1;                                                        
                                                                      
  return baud;                                                        
}                                                                     
a00094e0:	13e00000 	mvnne	r0, #0                                      <== NOT EXECUTED
a00094e4:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a00078a4 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
a00078a4:	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(                                        
a00078a8:	e59f51a0 	ldr	r5, [pc, #416]	; a0007a50 <rtems_termios_close+0x1ac>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
a00078ac:	e5903000 	ldr	r3, [r0]                                      
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
a00078b0:	e3a01000 	mov	r1, #0                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
a00078b4:	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(                                        
a00078b8:	e1a02001 	mov	r2, r1                                        
a00078bc:	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;                   
a00078c0:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
a00078c4:	eb00087b 	bl	a0009ab8 <rtems_semaphore_obtain>              
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
a00078c8:	e3500000 	cmp	r0, #0                                        
a00078cc:	1a00005e 	bne	a0007a4c <rtems_termios_close+0x1a8>          
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
a00078d0:	e5943008 	ldr	r3, [r4, #8]                                  
a00078d4:	e2433001 	sub	r3, r3, #1                                    
a00078d8:	e3530000 	cmp	r3, #0                                        
a00078dc:	e5843008 	str	r3, [r4, #8]                                  
a00078e0:	1a00002e 	bne	a00079a0 <rtems_termios_close+0xfc>           
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
a00078e4:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a00078e8:	e59f3164 	ldr	r3, [pc, #356]	; a0007a54 <rtems_termios_close+0x1b0>
a00078ec:	e0833282 	add	r3, r3, r2, lsl #5                            
a00078f0:	e5931004 	ldr	r1, [r3, #4]                                  
a00078f4:	e3510000 	cmp	r1, #0                                        
a00078f8:	0a00003d 	beq	a00079f4 <rtems_termios_close+0x150>          
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
a00078fc:	e1a00004 	mov	r0, r4                                        
a0007900:	e12fff31 	blx	r1                                            <== NOT EXECUTED
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a0007904:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         <== NOT EXECUTED
a0007908:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a000790c:	0a000044 	beq	a0007a24 <rtems_termios_close+0x180>          <== NOT EXECUTED
        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)                                        
a0007910:	e594309c 	ldr	r3, [r4, #156]	; 0x9c                         
a0007914:	e3530000 	cmp	r3, #0                                        
a0007918:	0a000003 	beq	a000792c <rtems_termios_close+0x88>           
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
a000791c:	e594000c 	ldr	r0, [r4, #12]                                 
a0007920:	e5941010 	ldr	r1, [r4, #16]                                 
a0007924:	e1a02006 	mov	r2, r6                                        
a0007928:	e12fff33 	blx	r3                                            
    if (tty->forw == NULL) {                                          
a000792c:	e5943000 	ldr	r3, [r4]                                      
a0007930:	e3530000 	cmp	r3, #0                                        
a0007934:	0a000026 	beq	a00079d4 <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;                                    
a0007938:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a000793c:	e5832004 	str	r2, [r3, #4]                                  <== NOT EXECUTED
a0007940:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
a0007944:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0007948:	0a00001b 	beq	a00079bc <rtems_termios_close+0x118>          <== NOT EXECUTED
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
a000794c:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
a0007950:	e5940014 	ldr	r0, [r4, #20]                                 
a0007954:	eb00082e 	bl	a0009a14 <rtems_semaphore_delete>              
    rtems_semaphore_delete (tty->osem);                               
a0007958:	e5940018 	ldr	r0, [r4, #24]                                 
a000795c:	eb00082c 	bl	a0009a14 <rtems_semaphore_delete>              
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
a0007960:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
a0007964:	eb00082a 	bl	a0009a14 <rtems_semaphore_delete>              
    if ((tty->device.pollRead == NULL) ||                             
a0007968:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a000796c:	e3530000 	cmp	r3, #0                                        
a0007970:	0a00000e 	beq	a00079b0 <rtems_termios_close+0x10c>          
a0007974:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0007978:	e3530002 	cmp	r3, #2                                        
a000797c:	0a00000b 	beq	a00079b0 <rtems_termios_close+0x10c>          
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
a0007980:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
a0007984:	ebfffa98 	bl	a00063ec <free>                                
    free (tty->rawOutBuf.theBuf);                                     
a0007988:	e594007c 	ldr	r0, [r4, #124]	; 0x7c                         
a000798c:	ebfffa96 	bl	a00063ec <free>                                
    free (tty->cbuf);                                                 
a0007990:	e594001c 	ldr	r0, [r4, #28]                                 
a0007994:	ebfffa94 	bl	a00063ec <free>                                
    free (tty);                                                       
a0007998:	e1a00004 	mov	r0, r4                                        
a000799c:	ebfffa92 	bl	a00063ec <free>                                
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
a00079a0:	e5950000 	ldr	r0, [r5]                                      
a00079a4:	eb00088c 	bl	a0009bdc <rtems_semaphore_release>             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00079a8:	e3a00000 	mov	r0, #0                                        
a00079ac:	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);               
a00079b0:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a00079b4:	eb000816 	bl	a0009a14 <rtems_semaphore_delete>              <== NOT EXECUTED
a00079b8:	eafffff0 	b	a0007980 <rtems_termios_close+0xdc>             <== NOT EXECUTED
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
a00079bc:	e59f2094 	ldr	r2, [pc, #148]	; a0007a58 <rtems_termios_close+0x1b4>
      if ( rtems_termios_ttyHead != NULL ) {                          
a00079c0:	e3530000 	cmp	r3, #0                                        
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
a00079c4:	e5823000 	str	r3, [r2]                                      
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
a00079c8:	13a02000 	movne	r2, #0                                      
a00079cc:	15832004 	strne	r2, [r3, #4]                                
a00079d0:	eaffffde 	b	a0007950 <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;                              
a00079d4:	e5942004 	ldr	r2, [r4, #4]                                  
a00079d8:	e59f107c 	ldr	r1, [pc, #124]	; a0007a5c <rtems_termios_close+0x1b8>
      if ( rtems_termios_ttyTail != NULL ) {                          
a00079dc:	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;                              
a00079e0:	e5812000 	str	r2, [r1]                                      
      if ( rtems_termios_ttyTail != NULL ) {                          
a00079e4:	0afffff4 	beq	a00079bc <rtems_termios_close+0x118>          
        rtems_termios_ttyTail->forw = NULL;                           
a00079e8:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
a00079ec:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a00079f0:	eaffffd5 	b	a000794c <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);
a00079f4:	e5940018 	ldr	r0, [r4, #24]                                 
a00079f8:	e1a02001 	mov	r2, r1                                        
a00079fc:	eb00082d 	bl	a0009ab8 <rtems_semaphore_obtain>              
      if (sc != RTEMS_SUCCESSFUL) {                                   
a0007a00:	e3500000 	cmp	r0, #0                                        
a0007a04:	1a000010 	bne	a0007a4c <rtems_termios_close+0x1a8>          
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
a0007a08:	e1a00004 	mov	r0, r4                                        
a0007a0c:	ebfffe54 	bl	a0007364 <drainOutput>                         
      rtems_semaphore_release (tty->osem);                            
a0007a10:	e5940018 	ldr	r0, [r4, #24]                                 
a0007a14:	eb000870 	bl	a0009bdc <rtems_semaphore_release>             
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a0007a18:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0007a1c:	e3530002 	cmp	r3, #2                                        
a0007a20:	1affffba 	bne	a0007910 <rtems_termios_close+0x6c>           
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
a0007a24:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
a0007a28:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0007a2c:	eb0006fe 	bl	a000962c <rtems_event_send>                    <== NOT EXECUTED
      if (sc != RTEMS_SUCCESSFUL)                                     
a0007a30:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007a34:	1a000004 	bne	a0007a4c <rtems_termios_close+0x1a8>          <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
a0007a38:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
a0007a3c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0007a40:	eb0006f9 	bl	a000962c <rtems_event_send>                    <== NOT EXECUTED
      if (sc != RTEMS_SUCCESSFUL)                                     
a0007a44:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007a48:	0affffb0 	beq	a0007910 <rtems_termios_close+0x6c>           <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
a0007a4c:	eb0009c0 	bl	a000a154 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0009000 <rtems_termios_dequeue_characters>: rtems_status_code sc; /* * sum up character count already sent */ tty->t_dqlen += len;
a0009000:	e590c090 	ldr	ip, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0009004:	e59020b4 	ldr	r2, [r0, #180]	; 0xb4                         <== NOT EXECUTED
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
a0009008:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
a000900c:	e08c1001 	add	r1, ip, r1                                    <== NOT EXECUTED
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0009010:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
a0009014:	e5801090 	str	r1, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0009018:	0a00000b 	beq	a000904c <rtems_termios_dequeue_characters+0x4c><== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
a000901c:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
a0009020:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
a0009024:	0a000001 	beq	a0009030 <rtems_termios_dequeue_characters+0x30><== NOT EXECUTED
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
a0009028:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
a000902c:	eaffff56 	b	a0008d8c <rtems_termios_refill_transmitter>     <== NOT EXECUTED
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
a0009030:	e59f3038 	ldr	r3, [pc, #56]	; a0009070 <rtems_termios_dequeue_characters+0x70><== NOT EXECUTED
a0009034:	e59330b4 	ldr	r3, [r3, #180]	; 0xb4                         <== NOT EXECUTED
a0009038:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000903c:	0a000009 	beq	a0009068 <rtems_termios_dequeue_characters+0x68><== NOT EXECUTED
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
a0009040:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
a0009044:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0009048:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
a000904c:	e59000c8 	ldr	r0, [r0, #200]	; 0xc8                         <== NOT EXECUTED
a0009050:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0009054:	eb000174 	bl	a000962c <rtems_event_send>                    <== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
a0009058:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
a000905c:	01a00003 	moveq	r0, r3                                      <== NOT EXECUTED
  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)                                       
a0009060:	049df004 	popeq	{pc}		; (ldreq pc, [sp], #4)                <== NOT EXECUTED
      rtems_fatal_error_occurred (sc);                                
a0009064:	eb00043a 	bl	a000a154 <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... */                       
a0009068:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
a000906c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0008a20 <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) {
a0008a20:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
a0008a24:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
a0008a28:	e59f72cc 	ldr	r7, [pc, #716]	; a0008cfc <rtems_termios_enqueue_raw_characters+0x2dc><== 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) 
{                                                                     
a0008a2c:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0008a30:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
a0008a34:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
a0008a38:	e5939010 	ldr	r9, [r3, #16]                                 <== NOT EXECUTED
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
a0008a3c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a0008a40:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
a0008a44:	e3590000 	cmp	r9, #0                                        <== NOT EXECUTED
a0008a48:	0a00001c 	beq	a0008ac0 <rtems_termios_enqueue_raw_characters+0xa0><== NOT EXECUTED
    while (len--) {                                                   
a0008a4c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0008a50:	0a00000a 	beq	a0008a80 <rtems_termios_enqueue_raw_characters+0x60><== NOT EXECUTED
a0008a54:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
a0008a58:	ea000002 	b	a0008a68 <rtems_termios_enqueue_raw_characters+0x48><== NOT EXECUTED
a0008a5c:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a0008a60:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
a0008a64:	e5939010 	ldr	r9, [r3, #16]                                 <== NOT EXECUTED
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
a0008a68:	e7d50008 	ldrb	r0, [r5, r8]                                 <== NOT EXECUTED
a0008a6c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0008a70:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
a0008a74:	e12fff39 	blx	r9                                            <== NOT EXECUTED
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
    while (len--) {                                                   
a0008a78:	e1580006 	cmp	r8, r6                                        <== NOT EXECUTED
a0008a7c:	1afffff6 	bne	a0008a5c <rtems_termios_enqueue_raw_characters+0x3c><== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
a0008a80:	e594a0e4 	ldr	sl, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0008a84:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
a0008a88:	13a0a000 	movne	sl, #0                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
a0008a8c:	1a000008 	bne	a0008ab4 <rtems_termios_enqueue_raw_characters+0x94><== NOT EXECUTED
a0008a90:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a0008a94:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
a0008a98:	01a0a003 	moveq	sl, r3                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
a0008a9c:	0a000004 	beq	a0008ab4 <rtems_termios_enqueue_raw_characters+0x94><== NOT EXECUTED
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
a0008aa0:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a0008aa4:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a0008aa8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
a0008aac:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0008ab0:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
a0008ab4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0008ab8:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0008abc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== 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); 
a0008ac0:	e2803030 	add	r3, r0, #48	; 0x30                            <== NOT EXECUTED
a0008ac4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
a0008ac8:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
a0008acc:	e280304a 	add	r3, r0, #74	; 0x4a                            <== NOT EXECUTED
a0008ad0:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
a0008ad4:	e1a0b009 	mov	fp, r9                                        <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
a0008ad8:	0a000042 	beq	a0008be8 <rtems_termios_enqueue_raw_characters+0x1c8><== NOT EXECUTED
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
a0008adc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
a0008ae0:	e4d58001 	ldrb	r8, [r5], #1                                 <== NOT EXECUTED
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
a0008ae4:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a0008ae8:	0a000005 	beq	a0008b04 <rtems_termios_enqueue_raw_characters+0xe4><== NOT EXECUTED
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
a0008aec:	e5d4304a 	ldrb	r3, [r4, #74]	; 0x4a                         <== NOT EXECUTED
a0008af0:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a0008af4:	0a000056 	beq	a0008c54 <rtems_termios_enqueue_raw_characters+0x234><== NOT EXECUTED
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
a0008af8:	e5d43049 	ldrb	r3, [r4, #73]	; 0x49                         <== NOT EXECUTED
a0008afc:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a0008b00:	0a00003f 	beq	a0008c04 <rtems_termios_enqueue_raw_characters+0x1e4><== NOT EXECUTED
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
a0008b04:	e3590000 	cmp	r9, #0                                        <== NOT EXECUTED
a0008b08:	1a000041 	bne	a0008c14 <rtems_termios_enqueue_raw_characters+0x1f4><== NOT EXECUTED
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
a0008b0c:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0008b10:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0008b14:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a0008b18:	eb002f87 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
a0008b1c:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0008b20:	e10fa000 	mrs	sl, CPSR                                      <== NOT EXECUTED
a0008b24:	e38a3080 	orr	r3, sl, #128	; 0x80                           <== NOT EXECUTED
a0008b28:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
a0008b2c:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0008b30:	e5940064 	ldr	r0, [r4, #100]	; 0x64                         <== NOT EXECUTED
            % tty->rawInBuf.Size) > tty->highwater) &&                
a0008b34:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== 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)       
a0008b38:	e0630000 	rsb	r0, r3, r0                                    <== NOT EXECUTED
            % tty->rawInBuf.Size) > tty->highwater) &&                
a0008b3c:	e0800007 	add	r0, r0, r7                                    <== NOT EXECUTED
a0008b40:	eb002f7d 	bl	a001493c <__umodsi3>                           <== 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)       
a0008b44:	e59430c0 	ldr	r3, [r4, #192]	; 0xc0                         <== NOT EXECUTED
a0008b48:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0008b4c:	9a00000f 	bls	a0008b90 <rtems_termios_enqueue_raw_characters+0x170><== NOT EXECUTED
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
a0008b50:	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) &&                
a0008b54:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0008b58:	1a00000c 	bne	a0008b90 <rtems_termios_enqueue_raw_characters+0x170><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
a0008b5c:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
a0008b60:	e3a03b01 	mov	r3, #1024	; 0x400                             <== NOT EXECUTED
a0008b64:	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;                                 
a0008b68:	e3822001 	orr	r2, r2, #1                                    <== NOT EXECUTED
a0008b6c:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
a0008b70:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008b74:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0008b78:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
a0008b7c:	0a000046 	beq	a0008c9c <rtems_termios_enqueue_raw_characters+0x27c><== 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) ) {
a0008b80:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008b84:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
a0008b88:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
a0008b8c:	0a000051 	beq	a0008cd8 <rtems_termios_enqueue_raw_characters+0x2b8><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0008b90:	e129f00a 	msr	CPSR_fc, sl                                   <== NOT EXECUTED
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
a0008b94:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0008b98:	e1530007 	cmp	r3, r7                                        <== NOT EXECUTED
        dropped++;                                                    
a0008b9c:	028bb001 	addeq	fp, fp, #1                                  <== NOT EXECUTED
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
a0008ba0:	0a00000d 	beq	a0008bdc <rtems_termios_enqueue_raw_characters+0x1bc><== NOT EXECUTED
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
a0008ba4:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0008ba8:	e7c38007 	strb	r8, [r3, r7]                                 <== NOT EXECUTED
        tty->rawInBuf.Tail = newTail;                                 
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
a0008bac:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
a0008bb0:	e5847060 	str	r7, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
a0008bb4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008bb8:	1a000007 	bne	a0008bdc <rtems_termios_enqueue_raw_characters+0x1bc><== NOT EXECUTED
a0008bbc:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a0008bc0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008bc4:	0a000004 	beq	a0008bdc <rtems_termios_enqueue_raw_characters+0x1bc><== NOT EXECUTED
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
a0008bc8:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a0008bcc:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a0008bd0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
a0008bd4:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0008bd8:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0008bdc:	e2466001 	sub	r6, r6, #1                                    <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
a0008be0:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0008be4:	1affffbc 	bne	a0008adc <rtems_termios_enqueue_raw_characters+0xbc><== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
a0008be8:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
a0008bec:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a0008bf0:	e1a0a00b 	mov	sl, fp                                        <== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
a0008bf4:	e083300b 	add	r3, r3, fp                                    <== NOT EXECUTED
a0008bf8:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
a0008bfc:	eb0003f6 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
  return dropped;                                                     
a0008c00:	eaffffab 	b	a0008ab4 <rtems_termios_enqueue_raw_characters+0x94><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
a0008c04:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
    while (len--) {                                                   
a0008c08:	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;                                
a0008c0c:	e3c33010 	bic	r3, r3, #16                                   <== NOT EXECUTED
a0008c10:	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) {   
a0008c14:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008c18:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
a0008c1c:	e3530020 	cmp	r3, #32                                       <== NOT EXECUTED
a0008c20:	1affffed 	bne	a0008bdc <rtems_termios_enqueue_raw_characters+0x1bc><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0008c24:	e10f7000 	mrs	r7, CPSR                                      <== NOT EXECUTED
a0008c28:	e3873080 	orr	r3, r7, #128	; 0x80                           <== NOT EXECUTED
a0008c2c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
a0008c30:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
a0008c34:	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;                                  
a0008c38:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
a0008c3c:	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;                                  
a0008c40:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
a0008c44:	1a00000c 	bne	a0008c7c <rtems_termios_enqueue_raw_characters+0x25c><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0008c48:	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;                                     
a0008c4c:	e2466001 	sub	r6, r6, #1                                    <== NOT EXECUTED
a0008c50:	eaffffe2 	b	a0008be0 <rtems_termios_enqueue_raw_characters+0x1c0><== 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]) {                         
a0008c54:	e5d42049 	ldrb	r2, [r4, #73]	; 0x49                         <== NOT EXECUTED
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
    while (len--) {                                                   
a0008c58:	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]) {                         
a0008c5c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
a0008c60:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
a0008c64:	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;               
a0008c68:	02233010 	eoreq	r3, r3, #16                                 <== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
a0008c6c:	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;               
a0008c70:	058430b8 	streq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
a0008c74:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
a0008c78:	eaffffe5 	b	a0008c14 <rtems_termios_enqueue_raw_characters+0x1f4><== 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);
a0008c7c:	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)(                                       
a0008c80:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0008c84:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0008c88:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0008c8c:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0008c90:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0008c94:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0008c98:	eaffffea 	b	a0008c48 <rtems_termios_enqueue_raw_characters+0x228><== 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) ||                          
a0008c9c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008ca0:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0008ca4:	1a000002 	bne	a0008cb4 <rtems_termios_enqueue_raw_characters+0x294><== NOT EXECUTED
a0008ca8:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a0008cac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008cb0:	1affffb6 	bne	a0008b90 <rtems_termios_enqueue_raw_characters+0x170><== 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;                             
a0008cb4:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
a0008cb8:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0008cbc:	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;                             
a0008cc0:	e3822002 	orr	r2, r2, #2                                    <== NOT EXECUTED
a0008cc4:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
a0008cc8:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
a0008ccc:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0008cd0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0008cd4:	eaffffad 	b	a0008b90 <rtems_termios_enqueue_raw_characters+0x170><== 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;                               
a0008cd8:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
a0008cdc:	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;                               
a0008ce0:	e3822004 	orr	r2, r2, #4                                    <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
a0008ce4:	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;                               
a0008ce8:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
a0008cec:	0affffa7 	beq	a0008b90 <rtems_termios_enqueue_raw_characters+0x170><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
a0008cf0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0008cf4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0008cf8:	eaffffa4 	b	a0008b90 <rtems_termios_enqueue_raw_characters+0x170><== NOT EXECUTED
                                                                      

a0007a78 <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;
a0007a78:	e5902000 	ldr	r2, [r0]                                      
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a0007a7c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
a0007a80:	e5925034 	ldr	r5, [r2, #52]	; 0x34                          
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
a0007a84:	e3a03000 	mov	r3, #0                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a0007a88:	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;                                            
a0007a8c:	e580300c 	str	r3, [r0, #12]                                 
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0007a90:	e1a01003 	mov	r1, r3                                        
a0007a94:	e1a02003 	mov	r2, r3                                        
a0007a98:	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;
a0007a9c:	e5947008 	ldr	r7, [r4, #8]                                  
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0007aa0:	eb000804 	bl	a0009ab8 <rtems_semaphore_obtain>              
  if (sc != RTEMS_SUCCESSFUL) {                                       
a0007aa4:	e2506000 	subs	r6, r0, #0                                   
a0007aa8:	1a00000e 	bne	a0007ae8 <rtems_termios_ioctl+0x70>           
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
a0007aac:	e5943004 	ldr	r3, [r4, #4]                                  
a0007ab0:	e3530004 	cmp	r3, #4                                        
a0007ab4:	0a000006 	beq	a0007ad4 <rtems_termios_ioctl+0x5c>           
a0007ab8:	8a00000d 	bhi	a0007af4 <rtems_termios_ioctl+0x7c>           
a0007abc:	e3530002 	cmp	r3, #2                                        
a0007ac0:	0a00001d 	beq	a0007b3c <rtems_termios_ioctl+0xc4>           
a0007ac4:	9a000082 	bls	a0007cd4 <rtems_termios_ioctl+0x25c>          
    if (tty->device.setAttributes)                                    
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
a0007ac8:	e1a00005 	mov	r0, r5                                        
a0007acc:	ebfffe24 	bl	a0007364 <drainOutput>                         
    break;                                                            
a0007ad0:	ea000002 	b	a0007ae0 <rtems_termios_ioctl+0x68>             
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
a0007ad4:	e897000c 	ldm	r7, {r2, r3}                                  
a0007ad8:	e58520dc 	str	r2, [r5, #220]	; 0xdc                         
a0007adc:	e58530e0 	str	r3, [r5, #224]	; 0xe0                         
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
a0007ae0:	e5950018 	ldr	r0, [r5, #24]                                 
a0007ae4:	eb00083c 	bl	a0009bdc <rtems_semaphore_release>             
  args->ioctl_return = sc;                                            
a0007ae8:	e584600c 	str	r6, [r4, #12]                                 
  return sc;                                                          
}                                                                     
a0007aec:	e1a00006 	mov	r0, r6                                        
a0007af0:	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) {                                            
a0007af4:	e59f2328 	ldr	r2, [pc, #808]	; a0007e24 <rtems_termios_ioctl+0x3ac>
a0007af8:	e1530002 	cmp	r3, r2                                        
a0007afc:	0a000068 	beq	a0007ca4 <rtems_termios_ioctl+0x22c>          
a0007b00:	8a00007f 	bhi	a0007d04 <rtems_termios_ioctl+0x28c>          
a0007b04:	e3530005 	cmp	r3, #5                                        
a0007b08:	0a00009c 	beq	a0007d80 <rtems_termios_ioctl+0x308>          
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
a0007b0c:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
a0007b10:	e59f3310 	ldr	r3, [pc, #784]	; a0007e28 <rtems_termios_ioctl+0x3b0><== NOT EXECUTED
a0007b14:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a0007b18:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a0007b1c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
a0007b20:	03a0600a 	moveq	r6, #10                                     <== NOT EXECUTED
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
a0007b24:	0affffed 	beq	a0007ae0 <rtems_termios_ioctl+0x68>           <== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
a0007b28:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0007b2c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0007b30:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0007b34:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0007b38:	eaffffe8 	b	a0007ae0 <rtems_termios_ioctl+0x68>             <== NOT EXECUTED
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
a0007b3c:	e594e008 	ldr	lr, [r4, #8]                                  
a0007b40:	e2857030 	add	r7, r5, #48	; 0x30                            
a0007b44:	e1a0c007 	mov	ip, r7                                        
a0007b48:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0007b4c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0007b50:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0007b54:	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) &&                                 
a0007b58:	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;                   
a0007b5c:	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) &&                                 
a0007b60:	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;                   
a0007b64:	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) &&                                 
a0007b68:	0a000012 	beq	a0007bb8 <rtems_termios_ioctl+0x140>          
      !(tty->termios.c_iflag & IXON)) {                               
a0007b6c:	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) &&                                 
a0007b70:	e3130b01 	tst	r3, #1024	; 0x400                             
a0007b74:	1a00000f 	bne	a0007bb8 <rtems_termios_ioctl+0x140>          
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
a0007b78:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007b7c:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a0007b80:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
a0007b84:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007b88:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0007b8c:	0a000009 	beq	a0007bb8 <rtems_termios_ioctl+0x140>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007b90:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a0007b94:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a0007b98:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a0007b9c:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0007ba0:	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;                                    
a0007ba4:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0007ba8:	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;                                    
a0007bac:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0007bb0:	1a000093 	bne	a0007e04 <rtems_termios_ioctl+0x38c>          <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0007bb4:	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)) {
a0007bb8:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a0007bbc:	e3130b01 	tst	r3, #1024	; 0x400                             
a0007bc0:	0a000008 	beq	a0007be8 <rtems_termios_ioctl+0x170>          
a0007bc4:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0007bc8:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0007bcc:	1a000005 	bne	a0007be8 <rtems_termios_ioctl+0x170>          <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
a0007bd0:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007bd4:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
a0007bd8:	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);                                  
a0007bdc:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007be0:	e3c33002 	bic	r3, r3, #2                                    <== NOT EXECUTED
a0007be4:	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)) {
a0007be8:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a0007bec:	e3130c01 	tst	r3, #256	; 0x100                              
a0007bf0:	05952038 	ldreq	r2, [r5, #56]	; 0x38                        
a0007bf4:	0a000011 	beq	a0007c40 <rtems_termios_ioctl+0x1c8>          
a0007bf8:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
a0007bfc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0007c00:	ba000073 	blt	a0007dd4 <rtems_termios_ioctl+0x35c>          <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
a0007c04:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007c08:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0007c0c:	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)) {
a0007c10:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007c14:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a0007c18:	0a000005 	beq	a0007c34 <rtems_termios_ioctl+0x1bc>          <== NOT EXECUTED
a0007c1c:	e59530b0 	ldr	r3, [r5, #176]	; 0xb0                         <== NOT EXECUTED
a0007c20:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0007c24:	0a000002 	beq	a0007c34 <rtems_termios_ioctl+0x1bc>          <== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
a0007c28:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a0007c2c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0007c30:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
a0007c34:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007c38:	e3c33004 	bic	r3, r3, #4                                    <== NOT EXECUTED
a0007c3c:	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) {                               
a0007c40:	e3520000 	cmp	r2, #0                                        
a0007c44:	ba000062 	blt	a0007dd4 <rtems_termios_ioctl+0x35c>          
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
a0007c48:	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) {                              
a0007c4c:	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) {                                 
a0007c50:	e3130a01 	tst	r3, #4096	; 0x1000                            
    tty->flow_ctrl |= FL_MDXOF;                                       
a0007c54:	159520b8 	ldrne	r2, [r5, #184]	; 0xb8                       
a0007c58:	13822b01 	orrne	r2, r2, #1024	; 0x400                       
a0007c5c:	158520b8 	strne	r2, [r5, #184]	; 0xb8                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
a0007c60:	e3130b01 	tst	r3, #1024	; 0x400                             
    tty->flow_ctrl |= FL_MDXON;                                       
a0007c64:	159530b8 	ldrne	r3, [r5, #184]	; 0xb8                       
a0007c68:	13833c02 	orrne	r3, r3, #512	; 0x200                        
a0007c6c:	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) {                              
a0007c70:	e2188002 	ands	r8, r8, #2                                   
a0007c74:	0a000045 	beq	a0007d90 <rtems_termios_ioctl+0x318>          
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
a0007c78:	e3a03000 	mov	r3, #0                                        
a0007c7c:	e585306c 	str	r3, [r5, #108]	; 0x6c                         
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
a0007c80:	e5853070 	str	r3, [r5, #112]	; 0x70                         
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
a0007c84:	e5853074 	str	r3, [r5, #116]	; 0x74                         
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
a0007c88:	e59530a8 	ldr	r3, [r5, #168]	; 0xa8                         
a0007c8c:	e3530000 	cmp	r3, #0                                        
a0007c90:	0affff92 	beq	a0007ae0 <rtems_termios_ioctl+0x68>           
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
a0007c94:	e5950010 	ldr	r0, [r5, #16]                                 
a0007c98:	e1a01007 	mov	r1, r7                                        
a0007c9c:	e12fff33 	blx	r3                                            
a0007ca0:	eaffff8e 	b	a0007ae0 <rtems_termios_ioctl+0x68>             
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
a0007ca4:	e5952060 	ldr	r2, [r5, #96]	; 0x60                          <== NOT EXECUTED
a0007ca8:	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;       
a0007cac:	e5950020 	ldr	r0, [r5, #32]                                 <== NOT EXECUTED
a0007cb0:	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 )                                                
a0007cb4:	e0523003 	subs	r3, r2, r3                                   <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
a0007cb8:	45952064 	ldrmi	r2, [r5, #100]	; 0x64                       <== NOT EXECUTED
a0007cbc:	40833002 	addmi	r3, r3, r2                                  <== NOT EXECUTED
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
a0007cc0:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
a0007cc4:	e0622000 	rsb	r2, r2, r0                                    <== NOT EXECUTED
a0007cc8:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a0007ccc:	e5813000 	str	r3, [r1]                                      <== NOT EXECUTED
    }                                                                 
    break;                                                            
a0007cd0:	eaffff82 	b	a0007ae0 <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) {                                            
a0007cd4:	e3530001 	cmp	r3, #1                                        
a0007cd8:	1affff8b 	bne	a0007b0c <rtems_termios_ioctl+0x94>           
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
a0007cdc:	e5947008 	ldr	r7, [r4, #8]                                  
a0007ce0:	e285c030 	add	ip, r5, #48	; 0x30                            
a0007ce4:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0007ce8:	e1a0e007 	mov	lr, r7                                        
a0007cec:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0007cf0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0007cf4:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0007cf8:	e59c3000 	ldr	r3, [ip]                                      
a0007cfc:	e58e3000 	str	r3, [lr]                                      
    break;                                                            
a0007d00:	eaffff76 	b	a0007ae0 <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) {                                            
a0007d04:	e59f2120 	ldr	r2, [pc, #288]	; a0007e2c <rtems_termios_ioctl+0x3b4>
a0007d08:	e1530002 	cmp	r3, r2                                        
a0007d0c:	0a000017 	beq	a0007d70 <rtems_termios_ioctl+0x2f8>          
a0007d10:	e2822105 	add	r2, r2, #1073741825	; 0x40000001              
a0007d14:	e1530002 	cmp	r3, r2                                        
a0007d18:	1affff7b 	bne	a0007b0c <rtems_termios_ioctl+0x94>           
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
a0007d1c:	e59f7104 	ldr	r7, [pc, #260]	; a0007e28 <rtems_termios_ioctl+0x3b0>
a0007d20:	e59530cc 	ldr	r3, [r5, #204]	; 0xcc                         
a0007d24:	e0873283 	add	r3, r7, r3, lsl #5                            
a0007d28:	e5933004 	ldr	r3, [r3, #4]                                  
a0007d2c:	e3530000 	cmp	r3, #0                                        
a0007d30:	0a000002 	beq	a0007d40 <rtems_termios_ioctl+0x2c8>          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
a0007d34:	e1a00005 	mov	r0, r5                                        
a0007d38:	e12fff33 	blx	r3                                            
a0007d3c:	e1a06000 	mov	r6, r0                                        
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
a0007d40:	e5943008 	ldr	r3, [r4, #8]                                  
a0007d44:	e5932000 	ldr	r2, [r3]                                      
    tty->t_sc = NULL; /* ensure that no more valid data */            
a0007d48:	e3a03000 	mov	r3, #0                                        
a0007d4c:	e58530d0 	str	r3, [r5, #208]	; 0xd0                         
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
a0007d50:	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);                                
a0007d54:	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) {           
a0007d58:	e3530000 	cmp	r3, #0                                        
a0007d5c:	0affff5f 	beq	a0007ae0 <rtems_termios_ioctl+0x68>           
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
a0007d60:	e1a00005 	mov	r0, r5                                        
a0007d64:	e12fff33 	blx	r3                                            
a0007d68:	e1a06000 	mov	r6, r0                                        
a0007d6c:	eaffff5b 	b	a0007ae0 <rtems_termios_ioctl+0x68>             
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
a0007d70:	e5943008 	ldr	r3, [r4, #8]                                  
a0007d74:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         
a0007d78:	e5832000 	str	r2, [r3]                                      
    break;                                                            
a0007d7c:	eaffff57 	b	a0007ae0 <rtems_termios_ioctl+0x68>             
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
a0007d80:	e897000c 	ldm	r7, {r2, r3}                                  
a0007d84:	e58520d4 	str	r2, [r5, #212]	; 0xd4                         
a0007d88:	e58530d8 	str	r3, [r5, #216]	; 0xd8                         
    break;                                                            
a0007d8c:	eaffff53 	b	a0007ae0 <rtems_termios_ioctl+0x68>             
    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] *                    
a0007d90:	e5d5a046 	ldrb	sl, [r5, #70]	; 0x46                         
                    rtems_clock_get_ticks_per_second() / 10;          
a0007d94:	eb00059f 	bl	a0009418 <rtems_clock_get_ticks_per_second>    
a0007d98:	e59f3090 	ldr	r3, [pc, #144]	; a0007e30 <rtems_termios_ioctl+0x3b8>
    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] *                    
a0007d9c:	e000009a 	mul	r0, sl, r0                                    
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
a0007da0:	e5d52046 	ldrb	r2, [r5, #70]	; 0x46                         
      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;          
a0007da4:	e0831390 	umull	r1, r3, r0, r3                              
      if (tty->termios.c_cc[VTIME]) {                                 
a0007da8:	e3520000 	cmp	r2, #0                                        
      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;          
a0007dac:	e1a031a3 	lsr	r3, r3, #3                                    
    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] *                    
a0007db0:	e5853054 	str	r3, [r5, #84]	; 0x54                          
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
a0007db4:	0a00000a 	beq	a0007de4 <rtems_termios_ioctl+0x36c>          
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
a0007db8:	e5d52047 	ldrb	r2, [r5, #71]	; 0x47                         
    } 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;              
a0007dbc:	e5853070 	str	r3, [r5, #112]	; 0x70                         
      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;                   
a0007dc0:	e585806c 	str	r8, [r5, #108]	; 0x6c                         
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
a0007dc4:	e3520000 	cmp	r2, #0                                        
a0007dc8:	13a03000 	movne	r3, #0                                      
a0007dcc:	e5853074 	str	r3, [r5, #116]	; 0x74                         
a0007dd0:	eaffffac 	b	a0007c88 <rtems_termios_ioctl+0x210>            
  /*                                                                  
   * 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;                                       
a0007dd4:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007dd8:	e3833c01 	orr	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0007ddc:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0007de0:	eaffff98 	b	a0007c48 <rtems_termios_ioctl+0x1d0>            <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
a0007de4:	e5d53047 	ldrb	r3, [r5, #71]	; 0x47                         
a0007de8:	e3530000 	cmp	r3, #0                                        
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
a0007dec:	03a03001 	moveq	r3, #1                                      
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
a0007df0:	1585206c 	strne	r2, [r5, #108]	; 0x6c                       
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
a0007df4:	15852070 	strne	r2, [r5, #112]	; 0x70                       
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
a0007df8:	15852074 	strne	r2, [r5, #116]	; 0x74                       
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
a0007dfc:	0585306c 	streq	r3, [r5, #108]	; 0x6c                       
a0007e00:	eaffffa0 	b	a0007c88 <rtems_termios_ioctl+0x210>            
      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); 
a0007e04:	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)(                                         
a0007e08:	e595107c 	ldr	r1, [r5, #124]	; 0x7c                         <== NOT EXECUTED
a0007e0c:	e59530a4 	ldr	r3, [r5, #164]	; 0xa4                         <== NOT EXECUTED
a0007e10:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a0007e14:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0007e18:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0007e1c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0007e20:	eaffff63 	b	a0007bb4 <rtems_termios_ioctl+0x13c>            <== NOT EXECUTED
                                                                      

a0009534 <rtems_termios_number_to_baud>: extern rtems_assoc_t termios_assoc_table[]; int rtems_termios_number_to_baud( int32_t baud ) {
a0009534:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  int termios_baud;                                                   
                                                                      
  termios_baud = rtems_assoc_remote_by_local( termios_assoc_table, baud );
a0009538:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
extern rtems_assoc_t termios_assoc_table[];                           
                                                                      
int rtems_termios_number_to_baud(                                     
  int32_t baud                                                        
)                                                                     
{                                                                     
a000953c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  int termios_baud;                                                   
                                                                      
  termios_baud = rtems_assoc_remote_by_local( termios_assoc_table, baud );
a0009540:	e59f001c 	ldr	r0, [pc, #28]	; a0009564 <rtems_termios_number_to_baud+0x30><== NOT EXECUTED
a0009544:	eb001cb0 	bl	a001080c <rtems_assoc_remote_by_local>         <== NOT EXECUTED
  if ( termios_baud == 0 && baud != 0 )                               
a0009548:	e2703001 	rsbs	r3, r0, #1                                   <== NOT EXECUTED
a000954c:	33a03000 	movcc	r3, #0                                      <== NOT EXECUTED
a0009550:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a0009554:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a0009558:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return -1;                                                        
  return termios_baud;                                                
}                                                                     
a000955c:	13e00000 	mvnne	r0, #0                                      <== NOT EXECUTED
a0009560:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a00073e0 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
a00073e0:	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(                                        
a00073e4:	e59f74a0 	ldr	r7, [pc, #1184]	; a000788c <rtems_termios_open+0x4ac>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
a00073e8:	e1a06001 	mov	r6, r1                                        
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
a00073ec:	e3a01000 	mov	r1, #0                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
a00073f0:	e24dd01c 	sub	sp, sp, #28                                   
a00073f4:	e1a05000 	mov	r5, r0                                        
a00073f8:	e1a08002 	mov	r8, r2                                        
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
a00073fc:	e5970000 	ldr	r0, [r7]                                      
a0007400:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
a0007404:	e58d3014 	str	r3, [sp, #20]                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
a0007408:	eb0009aa 	bl	a0009ab8 <rtems_semaphore_obtain>              
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
a000740c:	e250a000 	subs	sl, r0, #0                                   
a0007410:	1a000021 	bne	a000749c <rtems_termios_open+0xbc>            
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
a0007414:	e59fb474 	ldr	fp, [pc, #1140]	; a0007890 <rtems_termios_open+0x4b0>
a0007418:	e59b9000 	ldr	r9, [fp]                                      
a000741c:	e3590000 	cmp	r9, #0                                        
a0007420:	0a00002d 	beq	a00074dc <rtems_termios_open+0xfc>            
a0007424:	e1a04009 	mov	r4, r9                                        
a0007428:	ea000002 	b	a0007438 <rtems_termios_open+0x58>              
a000742c:	e5944000 	ldr	r4, [r4]                                      
a0007430:	e3540000 	cmp	r4, #0                                        
a0007434:	0a000028 	beq	a00074dc <rtems_termios_open+0xfc>            
    if ((tty->major == major) && (tty->minor == minor))               
a0007438:	e594300c 	ldr	r3, [r4, #12]                                 
a000743c:	e1530005 	cmp	r3, r5                                        
a0007440:	1afffff9 	bne	a000742c <rtems_termios_open+0x4c>            
a0007444:	e5943010 	ldr	r3, [r4, #16]                                 
a0007448:	e1530006 	cmp	r3, r6                                        
a000744c:	1afffff6 	bne	a000742c <rtems_termios_open+0x4c>            
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  if (!tty->refcount++) {                                             
a0007450:	e5943008 	ldr	r3, [r4, #8]                                  
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
a0007454:	e5981000 	ldr	r1, [r8]                                      
  if (!tty->refcount++) {                                             
a0007458:	e2832001 	add	r2, r3, #1                                    
a000745c:	e3530000 	cmp	r3, #0                                        
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
a0007460:	e5814034 	str	r4, [r1, #52]	; 0x34                          
  if (!tty->refcount++) {                                             
a0007464:	e5842008 	str	r2, [r4, #8]                                  
a0007468:	1a000009 	bne	a0007494 <rtems_termios_open+0xb4>            
    if (tty->device.firstOpen)                                        
a000746c:	e5943098 	ldr	r3, [r4, #152]	; 0x98                         
a0007470:	e3530000 	cmp	r3, #0                                        
a0007474:	0a000003 	beq	a0007488 <rtems_termios_open+0xa8>            
      (*tty->device.firstOpen)(major, minor, arg);                    
a0007478:	e1a00005 	mov	r0, r5                                        
a000747c:	e1a01006 	mov	r1, r6                                        
a0007480:	e1a02008 	mov	r2, r8                                        
a0007484:	e12fff33 	blx	r3                                            
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a0007488:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a000748c:	e3530002 	cmp	r3, #2                                        
a0007490:	0a000004 	beq	a00074a8 <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);                   
a0007494:	e5970000 	ldr	r0, [r7]                                      
a0007498:	eb0009cf 	bl	a0009bdc <rtems_semaphore_release>             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000749c:	e1a0000a 	mov	r0, sl                                        
a00074a0:	e28dd01c 	add	sp, sp, #28                                   
a00074a4:	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(                                          
a00074a8:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         
a00074ac:	e59f13e0 	ldr	r1, [pc, #992]	; a0007894 <rtems_termios_open+0x4b4>
a00074b0:	e1a02004 	mov	r2, r4                                        
a00074b4:	eb000a9c 	bl	a0009f2c <rtems_task_start>                    
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
a00074b8:	e3500000 	cmp	r0, #0                                        
a00074bc:	1a0000d6 	bne	a000781c <rtems_termios_open+0x43c>           
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
a00074c0:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         
a00074c4:	e59f13cc 	ldr	r1, [pc, #972]	; a0007898 <rtems_termios_open+0x4b8>
a00074c8:	e1a02004 	mov	r2, r4                                        
a00074cc:	eb000a96 	bl	a0009f2c <rtems_task_start>                    
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
a00074d0:	e3500000 	cmp	r0, #0                                        
a00074d4:	0affffee 	beq	a0007494 <rtems_termios_open+0xb4>            
a00074d8:	ea0000cf 	b	a000781c <rtems_termios_open+0x43c>             <== NOT EXECUTED
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
a00074dc:	e3a00001 	mov	r0, #1                                        
a00074e0:	e3a010e8 	mov	r1, #232	; 0xe8                               
a00074e4:	ebfffb52 	bl	a0006234 <calloc>                              
    if (tty == NULL) {                                                
a00074e8:	e3500000 	cmp	r0, #0                                        
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
a00074ec:	e58d0018 	str	r0, [sp, #24]                                 
a00074f0:	e1a04000 	mov	r4, r0                                        
    if (tty == NULL) {                                                
a00074f4:	0a0000b3 	beq	a00077c8 <rtems_termios_open+0x3e8>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
a00074f8:	e59f039c 	ldr	r0, [pc, #924]	; a000789c <rtems_termios_open+0x4bc>
a00074fc:	e59d1018 	ldr	r1, [sp, #24]                                 
a0007500:	e5903000 	ldr	r3, [r0]                                      
a0007504:	e5813064 	str	r3, [r1, #100]	; 0x64                         
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
a0007508:	e5910064 	ldr	r0, [r1, #100]	; 0x64                         
a000750c:	ebfffc9d 	bl	a0006788 <malloc>                              
a0007510:	e59d2018 	ldr	r2, [sp, #24]                                 
    if (tty->rawInBuf.theBuf == NULL) {                               
a0007514:	e3500000 	cmp	r0, #0                                        
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
a0007518:	e1a03000 	mov	r3, r0                                        
a000751c:	e5820058 	str	r0, [r2, #88]	; 0x58                          
    if (tty->rawInBuf.theBuf == NULL) {                               
a0007520:	0a0000ac 	beq	a00077d8 <rtems_termios_open+0x3f8>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
a0007524:	e59fc370 	ldr	ip, [pc, #880]	; a000789c <rtems_termios_open+0x4bc>
a0007528:	e59de018 	ldr	lr, [sp, #24]                                 
a000752c:	e59c2004 	ldr	r2, [ip, #4]                                  
a0007530:	e58e2088 	str	r2, [lr, #136]	; 0x88                         
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
a0007534:	e59e0088 	ldr	r0, [lr, #136]	; 0x88                         
a0007538:	e58d300c 	str	r3, [sp, #12]                                 
a000753c:	ebfffc91 	bl	a0006788 <malloc>                              
a0007540:	e1a02000 	mov	r2, r0                                        
    if (tty->rawOutBuf.theBuf == NULL) {                              
a0007544:	e3500000 	cmp	r0, #0                                        
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
a0007548:	e59d0018 	ldr	r0, [sp, #24]                                 
    if (tty->rawOutBuf.theBuf == NULL) {                              
a000754c:	e59d300c 	ldr	r3, [sp, #12]                                 
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
a0007550:	e580207c 	str	r2, [r0, #124]	; 0x7c                         
    if (tty->rawOutBuf.theBuf == NULL) {                              
a0007554:	0a000097 	beq	a00077b8 <rtems_termios_open+0x3d8>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
a0007558:	e59f133c 	ldr	r1, [pc, #828]	; a000789c <rtems_termios_open+0x4bc>
a000755c:	e5910008 	ldr	r0, [r1, #8]                                  
a0007560:	e58d2010 	str	r2, [sp, #16]                                 
a0007564:	e58d300c 	str	r3, [sp, #12]                                 
a0007568:	ebfffc86 	bl	a0006788 <malloc>                              
a000756c:	e59dc018 	ldr	ip, [sp, #24]                                 
    if (tty->cbuf == NULL) {                                          
a0007570:	e3500000 	cmp	r0, #0                                        
a0007574:	e59d2010 	ldr	r2, [sp, #16]                                 
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
a0007578:	e58c001c 	str	r0, [ip, #28]                                 
    if (tty->cbuf == NULL) {                                          
a000757c:	0a00008a 	beq	a00077ac <rtems_termios_open+0x3cc>           
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
a0007580:	e59de018 	ldr	lr, [sp, #24]                                 
a0007584:	e3a03000 	mov	r3, #0                                        
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
a0007588:	e1590003 	cmp	r9, r3                                        
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
a000758c:	e58e3004 	str	r3, [lr, #4]                                  
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
a0007590:	e58e30d4 	str	r3, [lr, #212]	; 0xd4                         
    tty->tty_snd.sw_arg = NULL;                                       
a0007594:	e58e30d8 	str	r3, [lr, #216]	; 0xd8                         
    tty->tty_rcv.sw_pfn = NULL;                                       
a0007598:	e58e30dc 	str	r3, [lr, #220]	; 0xdc                         
    tty->tty_rcv.sw_arg = NULL;                                       
a000759c:	e58e30e0 	str	r3, [lr, #224]	; 0xe0                         
    tty->tty_rcvwakeup  = 0;                                          
a00075a0:	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)                                
a00075a4:	e59f32f4 	ldr	r3, [pc, #756]	; a00078a0 <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;                                      
a00075a8:	e59d0018 	ldr	r0, [sp, #24]                                 
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
a00075ac:	e59f12e8 	ldr	r1, [pc, #744]	; a000789c <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)                                
a00075b0:	e5932000 	ldr	r2, [r3]                                      
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
a00075b4:	1589e004 	strne	lr, [r9, #4]                                
    rtems_termios_ttyHead = tty;                                      
a00075b8:	e58b0000 	str	r0, [fp]                                      
    if (rtems_termios_ttyTail == NULL)                                
a00075bc:	e3520000 	cmp	r2, #0                                        
      rtems_termios_ttyTail = tty;                                    
a00075c0:	05830000 	streq	r0, [r3]                                    
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
a00075c4:	e5d1000c 	ldrb	r0, [r1, #12]                                
    tty->tty_rcvwakeup  = 0;                                          
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
a00075c8:	e58e9000 	str	r9, [lr]                                      
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
a00075cc:	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;                                               
a00075d0:	e59d9018 	ldr	r9, [sp, #24]                                 
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
a00075d4:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a00075d8:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a00075dc:	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;                                               
a00075e0:	e5896010 	str	r6, [r9, #16]                                 
    tty->major = major;                                               
a00075e4:	e589500c 	str	r5, [r9, #12]                                 
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
a00075e8:	e3a03000 	mov	r3, #0                                        
a00075ec:	e3a01001 	mov	r1, #1                                        
a00075f0:	e3800c69 	orr	r0, r0, #26880	; 0x6900                       
a00075f4:	e3a02054 	mov	r2, #84	; 0x54                                
a00075f8:	e58dc000 	str	ip, [sp]                                      
a00075fc:	eb000893 	bl	a0009850 <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)                                       
a0007600:	e2503000 	subs	r3, r0, #0                                   
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
a0007604:	e59f9290 	ldr	r9, [pc, #656]	; a000789c <rtems_termios_open+0x4bc>
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
a0007608:	1a000083 	bne	a000781c <rtems_termios_open+0x43c>           
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
a000760c:	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 (                                     
a0007610:	e59de018 	ldr	lr, [sp, #24]                                 
a0007614:	e3a01001 	mov	r1, #1                                        
a0007618:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a000761c:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0007620:	e28ec018 	add	ip, lr, #24                                   
a0007624:	e3800c6f 	orr	r0, r0, #28416	; 0x6f00                       
a0007628:	e3a02054 	mov	r2, #84	; 0x54                                
a000762c:	e58dc000 	str	ip, [sp]                                      
a0007630:	eb000886 	bl	a0009850 <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)                                       
a0007634:	e2501000 	subs	r1, r0, #0                                   
a0007638:	1a000077 	bne	a000781c <rtems_termios_open+0x43c>           
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
a000763c:	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 (                                     
a0007640:	e59d2018 	ldr	r2, [sp, #24]                                 
a0007644:	e1a03001 	mov	r3, r1                                        
a0007648:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a000764c:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0007650:	e282c08c 	add	ip, r2, #140	; 0x8c                           
a0007654:	e3800b1e 	orr	r0, r0, #30720	; 0x7800                       
a0007658:	e3a02020 	mov	r2, #32                                       
a000765c:	e58dc000 	str	ip, [sp]                                      
a0007660:	eb00087a 	bl	a0009850 <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)                                       
a0007664:	e250b000 	subs	fp, r0, #0                                   
a0007668:	1a00006b 	bne	a000781c <rtems_termios_open+0x43c>           
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
a000766c:	e59d3018 	ldr	r3, [sp, #24]                                 
a0007670:	e59dc014 	ldr	ip, [sp, #20]                                 
a0007674:	e283e098 	add	lr, r3, #152	; 0x98                           
a0007678:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000767c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0007680:	e89c000f 	ldm	ip, {r0, r1, r2, r3}                          
a0007684:	e88e000f 	stm	lr, {r0, r1, r2, r3}                          
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a0007688:	e59dc018 	ldr	ip, [sp, #24]                                 
a000768c:	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;                                   
a0007690:	e58cb094 	str	fp, [ip, #148]	; 0x94                         
    tty->device = *callbacks;                                         
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
a0007694:	e3530002 	cmp	r3, #2                                        
a0007698:	0a000060 	beq	a0007820 <rtems_termios_open+0x440>           
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
a000769c:	e59d2018 	ldr	r2, [sp, #24]                                 
a00076a0:	e59230a0 	ldr	r3, [r2, #160]	; 0xa0                         
a00076a4:	e3530000 	cmp	r3, #0                                        
a00076a8:	0a00004d 	beq	a00077e4 <rtems_termios_open+0x404>           
a00076ac:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
a00076b0:	e3530002 	cmp	r3, #2                                        
a00076b4:	0a00004a 	beq	a00077e4 <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;                                               
a00076b8:	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';                                 
a00076bc:	e3a03000 	mov	r3, #0                                        
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00076c0:	e59f01d4 	ldr	r0, [pc, #468]	; a000789c <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;                                               
a00076c4:	e58c30b8 	str	r3, [ip, #184]	; 0xb8                         
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
a00076c8:	e59c9064 	ldr	r9, [ip, #100]	; 0x64                         
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00076cc:	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 =                                            
a00076d0:	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;                        
a00076d4:	e1a090a9 	lsr	r9, r9, #1                                    
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00076d8:	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;                        
a00076dc:	e58d9008 	str	r9, [sp, #8]                                  
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a00076e0:	e28e9001 	add	r9, lr, #1                                    
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
a00076e4:	e59de018 	ldr	lr, [sp, #24]                                 
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
a00076e8:	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;                        
a00076ec:	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';                                 
a00076f0:	e5ce304c 	strb	r3, [lr, #76]	; 0x4c                         
    tty->termios.c_cc[VEOL2] = '\000';                                
a00076f4:	e5ce3051 	strb	r3, [lr, #81]	; 0x51                         
    tty->termios.c_cc[VSTART] = '\021';                               
a00076f8:	e3a03011 	mov	r3, #17                                       
a00076fc:	e5ce3049 	strb	r3, [lr, #73]	; 0x49                         
    tty->termios.c_cc[VSTOP] = '\023';                                
a0007700:	e3a03013 	mov	r3, #19                                       
a0007704:	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 =                                            
a0007708:	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';                                
a000770c:	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';                                
a0007710:	e3a02003 	mov	r2, #3                                        
a0007714:	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';                                
a0007718:	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';                                
a000771c:	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';                             
a0007720:	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';                                
a0007724:	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';                             
a0007728:	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';                               
a000772c:	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';                             
a0007730:	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';                               
a0007734:	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';                             
a0007738:	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';                                
a000773c:	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';                              
a0007740:	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;              
a0007744:	e3a01e8b 	mov	r1, #2224	; 0x8b0                             
a0007748:	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';                                
a000774c:	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';                              
a0007750:	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';                                 
a0007754:	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';                               
a0007758:	e3a03016 	mov	r3, #22                                       
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
a000775c:	e3a00b06 	mov	r0, #6144	; 0x1800                            
a0007760:	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';                                 
a0007764:	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';                               
a0007768:	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;              
a000776c:	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')                                                   
a0007770:	e59f1124 	ldr	r1, [pc, #292]	; a000789c <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;                        
a0007774:	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;                     
a0007778:	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;                        
a000777c:	e59d0008 	ldr	r0, [sp, #8]                                  
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
a0007780:	e3a0cc25 	mov	ip, #9472	; 0x2500                            
a0007784:	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;                        
a0007788:	e1a0b12b 	lsr	fp, fp, #2                                    
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
a000778c:	0282205d 	addeq	r2, r2, #93	; 0x5d                          
a0007790:	01a03001 	moveq	r3, r1                                      
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
a0007794:	e5c1900c 	strb	r9, [r1, #12]                                
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
a0007798:	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;                        
a000779c:	e58e00bc 	str	r0, [lr, #188]	; 0xbc                         
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
a00077a0:	e58eb0c0 	str	fp, [lr, #192]	; 0xc0                         
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
a00077a4:	05c3200c 	strbeq	r2, [r3, #12]                              
a00077a8:	eaffff28 	b	a0007450 <rtems_termios_open+0x70>              
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
a00077ac:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a00077b0:	ebfffb0d 	bl	a00063ec <free>                                <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
a00077b4:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
a00077b8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a00077bc:	ebfffb0a 	bl	a00063ec <free>                                <== NOT EXECUTED
            free(tty);                                                
a00077c0:	e59d0018 	ldr	r0, [sp, #24]                                 <== NOT EXECUTED
a00077c4:	ebfffb08 	bl	a00063ec <free>                                <== NOT EXECUTED
      rtems_semaphore_release (rtems_termios_ttyMutex);               
a00077c8:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
a00077cc:	eb000902 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
a00077d0:	e3a0a01a 	mov	sl, #26                                       <== NOT EXECUTED
a00077d4:	eaffff30 	b	a000749c <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);                                                
a00077d8:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a00077dc:	ebfffb02 	bl	a00063ec <free>                                <== NOT EXECUTED
a00077e0:	eafffff8 	b	a00077c8 <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),                          
a00077e4:	e59f30b0 	ldr	r3, [pc, #176]	; a000789c <rtems_termios_open+0x4bc>
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
a00077e8:	e59d9018 	ldr	r9, [sp, #24]                                 
a00077ec:	e3a01000 	mov	r1, #0                                        
        rtems_build_name ('T', 'R', 'r', c),                          
a00077f0:	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 (                                   
a00077f4:	e289c068 	add	ip, r9, #104	; 0x68                           
a00077f8:	e3a02024 	mov	r2, #36	; 0x24                                
a00077fc:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0007800:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0007804:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       
a0007808:	e1a03001 	mov	r3, r1                                        
a000780c:	e58dc000 	str	ip, [sp]                                      
a0007810:	eb00080e 	bl	a0009850 <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)                                     
a0007814:	e3500000 	cmp	r0, #0                                        
a0007818:	0affffa6 	beq	a00076b8 <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);                              
a000781c:	eb000a4c 	bl	a000a154 <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),
a0007820:	e5d9000c 	ldrb	r0, [r9, #12]                                
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
a0007824:	e28cc0c8 	add	ip, ip, #200	; 0xc8                           
a0007828:	e3a0100a 	mov	r1, #10                                       
a000782c:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0007830:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   
a0007834:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       
a0007838:	e3a02b01 	mov	r2, #1024	; 0x400                             
a000783c:	e3a03c05 	mov	r3, #1280	; 0x500                             
a0007840:	e88d1800 	stm	sp, {fp, ip}                                  
a0007844:	eb00090e 	bl	a0009c84 <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)                                     
a0007848:	e250e000 	subs	lr, r0, #0                                   
a000784c:	1afffff2 	bne	a000781c <rtems_termios_open+0x43c>           
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
a0007850:	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 (                                        
a0007854:	e59d1018 	ldr	r1, [sp, #24]                                 
a0007858:	e3a02b01 	mov	r2, #1024	; 0x400                             
a000785c:	e3800452 	orr	r0, r0, #1375731712	; 0x52000000              
a0007860:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   
a0007864:	e281c0c4 	add	ip, r1, #196	; 0xc4                           
a0007868:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       
a000786c:	e3a01009 	mov	r1, #9                                        
a0007870:	e3a03c05 	mov	r3, #1280	; 0x500                             
a0007874:	e58de000 	str	lr, [sp]                                      
a0007878:	e58dc004 	str	ip, [sp, #4]                                  
a000787c:	eb000900 	bl	a0009c84 <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)                                     
a0007880:	e3500000 	cmp	r0, #0                                        
a0007884:	0affff84 	beq	a000769c <rtems_termios_open+0x2bc>           
a0007888:	eaffffe3 	b	a000781c <rtems_termios_open+0x43c>             <== NOT EXECUTED
                                                                      

a0007e34 <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) {
a0007e34:	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)           
{                                                                     
a0007e38:	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) {           
a0007e3c:	e3530000 	cmp	r3, #0                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
a0007e40:	e1a04002 	mov	r4, r2                                        
a0007e44:	e1a08000 	mov	r8, r0                                        
a0007e48:	e1a07001 	mov	r7, r1                                        
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
a0007e4c:	0a000037 	beq	a0007f30 <rtems_termios_puts+0xfc>            
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
a0007e50:	e3510000 	cmp	r1, #0                                        
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
a0007e54:	e5926080 	ldr	r6, [r2, #128]	; 0x80                         
  while (len) {                                                       
a0007e58:	0a00002b 	beq	a0007f0c <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;                                 
a0007e5c:	e3a05002 	mov	r5, #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;                                 
a0007e60:	e3a0b001 	mov	fp, #1                                        
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
a0007e64:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         
a0007e68:	e2860001 	add	r0, r6, #1                                    
a0007e6c:	eb0032b2 	bl	a001493c <__umodsi3>                           
a0007e70:	e1a06000 	mov	r6, r0                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007e74:	e10fa000 	mrs	sl, CPSR                                      
a0007e78:	e38a3080 	orr	r3, sl, #128	; 0x80                           
a0007e7c:	e129f003 	msr	CPSR_fc, r3                                   
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
a0007e80:	e5949084 	ldr	r9, [r4, #132]	; 0x84                         
a0007e84:	e1590000 	cmp	r9, r0                                        
a0007e88:	1a00000d 	bne	a0007ec4 <rtems_termios_puts+0x90>            
      tty->rawOutBufState = rob_wait;                                 
a0007e8c:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0007e90:	e129f00a 	msr	CPSR_fc, sl                                   <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
a0007e94:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0007e98:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0007e9c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0007ea0:	eb000704 	bl	a0009ab8 <rtems_semaphore_obtain>              <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
a0007ea4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0007ea8:	1a000026 	bne	a0007f48 <rtems_termios_puts+0x114>           <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007eac:	e10fa000 	mrs	sl, CPSR                                      <== NOT EXECUTED
a0007eb0:	e38a3080 	orr	r3, sl, #128	; 0x80                           <== NOT EXECUTED
a0007eb4:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
a0007eb8:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0007ebc:	e1530009 	cmp	r3, r9                                        <== NOT EXECUTED
a0007ec0:	0afffff1 	beq	a0007e8c <rtems_termios_puts+0x58>            <== NOT EXECUTED
        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++;              
a0007ec4:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         
a0007ec8:	e4d81001 	ldrb	r1, [r8], #1                                 
a0007ecc:	e594207c 	ldr	r2, [r4, #124]	; 0x7c                         
a0007ed0:	e7c21003 	strb	r1, [r2, r3]                                 
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
a0007ed4:	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;                                    
a0007ed8:	e5846080 	str	r6, [r4, #128]	; 0x80                         
    if (tty->rawOutBufState == rob_idle) {                            
a0007edc:	e3530000 	cmp	r3, #0                                        
a0007ee0:	1a000006 	bne	a0007f00 <rtems_termios_puts+0xcc>            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
a0007ee4:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
a0007ee8:	e3130010 	tst	r3, #16                                       
a0007eec:	0a000007 	beq	a0007f10 <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;                                   
a0007ef0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0007ef4:	e3833020 	orr	r3, r3, #32                                   <== NOT EXECUTED
a0007ef8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
a0007efc:	e584b094 	str	fp, [r4, #148]	; 0x94                         
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0007f00:	e129f00a 	msr	CPSR_fc, sl                                   
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
a0007f04:	e2577001 	subs	r7, r7, #1                                   
a0007f08:	1affffd5 	bne	a0007e64 <rtems_termios_puts+0x30>            
a0007f0c:	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);         
a0007f10:	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,                              
a0007f14:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         
a0007f18:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         
a0007f1c:	e5940010 	ldr	r0, [r4, #16]                                 
a0007f20:	e0811002 	add	r1, r1, r2                                    
a0007f24:	e3a02001 	mov	r2, #1                                        
a0007f28:	e12fff33 	blx	r3                                            
a0007f2c:	eafffff2 	b	a0007efc <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);               
a0007f30:	e59230a4 	ldr	r3, [r2, #164]	; 0xa4                         
a0007f34:	e5920010 	ldr	r0, [r2, #16]                                 
a0007f38:	e1a01008 	mov	r1, r8                                        
a0007f3c:	e1a02007 	mov	r2, r7                                        
a0007f40:	e12fff33 	blx	r3                                            
    return;                                                           
a0007f44:	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);                              
a0007f48:	eb000881 	bl	a000a154 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0008664 <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;
a0008664:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0008668:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
a000866c:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          <== NOT EXECUTED
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0008670:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0008674:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
a0008678:	e5908010 	ldr	r8, [r0, #16]                                 <== NOT EXECUTED
  char      *buffer = args->buffer;                                   
a000867c:	e590a00c 	ldr	sl, [r0, #12]                                 <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0008680:	e1a09000 	mov	r9, r0                                        <== NOT EXECUTED
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0008684:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0008688:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a000868c:	eb000509 	bl	a0009ab8 <rtems_semaphore_obtain>              <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
a0008690:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0008694:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
a0008698:	1a00000d 	bne	a00086d4 <rtems_termios_read+0x70>            <== NOT EXECUTED
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
a000869c:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a00086a0:	e59f3364 	ldr	r3, [pc, #868]	; a0008a0c <rtems_termios_read+0x3a8><== NOT EXECUTED
a00086a4:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a00086a8:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a00086ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00086b0:	0a00000a 	beq	a00086e0 <rtems_termios_read+0x7c>            <== NOT EXECUTED
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
a00086b4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00086b8:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a00086bc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    tty->tty_rcvwakeup = 0;                                           
a00086c0:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
a00086c4:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
    tty->tty_rcvwakeup = 0;                                           
a00086c8:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
    rtems_semaphore_release (tty->isem);                              
a00086cc:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a00086d0:	eb000541 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
a00086d4:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
a00086d8:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00086dc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
a00086e0:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
a00086e4:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a00086e8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00086ec:	0a000018 	beq	a0008754 <rtems_termios_read+0xf0>            <== NOT EXECUTED
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
a00086f0:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a00086f4:	0a00000e 	beq	a0008734 <rtems_termios_read+0xd0>            <== NOT EXECUTED
a00086f8:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
a00086fc:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0008700:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0008704:	ba000003 	blt	a0008718 <rtems_termios_read+0xb4>            <== NOT EXECUTED
a0008708:	ea000009 	b	a0008734 <rtems_termios_read+0xd0>              <== NOT EXECUTED
a000870c:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0008710:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0008714:	da000006 	ble	a0008734 <rtems_termios_read+0xd0>            <== NOT EXECUTED
    *buffer++ = tty->cbuf[tty->cindex++];                             
a0008718:	e594201c 	ldr	r2, [r4, #28]                                 <== NOT EXECUTED
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
a000871c:	e2588001 	subs	r8, r8, #1                                   <== NOT EXECUTED
    *buffer++ = tty->cbuf[tty->cindex++];                             
a0008720:	e7d22003 	ldrb	r2, [r2, r3]                                 <== NOT EXECUTED
a0008724:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0008728:	e4ca2001 	strb	r2, [sl], #1                                 <== NOT EXECUTED
a000872c:	e5843024 	str	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
a0008730:	1afffff5 	bne	a000870c <rtems_termios_read+0xa8>            <== NOT EXECUTED
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
a0008734:	e5993010 	ldr	r3, [r9, #16]                                 <== NOT EXECUTED
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
a0008738:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
a000873c:	e0688003 	rsb	r8, r8, r3                                    <== NOT EXECUTED
  tty->tty_rcvwakeup = 0;                                             
a0008740:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
a0008744:	e5898018 	str	r8, [r9, #24]                                 <== NOT EXECUTED
  tty->tty_rcvwakeup = 0;                                             
a0008748:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
  rtems_semaphore_release (tty->isem);                                
a000874c:	eb000522 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
  return sc;                                                          
a0008750:	eaffffdf 	b	a00086d4 <rtems_termios_read+0x70>              <== NOT EXECUTED
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
a0008754:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
a0008758:	e59d1000 	ldr	r1, [sp]                                      <== NOT EXECUTED
    tty->read_start_column = tty->column;                             
a000875c:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
    if (tty->device.pollRead != NULL &&                               
a0008760:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
a0008764:	e5841020 	str	r1, [r4, #32]                                 <== NOT EXECUTED
a0008768:	e5841024 	str	r1, [r4, #36]	; 0x24                          <== NOT EXECUTED
    tty->read_start_column = tty->column;                             
a000876c:	e584202c 	str	r2, [r4, #44]	; 0x2c                          <== NOT EXECUTED
    if (tty->device.pollRead != NULL &&                               
a0008770:	0a000002 	beq	a0008780 <rtems_termios_read+0x11c>           <== NOT EXECUTED
a0008774:	e59420b4 	ldr	r2, [r4, #180]	; 0xb4                         <== NOT EXECUTED
a0008778:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000877c:	0a000067 	beq	a0008920 <rtems_termios_read+0x2bc>           <== NOT EXECUTED
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
a0008780:	e5946074 	ldr	r6, [r4, #116]	; 0x74                         <== NOT EXECUTED
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
a0008784:	e59f7284 	ldr	r7, [pc, #644]	; a0008a10 <rtems_termios_read+0x3ac><== NOT EXECUTED
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
a0008788:	e3a0bc02 	mov	fp, #512	; 0x200                              <== NOT EXECUTED
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
a000878c:	e2843049 	add	r3, r4, #73	; 0x49                            <== NOT EXECUTED
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
a0008790:	e3a05001 	mov	r5, #1                                        <== NOT EXECUTED
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
a0008794:	e28bb002 	add	fp, fp, #2                                    <== NOT EXECUTED
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
a0008798:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a000879c:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a00087a0:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a00087a4:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00087a8:	0a000047 	beq	a00088cc <rtems_termios_read+0x268>           <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
a00087ac:	e5972008 	ldr	r2, [r7, #8]                                  <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00087b0:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
a00087b4:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00087b8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00087bc:	ca00000f 	bgt	a0008800 <rtems_termios_read+0x19c>           <== NOT EXECUTED
a00087c0:	ea000041 	b	a00088cc <rtems_termios_read+0x268>             <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
a00087c4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00087c8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00087cc:	ebffff5a 	bl	a000853c <siproc>                              <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00087d0:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a00087d4:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
a00087d8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00087dc:	13a05000 	movne	r5, #0                                      <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00087e0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
a00087e4:	e5946070 	ldr	r6, [r4, #112]	; 0x70                         <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00087e8:	0a000037 	beq	a00088cc <rtems_termios_read+0x268>           <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
a00087ec:	e5973008 	ldr	r3, [r7, #8]                                  <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00087f0:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
a00087f4:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00087f8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00087fc:	aa000032 	bge	a00088cc <rtems_termios_read+0x268>           <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
a0008800:	e594005c 	ldr	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0008804:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0008808:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a000880c:	eb00304a 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
      c = tty->rawInBuf.theBuf[newHead];                              
a0008810:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0008814:	e7d36000 	ldrb	r6, [r3, r0]                                 <== NOT EXECUTED
      tty->rawInBuf.Head = newHead;                                   
a0008818:	e584005c 	str	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
a000881c:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0008820:	e5942064 	ldr	r2, [r4, #100]	; 0x64                         <== NOT EXECUTED
          % tty->rawInBuf.Size)                                       
a0008824:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
      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)             
a0008828:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
          % tty->rawInBuf.Size)                                       
a000882c:	e0600003 	rsb	r0, r0, r3                                    <== NOT EXECUTED
a0008830:	eb003041 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
      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)             
a0008834:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         <== NOT EXECUTED
a0008838:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000883c:	2a000013 	bcs	a0008890 <rtems_termios_read+0x22c>           <== NOT EXECUTED
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
a0008840:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
a0008844:	e3a03c02 	mov	r3, #512	; 0x200                              <== NOT EXECUTED
a0008848:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
a000884c:	e3c22001 	bic	r2, r2, #1                                    <== NOT EXECUTED
a0008850:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
a0008854:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008858:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a000885c:	e153000b 	cmp	r3, fp                                        <== NOT EXECUTED
a0008860:	0a000022 	beq	a00088f0 <rtems_termios_read+0x28c>           <== NOT EXECUTED
            && ((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) {                       
a0008864:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008868:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a000886c:	0a000007 	beq	a0008890 <rtems_termios_read+0x22c>           <== NOT EXECUTED
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
a0008870:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
a0008874:	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;                              
a0008878:	e3c22004 	bic	r2, r2, #4                                    <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
a000887c:	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;                              
a0008880:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
a0008884:	0a000001 	beq	a0008890 <rtems_termios_read+0x22c>           <== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
a0008888:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a000888c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
a0008890:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0008894:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0008898:	1affffc9 	bne	a00087c4 <rtems_termios_read+0x160>           <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
a000889c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00088a0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00088a4:	ebffff24 	bl	a000853c <siproc>                              <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
a00088a8:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a00088ac:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
a00088b0:	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;                                                   
a00088b4:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00088b8:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a00088bc:	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;                                                   
a00088c0:	a3a05000 	movge	r5, #0                                      <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
a00088c4:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00088c8:	1affffc7 	bne	a00087ec <rtems_termios_read+0x188>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
a00088cc:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a00088d0:	0affff86 	beq	a00086f0 <rtems_termios_read+0x8c>            <== NOT EXECUTED
      sc = rtems_semaphore_obtain(                                    
a00088d4:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a00088d8:	e594106c 	ldr	r1, [r4, #108]	; 0x6c                         <== NOT EXECUTED
a00088dc:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a00088e0:	eb000474 	bl	a0009ab8 <rtems_semaphore_obtain>              <== NOT EXECUTED
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
a00088e4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00088e8:	0affffab 	beq	a000879c <rtems_termios_read+0x138>           <== NOT EXECUTED
a00088ec:	eaffff7f 	b	a00086f0 <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)                     
a00088f0:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a00088f4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00088f8:	0a000002 	beq	a0008908 <rtems_termios_read+0x2a4>           <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
a00088fc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008900:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0008904:	0affffd6 	beq	a0008864 <rtems_termios_read+0x200>           <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
a0008908:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a000890c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0008910:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
a0008914:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0008918:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000891c:	eaffffdb 	b	a0008890 <rtems_termios_read+0x22c>             <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
a0008920:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0008924:	e3120002 	tst	r2, #2                                        <== NOT EXECUTED
a0008928:	0a00000a 	beq	a0008958 <rtems_termios_read+0x2f4>           <== NOT EXECUTED
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
a000892c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0008930:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      if (n < 0) {                                                    
a0008934:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
a0008938:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000893c:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
a0008940:	ba00002d 	blt	a00089fc <rtems_termios_read+0x398>           <== NOT EXECUTED
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
a0008944:	ebfffefc 	bl	a000853c <siproc>                              <== NOT EXECUTED
a0008948:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000894c:	1affff67 	bne	a00086f0 <rtems_termios_read+0x8c>            <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
a0008950:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0008954:	eafffff4 	b	a000892c <rtems_termios_read+0x2c8>             <== NOT EXECUTED
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
a0008958:	eb0002b6 	bl	a0009438 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
a000895c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
a0008960:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0008964:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0008968:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      if (n < 0) {                                                    
a000896c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0008970:	ba00000c 	blt	a00089a8 <rtems_termios_read+0x344>           <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
a0008974:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
a0008978:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000897c:	ebfffeee 	bl	a000853c <siproc>                              <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
a0008980:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0008984:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0008988:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000898c:	aaffff57 	bge	a00086f0 <rtems_termios_read+0x8c>            <== NOT EXECUTED
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
a0008990:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008994:	0afffff1 	beq	a0008960 <rtems_termios_read+0x2fc>           <== NOT EXECUTED
a0008998:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a000899c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00089a0:	0affffee 	beq	a0008960 <rtems_termios_read+0x2fc>           <== NOT EXECUTED
a00089a4:	eaffffeb 	b	a0008958 <rtems_termios_read+0x2f4>             <== 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]) {                                
a00089a8:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a00089ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00089b0:	0a000008 	beq	a00089d8 <rtems_termios_read+0x374>           <== NOT EXECUTED
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
a00089b4:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a00089b8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00089bc:	0a000002 	beq	a00089cc <rtems_termios_read+0x368>           <== NOT EXECUTED
a00089c0:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a00089c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00089c8:	1a000005 	bne	a00089e4 <rtems_termios_read+0x380>           <== NOT EXECUTED
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
a00089cc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a00089d0:	eb00056f 	bl	a0009f94 <rtems_task_wake_after>               <== NOT EXECUTED
a00089d4:	eaffffe1 	b	a0008960 <rtems_termios_read+0x2fc>             <== NOT EXECUTED
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
a00089d8:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a00089dc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00089e0:	0affff42 	beq	a00086f0 <rtems_termios_read+0x8c>            <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
a00089e4:	eb000293 	bl	a0009438 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
          if ((now - then) > tty->vtimeTicks) {                       
a00089e8:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          <== NOT EXECUTED
a00089ec:	e0650000 	rsb	r0, r5, r0                                    <== NOT EXECUTED
a00089f0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00089f4:	9afffff4 	bls	a00089cc <rtems_termios_read+0x368>           <== NOT EXECUTED
a00089f8:	eaffff3c 	b	a00086f0 <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);                                    
a00089fc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0008a00:	eb000563 	bl	a0009f94 <rtems_task_wake_after>               <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
a0008a04:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0008a08:	eaffffc7 	b	a000892c <rtems_termios_read+0x2c8>             <== NOT EXECUTED
                                                                      

a0008d8c <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))
a0008d8c:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a0008d90:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0008d94:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a0008d98:	e3c33fff 	bic	r3, r3, #1020	; 0x3fc                         <== NOT EXECUTED
a0008d9c:	e1a03a83 	lsl	r3, r3, #21                                   <== NOT EXECUTED
 * in task-driven mode, this function is called in Tx task context    
 * in interrupt-driven mode, this function is called in TxIRQ context 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
a0008da0:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
a0008da4:	e1a03aa3 	lsr	r3, r3, #21                                   <== NOT EXECUTED
a0008da8:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
 * in task-driven mode, this function is called in Tx task context    
 * in interrupt-driven mode, this function is called in TxIRQ context 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
a0008dac:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
a0008db0:	0a000047 	beq	a0008ed4 <rtems_termios_refill_transmitter+0x148><== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
a0008db4:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a0008db8:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
a0008dbc:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0008dc0:	0a000055 	beq	a0008f1c <rtems_termios_refill_transmitter+0x190><== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
a0008dc4:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
a0008dc8:	e5903084 	ldr	r3, [r0, #132]	; 0x84                         <== NOT EXECUTED
a0008dcc:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0008dd0:	0a00002a 	beq	a0008e80 <rtems_termios_refill_transmitter+0xf4><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0008dd4:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0008dd8:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0008ddc:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
a0008de0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
a0008de4:	e5900090 	ldr	r0, [r0, #144]	; 0x90                         <== NOT EXECUTED
    tty->t_dqlen = 0;                                                 
a0008de8:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0008dec:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
a0008df0:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0008df4:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
a0008df8:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
a0008dfc:	eb002ece 	bl	a001493c <__umodsi3>                           <== NOT EXECUTED
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
a0008e00:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
a0008e04:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    tty->rawOutBuf.Tail = newTail;                                    
a0008e08:	e5840084 	str	r0, [r4, #132]	; 0x84                         <== NOT EXECUTED
    if (tty->rawOutBufState == rob_wait) {                            
a0008e0c:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0008e10:	0a00002c 	beq	a0008ec8 <rtems_termios_refill_transmitter+0x13c><== NOT EXECUTED
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
a0008e14:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0008e18:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a0008e1c:	0a00001f 	beq	a0008ea0 <rtems_termios_refill_transmitter+0x114><== NOT EXECUTED
      if ( tty->tty_snd.sw_pfn != NULL) {                             
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
a0008e20:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0008e24:	e2033e21 	and	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a0008e28:	e3530e21 	cmp	r3, #528	; 0x210                              <== NOT EXECUTED
a0008e2c:	0a00004c 	beq	a0008f64 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
a0008e30:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
a0008e34:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0008e38:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
a0008e3c:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
        nToSend = tty->rawOutBuf.Size - newTail;                      
a0008e40:	85946088 	ldrhi	r6, [r4, #136]	; 0x88                       <== NOT EXECUTED
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
a0008e44:	95946080 	ldrls	r6, [r4, #128]	; 0x80                       <== NOT EXECUTED
      /* when flow control XON or XOF, don't send blocks of data     */
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
a0008e48:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
a0008e4c:	80656006 	rsbhi	r6, r5, r6                                  <== NOT EXECUTED
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
a0008e50:	90656006 	rsbls	r6, r5, r6                                  <== NOT EXECUTED
      /* when flow control XON or XOF, don't send blocks of data     */
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
a0008e54:	e3130c06 	tst	r3, #1536	; 0x600                             <== NOT EXECUTED
a0008e58:	13a06001 	movne	r6, #1                                      <== NOT EXECUTED
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
a0008e5c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0008e60:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
        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;                                                  
a0008e64:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
a0008e68:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0008e6c:	e0811005 	add	r1, r1, r5                                    <== NOT EXECUTED
a0008e70:	e12fff33 	blx	r3                                            <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
a0008e74:	e5845084 	str	r5, [r4, #132]	; 0x84                         <== NOT EXECUTED
  }                                                                   
  return nToSend;                                                     
}                                                                     
a0008e78:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0008e7c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
a0008e80:	e5903094 	ldr	r3, [r0, #148]	; 0x94                         <== NOT EXECUTED
a0008e84:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
a0008e88:	13a06000 	movne	r6, #0                                      <== NOT EXECUTED
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
a0008e8c:	1afffff9 	bne	a0008e78 <rtems_termios_refill_transmitter+0xec><== NOT EXECUTED
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
a0008e90:	e590008c 	ldr	r0, [r0, #140]	; 0x8c                         <== NOT EXECUTED
a0008e94:	eb000350 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
      }                                                               
      return 0;                                                       
a0008e98:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0008e9c:	eafffff5 	b	a0008e78 <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) {                             
a0008ea0:	e59430d4 	ldr	r3, [r4, #212]	; 0xd4                         <== NOT EXECUTED
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
a0008ea4:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0008ea8:	e5846094 	str	r6, [r4, #148]	; 0x94                         <== NOT EXECUTED
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
a0008eac:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
a0008eb0:	01a06003 	moveq	r6, r3                                      <== NOT EXECUTED
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
a0008eb4:	0affffee 	beq	a0008e74 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
a0008eb8:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a0008ebc:	e59410d8 	ldr	r1, [r4, #216]	; 0xd8                         <== NOT EXECUTED
a0008ec0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0008ec4:	eaffffea 	b	a0008e74 <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);             
a0008ec8:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0008ecc:	eb000342 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
a0008ed0:	eaffffcf 	b	a0008e14 <rtems_termios_refill_transmitter+0x88><== NOT EXECUTED
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
a0008ed4:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a0008ed8:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
a0008edc:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0008ee0:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a0008ee4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0008ee8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0008eec:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0008ef0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a0008ef4:	e5941090 	ldr	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
a0008ef8:	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--;                                                   
a0008efc:	e2411001 	sub	r1, r1, #1                                    <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
a0008f00:	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--;                                                   
a0008f04:	e5841090 	str	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
a0008f08:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0008f0c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
a0008f10:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
a0008f14:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0008f18:	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);
a0008f1c:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a0008f20:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
a0008f24:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0008f28:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a0008f2c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0008f30:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0008f34:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0008f38:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
a0008f3c:	e5941090 	ldr	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
a0008f40:	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--;                                                   
a0008f44:	e2411001 	sub	r1, r1, #1                                    <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
a0008f48:	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--;                                                   
a0008f4c:	e5841090 	str	r1, [r4, #144]	; 0x90                         <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
a0008f50:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0008f54:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
a0008f58:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
a0008f5c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0008f60:	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 (                                                      
a0008f64:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0008f68:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0008f6c:	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;                                     
a0008f70:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
a0008f74:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0008f78:	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;                                     
a0008f7c:	e3822020 	orr	r2, r2, #32                                   <== NOT EXECUTED
a0008f80:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0008f84:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
a0008f88:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0008f8c:	eaffffb8 	b	a0008e74 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
                                                                      

a0008d00 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
a0008d00:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0008d04:	e24dd008 	sub	sp, sp, #8                                    
a0008d08:	e1a04000 	mov	r4, r0                                        
a0008d0c:	e28d7007 	add	r7, sp, #7                                    
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a0008d10:	e3a06000 	mov	r6, #0                                        
a0008d14:	ea000005 	b	a0008d30 <rtems_termios_rxdaemon+0x30>          
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a0008d18:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a0008d1c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0008d20:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if (c != EOF) {                                                   
a0008d24:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a0008d28:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    if (c != EOF) {                                                   
a0008d2c:	1a000010 	bne	a0008d74 <rtems_termios_rxdaemon+0x74>        <== NOT EXECUTED
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a0008d30:	e1a0300d 	mov	r3, sp                                        
a0008d34:	e3a01002 	mov	r1, #2                                        
a0008d38:	e3a02000 	mov	r2, #0                                        
a0008d3c:	e3a00003 	mov	r0, #3                                        
a0008d40:	eb0001dc 	bl	a00094b8 <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) {              
a0008d44:	e59d3000 	ldr	r3, [sp]                                      
a0008d48:	e3130001 	tst	r3, #1                                        
a0008d4c:	0afffff1 	beq	a0008d18 <rtems_termios_rxdaemon+0x18>        <== NOT EXECUTED
      tty->rxTaskId = 0;                                              
a0008d50:	e58460c4 	str	r6, [r4, #196]	; 0xc4                         <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
a0008d54:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0008d58:	eb000418 	bl	a0009dc0 <rtems_task_delete>                   <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a0008d5c:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0008d60:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0008d64:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if (c != EOF) {                                                   
a0008d68:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
a0008d6c:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    if (c != EOF) {                                                   
a0008d70:	0affffee 	beq	a0008d30 <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);           
a0008d74:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0008d78:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0008d7c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    c = tty->device.pollRead(tty->minor);                             
    if (c != EOF) {                                                   
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
a0008d80:	e5cd3007 	strb	r3, [sp, #7]                                 <== NOT EXECUTED
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
a0008d84:	ebffff25 	bl	a0008a20 <rtems_termios_enqueue_raw_characters><== NOT EXECUTED
a0008d88:	eaffffe8 	b	a0008d30 <rtems_termios_rxdaemon+0x30>          <== NOT EXECUTED
                                                                      

a0008a14 <rtems_termios_rxirq_occured>: void rtems_termios_rxirq_occured(struct rtems_termios_tty *tty) { /* * send event to rx daemon task */ rtems_event_send(tty->rxTaskId,TERMIOS_RX_PROC_EVENT);
a0008a14:	e59000c4 	ldr	r0, [r0, #196]	; 0xc4                         <== NOT EXECUTED
a0008a18:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0008a1c:	ea000302 	b	a000962c <rtems_event_send>                     <== NOT EXECUTED
                                                                      

a000b278 <rtems_termios_set_initial_baud>: int rtems_termios_set_initial_baud( struct rtems_termios_tty *ttyp, int32_t baud ) {
a000b278:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000b27c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  int cflags_baud;                                                    
                                                                      
  cflags_baud = rtems_termios_number_to_baud(baud);                   
a000b280:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000b284:	ebfff8aa 	bl	a0009534 <rtems_termios_number_to_baud>        <== NOT EXECUTED
  if ( cflags_baud == -1 )                                            
a000b288:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
    return -1;                                                        
                                                                      
  ttyp->termios.c_cflag = (ttyp->termios.c_cflag & ~CBAUD) | cflags_baud;
a000b28c:	15942038 	ldrne	r2, [r4, #56]	; 0x38                        <== NOT EXECUTED
  int32_t                   baud                                      
)                                                                     
{                                                                     
  int cflags_baud;                                                    
                                                                      
  cflags_baud = rtems_termios_number_to_baud(baud);                   
a000b290:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  if ( cflags_baud == -1 )                                            
    return -1;                                                        
a000b294:	01a00003 	moveq	r0, r3                                      <== NOT EXECUTED
                                                                      
  ttyp->termios.c_cflag = (ttyp->termios.c_cflag & ~CBAUD) | cflags_baud;
a000b298:	13c22a01 	bicne	r2, r2, #4096	; 0x1000                      <== NOT EXECUTED
a000b29c:	13c2200f 	bicne	r2, r2, #15                                 <== NOT EXECUTED
a000b2a0:	11833002 	orrne	r3, r3, r2                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
a000b2a4:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
                                                                      
  cflags_baud = rtems_termios_number_to_baud(baud);                   
  if ( cflags_baud == -1 )                                            
    return -1;                                                        
                                                                      
  ttyp->termios.c_cflag = (ttyp->termios.c_cflag & ~CBAUD) | cflags_baud;
a000b2a8:	15843038 	strne	r3, [r4, #56]	; 0x38                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000b2ac:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0008f90 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
a0008f90:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0008f94:	e59f6060 	ldr	r6, [pc, #96]	; a0008ffc <rtems_termios_txdaemon+0x6c>
a0008f98:	e24dd004 	sub	sp, sp, #4                                    
a0008f9c:	e1a04000 	mov	r4, r0                                        
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a0008fa0:	e3a07000 	mov	r7, #0                                        
a0008fa4:	ea000008 	b	a0008fcc <rtems_termios_txdaemon+0x3c>          
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
a0008fa8:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
a0008fac:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
a0008fb0:	e0863283 	add	r3, r6, r3, lsl #5                            <== NOT EXECUTED
a0008fb4:	e5933014 	ldr	r3, [r3, #20]                                 <== NOT EXECUTED
a0008fb8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008fbc:	0a000000 	beq	a0008fc4 <rtems_termios_txdaemon+0x34>        <== NOT EXECUTED
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
a0008fc0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
a0008fc4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0008fc8:	ebffff6f 	bl	a0008d8c <rtems_termios_refill_transmitter>    <== NOT EXECUTED
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
a0008fcc:	e1a0300d 	mov	r3, sp                                        
a0008fd0:	e3a01002 	mov	r1, #2                                        
a0008fd4:	e3a02000 	mov	r2, #0                                        
a0008fd8:	e3a00003 	mov	r0, #3                                        
a0008fdc:	eb000135 	bl	a00094b8 <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) {              
a0008fe0:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0008fe4:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0008fe8:	0affffee 	beq	a0008fa8 <rtems_termios_txdaemon+0x18>        <== NOT EXECUTED
      tty->txTaskId = 0;                                              
a0008fec:	e58470c8 	str	r7, [r4, #200]	; 0xc8                         <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
a0008ff0:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0008ff4:	eb000371 	bl	a0009dc0 <rtems_task_delete>                   <== NOT EXECUTED
a0008ff8:	eaffffea 	b	a0008fa8 <rtems_termios_txdaemon+0x18>          <== NOT EXECUTED
                                                                      

a0008598 <rtems_termios_write>: rtems_status_code rtems_termios_write (void *arg) { rtems_libio_rw_args_t *args = arg; struct rtems_termios_tty *tty = args->iop->data1;
a0008598:	e5903000 	ldr	r3, [r0]                                      
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a000859c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
a00085a0:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00085a4:	e3a01000 	mov	r1, #0                                        
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a00085a8:	e1a05000 	mov	r5, r0                                        
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00085ac:	e1a02001 	mov	r2, r1                                        
a00085b0:	e5940018 	ldr	r0, [r4, #24]                                 
a00085b4:	eb00053f 	bl	a0009ab8 <rtems_semaphore_obtain>              
  if (sc != RTEMS_SUCCESSFUL)                                         
a00085b8:	e2506000 	subs	r6, r0, #0                                   
a00085bc:	1a00000b 	bne	a00085f0 <rtems_termios_write+0x58>           
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
a00085c0:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a00085c4:	e59f3094 	ldr	r3, [pc, #148]	; a0008660 <rtems_termios_write+0xc8>
a00085c8:	e0833282 	add	r3, r3, r2, lsl #5                            
a00085cc:	e593300c 	ldr	r3, [r3, #12]                                 
a00085d0:	e3530000 	cmp	r3, #0                                        
a00085d4:	0a000007 	beq	a00085f8 <rtems_termios_write+0x60>           
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
a00085d8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00085dc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00085e0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00085e4:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    rtems_semaphore_release (tty->osem);                              
a00085e8:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a00085ec:	eb00057a 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  return sc;                                                          
}                                                                     
a00085f0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00085f4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
a00085f8:	e5943034 	ldr	r3, [r4, #52]	; 0x34                          
a00085fc:	e3130001 	tst	r3, #1                                        
a0008600:	0a000011 	beq	a000864c <rtems_termios_write+0xb4>           
    uint32_t   count = args->count;                                   
a0008604:	e5958010 	ldr	r8, [r5, #16]                                 
    char      *buffer = args->buffer;                                 
a0008608:	e595a00c 	ldr	sl, [r5, #12]                                 
    while (count--)                                                   
a000860c:	e3580000 	cmp	r8, #0                                        
a0008610:	01a03006 	moveq	r3, r6                                      
a0008614:	0a000007 	beq	a0008638 <rtems_termios_write+0xa0>           
a0008618:	e1a07006 	mov	r7, r6                                        
      oproc (*buffer++, tty);                                         
a000861c:	e7da0007 	ldrb	r0, [sl, r7]                                 
a0008620:	e1a01004 	mov	r1, r4                                        
a0008624:	e2877001 	add	r7, r7, #1                                    
a0008628:	ebfffe47 	bl	a0007f4c <oproc>                               
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
a000862c:	e1570008 	cmp	r7, r8                                        
a0008630:	1afffff9 	bne	a000861c <rtems_termios_write+0x84>           
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
a0008634:	e5953010 	ldr	r3, [r5, #16]                                 
a0008638:	e5853018 	str	r3, [r5, #24]                                 
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
a000863c:	e5940018 	ldr	r0, [r4, #24]                                 
a0008640:	eb000565 	bl	a0009bdc <rtems_semaphore_release>             
  return sc;                                                          
}                                                                     
a0008644:	e1a00006 	mov	r0, r6                                        
a0008648:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
a000864c:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a0008650:	e5951010 	ldr	r1, [r5, #16]                                 <== NOT EXECUTED
a0008654:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0008658:	ebfffdf5 	bl	a0007e34 <rtems_termios_puts>                  <== NOT EXECUTED
a000865c:	eafffff4 	b	a0008634 <rtems_termios_write+0x9c>             <== NOT EXECUTED
                                                                      

a000a490 <rtems_timer_create>: rtems_status_code rtems_timer_create( rtems_name name, rtems_id *id ) {
a000a490:	e92d4070 	push	{r4, r5, r6, lr}                             
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a000a494:	e2504000 	subs	r4, r0, #0                                   
                                                                      
rtems_status_code rtems_timer_create(                                 
  rtems_name  name,                                                   
  rtems_id   *id                                                      
)                                                                     
{                                                                     
a000a498:	e1a05001 	mov	r5, r1                                        
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
a000a49c:	0a00001a 	beq	a000a50c <rtems_timer_create+0x7c>            
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
a000a4a0:	e3510000 	cmp	r1, #0                                        
a000a4a4:	0a00001d 	beq	a000a520 <rtems_timer_create+0x90>            
a000a4a8:	e59f3078 	ldr	r3, [pc, #120]	; a000a528 <rtems_timer_create+0x98>
a000a4ac:	e5932000 	ldr	r2, [r3]                                      
a000a4b0:	e2822001 	add	r2, r2, #1                                    
a000a4b4:	e5832000 	str	r2, [r3]                                      
 *  This function allocates a timer control block from                
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Allocate( void )           
{                                                                     
  return (Timer_Control *) _Objects_Allocate( &_Timer_Information );  
a000a4b8:	e59f606c 	ldr	r6, [pc, #108]	; a000a52c <rtems_timer_create+0x9c>
a000a4bc:	e1a00006 	mov	r0, r6                                        
a000a4c0:	eb0003cf 	bl	a000b404 <_Objects_Allocate>                   
                                                                      
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
a000a4c4:	e3500000 	cmp	r0, #0                                        
a000a4c8:	0a000011 	beq	a000a514 <rtems_timer_create+0x84>            
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
a000a4cc:	e5903008 	ldr	r3, [r0, #8]                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000a4d0:	e596201c 	ldr	r2, [r6, #28]                                 
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_timer->the_class = TIMER_DORMANT;                               
a000a4d4:	e3a0c004 	mov	ip, #4                                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000a4d8:	e3a06000 	mov	r6, #0                                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
a000a4dc:	e1a01803 	lsl	r1, r3, #16                                   
a000a4e0:	e580c038 	str	ip, [r0, #56]	; 0x38                          
a000a4e4:	e5806018 	str	r6, [r0, #24]                                 
  the_watchdog->routine   = routine;                                  
a000a4e8:	e580602c 	str	r6, [r0, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a000a4ec:	e5806030 	str	r6, [r0, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a000a4f0:	e5806034 	str	r6, [r0, #52]	; 0x34                          
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a000a4f4:	e7820721 	str	r0, [r2, r1, lsr #14]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a000a4f8:	e580400c 	str	r4, [r0, #12]                                 
    &_Timer_Information,                                              
    &the_timer->Object,                                               
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
a000a4fc:	e5853000 	str	r3, [r5]                                      
  _Thread_Enable_dispatch();                                          
a000a500:	eb0007d0 	bl	a000c448 <_Thread_Enable_dispatch>             
  return RTEMS_SUCCESSFUL;                                            
a000a504:	e1a00006 	mov	r0, r6                                        
a000a508:	e8bd8070 	pop	{r4, r5, r6, pc}                              
)                                                                     
{                                                                     
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
a000a50c:	e3a00003 	mov	r0, #3                                        
a000a510:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
    _Thread_Enable_dispatch();                                        
a000a514:	eb0007cb 	bl	a000c448 <_Thread_Enable_dispatch>             
    return RTEMS_TOO_MANY;                                            
a000a518:	e3a00005 	mov	r0, #5                                        <== NOT EXECUTED
a000a51c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
a000a520:	e3a00009 	mov	r0, #9                                        <== NOT EXECUTED
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000a524:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a000a530 <rtems_timer_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
a000a530:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
a000a534:	e2516000 	subs	r6, r1, #0                                   
  rtems_id                           id,                              
  rtems_interval                     ticks,                           
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
a000a538:	e1a05000 	mov	r5, r0                                        
a000a53c:	e24dd004 	sub	sp, sp, #4                                    
a000a540:	e1a04002 	mov	r4, r2                                        
a000a544:	e1a07003 	mov	r7, r3                                        
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
a000a548:	03a0000a 	moveq	r0, #10                                     
{                                                                     
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
a000a54c:	0a000020 	beq	a000a5d4 <rtems_timer_fire_after+0xa4>        
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  if ( !routine )                                                     
a000a550:	e3520000 	cmp	r2, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a000a554:	03a00009 	moveq	r0, #9                                      
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  if ( !routine )                                                     
a000a558:	0a00001d 	beq	a000a5d4 <rtems_timer_fire_after+0xa4>        
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
a000a55c:	e59f0088 	ldr	r0, [pc, #136]	; a000a5ec <rtems_timer_fire_after+0xbc>
a000a560:	e1a01005 	mov	r1, r5                                        
a000a564:	e1a0200d 	mov	r2, sp                                        
a000a568:	eb0004da 	bl	a000b8d8 <_Objects_Get>                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a000a56c:	e59d3000 	ldr	r3, [sp]                                      
a000a570:	e1a08000 	mov	r8, r0                                        
a000a574:	e3530000 	cmp	r3, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a000a578:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a000a57c:	1a000014 	bne	a000a5d4 <rtems_timer_fire_after+0xa4>        
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
a000a580:	e288a010 	add	sl, r8, #16                                   
a000a584:	e1a0000a 	mov	r0, sl                                        
a000a588:	eb000bbf 	bl	a000d48c <_Watchdog_Remove>                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000a58c:	e10f2000 	mrs	r2, CPSR                                      
a000a590:	e3823080 	orr	r3, r2, #128	; 0x80                           
a000a594:	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 ) {         
a000a598:	e5983018 	ldr	r3, [r8, #24]                                 
a000a59c:	e3530000 	cmp	r3, #0                                        
a000a5a0:	1a00000d 	bne	a000a5dc <rtems_timer_fire_after+0xac>        
        /*                                                            
         *  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;                        
a000a5a4:	e5883038 	str	r3, [r8, #56]	; 0x38                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000a5a8:	e5883018 	str	r3, [r8, #24]                                 
  the_watchdog->routine   = routine;                                  
a000a5ac:	e588402c 	str	r4, [r8, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a000a5b0:	e5885030 	str	r5, [r8, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a000a5b4:	e5887034 	str	r7, [r8, #52]	; 0x34                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000a5b8:	e129f002 	msr	CPSR_fc, r2                                   
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000a5bc:	e59f002c 	ldr	r0, [pc, #44]	; a000a5f0 <rtems_timer_fire_after+0xc0>
a000a5c0:	e1a0100a 	mov	r1, sl                                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a000a5c4:	e588601c 	str	r6, [r8, #28]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a000a5c8:	eb000b40 	bl	a000d2d0 <_Watchdog_Insert>                    
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _ISR_Enable( level );                                           
                                                                      
                                                                      
      _Watchdog_Insert_ticks( &the_timer->Ticker, ticks );            
      _Thread_Enable_dispatch();                                      
a000a5cc:	eb00079d 	bl	a000c448 <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a000a5d0:	e3a00000 	mov	r0, #0                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a000a5d4:	e28dd004 	add	sp, sp, #4                                    
a000a5d8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a000a5dc:	e129f002 	msr	CPSR_fc, r2                                   
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
          _ISR_Enable( level );                                       
          _Thread_Enable_dispatch();                                  
a000a5e0:	eb000798 	bl	a000c448 <_Thread_Enable_dispatch>             
          return RTEMS_SUCCESSFUL;                                    
a000a5e4:	e3a00000 	mov	r0, #0                                        
a000a5e8:	eafffff9 	b	a000a5d4 <rtems_timer_fire_after+0xa4>          
                                                                      

a0019e90 <rtems_timer_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
a0019e90:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0019e94:	e1a06001 	mov	r6, r1                                        
  Timer_Control       *the_timer;                                     
  Objects_Locations    location;                                      
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
a0019e98:	e59f10d0 	ldr	r1, [pc, #208]	; a0019f70 <rtems_timer_fire_when+0xe0>
  rtems_id                            id,                             
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry   routine,                        
  void                               *user_data                       
)                                                                     
{                                                                     
a0019e9c:	e1a05000 	mov	r5, r0                                        
a0019ea0:	e24dd004 	sub	sp, sp, #4                                    
  Timer_Control       *the_timer;                                     
  Objects_Locations    location;                                      
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
a0019ea4:	e5d11000 	ldrb	r1, [r1]                                     
  rtems_id                            id,                             
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry   routine,                        
  void                               *user_data                       
)                                                                     
{                                                                     
a0019ea8:	e1a04002 	mov	r4, r2                                        
a0019eac:	e1a07003 	mov	r7, r3                                        
  Timer_Control       *the_timer;                                     
  Objects_Locations    location;                                      
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
a0019eb0:	e3510000 	cmp	r1, #0                                        
    return RTEMS_NOT_DEFINED;                                         
a0019eb4:	03a0000b 	moveq	r0, #11                                     
{                                                                     
  Timer_Control       *the_timer;                                     
  Objects_Locations    location;                                      
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
a0019eb8:	1a000001 	bne	a0019ec4 <rtems_timer_fire_when+0x34>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0019ebc:	e28dd004 	add	sp, sp, #4                                    
a0019ec0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
a0019ec4:	e1a00006 	mov	r0, r6                                        
a0019ec8:	ebfff4ac 	bl	a0017180 <_TOD_Validate>                       
a0019ecc:	e3500000 	cmp	r0, #0                                        
a0019ed0:	0a000009 	beq	a0019efc <rtems_timer_fire_when+0x6c>         
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
a0019ed4:	e3540000 	cmp	r4, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a0019ed8:	03a00009 	moveq	r0, #9                                      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
a0019edc:	0afffff6 	beq	a0019ebc <rtems_timer_fire_when+0x2c>         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
a0019ee0:	e1a00006 	mov	r0, r6                                        
a0019ee4:	ebfff47e 	bl	a00170e4 <_TOD_To_seconds>                     
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
a0019ee8:	e59f8084 	ldr	r8, [pc, #132]	; a0019f74 <rtems_timer_fire_when+0xe4>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
a0019eec:	e1a06000 	mov	r6, r0                                        
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
a0019ef0:	e5983000 	ldr	r3, [r8]                                      
a0019ef4:	e1500003 	cmp	r0, r3                                        
a0019ef8:	8a000001 	bhi	a0019f04 <rtems_timer_fire_when+0x74>         
    return RTEMS_INVALID_CLOCK;                                       
a0019efc:	e3a00014 	mov	r0, #20                                       <== NOT EXECUTED
a0019f00:	eaffffed 	b	a0019ebc <rtems_timer_fire_when+0x2c>           <== NOT EXECUTED
a0019f04:	e59f006c 	ldr	r0, [pc, #108]	; a0019f78 <rtems_timer_fire_when+0xe8>
a0019f08:	e1a01005 	mov	r1, r5                                        
a0019f0c:	e1a0200d 	mov	r2, sp                                        
a0019f10:	eb000b37 	bl	a001cbf4 <_Objects_Get>                        
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a0019f14:	e59da000 	ldr	sl, [sp]                                      
a0019f18:	e1a09000 	mov	r9, r0                                        
a0019f1c:	e35a0000 	cmp	sl, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0019f20:	13a00004 	movne	r0, #4                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a0019f24:	1affffe4 	bne	a0019ebc <rtems_timer_fire_when+0x2c>         
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
a0019f28:	e289b010 	add	fp, r9, #16                                   
a0019f2c:	e1a0000b 	mov	r0, fp                                        
a0019f30:	eb00130f 	bl	a001eb74 <_Watchdog_Remove>                    
      the_timer->the_class = TIMER_TIME_OF_DAY;                       
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _Watchdog_Insert_seconds(                                       
a0019f34:	e5983000 	ldr	r3, [r8]                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY;                       
a0019f38:	e3a02002 	mov	r2, #2                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
a0019f3c:	e59f0038 	ldr	r0, [pc, #56]	; a0019f7c <rtems_timer_fire_when+0xec>
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _Watchdog_Insert_seconds(                                       
a0019f40:	e0636006 	rsb	r6, r3, r6                                    
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY;                       
a0019f44:	e5892038 	str	r2, [r9, #56]	; 0x38                          
a0019f48:	e1a0100b 	mov	r1, fp                                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0019f4c:	e589a018 	str	sl, [r9, #24]                                 
  the_watchdog->routine   = routine;                                  
a0019f50:	e589402c 	str	r4, [r9, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a0019f54:	e5895030 	str	r5, [r9, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a0019f58:	e5897034 	str	r7, [r9, #52]	; 0x34                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a0019f5c:	e589601c 	str	r6, [r9, #28]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
a0019f60:	eb001294 	bl	a001e9b8 <_Watchdog_Insert>                    
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _Watchdog_Insert_seconds(                                       
         &the_timer->Ticker,                                          
         seconds - _TOD_Seconds_since_epoch()                         
       );                                                             
      _Thread_Enable_dispatch();                                      
a0019f64:	eb000e20 	bl	a001d7ec <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a0019f68:	e1a0000a 	mov	r0, sl                                        
a0019f6c:	eaffffd2 	b	a0019ebc <rtems_timer_fire_when+0x2c>           
                                                                      

a0019f80 <rtems_timer_get_information>: rtems_status_code rtems_timer_get_information( rtems_id id, rtems_timer_information *the_info ) {
a0019f80:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
                                                                      
  if ( !the_info )                                                    
a0019f84:	e2514000 	subs	r4, r1, #0                                   <== NOT EXECUTED
                                                                      
rtems_status_code rtems_timer_get_information(                        
  rtems_id                 id,                                        
  rtems_timer_information *the_info                                   
)                                                                     
{                                                                     
a0019f88:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a0019f8c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
                                                                      
  if ( !the_info )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
a0019f90:	03a00009 	moveq	r0, #9                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
                                                                      
  if ( !the_info )                                                    
a0019f94:	0a00000e 	beq	a0019fd4 <rtems_timer_get_information+0x54>   <== NOT EXECUTED
a0019f98:	e59f003c 	ldr	r0, [pc, #60]	; a0019fdc <rtems_timer_get_information+0x5c><== NOT EXECUTED
a0019f9c:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0019fa0:	eb000b13 	bl	a001cbf4 <_Objects_Get>                        <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a0019fa4:	e59d5000 	ldr	r5, [sp]                                      <== NOT EXECUTED
a0019fa8:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a0019fac:	13a00004 	movne	r0, #4                                      <== NOT EXECUTED
                                                                      
  if ( !the_info )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a0019fb0:	1a000007 	bne	a0019fd4 <rtems_timer_get_information+0x54>   <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      the_info->the_class  = the_timer->the_class;                    
a0019fb4:	e590c038 	ldr	ip, [r0, #56]	; 0x38                          <== NOT EXECUTED
      the_info->initial    = the_timer->Ticker.initial;               
a0019fb8:	e590101c 	ldr	r1, [r0, #28]                                 <== NOT EXECUTED
      the_info->start_time = the_timer->Ticker.start_time;            
a0019fbc:	e5902024 	ldr	r2, [r0, #36]	; 0x24                          <== NOT EXECUTED
      the_info->stop_time  = the_timer->Ticker.stop_time;             
a0019fc0:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      the_info->the_class  = the_timer->the_class;                    
a0019fc4:	e584c000 	str	ip, [r4]                                      <== NOT EXECUTED
      the_info->initial    = the_timer->Ticker.initial;               
a0019fc8:	e984000e 	stmib	r4, {r1, r2, r3}                            <== NOT EXECUTED
      the_info->start_time = the_timer->Ticker.start_time;            
      the_info->stop_time  = the_timer->Ticker.stop_time;             
      _Thread_Enable_dispatch();                                      
a0019fcc:	eb000e06 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
      return RTEMS_SUCCESSFUL;                                        
a0019fd0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0019fd4:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0019fd8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a001a010 <rtems_timer_reset>: */ rtems_status_code rtems_timer_reset( rtems_id id ) {
a001a010:	e92d4070 	push	{r4, r5, r6, lr}                             
a001a014:	e24dd004 	sub	sp, sp, #4                                    
a001a018:	e1a01000 	mov	r1, r0                                        
a001a01c:	e1a0200d 	mov	r2, sp                                        
a001a020:	e59f0088 	ldr	r0, [pc, #136]	; a001a0b0 <rtems_timer_reset+0xa0>
a001a024:	eb000af2 	bl	a001cbf4 <_Objects_Get>                        
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a001a028:	e59d4000 	ldr	r4, [sp]                                      
a001a02c:	e1a06000 	mov	r6, r0                                        
a001a030:	e3540000 	cmp	r4, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a001a034:	13a05004 	movne	r5, #4                                      
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a001a038:	1a000006 	bne	a001a058 <rtems_timer_reset+0x48>             
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
a001a03c:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
a001a040:	e3550000 	cmp	r5, #0                                        
a001a044:	0a000006 	beq	a001a064 <rtems_timer_reset+0x54>             
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
a001a048:	e3550001 	cmp	r5, #1                                        <== NOT EXECUTED
        /*                                                            
         *  Must be dormant or time of day timer (e.g. TIMER_DORMANT, 
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
a001a04c:	13a0500b 	movne	r5, #11                                     <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
a001a050:	0a00000b 	beq	a001a084 <rtems_timer_reset+0x74>             <== NOT EXECUTED
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
a001a054:	eb000de4 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a001a058:	e1a00005 	mov	r0, r5                                        
a001a05c:	e28dd004 	add	sp, sp, #4                                    
a001a060:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
a001a064:	e2806010 	add	r6, r0, #16                                   
a001a068:	e1a00006 	mov	r0, r6                                        
a001a06c:	eb0012c0 	bl	a001eb74 <_Watchdog_Remove>                    
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
a001a070:	e59f003c 	ldr	r0, [pc, #60]	; a001a0b4 <rtems_timer_reset+0xa4>
a001a074:	e1a01006 	mov	r1, r6                                        
a001a078:	eb00124e 	bl	a001e9b8 <_Watchdog_Insert>                    
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
a001a07c:	eb000dda 	bl	a001d7ec <_Thread_Enable_dispatch>             
a001a080:	eafffff4 	b	a001a058 <rtems_timer_reset+0x48>               
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
        Timer_server_Control *timer_server = _Timer_server;           
a001a084:	e59f302c 	ldr	r3, [pc, #44]	; a001a0b8 <rtems_timer_reset+0xa8><== NOT EXECUTED
          if ( !timer_server ) {                                      
            _Thread_Enable_dispatch();                                
            return RTEMS_INCORRECT_STATE;                             
          }                                                           
        #endif                                                        
        _Watchdog_Remove( &the_timer->Ticker );                       
a001a088:	e2800010 	add	r0, r0, #16                                   <== NOT EXECUTED
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
        Timer_server_Control *timer_server = _Timer_server;           
a001a08c:	e5935000 	ldr	r5, [r3]                                      <== NOT EXECUTED
          if ( !timer_server ) {                                      
            _Thread_Enable_dispatch();                                
            return RTEMS_INCORRECT_STATE;                             
          }                                                           
        #endif                                                        
        _Watchdog_Remove( &the_timer->Ticker );                       
a001a090:	eb0012b7 	bl	a001eb74 <_Watchdog_Remove>                    <== NOT EXECUTED
        (*timer_server->schedule_operation)( timer_server, the_timer );
a001a094:	e5953004 	ldr	r3, [r5, #4]                                  <== NOT EXECUTED
a001a098:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a001a09c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a001a0a0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  rtems_id id                                                         
)                                                                     
{                                                                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
a001a0a4:	e1a05004 	mov	r5, r4                                        <== NOT EXECUTED
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
a001a0a8:	eb000dcf 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
a001a0ac:	eaffffe9 	b	a001a058 <rtems_timer_reset+0x48>               <== NOT EXECUTED
                                                                      

a001a0bc <rtems_timer_server_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
a001a0bc:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a001a0c0:	e1a06001 	mov	r6, r1                                        
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
a001a0c4:	e59f10cc 	ldr	r1, [pc, #204]	; a001a198 <rtems_timer_server_fire_after+0xdc>
  rtems_id                           id,                              
  rtems_interval                     ticks,                           
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
a001a0c8:	e1a07000 	mov	r7, r0                                        
a001a0cc:	e24dd004 	sub	sp, sp, #4                                    
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
a001a0d0:	e5914000 	ldr	r4, [r1]                                      
  rtems_id                           id,                              
  rtems_interval                     ticks,                           
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
a001a0d4:	e1a05002 	mov	r5, r2                                        
a001a0d8:	e1a08003 	mov	r8, r3                                        
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
a001a0dc:	e3540000 	cmp	r4, #0                                        
    return RTEMS_INCORRECT_STATE;                                     
a001a0e0:	03a0000e 	moveq	r0, #14                                     
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
a001a0e4:	0a000005 	beq	a001a100 <rtems_timer_server_fire_after+0x44> 
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
a001a0e8:	e3520000 	cmp	r2, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a001a0ec:	03a00009 	moveq	r0, #9                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
a001a0f0:	0a000002 	beq	a001a100 <rtems_timer_server_fire_after+0x44> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
a001a0f4:	e3560000 	cmp	r6, #0                                        
    return RTEMS_INVALID_NUMBER;                                      
a001a0f8:	03a0000a 	moveq	r0, #10                                     
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
a001a0fc:	1a000001 	bne	a001a108 <rtems_timer_server_fire_after+0x4c> 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a001a100:	e28dd004 	add	sp, sp, #4                                    
a001a104:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
a001a108:	e59f008c 	ldr	r0, [pc, #140]	; a001a19c <rtems_timer_server_fire_after+0xe0>
a001a10c:	e1a01007 	mov	r1, r7                                        
a001a110:	e1a0200d 	mov	r2, sp                                        
a001a114:	eb000ab6 	bl	a001cbf4 <_Objects_Get>                        
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a001a118:	e59d3000 	ldr	r3, [sp]                                      
a001a11c:	e1a0a000 	mov	sl, r0                                        
a001a120:	e3530000 	cmp	r3, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a001a124:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a001a128:	1afffff4 	bne	a001a100 <rtems_timer_server_fire_after+0x44> 
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
a001a12c:	e28a0010 	add	r0, sl, #16                                   
a001a130:	eb00128f 	bl	a001eb74 <_Watchdog_Remove>                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a001a134:	e10f2000 	mrs	r2, CPSR                                      
a001a138:	e3823080 	orr	r3, r2, #128	; 0x80                           
a001a13c:	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 ) {         
a001a140:	e59a3018 	ldr	r3, [sl, #24]                                 
a001a144:	e3530000 	cmp	r3, #0                                        
a001a148:	1a00000e 	bne	a001a188 <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;                
a001a14c:	e3a01001 	mov	r1, #1                                        
a001a150:	e58a1038 	str	r1, [sl, #56]	; 0x38                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a001a154:	e58a3018 	str	r3, [sl, #24]                                 
  the_watchdog->routine   = routine;                                  
a001a158:	e58a502c 	str	r5, [sl, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a001a15c:	e58a7030 	str	r7, [sl, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a001a160:	e58a8034 	str	r8, [sl, #52]	; 0x34                          
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
        the_timer->Ticker.initial = ticks;                            
a001a164:	e58a601c 	str	r6, [sl, #28]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001a168:	e129f002 	msr	CPSR_fc, r2                                   
      _ISR_Enable( level );                                           
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
a001a16c:	e1a00004 	mov	r0, r4                                        
a001a170:	e5943004 	ldr	r3, [r4, #4]                                  
a001a174:	e1a0100a 	mov	r1, sl                                        
a001a178:	e12fff33 	blx	r3                                            
                                                                      
      _Thread_Enable_dispatch();                                      
a001a17c:	eb000d9a 	bl	a001d7ec <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a001a180:	e3a00000 	mov	r0, #0                                        
a001a184:	eaffffdd 	b	a001a100 <rtems_timer_server_fire_after+0x44>   
a001a188:	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();                                  
a001a18c:	eb000d96 	bl	a001d7ec <_Thread_Enable_dispatch>             <== NOT EXECUTED
          return RTEMS_SUCCESSFUL;                                    
a001a190:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a001a194:	eaffffd9 	b	a001a100 <rtems_timer_server_fire_after+0x44>   <== NOT EXECUTED
                                                                      

a001a1a0 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
a001a1a0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a001a1a4:	e1a07001 	mov	r7, r1                                        
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
a001a1a8:	e59f10e0 	ldr	r1, [pc, #224]	; a001a290 <rtems_timer_server_fire_when+0xf0>
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
a001a1ac:	e1a06000 	mov	r6, r0                                        
a001a1b0:	e24dd004 	sub	sp, sp, #4                                    
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
a001a1b4:	e5914000 	ldr	r4, [r1]                                      
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
a001a1b8:	e1a05002 	mov	r5, r2                                        
a001a1bc:	e1a08003 	mov	r8, r3                                        
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
a001a1c0:	e3540000 	cmp	r4, #0                                        
    return RTEMS_INCORRECT_STATE;                                     
a001a1c4:	03a0000e 	moveq	r0, #14                                     
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
a001a1c8:	0a00000c 	beq	a001a200 <rtems_timer_server_fire_when+0x60>  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
a001a1cc:	e59f30c0 	ldr	r3, [pc, #192]	; a001a294 <rtems_timer_server_fire_when+0xf4>
a001a1d0:	e5d33000 	ldrb	r3, [r3]                                     
a001a1d4:	e3530000 	cmp	r3, #0                                        
    return RTEMS_NOT_DEFINED;                                         
a001a1d8:	03a0000b 	moveq	r0, #11                                     
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
a001a1dc:	0a000007 	beq	a001a200 <rtems_timer_server_fire_when+0x60>  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
a001a1e0:	e3520000 	cmp	r2, #0                                        
    return RTEMS_INVALID_ADDRESS;                                     
a001a1e4:	03a00009 	moveq	r0, #9                                      
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
a001a1e8:	0a000004 	beq	a001a200 <rtems_timer_server_fire_when+0x60>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
a001a1ec:	e1a00007 	mov	r0, r7                                        
a001a1f0:	ebfff3e2 	bl	a0017180 <_TOD_Validate>                       
a001a1f4:	e3500000 	cmp	r0, #0                                        
a001a1f8:	1a000002 	bne	a001a208 <rtems_timer_server_fire_when+0x68>  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
a001a1fc:	e3a00014 	mov	r0, #20                                       <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a001a200:	e28dd004 	add	sp, sp, #4                                    
a001a204:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
a001a208:	e1a00007 	mov	r0, r7                                        
a001a20c:	ebfff3b4 	bl	a00170e4 <_TOD_To_seconds>                     
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
a001a210:	e59fa080 	ldr	sl, [pc, #128]	; a001a298 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
a001a214:	e1a07000 	mov	r7, r0                                        
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
a001a218:	e59a3000 	ldr	r3, [sl]                                      
a001a21c:	e1500003 	cmp	r0, r3                                        
a001a220:	9afffff5 	bls	a001a1fc <rtems_timer_server_fire_when+0x5c>  
a001a224:	e59f0070 	ldr	r0, [pc, #112]	; a001a29c <rtems_timer_server_fire_when+0xfc>
a001a228:	e1a01006 	mov	r1, r6                                        
a001a22c:	e1a0200d 	mov	r2, sp                                        
a001a230:	eb000a6f 	bl	a001cbf4 <_Objects_Get>                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a001a234:	e59d9000 	ldr	r9, [sp]                                      
a001a238:	e1a0b000 	mov	fp, r0                                        
a001a23c:	e3590000 	cmp	r9, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
a001a240:	13a00004 	movne	r0, #4                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
a001a244:	1affffed 	bne	a001a200 <rtems_timer_server_fire_when+0x60>  
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
a001a248:	e28b0010 	add	r0, fp, #16                                   
a001a24c:	eb001248 	bl	a001eb74 <_Watchdog_Remove>                    
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
a001a250:	e59a3000 	ldr	r3, [sl]                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
a001a254:	e3a02003 	mov	r2, #3                                        
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
a001a258:	e1a00004 	mov	r0, r4                                        
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
a001a25c:	e0637007 	rsb	r7, r3, r7                                    
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
a001a260:	e58b2038 	str	r2, [fp, #56]	; 0x38                          
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
a001a264:	e5943004 	ldr	r3, [r4, #4]                                  
a001a268:	e1a0100b 	mov	r1, fp                                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a001a26c:	e58b9018 	str	r9, [fp, #24]                                 
  the_watchdog->routine   = routine;                                  
a001a270:	e58b502c 	str	r5, [fp, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a001a274:	e58b6030 	str	r6, [fp, #48]	; 0x30                          
  the_watchdog->user_data = user_data;                                
a001a278:	e58b8034 	str	r8, [fp, #52]	; 0x34                          
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
a001a27c:	e58b701c 	str	r7, [fp, #28]                                 
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
a001a280:	e12fff33 	blx	r3                                            
                                                                      
      _Thread_Enable_dispatch();                                      
a001a284:	eb000d58 	bl	a001d7ec <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
a001a288:	e1a00009 	mov	r0, r9                                        
a001a28c:	eaffffdb 	b	a001a200 <rtems_timer_server_fire_when+0x60>    
                                                                      

a000ae8c <rtems_verror>: { int local_errno = 0; int chars_written = 0; rtems_status_code status; if (error_flag & RTEMS_ERROR_PANIC) {
a000ae8c:	e3100202 	tst	r0, #536870912	; 0x20000000                   
static int rtems_verror(                                              
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
a000ae90:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000ae94:	e1a04000 	mov	r4, r0                                        
a000ae98:	e1a08001 	mov	r8, r1                                        
a000ae9c:	e1a06002 	mov	r6, r2                                        
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
a000aea0:	0a00000d 	beq	a000aedc <rtems_verror+0x50>                  
    if (rtems_panic_in_progress++)                                    
a000aea4:	e59f212c 	ldr	r2, [pc, #300]	; a000afd8 <rtems_verror+0x14c>
a000aea8:	e5921000 	ldr	r1, [r2]                                      
a000aeac:	e2813001 	add	r3, r1, #1                                    
a000aeb0:	e3510000 	cmp	r1, #0                                        
a000aeb4:	e5823000 	str	r3, [r2]                                      
a000aeb8:	0a000004 	beq	a000aed0 <rtems_verror+0x44>                  
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000aebc:	e59f3118 	ldr	r3, [pc, #280]	; a000afdc <rtems_verror+0x150><== NOT EXECUTED
a000aec0:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
a000aec4:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a000aec8:	e5831000 	str	r1, [r3]                                      <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
a000aecc:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
a000aed0:	e3530002 	cmp	r3, #2                                        
      return 0;                                                       
a000aed4:	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)                                  
a000aed8:	ca000024 	bgt	a000af70 <rtems_verror+0xe4>                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
a000aedc:	e59f50fc 	ldr	r5, [pc, #252]	; a000afe0 <rtems_verror+0x154>
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
a000aee0:	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 */  
a000aee4:	e5953000 	ldr	r3, [r5]                                      
a000aee8:	e5930008 	ldr	r0, [r3, #8]                                  
a000aeec:	eb002f72 	bl	a0016cbc <fflush>                              
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
a000aef0:	e2144101 	ands	r4, r4, #1073741824	; 0x40000000             
a000aef4:	1a00002a 	bne	a000afa4 <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);          
a000aef8:	e5953000 	ldr	r3, [r5]                                      
a000aefc:	e1a02006 	mov	r2, r6                                        
a000af00:	e1a01008 	mov	r1, r8                                        
a000af04:	e593000c 	ldr	r0, [r3, #12]                                 
a000af08:	eb0047d8 	bl	a001ce70 <vfprintf>                            
                                                                      
  if (status)                                                         
a000af0c:	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);          
a000af10:	e1a06000 	mov	r6, r0                                        
                                                                      
  if (status)                                                         
a000af14:	1a000017 	bne	a000af78 <rtems_verror+0xec>                  
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
a000af18:	e3540000 	cmp	r4, #0                                        
a000af1c:	0a00000b 	beq	a000af50 <rtems_verror+0xc4>                  
    if ((local_errno > 0) && *strerror(local_errno))                  
a000af20:	da000004 	ble	a000af38 <rtems_verror+0xac>                  
a000af24:	e1a00004 	mov	r0, r4                                        
a000af28:	eb00334c 	bl	a0017c60 <strerror>                            
a000af2c:	e5d03000 	ldrb	r3, [r0]                                     
a000af30:	e3530000 	cmp	r3, #0                                        
a000af34:	1a00001d 	bne	a000afb0 <rtems_verror+0x124>                 
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
a000af38:	e5953000 	ldr	r3, [r5]                                      
a000af3c:	e59f10a0 	ldr	r1, [pc, #160]	; a000afe4 <rtems_verror+0x158>
a000af40:	e1a02004 	mov	r2, r4                                        
a000af44:	e593000c 	ldr	r0, [r3, #12]                                 
a000af48:	eb003041 	bl	a0017054 <fprintf>                             
a000af4c:	e0866000 	add	r6, r6, r0                                    
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
a000af50:	e5953000 	ldr	r3, [r5]                                      
a000af54:	e59f108c 	ldr	r1, [pc, #140]	; a000afe8 <rtems_verror+0x15c>
a000af58:	e593000c 	ldr	r0, [r3, #12]                                 
a000af5c:	eb00303c 	bl	a0017054 <fprintf>                             
                                                                      
  (void) fflush(stderr);                                              
a000af60:	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");                             
a000af64:	e0806006 	add	r6, r0, r6                                    
                                                                      
  (void) fflush(stderr);                                              
a000af68:	e593000c 	ldr	r0, [r3, #12]                                 
a000af6c:	eb002f52 	bl	a0016cbc <fflush>                              
                                                                      
  return chars_written;                                               
}                                                                     
a000af70:	e1a00006 	mov	r0, r6                                        
a000af74:	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));    
a000af78:	e59f3060 	ldr	r3, [pc, #96]	; a000afe0 <rtems_verror+0x154> 
a000af7c:	e1a00007 	mov	r0, r7                                        
a000af80:	e5933000 	ldr	r3, [r3]                                      
a000af84:	e593700c 	ldr	r7, [r3, #12]                                 
a000af88:	ebffffbb 	bl	a000ae7c <rtems_status_text>                   
a000af8c:	e59f1058 	ldr	r1, [pc, #88]	; a000afec <rtems_verror+0x160> 
a000af90:	e1a02000 	mov	r2, r0                                        
a000af94:	e1a00007 	mov	r0, r7                                        
a000af98:	eb00302d 	bl	a0017054 <fprintf>                             
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
a000af9c:	e0866000 	add	r6, r6, r0                                    
a000afa0:	eaffffdc 	b	a000af18 <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;                                              
a000afa4:	eb002e4d 	bl	a00168e0 <__errno>                             
a000afa8:	e5904000 	ldr	r4, [r0]                                      
a000afac:	eaffffd1 	b	a000aef8 <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));
a000afb0:	e5953000 	ldr	r3, [r5]                                      
a000afb4:	e1a00004 	mov	r0, r4                                        
a000afb8:	e593400c 	ldr	r4, [r3, #12]                                 
a000afbc:	eb003327 	bl	a0017c60 <strerror>                            
a000afc0:	e59f1028 	ldr	r1, [pc, #40]	; a000aff0 <rtems_verror+0x164> 
a000afc4:	e1a02000 	mov	r2, r0                                        
a000afc8:	e1a00004 	mov	r0, r4                                        
a000afcc:	eb003020 	bl	a0017054 <fprintf>                             
a000afd0:	e0866000 	add	r6, r6, r0                                    
a000afd4:	eaffffdd 	b	a000af50 <rtems_verror+0xc4>                    
                                                                      

a0006b50 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
a0006b50:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006b54:	e59fb0fc 	ldr	fp, [pc, #252]	; a0006c58 <scanInt+0x108>     <== NOT EXECUTED
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a0006b58:	e59fa0fc 	ldr	sl, [pc, #252]	; a0006c5c <scanInt+0x10c>     <== NOT EXECUTED
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0006b5c:	e59f90fc 	ldr	r9, [pc, #252]	; a0006c60 <scanInt+0x110>     <== NOT EXECUTED
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a0006b60:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
a0006b64:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a0006b68:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0006b6c:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
a0006b70:	e3e07102 	mvn	r7, #-2147483648	; 0x80000000                 <== NOT EXECUTED
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
a0006b74:	e1a05006 	mov	r5, r6                                        <== NOT EXECUTED
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a0006b78:	e3a0800a 	mov	r8, #10                                       <== NOT EXECUTED
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006b7c:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
a0006b80:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0006b84:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006b88:	e5843004 	str	r3, [r4, #4]                                  <== NOT EXECUTED
a0006b8c:	ba00001b 	blt	a0006c00 <scanInt+0xb0>                       <== NOT EXECUTED
a0006b90:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a0006b94:	e4d30001 	ldrb	r0, [r3], #1                                 <== NOT EXECUTED
    if (c == ':')                                                     
a0006b98:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006b9c:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    if (c == ':')                                                     
a0006ba0:	0a00001b 	beq	a0006c14 <scanInt+0xc4>                       <== NOT EXECUTED
      break;                                                          
    if (sign == 0) {                                                  
a0006ba4:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0006ba8:	1a000004 	bne	a0006bc0 <scanInt+0x70>                       <== NOT EXECUTED
      if (c == '-') {                                                 
a0006bac:	e350002d 	cmp	r0, #45	; 0x2d                                <== NOT EXECUTED
        sign = -1;                                                    
        limit++;                                                      
a0006bb0:	02877001 	addeq	r7, r7, #1                                  <== NOT EXECUTED
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
a0006bb4:	03e06000 	mvneq	r6, #0                                      <== NOT EXECUTED
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
a0006bb8:	0affffef 	beq	a0006b7c <scanInt+0x2c>                       <== NOT EXECUTED
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
a0006bbc:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
    }                                                                 
    if (!isdigit(c))                                                  
a0006bc0:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
a0006bc4:	e0833000 	add	r3, r3, r0                                    <== NOT EXECUTED
a0006bc8:	e5d33001 	ldrb	r3, [r3, #1]                                 <== NOT EXECUTED
a0006bcc:	e2133004 	ands	r3, r3, #4                                   <== NOT EXECUTED
a0006bd0:	0a00001e 	beq	a0006c50 <scanInt+0x100>                      <== NOT EXECUTED
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0006bd4:	e0832799 	umull	r2, r3, r9, r7                              <== NOT EXECUTED
a0006bd8:	e15501a3 	cmp	r5, r3, lsr #3                                <== NOT EXECUTED
a0006bdc:	8a000018 	bhi	a0006c44 <scanInt+0xf4>                       <== NOT EXECUTED
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
a0006be0:	e2400030 	sub	r0, r0, #48	; 0x30                            <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
a0006be4:	0a000012 	beq	a0006c34 <scanInt+0xe4>                       <== NOT EXECUTED
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006be8:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a0006bec:	e0250598 	mla	r5, r8, r5, r0                                <== NOT EXECUTED
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006bf0:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0006bf4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006bf8:	e5843004 	str	r3, [r4, #4]                                  <== NOT EXECUTED
a0006bfc:	aaffffe3 	bge	a0006b90 <scanInt+0x40>                       <== NOT EXECUTED
a0006c00:	e59b0000 	ldr	r0, [fp]                                      <== NOT EXECUTED
a0006c04:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0006c08:	eb0032f1 	bl	a00137d4 <__srget_r>                           <== NOT EXECUTED
    if (c == ':')                                                     
a0006c0c:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
a0006c10:	1affffe3 	bne	a0006ba4 <scanInt+0x54>                       <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
a0006c14:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
    return 0;                                                         
a0006c18:	01a00006 	moveq	r0, r6                                      <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
a0006c1c:	0a000009 	beq	a0006c48 <scanInt+0xf8>                       <== NOT EXECUTED
    return 0;                                                         
  *val = i * sign;                                                    
a0006c20:	e0050596 	mul	r5, r6, r5                                    <== NOT EXECUTED
a0006c24:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
  return 1;                                                           
a0006c28:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
a0006c2c:	e5835000 	str	r5, [r3]                                      <== NOT EXECUTED
  return 1;                                                           
a0006c30:	ea000004 	b	a0006c48 <scanInt+0xf8>                         <== NOT EXECUTED
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
a0006c34:	e0030598 	mul	r3, r8, r5                                    <== NOT EXECUTED
a0006c38:	e0633007 	rsb	r3, r3, r7                                    <== NOT EXECUTED
a0006c3c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0006c40:	9affffe8 	bls	a0006be8 <scanInt+0x98>                       <== NOT EXECUTED
      return 0;                                                       
a0006c44:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
a0006c48:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0006c4c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
a0006c50:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0006c54:	eafffffb 	b	a0006c48 <scanInt+0xf8>                         <== NOT EXECUTED
                                                                      

a0006c64 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
a0006c64:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a0006c68:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a0006c6c:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
a0006c70:	e59d7018 	ldr	r7, [sp, #24]                                 <== NOT EXECUTED
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006c74:	e59f60d8 	ldr	r6, [pc, #216]	; a0006d54 <scanString+0xf0>   <== NOT EXECUTED
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
a0006c78:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0006c7c:	e1a08003 	mov	r8, r3                                        <== NOT EXECUTED
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a0006c80:	e5812000 	str	r2, [r1]                                      <== NOT EXECUTED
a0006c84:	ea000013 	b	a0006cd8 <scanString+0x74>                      <== NOT EXECUTED
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006c88:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a0006c8c:	e4d30001 	ldrb	r0, [r3], #1                                 <== NOT EXECUTED
    if (c == ':') {                                                   
a0006c90:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006c94:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    if (c == ':') {                                                   
a0006c98:	0a000018 	beq	a0006d00 <scanString+0x9c>                    <== NOT EXECUTED
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
a0006c9c:	e350000a 	cmp	r0, #10                                       <== NOT EXECUTED
a0006ca0:	0a000025 	beq	a0006d3c <scanString+0xd8>                    <== NOT EXECUTED
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
a0006ca4:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
a0006ca8:	0a000021 	beq	a0006d34 <scanString+0xd0>                    <== NOT EXECUTED
      return 0;                                                       
    if (*nleft < 2)                                                   
a0006cac:	e5983000 	ldr	r3, [r8]                                      <== NOT EXECUTED
a0006cb0:	e3530001 	cmp	r3, #1                                        <== NOT EXECUTED
a0006cb4:	9a000024 	bls	a0006d4c <scanString+0xe8>                    <== NOT EXECUTED
      return 0;                                                       
    **bufp = c;                                                       
a0006cb8:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006cbc:	e5c30000 	strb	r0, [r3]                                     <== NOT EXECUTED
    ++(*bufp);                                                        
a0006cc0:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
    --(*nleft);                                                       
a0006cc4:	e5983000 	ldr	r3, [r8]                                      <== NOT EXECUTED
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a0006cc8:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
    --(*nleft);                                                       
a0006ccc:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a0006cd0:	e5852000 	str	r2, [r5]                                      <== NOT EXECUTED
    --(*nleft);                                                       
a0006cd4:	e5883000 	str	r3, [r8]                                      <== NOT EXECUTED
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0006cd8:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
a0006cdc:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0006ce0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006ce4:	e5843004 	str	r3, [r4, #4]                                  <== NOT EXECUTED
a0006ce8:	aaffffe6 	bge	a0006c88 <scanString+0x24>                    <== NOT EXECUTED
a0006cec:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a0006cf0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0006cf4:	eb0032b6 	bl	a00137d4 <__srget_r>                           <== NOT EXECUTED
    if (c == ':') {                                                   
a0006cf8:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
a0006cfc:	1affffe6 	bne	a0006c9c <scanString+0x38>                    <== NOT EXECUTED
        if (nlFlag)                                                   
a0006d00:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0006d04:	1a00000a 	bne	a0006d34 <scanString+0xd0>                    <== NOT EXECUTED
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a0006d08:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006d0c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
a0006d10:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a0006d14:	e5c32000 	strb	r2, [r3]                                     <== NOT EXECUTED
  ++(*bufp);                                                          
a0006d18:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
  --(*nleft);                                                         
a0006d1c:	e5983000 	ldr	r3, [r8]                                      <== NOT EXECUTED
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a0006d20:	e0822000 	add	r2, r2, r0                                    <== NOT EXECUTED
  --(*nleft);                                                         
a0006d24:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a0006d28:	e5852000 	str	r2, [r5]                                      <== NOT EXECUTED
  --(*nleft);                                                         
a0006d2c:	e5883000 	str	r3, [r8]                                      <== NOT EXECUTED
  return 1;                                                           
a0006d30:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
a0006d34:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006d38:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
a0006d3c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0006d40:	1afffff0 	bne	a0006d08 <scanString+0xa4>                    <== NOT EXECUTED
            return 0;                                                 
a0006d44:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006d48:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
a0006d4c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
a0006d50:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a0006d58 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
a0006d58:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a0006d5c:	e24dd014 	sub	sp, sp, #20                                   <== NOT EXECUTED
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0006d60:	e28d5008 	add	r5, sp, #8                                    <== NOT EXECUTED
a0006d64:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0006d68:	e58d2008 	str	r2, [sp, #8]                                  <== NOT EXECUTED
a0006d6c:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0006d70:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0006d74:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006d78:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0006d7c:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
a0006d80:	e1a08001 	mov	r8, r1                                        <== NOT EXECUTED
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0006d84:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006d88:	ebffffb5 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006d8c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006d90:	1a000001 	bne	a0006d9c <scangr+0x44>                        <== NOT EXECUTED
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
a0006d94:	e28dd014 	add	sp, sp, #20                                   <== NOT EXECUTED
a0006d98:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
a0006d9c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006da0:	e2881004 	add	r1, r8, #4                                    <== NOT EXECUTED
a0006da4:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006da8:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0006dac:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006db0:	ebffffab 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006db4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006db8:	0afffff5 	beq	a0006d94 <scangr+0x3c>                        <== NOT EXECUTED
   || !scanInt(fp, &grgid)                                            
a0006dbc:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006dc0:	e28d1010 	add	r1, sp, #16                                   <== NOT EXECUTED
a0006dc4:	ebffff61 	bl	a0006b50 <scanInt>                             <== NOT EXECUTED
a0006dc8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006dcc:	0afffff0 	beq	a0006d94 <scangr+0x3c>                        <== NOT EXECUTED
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
a0006dd0:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
a0006dd4:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006dd8:	e28d100c 	add	r1, sp, #12                                   <== NOT EXECUTED
a0006ddc:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006de0:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0006de4:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006de8:	ebffff9d 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006dec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006df0:	0affffe7 	beq	a0006d94 <scangr+0x3c>                        <== NOT EXECUTED
    return 0;                                                         
  grp->gr_gid = grgid;                                                
a0006df4:	e1dd31b0 	ldrh	r3, [sp, #16]                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006df8:	e59d100c 	ldr	r1, [sp, #12]                                 <== NOT EXECUTED
  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;                                                
a0006dfc:	e1c830b8 	strh	r3, [r8, #8]                                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006e00:	e5d13000 	ldrb	r3, [r1]                                     <== NOT EXECUTED
a0006e04:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006e08:	03a06017 	moveq	r6, #23                                     <== NOT EXECUTED
a0006e0c:	0a000007 	beq	a0006e30 <scangr+0xd8>                        <== NOT EXECUTED
a0006e10:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    if(*cp == ',')                                                    
a0006e14:	e353002c 	cmp	r3, #44	; 0x2c                                <== NOT EXECUTED
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006e18:	e5f23001 	ldrb	r3, [r2, #1]!                                <== NOT EXECUTED
    if(*cp == ',')                                                    
      memcount++;                                                     
a0006e1c:	02866001 	addeq	r6, r6, #1                                  <== NOT EXECUTED
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006e20:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006e24:	1afffffa 	bne	a0006e14 <scangr+0xbc>                        <== NOT EXECUTED
a0006e28:	e1a06106 	lsl	r6, r6, #2                                    <== NOT EXECUTED
a0006e2c:	e2866013 	add	r6, r6, #19                                   <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
a0006e30:	e59d3004 	ldr	r3, [sp, #4]                                  <== NOT EXECUTED
a0006e34:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
    return 0;                                                         
a0006e38:	33a00000 	movcc	r0, #0                                      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
a0006e3c:	3affffd4 	bcc	a0006d94 <scangr+0x3c>                        <== NOT EXECUTED
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
a0006e40:	e59d0008 	ldr	r0, [sp, #8]                                  <== NOT EXECUTED
a0006e44:	e280000f 	add	r0, r0, #15                                   <== NOT EXECUTED
a0006e48:	e3c0000f 	bic	r0, r0, #15                                   <== NOT EXECUTED
a0006e4c:	e588000c 	str	r0, [r8, #12]                                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
a0006e50:	e5801000 	str	r1, [r0]                                      <== NOT EXECUTED
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006e54:	e59d200c 	ldr	r2, [sp, #12]                                 <== NOT EXECUTED
a0006e58:	e5d23000 	ldrb	r3, [r2]                                     <== NOT EXECUTED
a0006e5c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006e60:	0a000010 	beq	a0006ea8 <scangr+0x150>                       <== NOT EXECUTED
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
a0006e64:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006e68:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
a0006e6c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
a0006e70:	e353002c 	cmp	r3, #44	; 0x2c                                <== NOT EXECUTED
      *cp = '\0';                                                     
a0006e74:	05420001 	strbeq	r0, [r2, #-1]                              <== NOT EXECUTED
      grp->gr_mem[memcount++] = cp + 1;                               
a0006e78:	0598300c 	ldreq	r3, [r8, #12]                               <== NOT EXECUTED
a0006e7c:	07832101 	streq	r2, [r3, r1, lsl #2]                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006e80:	e4d23001 	ldrb	r3, [r2], #1                                 <== NOT EXECUTED
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
a0006e84:	02811001 	addeq	r1, r1, #1                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006e88:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006e8c:	1afffff7 	bne	a0006e70 <scangr+0x118>                       <== NOT EXECUTED
a0006e90:	e598000c 	ldr	r0, [r8, #12]                                 <== NOT EXECUTED
a0006e94:	e1a01101 	lsl	r1, r1, #2                                    <== NOT EXECUTED
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
a0006e98:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0006e9c:	e7803001 	str	r3, [r0, r1]                                  <== NOT EXECUTED
  return 1;                                                           
a0006ea0:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0006ea4:	eaffffba 	b	a0006d94 <scangr+0x3c>                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0006ea8:	e3a01004 	mov	r1, #4                                        <== NOT EXECUTED
a0006eac:	eafffff9 	b	a0006e98 <scangr+0x140>                         <== NOT EXECUTED
                                                                      

a0006eb0 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
a0006eb0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a0006eb4:	e24dd014 	sub	sp, sp, #20                                   <== NOT EXECUTED
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0006eb8:	e28d5008 	add	r5, sp, #8                                    <== NOT EXECUTED
a0006ebc:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0006ec0:	e58d2008 	str	r2, [sp, #8]                                  <== NOT EXECUTED
a0006ec4:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0006ec8:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0006ecc:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006ed0:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0006ed4:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
a0006ed8:	e1a08001 	mov	r8, r1                                        <== NOT EXECUTED
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0006edc:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006ee0:	ebffff5f 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006ee4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006ee8:	1a000001 	bne	a0006ef4 <scanpw+0x44>                        <== NOT EXECUTED
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
}                                                                     
a0006eec:	e28dd014 	add	sp, sp, #20                                   <== NOT EXECUTED
a0006ef0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
a0006ef4:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006ef8:	e2881004 	add	r1, r8, #4                                    <== NOT EXECUTED
a0006efc:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006f00:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0006f04:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006f08:	ebffff55 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006f0c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006f10:	0afffff5 	beq	a0006eec <scanpw+0x3c>                        <== NOT EXECUTED
   || !scanInt(fp, &pwuid)                                            
a0006f14:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006f18:	e28d1010 	add	r1, sp, #16                                   <== NOT EXECUTED
a0006f1c:	ebffff0b 	bl	a0006b50 <scanInt>                             <== NOT EXECUTED
a0006f20:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006f24:	0afffff0 	beq	a0006eec <scanpw+0x3c>                        <== NOT EXECUTED
   || !scanInt(fp, &pwgid)                                            
a0006f28:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006f2c:	e28d100c 	add	r1, sp, #12                                   <== NOT EXECUTED
a0006f30:	ebffff06 	bl	a0006b50 <scanInt>                             <== NOT EXECUTED
a0006f34:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006f38:	0affffeb 	beq	a0006eec <scanpw+0x3c>                        <== NOT EXECUTED
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
a0006f3c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006f40:	e288100c 	add	r1, r8, #12                                   <== NOT EXECUTED
a0006f44:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006f48:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0006f4c:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006f50:	ebffff43 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006f54:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006f58:	0affffe3 	beq	a0006eec <scanpw+0x3c>                        <== NOT EXECUTED
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
a0006f5c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006f60:	e2881010 	add	r1, r8, #16                                   <== NOT EXECUTED
a0006f64:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006f68:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0006f6c:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006f70:	ebffff3b 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006f74:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006f78:	0affffdb 	beq	a0006eec <scanpw+0x3c>                        <== NOT EXECUTED
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
a0006f7c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006f80:	e2881014 	add	r1, r8, #20                                   <== NOT EXECUTED
a0006f84:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006f88:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0006f8c:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006f90:	ebffff33 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006f94:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0006f98:	0affffd3 	beq	a0006eec <scanpw+0x3c>                        <== NOT EXECUTED
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
a0006f9c:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0006fa0:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
a0006fa4:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0006fa8:	e2881018 	add	r1, r8, #24                                   <== NOT EXECUTED
a0006fac:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0006fb0:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0006fb4:	ebffff2a 	bl	a0006c64 <scanString>                          <== NOT EXECUTED
a0006fb8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
a0006fbc:	11dd31b0 	ldrhne	r3, [sp, #16]                              <== NOT EXECUTED
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
a0006fc0:	11a00006 	movne	r0, r6                                      <== NOT EXECUTED
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
a0006fc4:	11c830b8 	strhne	r3, [r8, #8]                               <== NOT EXECUTED
  pwd->pw_gid = pwgid;                                                
a0006fc8:	11dd30bc 	ldrhne	r3, [sp, #12]                              <== NOT EXECUTED
a0006fcc:	11c830ba 	strhne	r3, [r8, #10]                              <== NOT EXECUTED
  return 1;                                                           
a0006fd0:	eaffffc5 	b	a0006eec <scanpw+0x3c>                          <== NOT EXECUTED
                                                                      

a0009458 <seteuid>: #include <rtems/userenv.h> int seteuid( uid_t euid ) { _POSIX_types_Euid = euid;
a0009458:	e59f300c 	ldr	r3, [pc, #12]	; a000946c <seteuid+0x14>       <== NOT EXECUTED
a000945c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0009460:	e1c303b6 	strh	r0, [r3, #54]	; 0x36                         <== NOT EXECUTED
  return 0;                                                           
}                                                                     
a0009464:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0009468:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0007504 <setgrent>: void setgrent(void) {
a0007504:	e92d4010 	push	{r4, lr}                                     
  init_etc_passwd_group();                                            
                                                                      
  if (group_fp != NULL)                                               
a0007508:	e59f4024 	ldr	r4, [pc, #36]	; a0007534 <setgrent+0x30>      
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
a000750c:	ebfffeb0 	bl	a0006fd4 <init_etc_passwd_group>               
                                                                      
  if (group_fp != NULL)                                               
a0007510:	e59401c4 	ldr	r0, [r4, #452]	; 0x1c4                        
a0007514:	e3500000 	cmp	r0, #0                                        
a0007518:	0a000000 	beq	a0007520 <setgrent+0x1c>                      
    fclose(group_fp);                                                 
a000751c:	eb002b7c 	bl	a0012314 <fclose>                              <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
a0007520:	e59f0010 	ldr	r0, [pc, #16]	; a0007538 <setgrent+0x34>      
a0007524:	e59f1010 	ldr	r1, [pc, #16]	; a000753c <setgrent+0x38>      
a0007528:	eb002d50 	bl	a0012a70 <fopen>                               
a000752c:	e58401c4 	str	r0, [r4, #452]	; 0x1c4                        
}                                                                     
a0007530:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

a0008370 <setsid>: * * 4.3.2 Create Session and Set Process Group ID, P1003.1b-1993, p. 88 */ pid_t setsid( void ) {
a0008370:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_set_errno_and_return_minus_one( EPERM );                      
a0008374:	eb002798 	bl	a00121dc <__errno>                             <== NOT EXECUTED
a0008378:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000837c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
}                                                                     
a0008380:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0008384:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000853c <siproc>: int i; /* * Obtain output semaphore if character will be echoed */ if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a000853c:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
a0008540:	e3a03ee7 	mov	r3, #3696	; 0xe70                             <== NOT EXECUTED
a0008544:	e2833008 	add	r3, r3, #8                                    <== NOT EXECUTED
a0008548:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a000854c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
a0008550:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a0008554:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
a0008558:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a000855c:	1a000001 	bne	a0008568 <siproc+0x2c>                        <== NOT EXECUTED
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
a0008560:	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);                                               
a0008564:	eaffff7d 	b	a0008360 <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); 
a0008568:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000856c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0008570:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a0008574:	eb00054f 	bl	a0009ab8 <rtems_semaphore_obtain>              <== NOT EXECUTED
    i = iproc (c, tty);                                               
a0008578:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000857c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0008580:	ebffff76 	bl	a0008360 <iproc>                               <== NOT EXECUTED
a0008584:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    rtems_semaphore_release (tty->osem);                              
a0008588:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a000858c:	eb000592 	bl	a0009bdc <rtems_semaphore_release>             <== NOT EXECUTED
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
a0008590:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0008594:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a00074b4 <sleep>: #if !defined(RTEMS_POSIX_API) unsigned int sleep( unsigned int seconds ) {
a00074b4:	e92d4010 	push	{r4, lr}                                     
a00074b8:	e1a04000 	mov	r4, r0                                        
  rtems_status_code status;                                           
  rtems_interval    ticks_per_second;                                 
                                                                      
  ticks_per_second = rtems_clock_get_ticks_per_second() * seconds;    
a00074bc:	eb000866 	bl	a000965c <rtems_clock_get_ticks_per_second>    
                                                                      
  status = rtems_task_wake_after( ticks_per_second );                 
a00074c0:	e0000094 	mul	r0, r4, r0                                    
a00074c4:	eb000bad 	bl	a000a380 <rtems_task_wake_after>               
   *  Returns the "unslept" amount of time.  In RTEMS signals are not 
   *  interruptable, so tasks really sleep all of the requested time. 
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a00074c8:	e3a00000 	mov	r0, #0                                        
a00074cc:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0007364 <stat>: int _STAT_NAME( const char *path, struct stat *buf ) {
a0007364:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0007368:	e2515000 	subs	r5, r1, #0                                   
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a000736c:	e24dd018 	sub	sp, sp, #24                                   
a0007370:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0007374:	0a000019 	beq	a00073e0 <stat+0x7c>                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
a0007378:	eb0023cc 	bl	a00102b0 <strlen>                              
a000737c:	e28d4004 	add	r4, sp, #4                                    
a0007380:	e3a03001 	mov	r3, #1                                        
a0007384:	e1a01000 	mov	r1, r0                                        
a0007388:	e58d3000 	str	r3, [sp]                                      
a000738c:	e3a02000 	mov	r2, #0                                        
a0007390:	e1a00006 	mov	r0, r6                                        
a0007394:	e1a03004 	mov	r3, r4                                        
a0007398:	ebfffc24 	bl	a0006430 <rtems_filesystem_evaluate_path>      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a000739c:	e2501000 	subs	r1, r0, #0                                   
    return -1;                                                        
a00073a0:	13e05000 	mvnne	r5, #0                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a00073a4:	1a00000a 	bne	a00073d4 <stat+0x70>                          
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
a00073a8:	e1a00005 	mov	r0, r5                                        
a00073ac:	e3a02048 	mov	r2, #72	; 0x48                                
a00073b0:	eb0022b4 	bl	a000fe88 <memset>                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a00073b4:	e59d300c 	ldr	r3, [sp, #12]                                 
a00073b8:	e1a01005 	mov	r1, r5                                        
a00073bc:	e1a00004 	mov	r0, r4                                        
a00073c0:	e5933018 	ldr	r3, [r3, #24]                                 
a00073c4:	e12fff33 	blx	r3                                            
a00073c8:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00073cc:	e1a00004 	mov	r0, r4                                        
a00073d0:	ebfffc50 	bl	a0006518 <rtems_filesystem_freenode>           
                                                                      
  return status;                                                      
}                                                                     
a00073d4:	e1a00005 	mov	r0, r5                                        
a00073d8:	e28dd018 	add	sp, sp, #24                                   
a00073dc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00073e0:	eb002043 	bl	a000f4f4 <__errno>                             <== NOT EXECUTED
a00073e4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00073e8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00073ec:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00073f0:	eafffff7 	b	a00073d4 <stat+0x70>                            <== NOT EXECUTED
                                                                      

a0009c08 <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
a0009c08:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a0009c0c:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0009c10:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a0009c14:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
a0009c18:	eb0030da 	bl	a0015f88 <strlen>                              <== NOT EXECUTED
a0009c1c:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0009c20:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0009c24:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0009c28:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0009c2c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0009c30:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0009c34:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0009c38:	ebfffabd 	bl	a0008734 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
a0009c3c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0009c40:	13e05000 	mvnne	r5, #0                                      <== NOT EXECUTED
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
a0009c44:	1a000018 	bne	a0009cac <statvfs+0xa4>                       <== NOT EXECUTED
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
a0009c48:	e1a03005 	mov	r3, r5                                        <== NOT EXECUTED
a0009c4c:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c50:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
a0009c54:	e5850004 	str	r0, [r5, #4]                                  <== NOT EXECUTED
a0009c58:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c5c:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c60:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c64:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c68:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c6c:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c70:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c74:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c78:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c7c:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
a0009c80:	e59d2014 	ldr	r2, [sp, #20]                                 <== NOT EXECUTED
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
a0009c84:	e4830004 	str	r0, [r3], #4                                  <== NOT EXECUTED
a0009c88:	e5830000 	str	r0, [r3]                                      <== NOT EXECUTED
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
a0009c8c:	e5923028 	ldr	r3, [r2, #40]	; 0x28                          <== NOT EXECUTED
a0009c90:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0009c94:	e282001c 	add	r0, r2, #28                                   <== NOT EXECUTED
a0009c98:	e5933044 	ldr	r3, [r3, #68]	; 0x44                          <== NOT EXECUTED
a0009c9c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0009ca0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0009ca4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0009ca8:	ebfffadb 	bl	a000881c <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a0009cac:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0009cb0:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0009cb4:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a00086f4 <sync>: { /* * Walk the one used initially by RTEMS. */ _fwalk(_global_impure_ptr, sync_wrapper);
a00086f4:	e59f3018 	ldr	r3, [pc, #24]	; a0008714 <sync+0x20>          <== NOT EXECUTED
 * We have to extern it here.                                         
 */                                                                   
extern struct _reent * const _global_impure_ptr __ATTRIBUTE_IMPURE_PTR__;
                                                                      
void sync(void)                                                       
{                                                                     
a00086f8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Walk the one used initially by RTEMS.                           
   */                                                                 
  _fwalk(_global_impure_ptr, sync_wrapper);                           
a00086fc:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a0008700:	e59f1010 	ldr	r1, [pc, #16]	; a0008718 <sync+0x24>          <== NOT EXECUTED
a0008704:	eb002abf 	bl	a0013208 <_fwalk>                              <== NOT EXECUTED
   */                                                                 
                                                                      
  /*                                                                  
   *  Now walk all the per-thread reentrancy structures.              
   */                                                                 
  rtems_iterate_over_all_threads(sync_per_thread);                    
a0008708:	e59f000c 	ldr	r0, [pc, #12]	; a000871c <sync+0x28>          <== NOT EXECUTED
}                                                                     
a000870c:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
   */                                                                 
                                                                      
  /*                                                                  
   *  Now walk all the per-thread reentrancy structures.              
   */                                                                 
  rtems_iterate_over_all_threads(sync_per_thread);                    
a0008710:	ea000ed7 	b	a000c274 <rtems_iterate_over_all_threads>       <== NOT EXECUTED
                                                                      

a0008698 <sync_per_thread>: /* * The sync_wrapper() function will operate on the current thread's * reent structure so we will temporarily use that. */ this_reent = t->libc_reent;
a0008698:	e59030f0 	ldr	r3, [r0, #240]	; 0xf0                         <== NOT EXECUTED
  fdatasync(fn);                                                      
}                                                                     
                                                                      
/* iterate over all FILE *'s for this thread */                       
static void sync_per_thread(Thread_Control *t)                        
{                                                                     
a000869c:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   if ( this_reent ) {                                                
a00086a0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00086a4:	0a000008 	beq	a00086cc <sync_per_thread+0x34>               <== NOT EXECUTED
     current_reent = _Thread_Executing->libc_reent;                   
a00086a8:	e59f4020 	ldr	r4, [pc, #32]	; a00086d0 <sync_per_thread+0x38><== NOT EXECUTED
     _Thread_Executing->libc_reent = this_reent;                      
     _fwalk (t->libc_reent, sync_wrapper);                            
a00086ac:	e59f1020 	ldr	r1, [pc, #32]	; a00086d4 <sync_per_thread+0x3c><== NOT EXECUTED
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   if ( this_reent ) {                                                
     current_reent = _Thread_Executing->libc_reent;                   
a00086b0:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a00086b4:	e59250f0 	ldr	r5, [r2, #240]	; 0xf0                         <== NOT EXECUTED
     _Thread_Executing->libc_reent = this_reent;                      
a00086b8:	e58230f0 	str	r3, [r2, #240]	; 0xf0                         <== NOT EXECUTED
     _fwalk (t->libc_reent, sync_wrapper);                            
a00086bc:	e59000f0 	ldr	r0, [r0, #240]	; 0xf0                         <== NOT EXECUTED
a00086c0:	eb002ad0 	bl	a0013208 <_fwalk>                              <== NOT EXECUTED
     _Thread_Executing->libc_reent = current_reent;                   
a00086c4:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
a00086c8:	e58350f0 	str	r5, [r3, #240]	; 0xf0                         <== NOT EXECUTED
a00086cc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a00086d8 <sync_wrapper>: /* XXX check standards -- Linux version appears to be void */ void _fwalk(struct _reent *, void *); static void sync_wrapper(FILE *f) {
a00086d8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  int fn = fileno(f);                                                 
a00086dc:	eb0027e5 	bl	a0012678 <fileno>                              <== NOT EXECUTED
a00086e0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  /*                                                                  
   *  We are explicitly NOT checking the return values as it does not 
   *  matter if they succeed.  We are just making a best faith attempt
   *  at both and trusting that we were passed a good FILE pointer.   
   */                                                                 
  fsync(fn);                                                          
a00086e4:	ebfffae0 	bl	a000726c <fsync>                               <== NOT EXECUTED
  fdatasync(fn);                                                      
a00086e8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
a00086ec:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
   *  We are explicitly NOT checking the return values as it does not 
   *  matter if they succeed.  We are just making a best faith attempt
   *  at both and trusting that we were passed a good FILE pointer.   
   */                                                                 
  fsync(fn);                                                          
  fdatasync(fn);                                                      
a00086f0:	eafffa21 	b	a0006f7c <fdatasync>                            <== NOT EXECUTED
                                                                      

a0009360 <tcsetattr>: int fd, int opt, struct termios *tp ) { switch (opt) {
a0009360:	e3510000 	cmp	r1, #0                                        
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
a0009364:	e92d4030 	push	{r4, r5, lr}                                 
a0009368:	e1a05000 	mov	r5, r0                                        
a000936c:	e1a04002 	mov	r4, r2                                        
  switch (opt) {                                                      
a0009370:	0a00000b 	beq	a00093a4 <tcsetattr+0x44>                     
a0009374:	e3510001 	cmp	r1, #1                                        
a0009378:	0a000004 	beq	a0009390 <tcsetattr+0x30>                     <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000937c:	eb0027e1 	bl	a0013308 <__errno>                             <== NOT EXECUTED
a0009380:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0009384:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
a0009388:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000938c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
a0009390:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0009394:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0009398:	eb001d57 	bl	a00108fc <ioctl>                               <== NOT EXECUTED
a000939c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00093a0:	bafffff8 	blt	a0009388 <tcsetattr+0x28>                     <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a00093a4:	e1a00005 	mov	r0, r5                                        
a00093a8:	e3a01002 	mov	r1, #2                                        
a00093ac:	e1a02004 	mov	r2, r4                                        
  }                                                                   
}                                                                     
a00093b0:	e8bd4030 	pop	{r4, r5, lr}                                  
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a00093b4:	ea001d50 	b	a00108fc <ioctl>                                
                                                                      

a000ccd8 <truncate>: int truncate( const char *path, off_t length ) {
a000ccd8:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a000ccdc:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_WRONLY );                                        
a000cce0:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
                                                                      
int truncate(                                                         
  const char  *path,                                                  
  off_t        length                                                 
)                                                                     
{                                                                     
a000cce4:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_WRONLY );                                        
a000cce8:	ebfff6a6 	bl	a000a788 <open>                                <== NOT EXECUTED
  if ( fd == -1 )                                                     
a000ccec:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_WRONLY );                                        
a000ccf0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  if ( fd == -1 )                                                     
    return -1;                                                        
a000ccf4:	01a05000 	moveq	r5, r0                                      <== NOT EXECUTED
{                                                                     
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_WRONLY );                                        
  if ( fd == -1 )                                                     
a000ccf8:	0a000005 	beq	a000cd14 <truncate+0x3c>                      <== NOT EXECUTED
    return -1;                                                        
                                                                      
  status = ftruncate( fd, length );                                   
a000ccfc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000cd00:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a000cd04:	eb00160c 	bl	a001253c <ftruncate>                           <== NOT EXECUTED
a000cd08:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  (void) close( fd );                                                 
a000cd0c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000cd10:	ebfff14b 	bl	a0009244 <close>                               <== NOT EXECUTED
                                                                      
  return status;                                                      
}                                                                     
a000cd14:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000cd18:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a000a138 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
a000a138:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000a13c:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a000a140:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
a000a144:	ebfff462 	bl	a00072d4 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a000a148:	e2505000 	subs	r5, r0, #0                                   
a000a14c:	1a00003a 	bne	a000a23c <unlink+0x104>                       
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
a000a150:	e28d4018 	add	r4, sp, #24                                   
a000a154:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000a158:	e28d102c 	add	r1, sp, #44	; 0x2c                            <== NOT EXECUTED
a000a15c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000a160:	ebfff87a 	bl	a0008350 <rtems_filesystem_get_start_loc>      <== NOT EXECUTED
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
a000a164:	e1a06005 	mov	r6, r5                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000a168:	e28dc004 	add	ip, sp, #4                                    
a000a16c:	e1a0e004 	mov	lr, r4                                        
a000a170:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000a174:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000a178:	e59e3000 	ldr	r3, [lr]                                      
  name = path + parentpathlen;                                        
a000a17c:	e0875005 	add	r5, r7, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000a180:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000a184:	e58c3000 	str	r3, [ip]                                      
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000a188:	eb002fe1 	bl	a0016114 <strlen>                              
a000a18c:	e1a01000 	mov	r1, r0                                        
a000a190:	e1a00005 	mov	r0, r5                                        
a000a194:	ebfff45d 	bl	a0007310 <rtems_filesystem_prefix_separators>  
a000a198:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a000a19c:	e1a00007 	mov	r0, r7                                        
a000a1a0:	eb002fdb 	bl	a0016114 <strlen>                              
a000a1a4:	e28d5004 	add	r5, sp, #4                                    
a000a1a8:	e1a01000 	mov	r1, r0                                        
a000a1ac:	e3a02000 	mov	r2, #0                                        
a000a1b0:	e1a00007 	mov	r0, r7                                        
a000a1b4:	e1a03005 	mov	r3, r5                                        
a000a1b8:	e58d2000 	str	r2, [sp]                                      
a000a1bc:	ebfff412 	bl	a000720c <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a000a1c0:	e3500000 	cmp	r0, #0                                        
a000a1c4:	1a000014 	bne	a000a21c <unlink+0xe4>                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
a000a1c8:	e59d3010 	ldr	r3, [sp, #16]                                 
a000a1cc:	e1a00005 	mov	r0, r5                                        
a000a1d0:	e5933010 	ldr	r3, [r3, #16]                                 
a000a1d4:	e12fff33 	blx	r3                                            
a000a1d8:	e3500001 	cmp	r0, #1                                        
a000a1dc:	0a000022 	beq	a000a26c <unlink+0x134>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
a000a1e0:	e59d3010 	ldr	r3, [sp, #16]                                 
a000a1e4:	e1a01005 	mov	r1, r5                                        
a000a1e8:	e1a00004 	mov	r0, r4                                        
a000a1ec:	e593300c 	ldr	r3, [r3, #12]                                 
a000a1f0:	e12fff33 	blx	r3                                            
a000a1f4:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000a1f8:	e1a00005 	mov	r0, r5                                        
a000a1fc:	ebfff458 	bl	a0007364 <rtems_filesystem_freenode>           
  if ( free_parentloc )                                               
a000a200:	e3560000 	cmp	r6, #0                                        
a000a204:	0a000001 	beq	a000a210 <unlink+0xd8>                        
    rtems_filesystem_freenode( &parentloc );                          
a000a208:	e1a00004 	mov	r0, r4                                        
a000a20c:	ebfff454 	bl	a0007364 <rtems_filesystem_freenode>           
                                                                      
  return result;                                                      
}                                                                     
a000a210:	e1a00007 	mov	r0, r7                                        
a000a214:	e28dd030 	add	sp, sp, #48	; 0x30                            
a000a218:	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 )                                             
a000a21c:	e3560000 	cmp	r6, #0                                        
a000a220:	1a000001 	bne	a000a22c <unlink+0xf4>                        
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
a000a224:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000a228:	eafffff8 	b	a000a210 <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 );                        
a000a22c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000a230:	ebfff44b 	bl	a0007364 <rtems_filesystem_freenode>           <== NOT EXECUTED
    return -1;                                                        
a000a234:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000a238:	eafffff4 	b	a000a210 <unlink+0xd8>                          <== NOT EXECUTED
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
a000a23c:	e3a03000 	mov	r3, #0                                        
a000a240:	e28d4018 	add	r4, sp, #24                                   
a000a244:	e58d3000 	str	r3, [sp]                                      
a000a248:	e3a02002 	mov	r2, #2                                        
a000a24c:	e1a00007 	mov	r0, r7                                        
a000a250:	e1a01005 	mov	r1, r5                                        
a000a254:	e1a03004 	mov	r3, r4                                        
a000a258:	ebfff407 	bl	a000727c <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
a000a25c:	e3500000 	cmp	r0, #0                                        
a000a260:	1affffef 	bne	a000a224 <unlink+0xec>                        
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
a000a264:	e3a06001 	mov	r6, #1                                        
a000a268:	eaffffbe 	b	a000a168 <unlink+0x30>                          
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
a000a26c:	e1a00005 	mov	r0, r5                                        
a000a270:	ebfff43b 	bl	a0007364 <rtems_filesystem_freenode>           
    if ( free_parentloc )                                             
a000a274:	e3560000 	cmp	r6, #0                                        
a000a278:	0a000001 	beq	a000a284 <unlink+0x14c>                       
      rtems_filesystem_freenode( &parentloc );                        
a000a27c:	e1a00004 	mov	r0, r4                                        
a000a280:	ebfff437 	bl	a0007364 <rtems_filesystem_freenode>           
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a000a284:	eb002be3 	bl	a0015218 <__errno>                             
a000a288:	e3a03015 	mov	r3, #21                                       <== NOT EXECUTED
a000a28c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000a290:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000a294:	eaffffdd 	b	a000a210 <unlink+0xd8>                          <== NOT EXECUTED
                                                                      

a000a2d4 <unmount>: */ int unmount( const char *path ) {
a000a2d4:	e92d4070 	push	{r4, r5, r6, lr}                             
a000a2d8:	e24dd018 	sub	sp, sp, #24                                   
a000a2dc:	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 ) )
a000a2e0:	eb002488 	bl	a0013508 <strlen>                              
a000a2e4:	e28d4004 	add	r4, sp, #4                                    
a000a2e8:	e1a01000 	mov	r1, r0                                        
a000a2ec:	e3a0c001 	mov	ip, #1                                        
a000a2f0:	e1a00005 	mov	r0, r5                                        
a000a2f4:	e3a02000 	mov	r2, #0                                        
a000a2f8:	e1a03004 	mov	r3, r4                                        
a000a2fc:	e58dc000 	str	ip, [sp]                                      
a000a300:	ebfff33f 	bl	a0007004 <rtems_filesystem_evaluate_path>      
a000a304:	e3500000 	cmp	r0, #0                                        
a000a308:	1a00001a 	bne	a000a378 <unmount+0xa4>                       
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
a000a30c:	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 ){                 
a000a310:	e59d3004 	ldr	r3, [sp, #4]                                  
a000a314:	e595201c 	ldr	r2, [r5, #28]                                 
a000a318:	e1520003 	cmp	r2, r3                                        
a000a31c:	1a00002d 	bne	a000a3d8 <unmount+0x104>                      
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000a320:	e1a00004 	mov	r0, r4                                        
a000a324:	ebfff370 	bl	a00070ec <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 )                
a000a328:	e59f30f8 	ldr	r3, [pc, #248]	; a000a428 <unmount+0x154>     
a000a32c:	e5933000 	ldr	r3, [r3]                                      
a000a330:	e5933014 	ldr	r3, [r3, #20]                                 
a000a334:	e1530005 	cmp	r3, r5                                        
a000a338:	0a00002d 	beq	a000a3f4 <unmount+0x120>                      
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
a000a33c:	e59f00e8 	ldr	r0, [pc, #232]	; a000a42c <unmount+0x158>     
a000a340:	e595102c 	ldr	r1, [r5, #44]	; 0x2c                          
a000a344:	ebfff5cc 	bl	a0007a7c <rtems_filesystem_mount_iterate>      
a000a348:	e3500000 	cmp	r0, #0                                        
a000a34c:	1a000028 	bne	a000a3f4 <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 )             
a000a350:	e1a00005 	mov	r0, r5                                        
a000a354:	ebfff46c 	bl	a000750c <rtems_libio_is_open_files_in_fs>     
a000a358:	e3500001 	cmp	r0, #1                                        
a000a35c:	0a000024 	beq	a000a3f4 <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 )             
a000a360:	e5953014 	ldr	r3, [r5, #20]                                 
a000a364:	e1a00005 	mov	r0, r5                                        
a000a368:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a000a36c:	e12fff33 	blx	r3                                            
a000a370:	e2506000 	subs	r6, r0, #0                                   
a000a374:	0a000002 	beq	a000a384 <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;                                                        
a000a378:	e3e00000 	mvn	r0, #0                                        
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000a37c:	e28dd018 	add	sp, sp, #24                                   
a000a380:	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){          
a000a384:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a000a388:	e1a00005 	mov	r0, r5                                        
a000a38c:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
a000a390:	e12fff33 	blx	r3                                            
a000a394:	e2504000 	subs	r4, r0, #0                                   
a000a398:	1a00001a 	bne	a000a408 <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 );
a000a39c:	e59f608c 	ldr	r6, [pc, #140]	; a000a430 <unmount+0x15c>     
a000a3a0:	e1a01004 	mov	r1, r4                                        
a000a3a4:	e1a02004 	mov	r2, r4                                        
a000a3a8:	e5960000 	ldr	r0, [r6]                                      
a000a3ac:	eb000295 	bl	a000ae08 <rtems_semaphore_obtain>              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a000a3b0:	e1a00005 	mov	r0, r5                                        
a000a3b4:	eb0004e6 	bl	a000b754 <_Chain_Extract>                      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000a3b8:	e5960000 	ldr	r0, [r6]                                      
a000a3bc:	eb0002da 	bl	a000af2c <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 );                          
a000a3c0:	e2850008 	add	r0, r5, #8                                    
a000a3c4:	ebfff348 	bl	a00070ec <rtems_filesystem_freenode>           
  free( mt_entry );                                                   
a000a3c8:	e1a00005 	mov	r0, r5                                        
a000a3cc:	ebfff34b 	bl	a0007100 <free>                                
                                                                      
  return 0;                                                           
a000a3d0:	e1a00004 	mov	r0, r4                                        
a000a3d4:	eaffffe8 	b	a000a37c <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 );                                
a000a3d8:	e1a00004 	mov	r0, r4                                        
a000a3dc:	ebfff342 	bl	a00070ec <rtems_filesystem_freenode>           
    rtems_set_errno_and_return_minus_one( EACCES );                   
a000a3e0:	eb001ed0 	bl	a0011f28 <__errno>                             
a000a3e4:	e3a0300d 	mov	r3, #13                                       
a000a3e8:	e5803000 	str	r3, [r0]                                      
a000a3ec:	e3e00000 	mvn	r0, #0                                        
a000a3f0:	eaffffe1 	b	a000a37c <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 );                    
a000a3f4:	eb001ecb 	bl	a0011f28 <__errno>                             
a000a3f8:	e3a03010 	mov	r3, #16                                       
a000a3fc:	e5803000 	str	r3, [r0]                                      
a000a400:	e3e00000 	mvn	r0, #0                                        
a000a404:	eaffffdc 	b	a000a37c <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 )             
a000a408:	e5953014 	ldr	r3, [r5, #20]                                 
a000a40c:	e1a00005 	mov	r0, r5                                        
a000a410:	e5933020 	ldr	r3, [r3, #32]                                 <== NOT EXECUTED
a000a414:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000a418:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a41c:	0affffd5 	beq	a000a378 <unmount+0xa4>                       <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
a000a420:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000a424:	eb000407 	bl	a000b448 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000a494 <utime>: int utime( const char *path, const struct utimbuf *times ) {
a000a494:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a000a498:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a000a49c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a000a4a0:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
a000a4a4:	eb002683 	bl	a0013eb8 <strlen>                              <== NOT EXECUTED
a000a4a8:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a000a4ac:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000a4b0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000a4b4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000a4b8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000a4bc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000a4c0:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a000a4c4:	ebfff1f3 	bl	a0006c98 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
a000a4c8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a000a4cc:	13e05000 	mvnne	r5, #0                                      <== NOT EXECUTED
{                                                                     
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
a000a4d0:	1a000009 	bne	a000a4fc <utime+0x68>                         <== NOT EXECUTED
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
a000a4d4:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a000a4d8:	0a00000a 	beq	a000a508 <utime+0x74>                         <== NOT EXECUTED
a000a4dc:	e8950006 	ldm	r5, {r1, r2}                                  <== NOT EXECUTED
    now.actime = now.modtime = time( NULL );                          
    times = &now;                                                     
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
a000a4e0:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000a4e4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000a4e8:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          <== NOT EXECUTED
a000a4ec:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000a4f0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a000a4f4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000a4f8:	ebfff304 	bl	a0007110 <rtems_filesystem_freenode>           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a000a4fc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000a500:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a000a504:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
    now.actime = now.modtime = time( NULL );                          
a000a508:	eb0026bd 	bl	a0014004 <time>                                <== NOT EXECUTED
a000a50c:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a000a510:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a000a514:	eafffff1 	b	a000a4e0 <utime+0x4c>                           <== NOT EXECUTED
                                                                      

a000a518 <utimes>: int utimes( const char *path, const struct timeval times[2] ) {
a000a518:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct utimbuf timeinsecs;                                          
                                                                      
  if ( times == NULL )                                                
a000a51c:	e2513000 	subs	r3, r1, #0                                   <== NOT EXECUTED
    return utime( path, NULL );                                       
                                                                      
  timeinsecs.actime  = (time_t) times[0].tv_sec;                      
a000a520:	15932000 	ldrne	r2, [r3]                                    <== NOT EXECUTED
  timeinsecs.modtime = (time_t) times[1].tv_sec;                      
a000a524:	15933008 	ldrne	r3, [r3, #8]                                <== NOT EXECUTED
                                                                      
int utimes(                                                           
  const char           *path,                                         
  const struct timeval  times[2]                                      
)                                                                     
{                                                                     
a000a528:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
    return utime( path, NULL );                                       
                                                                      
  timeinsecs.actime  = (time_t) times[0].tv_sec;                      
  timeinsecs.modtime = (time_t) times[1].tv_sec;                      
                                                                      
  return utime( path, &timeinsecs );                                  
a000a52c:	11a0100d 	movne	r1, sp                                      <== NOT EXECUTED
  struct utimbuf timeinsecs;                                          
                                                                      
  if ( times == NULL )                                                
    return utime( path, NULL );                                       
                                                                      
  timeinsecs.actime  = (time_t) times[0].tv_sec;                      
a000a530:	158d2000 	strne	r2, [sp]                                    <== NOT EXECUTED
  timeinsecs.modtime = (time_t) times[1].tv_sec;                      
a000a534:	158d3004 	strne	r3, [sp, #4]                                <== NOT EXECUTED
                                                                      
  return utime( path, &timeinsecs );                                  
a000a538:	ebffffd5 	bl	a000a494 <utime>                               <== NOT EXECUTED
}                                                                     
a000a53c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000a540:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a0009074 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
a0009074:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0009078:	e1a0a000 	mov	sl, r0                                        
  for (; *fmt != '\0'; fmt++) {                                       
a000907c:	e5d00000 	ldrb	r0, [r0]                                     
 */                                                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
a0009080:	e24dd01c 	sub	sp, sp, #28                                   
a0009084:	e58d1004 	str	r1, [sp, #4]                                  
  for (; *fmt != '\0'; fmt++) {                                       
a0009088:	e3500000 	cmp	r0, #0                                        
a000908c:	0a000073 	beq	a0009260 <vprintk+0x1ec>                      
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
a0009090:	e59f8374 	ldr	r8, [pc, #884]	; a000940c <vprintk+0x398>     
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
a0009094:	e28db008 	add	fp, sp, #8                                    
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
a0009098:	e3500025 	cmp	r0, #37	; 0x25                                
a000909c:	1a000071 	bne	a0009268 <vprintk+0x1f4>                      
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
a00090a0:	e5fa3001 	ldrb	r3, [sl, #1]!                                
a00090a4:	e3530030 	cmp	r3, #48	; 0x30                                
      lead = '0';                                                     
      fmt++;                                                          
a00090a8:	05fa3001 	ldrbeq	r3, [sl, #1]!                              
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
a00090ac:	13a02020 	movne	r2, #32                                     
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
a00090b0:	03a01030 	moveq	r1, #48	; 0x30                              
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
a00090b4:	158d2000 	strne	r2, [sp]                                    
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
a00090b8:	058d1000 	streq	r1, [sp]                                    
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
a00090bc:	e353002d 	cmp	r3, #45	; 0x2d                                
      minus = true;                                                   
      fmt++;                                                          
a00090c0:	05fa3001 	ldrbeq	r3, [sl, #1]!                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
a00090c4:	03a07001 	moveq	r7, #1                                      
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
a00090c8:	13a07000 	movne	r7, #0                                      
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
a00090cc:	e2432030 	sub	r2, r3, #48	; 0x30                            
a00090d0:	e3520009 	cmp	r2, #9                                        
a00090d4:	83a06000 	movhi	r6, #0                                      
a00090d8:	8a000009 	bhi	a0009104 <vprintk+0x90>                       
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
a00090dc:	e28a2001 	add	r2, sl, #1                                    
a00090e0:	e3a06000 	mov	r6, #0                                        
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
a00090e4:	e3a0100a 	mov	r1, #10                                       
a00090e8:	e0263691 	mla	r6, r1, r6, r3                                
a00090ec:	e1a0a002 	mov	sl, r2                                        
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
a00090f0:	e4d23001 	ldrb	r3, [r2], #1                                 
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
a00090f4:	e2466030 	sub	r6, r6, #48	; 0x30                            
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
a00090f8:	e2431030 	sub	r1, r3, #48	; 0x30                            
a00090fc:	e3510009 	cmp	r1, #9                                        
a0009100:	9afffff7 	bls	a00090e4 <vprintk+0x70>                       
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
a0009104:	e353006c 	cmp	r3, #108	; 0x6c                               
      lflag = true;                                                   
      c = *++fmt;                                                     
a0009108:	05fa0001 	ldrbeq	r0, [sl, #1]!                              
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
a000910c:	11a00003 	movne	r0, r3                                      
      lflag = true;                                                   
a0009110:	03a03001 	moveq	r3, #1                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
a0009114:	13a03000 	movne	r3, #0                                      
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
a0009118:	e3500063 	cmp	r0, #99	; 0x63                                
a000911c:	0a000098 	beq	a0009384 <vprintk+0x310>                      
      /* 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' ) {                                                 
a0009120:	e3500073 	cmp	r0, #115	; 0x73                               
a0009124:	0a00005a 	beq	a0009294 <vprintk+0x220>                      
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
a0009128:	e350006f 	cmp	r0, #111	; 0x6f                               
a000912c:	1350004f 	cmpne	r0, #79	; 0x4f                              
      base = 8; sign = false;                                         
a0009130:	03a02000 	moveq	r2, #0                                      
a0009134:	03a09008 	moveq	r9, #8                                      
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
a0009138:	0a000009 	beq	a0009164 <vprintk+0xf0>                       
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
a000913c:	e3500069 	cmp	r0, #105	; 0x69                               
a0009140:	13500049 	cmpne	r0, #73	; 0x49                              
a0009144:	0a000004 	beq	a000915c <vprintk+0xe8>                       
                c == 'd' || c == 'D' ) {                              
a0009148:	e3500064 	cmp	r0, #100	; 0x64                               
a000914c:	13500044 	cmpne	r0, #68	; 0x44                              
a0009150:	13a02000 	movne	r2, #0                                      
a0009154:	03a02001 	moveq	r2, #1                                      
a0009158:	1a000093 	bne	a00093ac <vprintk+0x338>                      
      base = 10; sign = true;                                         
a000915c:	e3a02001 	mov	r2, #1                                        
a0009160:	e3a0900a 	mov	r9, #10                                       
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
a0009164:	e3530000 	cmp	r3, #0                                        
a0009168:	0a000044 	beq	a0009280 <vprintk+0x20c>                      
a000916c:	e59d1004 	ldr	r1, [sp, #4]                                  
a0009170:	e5917000 	ldr	r7, [r1]                                      
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
a0009174:	e2811004 	add	r1, r1, #4                                    
a0009178:	e58d1004 	str	r1, [sp, #4]                                  
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
a000917c:	e3520000 	cmp	r2, #0                                        
a0009180:	0a000001 	beq	a000918c <vprintk+0x118>                      
a0009184:	e3570000 	cmp	r7, #0                                        
a0009188:	ba000098 	blt	a00093f0 <vprintk+0x37c>                      
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a000918c:	e1a00007 	mov	r0, r7                                        
a0009190:	e1a01009 	mov	r1, r9                                        
a0009194:	eb002da2 	bl	a0014824 <__aeabi_uidiv>                       
a0009198:	e3500000 	cmp	r0, #0                                        
a000919c:	e1a04000 	mov	r4, r0                                        
a00091a0:	e1a05000 	mov	r5, r0                                        
a00091a4:	01a04007 	moveq	r4, r7                                      
a00091a8:	03a07001 	moveq	r7, #1                                      
a00091ac:	0a000010 	beq	a00091f4 <vprintk+0x180>                      
a00091b0:	e20930ff 	and	r3, r9, #255	; 0xff                           
a00091b4:	e1a02007 	mov	r2, r7                                        
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
a00091b8:	e3a05000 	mov	r5, #0                                        
a00091bc:	e1a07003 	mov	r7, r3                                        
a00091c0:	ea000001 	b	a00091cc <vprintk+0x158>                        
  while ((n = unsigned_num / base) > 0) {                             
a00091c4:	e1a02004 	mov	r2, r4                                        
a00091c8:	e1a04000 	mov	r4, r0                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
a00091cc:	e0030794 	mul	r3, r4, r7                                    
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a00091d0:	e1a00004 	mov	r0, r4                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
a00091d4:	e0633002 	rsb	r3, r3, r2                                    
a00091d8:	e7cb3005 	strb	r3, [fp, r5]                                 
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a00091dc:	e1a01009 	mov	r1, r9                                        
a00091e0:	eb002d8f 	bl	a0014824 <__aeabi_uidiv>                       
a00091e4:	e3500000 	cmp	r0, #0                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
a00091e8:	e2855001 	add	r5, r5, #1                                    
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
a00091ec:	1afffff4 	bne	a00091c4 <vprintk+0x150>                      
a00091f0:	e2857001 	add	r7, r5, #1                                    
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
a00091f4:	e28d101c 	add	r1, sp, #28                                   
a00091f8:	e0815005 	add	r5, r1, r5                                    
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
a00091fc:	e1570006 	cmp	r7, r6                                        
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
a0009200:	e5454014 	strb	r4, [r5, #-20]                               
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
a0009204:	2a000006 	bcs	a0009224 <vprintk+0x1b0>                      
a0009208:	e59d4000 	ldr	r4, [sp]                                      
    BSP_output_char(lead);                                            
a000920c:	e5983000 	ldr	r3, [r8]                                      
a0009210:	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-- )                                  
a0009214:	e2466001 	sub	r6, r6, #1                                    
    BSP_output_char(lead);                                            
a0009218:	e12fff33 	blx	r3                                            
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
a000921c:	e1570006 	cmp	r7, r6                                        
a0009220:	3afffff9 	bcc	a000920c <vprintk+0x198>                      
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
a0009224:	e3570000 	cmp	r7, #0                                        
a0009228:	0a000009 	beq	a0009254 <vprintk+0x1e0>                      
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
a000922c:	e08b5007 	add	r5, fp, r7                                    
a0009230:	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)])]); 
a0009234:	e5752001 	ldrb	r2, [r5, #-1]!                               
a0009238:	e59f11d0 	ldr	r1, [pc, #464]	; a0009410 <vprintk+0x39c>     
a000923c:	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++) {                                       
a0009240:	e2844001 	add	r4, r4, #1                                    
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
a0009244:	e7d10002 	ldrb	r0, [r1, r2]                                 
a0009248:	e12fff33 	blx	r3                                            
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
a000924c:	e1570004 	cmp	r7, r4                                        
a0009250:	8afffff7 	bhi	a0009234 <vprintk+0x1c0>                      
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a0009254:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0009258:	e3500000 	cmp	r0, #0                                        
a000925c:	1affff8d 	bne	a0009098 <vprintk+0x24>                       
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
a0009260:	e28dd01c 	add	sp, sp, #28                                   
a0009264:	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);                                             
a0009268:	e5983000 	ldr	r3, [r8]                                      
a000926c:	e12fff33 	blx	r3                                            
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a0009270:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0009274:	e3500000 	cmp	r0, #0                                        
a0009278:	1affff86 	bne	a0009098 <vprintk+0x24>                       
a000927c:	eafffff7 	b	a0009260 <vprintk+0x1ec>                        
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
a0009280:	e59d3004 	ldr	r3, [sp, #4]                                  
a0009284:	e5937000 	ldr	r7, [r3]                                      
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
a0009288:	e2833004 	add	r3, r3, #4                                    
a000928c:	e58d3004 	str	r3, [sp, #4]                                  
a0009290:	eaffffb9 	b	a000917c <vprintk+0x108>                        
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
a0009294:	e59d3004 	ldr	r3, [sp, #4]                                  
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
a0009298:	e59f2174 	ldr	r2, [pc, #372]	; a0009414 <vprintk+0x3a0>     
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
a000929c:	e59d1004 	ldr	r1, [sp, #4]                                  
a00092a0:	e5933000 	ldr	r3, [r3]                                      
a00092a4:	e2819004 	add	r9, r1, #4                                    
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
a00092a8:	e3530000 	cmp	r3, #0                                        
a00092ac:	01a03002 	moveq	r3, r2                                      
a00092b0:	e58d3000 	str	r3, [sp]                                      
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
a00092b4:	e5d34000 	ldrb	r4, [r3]                                     
a00092b8:	e3540000 	cmp	r4, #0                                        
a00092bc:	0a000004 	beq	a00092d4 <vprintk+0x260>                      
a00092c0:	e3a04000 	mov	r4, #0                                        
a00092c4:	e5f32001 	ldrb	r2, [r3, #1]!                                
a00092c8:	e2844001 	add	r4, r4, #1                                    
a00092cc:	e3520000 	cmp	r2, #0                                        
a00092d0:	1afffffb 	bne	a00092c4 <vprintk+0x250>                      
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
a00092d4:	e3570000 	cmp	r7, #0                                        
a00092d8:	1a000008 	bne	a0009300 <vprintk+0x28c>                      
        for ( i=len ; i<width ; i++ )                                 
a00092dc:	e1540006 	cmp	r4, r6                                        
a00092e0:	2a000006 	bcs	a0009300 <vprintk+0x28c>                      
a00092e4:	e1a05004 	mov	r5, r4                                        
          BSP_output_char(' ');                                       
a00092e8:	e5983000 	ldr	r3, [r8]                                      
a00092ec:	e3a00020 	mov	r0, #32                                       
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
a00092f0:	e2855001 	add	r5, r5, #1                                    
          BSP_output_char(' ');                                       
a00092f4:	e12fff33 	blx	r3                                            
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
a00092f8:	e1550006 	cmp	r5, r6                                        
a00092fc:	3afffff9 	bcc	a00092e8 <vprintk+0x274>                      
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
a0009300:	e3560000 	cmp	r6, #0                                        
a0009304:	1a000002 	bne	a0009314 <vprintk+0x2a0>                      
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
a0009308:	e3540000 	cmp	r4, #0                                        
a000930c:	0a00000d 	beq	a0009348 <vprintk+0x2d4>                      
a0009310:	e1a06004 	mov	r6, r4                                        
a0009314:	e59d3000 	ldr	r3, [sp]                                      
a0009318:	e5d30000 	ldrb	r0, [r3]                                     
a000931c:	e3500000 	cmp	r0, #0                                        
a0009320:	0a000008 	beq	a0009348 <vprintk+0x2d4>                      
        BSP_output_char(*str);                                        
a0009324:	e5983000 	ldr	r3, [r8]                                      
a0009328:	e12fff33 	blx	r3                                            
a000932c:	e59d5000 	ldr	r5, [sp]                                      
a0009330:	ea000001 	b	a000933c <vprintk+0x2c8>                        
a0009334:	e5983000 	ldr	r3, [r8]                                      
a0009338:	e12fff33 	blx	r3                                            
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
a000933c:	e5f50001 	ldrb	r0, [r5, #1]!                                
a0009340:	e3500000 	cmp	r0, #0                                        
a0009344:	1afffffa 	bne	a0009334 <vprintk+0x2c0>                      
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
a0009348:	e3570000 	cmp	r7, #0                                        
a000934c:	0a000007 	beq	a0009370 <vprintk+0x2fc>                      
        for ( i=len ; i<width ; i++ )                                 
a0009350:	e1540006 	cmp	r4, r6                                        
a0009354:	2a000005 	bcs	a0009370 <vprintk+0x2fc>                      
          BSP_output_char(' ');                                       
a0009358:	e5983000 	ldr	r3, [r8]                                      
a000935c:	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++ )                                 
a0009360:	e2844001 	add	r4, r4, #1                                    
          BSP_output_char(' ');                                       
a0009364:	e12fff33 	blx	r3                                            
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
a0009368:	e1540006 	cmp	r4, r6                                        
a000936c:	3afffff9 	bcc	a0009358 <vprintk+0x2e4>                      
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
a0009370:	e58d9004 	str	r9, [sp, #4]                                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a0009374:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a0009378:	e3500000 	cmp	r0, #0                                        
a000937c:	1affff45 	bne	a0009098 <vprintk+0x24>                       
a0009380:	eaffffb6 	b	a0009260 <vprintk+0x1ec>                        <== NOT EXECUTED
      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);                              
a0009384:	e59d2004 	ldr	r2, [sp, #4]                                  
      BSP_output_char(chr);                                           
a0009388:	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);                              
a000938c:	e2824004 	add	r4, r2, #4                                    
      BSP_output_char(chr);                                           
a0009390:	e5d20000 	ldrb	r0, [r2]                                     
a0009394:	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);                              
a0009398:	e58d4004 	str	r4, [sp, #4]                                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
a000939c:	e5fa0001 	ldrb	r0, [sl, #1]!                                
a00093a0:	e3500000 	cmp	r0, #0                                        
a00093a4:	1affff3b 	bne	a0009098 <vprintk+0x24>                       
a00093a8:	eaffffac 	b	a0009260 <vprintk+0x1ec>                        <== 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' ) {                              
a00093ac:	e3500075 	cmp	r0, #117	; 0x75                               
a00093b0:	13500055 	cmpne	r0, #85	; 0x55                              
a00093b4:	13a01000 	movne	r1, #0                                      
a00093b8:	03a01001 	moveq	r1, #1                                      
      base = 10; sign = false;                                        
a00093bc:	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' ) {                              
a00093c0:	0affff67 	beq	a0009164 <vprintk+0xf0>                       
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
a00093c4:	e3500078 	cmp	r0, #120	; 0x78                               
a00093c8:	13500058 	cmpne	r0, #88	; 0x58                              
a00093cc:	13a02000 	movne	r2, #0                                      
a00093d0:	03a02001 	moveq	r2, #1                                      
      base = 16; sign = false;                                        
a00093d4:	03a09010 	moveq	r9, #16                                     
a00093d8:	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' ) {                              
a00093dc:	0affff60 	beq	a0009164 <vprintk+0xf0>                       
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
a00093e0:	e3500070 	cmp	r0, #112	; 0x70                               
a00093e4:	1affff9f 	bne	a0009268 <vprintk+0x1f4>                      
      base = 16; sign = false; lflag = true;                          
a00093e8:	e3a09010 	mov	r9, #16                                       
a00093ec:	eaffff5e 	b	a000916c <vprintk+0xf8>                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
a00093f0:	e5983000 	ldr	r3, [r8]                                      
a00093f4:	e3a0002d 	mov	r0, #45	; 0x2d                                
a00093f8:	e12fff33 	blx	r3                                            
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
a00093fc:	e3560000 	cmp	r6, #0                                        
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
    unsigned_num = (unsigned long) -num;                              
a0009400:	e2677000 	rsb	r7, r7, #0                                    
    if (maxwidth) maxwidth--;                                         
a0009404:	12466001 	subne	r6, r6, #1                                  
a0009408:	eaffff5f 	b	a000918c <vprintk+0x118>                        
                                                                      

a0016360 <write>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0016360:	e59f30a8 	ldr	r3, [pc, #168]	; a0016410 <write+0xb0>        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0016364:	e92d4030 	push	{r4, r5, lr}                                 
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016368:	e593c000 	ldr	ip, [r3]                                      
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a001636c:	e1a05001 	mov	r5, r1                                        
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0016370:	e150000c 	cmp	r0, ip                                        
a0016374:	2a00001b 	bcs	a00163e8 <write+0x88>                         
  iop = rtems_libio_iop( fd );                                        
a0016378:	e59fc094 	ldr	ip, [pc, #148]	; a0016414 <write+0xb4>        
a001637c:	e3a04038 	mov	r4, #56	; 0x38                                
a0016380:	e59cc000 	ldr	ip, [ip]                                      
a0016384:	e024c490 	mla	r4, r0, r4, ip                                
  rtems_libio_check_is_open( iop );                                   
a0016388:	e5940014 	ldr	r0, [r4, #20]                                 
a001638c:	e3100c01 	tst	r0, #256	; 0x100                              
a0016390:	0a000014 	beq	a00163e8 <write+0x88>                         
  rtems_libio_check_buffer( buffer );                                 
a0016394:	e3510000 	cmp	r1, #0                                        
a0016398:	0a000017 	beq	a00163fc <write+0x9c>                         
  rtems_libio_check_count( count );                                   
a001639c:	e3520000 	cmp	r2, #0                                        
a00163a0:	0a00000e 	beq	a00163e0 <write+0x80>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a00163a4:	e3100004 	tst	r0, #4                                        
a00163a8:	0a000013 	beq	a00163fc <write+0x9c>                         
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
a00163ac:	e5943020 	ldr	r3, [r4, #32]                                 
a00163b0:	e1a00004 	mov	r0, r4                                        
a00163b4:	e593300c 	ldr	r3, [r3, #12]                                 
a00163b8:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a00163bc:	e3500000 	cmp	r0, #0                                        
a00163c0:	da000007 	ble	a00163e4 <write+0x84>                         
    iop->offset += rc;                                                
a00163c4:	e284300c 	add	r3, r4, #12                                   
a00163c8:	e893000c 	ldm	r3, {r2, r3}                                  
a00163cc:	e0922000 	adds	r2, r2, r0                                   
a00163d0:	e0a33fc0 	adc	r3, r3, r0, asr #31                           
a00163d4:	e584200c 	str	r2, [r4, #12]                                 
a00163d8:	e5843010 	str	r3, [r4, #16]                                 
a00163dc:	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 );                                   
a00163e0:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
a00163e4:	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 );                                   
a00163e8:	ebffeb6f 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a00163ec:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00163f0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00163f4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00163f8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a00163fc:	ebffeb6a 	bl	a00111ac <__errno>                             <== NOT EXECUTED
a0016400:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0016404:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0016408:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a001640c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a000a8d8 <writev>: int bytes; rtems_libio_t *iop; ssize_t old; bool all_zeros; rtems_libio_check_fd( fd );
a000a8d8:	e59f315c 	ldr	r3, [pc, #348]	; a000aa3c <writev+0x164>      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a000a8dc:	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 );                                         
a000a8e0:	e5933000 	ldr	r3, [r3]                                      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a000a8e4:	e1a05002 	mov	r5, r2                                        
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a000a8e8:	e1500003 	cmp	r0, r3                                        
a000a8ec:	2a00004b 	bcs	a000aa20 <writev+0x148>                       
  iop = rtems_libio_iop( fd );                                        
a000a8f0:	e59f3148 	ldr	r3, [pc, #328]	; a000aa40 <writev+0x168>      
a000a8f4:	e3a08038 	mov	r8, #56	; 0x38                                
a000a8f8:	e5933000 	ldr	r3, [r3]                                      
a000a8fc:	e0283890 	mla	r8, r0, r8, r3                                
  rtems_libio_check_is_open( iop );                                   
a000a900:	e5983014 	ldr	r3, [r8, #20]                                 
a000a904:	e3130c01 	tst	r3, #256	; 0x100                              
a000a908:	0a000044 	beq	a000aa20 <writev+0x148>                       
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a000a90c:	e3130004 	tst	r3, #4                                        
a000a910:	0a00003c 	beq	a000aa08 <writev+0x130>                       
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a000a914:	e3510000 	cmp	r1, #0                                        
a000a918:	0a00003a 	beq	a000aa08 <writev+0x130>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a000a91c:	e3520000 	cmp	r2, #0                                        
a000a920:	da000038 	ble	a000aa08 <writev+0x130>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a000a924:	e3520b01 	cmp	r2, #1024	; 0x400                             
a000a928:	ca000036 	bgt	a000aa08 <writev+0x130>                       <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000a92c:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a000a930:	e3a0cc7f 	mov	ip, #32512	; 0x7f00                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a000a934:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000a938:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000a93c:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
a000a940:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a000a944:	e28cc0ff 	add	ip, ip, #255	; 0xff                           <== NOT EXECUTED
a000a948:	ea000000 	b	a000a950 <writev+0x78>                          <== NOT EXECUTED
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a000a94c:	e1a07003 	mov	r7, r3                                        <== NOT EXECUTED
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
a000a950:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
   *  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++ ) {                    
a000a954:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
a000a958:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a95c:	0a000029 	beq	a000aa08 <writev+0x130>                       <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
a000a960:	e5920004 	ldr	r0, [r2, #4]                                  <== NOT EXECUTED
   *  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++ ) {                    
a000a964:	e2822008 	add	r2, r2, #8                                    <== NOT EXECUTED
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a000a968:	e0873000 	add	r3, r7, r0                                    <== NOT EXECUTED
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
a000a96c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a970:	13a06000 	movne	r6, #0                                      <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a000a974:	e1570003 	cmp	r7, r3                                        <== NOT EXECUTED
a000a978:	d153000c 	cmple	r3, ip                                      <== NOT EXECUTED
a000a97c:	d3a07000 	movle	r7, #0                                      <== NOT EXECUTED
a000a980:	c3a07001 	movgt	r7, #1                                      <== NOT EXECUTED
a000a984:	ca00001f 	bgt	a000aa08 <writev+0x130>                       <== NOT EXECUTED
   *  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++ ) {                    
a000a988:	e1550001 	cmp	r5, r1                                        <== NOT EXECUTED
a000a98c:	caffffee 	bgt	a000a94c <writev+0x74>                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
a000a990:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000a994:	1a00001f 	bne	a000aa18 <writev+0x140>                       <== NOT EXECUTED
a000a998:	e1a07006 	mov	r7, r6                                        <== NOT EXECUTED
a000a99c:	ea000003 	b	a000a9b0 <writev+0xd8>                          <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a000a9a0:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a000a9a4:	e1550006 	cmp	r5, r6                                        <== NOT EXECUTED
a000a9a8:	e2844008 	add	r4, r4, #8                                    <== NOT EXECUTED
a000a9ac:	da000019 	ble	a000aa18 <writev+0x140>                       <== NOT EXECUTED
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a000a9b0:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a000a9b4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000a9b8:	0afffff8 	beq	a000a9a0 <writev+0xc8>                        <== NOT EXECUTED
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
a000a9bc:	e5983020 	ldr	r3, [r8, #32]                                 <== NOT EXECUTED
a000a9c0:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a000a9c4:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000a9c8:	e593300c 	ldr	r3, [r3, #12]                                 <== NOT EXECUTED
a000a9cc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
a000a9d0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a9d4:	ba000016 	blt	a000aa34 <writev+0x15c>                       <== NOT EXECUTED
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a000a9d8:	0a000006 	beq	a000a9f8 <writev+0x120>                       <== NOT EXECUTED
      iop->offset += bytes;                                           
a000a9dc:	e288300c 	add	r3, r8, #12                                   <== NOT EXECUTED
a000a9e0:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
a000a9e4:	e0922000 	adds	r2, r2, r0                                   <== NOT EXECUTED
a000a9e8:	e0a33fc0 	adc	r3, r3, r0, asr #31                           <== NOT EXECUTED
a000a9ec:	e588200c 	str	r2, [r8, #12]                                 <== NOT EXECUTED
a000a9f0:	e5883010 	str	r3, [r8, #16]                                 <== NOT EXECUTED
      total       += bytes;                                           
a000a9f4:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a000a9f8:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
a000a9fc:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000aa00:	0affffe6 	beq	a000a9a0 <writev+0xc8>                        <== NOT EXECUTED
a000aa04:	ea000003 	b	a000aa18 <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 );                 
a000aa08:	eb001e1b 	bl	a001227c <__errno>                             
a000aa0c:	e3a03016 	mov	r3, #22                                       
a000aa10:	e5803000 	str	r3, [r0]                                      
a000aa14:	e3e07000 	mvn	r7, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a000aa18:	e1a00007 	mov	r0, r7                                        
a000aa1c:	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 );                                   
a000aa20:	eb001e15 	bl	a001227c <__errno>                             
a000aa24:	e3a03009 	mov	r3, #9                                        
a000aa28:	e5803000 	str	r3, [r0]                                      
a000aa2c:	e3e07000 	mvn	r7, #0                                        
a000aa30:	eafffff8 	b	a000aa18 <writev+0x140>                         
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
a000aa34:	e3e07000 	mvn	r7, #0                                        
a000aa38:	eafffff6 	b	a000aa18 <writev+0x140>                         <== NOT EXECUTED