RTEMS 4.9.6
Annotated Report
Sun Jul 24 17:17:55 2011

00007994 <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 ) {
    7994:	e5903000 	ldr	r3, [r0]                                      
    7998:	e593304c 	ldr	r3, [r3, #76]                                 
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
    799c:	e590200c 	ldr	r2, [r0, #12]                                 
  switch( node->type ) {                                              
    79a0:	e2433001 	sub	r3, r3, #1	; 0x1                              
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
    79a4:	e592202c 	ldr	r2, [r2, #44]                                 
  switch( node->type ) {                                              
    79a8:	e3530005 	cmp	r3, #5	; 0x5                                  
    79ac:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
    79b0:	ea00000d 	b	79ec <IMFS_Set_handlers+0x58>                   <== NOT EXECUTED
    79b4:	000079cc 	.word	0x000079cc                                  <== NOT EXECUTED
    79b8:	000079d4 	.word	0x000079d4                                  <== NOT EXECUTED
    79bc:	000079dc 	.word	0x000079dc                                  <== NOT EXECUTED
    79c0:	000079dc 	.word	0x000079dc                                  <== NOT EXECUTED
    79c4:	e4          	.byte	0xe4                                     <== NOT EXECUTED
    79c5:	79          	.byte	0x79                                     <== NOT EXECUTED
    79c6:	0000      	.short	0x0000                                    <== NOT EXECUTED
    79c8:	000079e4 	.word	0x000079e4                                  <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
    79cc:	e5923008 	ldr	r3, [r2, #8]                                  
    79d0:	ea000004 	b	79e8 <IMFS_Set_handlers+0x54>                   
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
    79d4:	e59f3018 	ldr	r3, [pc, #24]	; 79f4 <IMFS_Set_handlers+0x60> 
    79d8:	ea000002 	b	79e8 <IMFS_Set_handlers+0x54>                   
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
    79dc:	e59f3014 	ldr	r3, [pc, #20]	; 79f8 <IMFS_Set_handlers+0x64> 
    79e0:	ea000000 	b	79e8 <IMFS_Set_handlers+0x54>                   
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
    79e4:	e5923004 	ldr	r3, [r2, #4]                                  
    79e8:	e5803004 	str	r3, [r0, #4]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
    79ec:	e3a00000 	mov	r0, #0	; 0x0                                  
    79f0:	e12fff1e 	bx	lr                                             
                                                                      

00009454 <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
    9454:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
    9458:	e1a01801 	lsl	r1, r1, #16                                   
    945c:	e1a02802 	lsl	r2, r2, #16                                   
    9460:	e24dd008 	sub	sp, sp, #8	; 0x8                              
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
    9464:	e5904000 	ldr	r4, [r0]                                      
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
    9468:	e1a06821 	lsr	r6, r1, #16                                   
    946c:	e1a07822 	lsr	r7, r2, #16                                   
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
    9470:	eb0003e1 	bl	a3fc <geteuid>                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    9474:	e1d433bc 	ldrh	r3, [r4, #60]                                
    9478:	e1530000 	cmp	r3, r0                                        
    947c:	13500000 	cmpne	r0, #0	; 0x0                                
    9480:	03a05000 	moveq	r5, #0	; 0x0                                
    9484:	13a05001 	movne	r5, #1	; 0x1                                
    9488:	0a000004 	beq	94a0 <IMFS_chown+0x4c>                        
    rtems_set_errno_and_return_minus_one( EPERM );                    
    948c:	eb0010b8 	bl	d774 <__errno>                                 <== NOT EXECUTED
    9490:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
    9494:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    9498:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    949c:	ea000007 	b	94c0 <IMFS_chown+0x6c>                          <== NOT EXECUTED
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
    94a0:	e1c463bc 	strh	r6, [r4, #60]                                
  jnode->st_gid = group;                                              
    94a4:	e1c473be 	strh	r7, [r4, #62]                                
                                                                      
  IMFS_update_ctime( jnode );                                         
    94a8:	e1a0000d 	mov	r0, sp                                        
    94ac:	e1a01005 	mov	r1, r5                                        
    94b0:	ebffe494 	bl	2708 <gettimeofday>                            
    94b4:	e59d3000 	ldr	r3, [sp]                                      
    94b8:	e5843048 	str	r3, [r4, #72]                                 
    94bc:	e1a00005 	mov	r0, r5                                        
                                                                      
  return 0;                                                           
}                                                                     
    94c0:	e28dd008 	add	sp, sp, #8	; 0x8                              
    94c4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

0000a8b8 <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
    a8b8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  IMFS_jnode_t        *node;                                          
  struct timeval       tv;                                            
  IMFS_jnode_t        *parent = NULL;                                 
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  if ( parent_loc != NULL )                                           
    a8bc:	e2508000 	subs	r8, r0, #0	; 0x0                             
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
    a8c0:	e24dd008 	sub	sp, sp, #8	; 0x8                              
    a8c4:	e1a09001 	mov	r9, r1                                        
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
                                                                      
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
    a8c8:	e3a00001 	mov	r0, #1	; 0x1                                  
    a8cc:	e3a01060 	mov	r1, #96	; 0x60                                
  IMFS_jnode_t        *node;                                          
  struct timeval       tv;                                            
  IMFS_jnode_t        *parent = NULL;                                 
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  if ( parent_loc != NULL )                                           
    a8d0:	01a06008 	moveq	r6, r8                                      
    parent = parent_loc->node_access;                                 
    a8d4:	15986000 	ldrne	r6, [r8]                                    
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
    a8d8:	e1a05002 	mov	r5, r2                                        
    a8dc:	e1a0a003 	mov	sl, r3                                        
    a8e0:	e59d7028 	ldr	r7, [sp, #40]                                 
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
                                                                      
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
    a8e4:	ebfff76d 	bl	86a0 <calloc>                                  
  if ( !node )                                                        
    a8e8:	e2504000 	subs	r4, r0, #0	; 0x0                             
    a8ec:	0a000048 	beq	aa14 <IMFS_create_node+0x15c>                 
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
                                                                      
  node->st_nlink = 1;                                                 
    a8f0:	e3a03001 	mov	r3, #1	; 0x1                                  
  node->type     = type;                                              
  strncpy( node->name, name, IMFS_NAME_MAX );                         
    a8f4:	e3a02020 	mov	r2, #32	; 0x20                                
    a8f8:	e1a01005 	mov	r1, r5                                        
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
                                                                      
  node->st_nlink = 1;                                                 
    a8fc:	e1c433b4 	strh	r3, [r4, #52]                                
  node->type     = type;                                              
    a900:	e584904c 	str	r9, [r4, #76]                                 
  strncpy( node->name, name, IMFS_NAME_MAX );                         
    a904:	e284000c 	add	r0, r4, #12	; 0xc                             
    a908:	eb00081f 	bl	c98c <strncpy>                                 
                                                                      
  /*                                                                  
   *  Fill in the mode and permission information for the jnode structure.
   */                                                                 
                                                                      
  node->st_mode = mode & ~rtems_filesystem_umask;                     
    a90c:	e59f310c 	ldr	r3, [pc, #268]	; aa20 <IMFS_create_node+0x168>
    a910:	e5933000 	ldr	r3, [r3]                                      
    a914:	e5933024 	ldr	r3, [r3, #36]                                 
    a918:	e1ca3003 	bic	r3, sl, r3                                    
    a91c:	e5843030 	str	r3, [r4, #48]                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  node->st_uid = geteuid();                                           
    a920:	ebfff7fe 	bl	8920 <geteuid>                                 
    a924:	e1c403bc 	strh	r0, [r4, #60]                                
  node->st_gid = getegid();                                           
    a928:	ebfff7f7 	bl	890c <getegid>                                 
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
                                                                      
  gettimeofday( &tv, 0 );                                             
    a92c:	e3a01000 	mov	r1, #0	; 0x0                                  
                                                                      
  node->st_mode = mode & ~rtems_filesystem_umask;                     
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  node->st_uid = geteuid();                                           
  node->st_gid = getegid();                                           
    a930:	e1c403be 	strh	r0, [r4, #62]                                
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
                                                                      
  gettimeofday( &tv, 0 );                                             
    a934:	e1a0000d 	mov	r0, sp                                        
    a938:	ebfff7fd 	bl	8934 <gettimeofday>                            
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
    a93c:	e59d3000 	ldr	r3, [sp]                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
                                                                      
  switch (type) {                                                     
    a940:	e2492001 	sub	r2, r9, #1	; 0x1                              
                                                                      
  gettimeofday( &tv, 0 );                                             
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
  node->stat_mtime  = (time_t) tv.tv_sec;                             
  node->stat_ctime  = (time_t) tv.tv_sec;                             
    a944:	e5843048 	str	r3, [r4, #72]                                 
   *  Now set all the times.                                          
   */                                                                 
                                                                      
  gettimeofday( &tv, 0 );                                             
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
    a948:	e5843040 	str	r3, [r4, #64]                                 
  node->stat_mtime  = (time_t) tv.tv_sec;                             
    a94c:	e5843044 	str	r3, [r4, #68]                                 
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
                                                                      
  switch (type) {                                                     
    a950:	e3520005 	cmp	r2, #5	; 0x5                                  
    a954:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
    a958:	ea00001c 	b	a9d0 <IMFS_create_node+0x118>                   <== NOT EXECUTED
    a95c:	0000a974 	.word	0x0000a974                                  <== NOT EXECUTED
    a960:	0000a99c 	.word	0x0000a99c                                  <== NOT EXECUTED
    a964:	0000a990 	.word	0x0000a990                                  <== NOT EXECUTED
    a968:	0000a990 	.word	0x0000a990                                  <== NOT EXECUTED
    a96c:	0000a9b8 	.word	0x0000a9b8                                  <== NOT EXECUTED
    a970:	0000a9ac 	.word	0x0000a9ac                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    a974:	e2843054 	add	r3, r4, #84	; 0x54                            
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    a978:	e2842050 	add	r2, r4, #80	; 0x50                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    a97c:	e5843050 	str	r3, [r4, #80]                                 
  the_chain->permanent_null = NULL;                                   
    a980:	e3a03000 	mov	r3, #0	; 0x0                                  
    a984:	e5843054 	str	r3, [r4, #84]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
    a988:	e5842058 	str	r2, [r4, #88]                                 
    a98c:	ea000014 	b	a9e4 <IMFS_create_node+0x12c>                   
    case IMFS_HARD_LINK:                                              
      node->info.hard_link.link_node = info->hard_link.link_node;     
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
    a990:	e5973000 	ldr	r3, [r7]                                      
    a994:	e5843050 	str	r3, [r4, #80]                                 
    a998:	ea000011 	b	a9e4 <IMFS_create_node+0x12c>                   
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
    a99c:	e897000c 	ldm	r7, {r2, r3}                                  
    a9a0:	e5843054 	str	r3, [r4, #84]                                 
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
    a9a4:	e5842050 	str	r2, [r4, #80]                                 
    a9a8:	ea00000d 	b	a9e4 <IMFS_create_node+0x12c>                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
    a9ac:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
    a9b0:	e5843054 	str	r3, [r4, #84]                                 <== NOT EXECUTED
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
    a9b4:	e5843050 	str	r3, [r4, #80]                                 <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
    a9b8:	e3a03000 	mov	r3, #0	; 0x0                                  
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
    a9bc:	e584305c 	str	r3, [r4, #92]                                 
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
    a9c0:	e5843050 	str	r3, [r4, #80]                                 
      node->info.file.indirect        = 0;                            
    a9c4:	e5843054 	str	r3, [r4, #84]                                 
      node->info.file.doubly_indirect = 0;                            
    a9c8:	e5843058 	str	r3, [r4, #88]                                 
    a9cc:	ea000004 	b	a9e4 <IMFS_create_node+0x12c>                   
      node->info.file.triply_indirect = 0;                            
      break;                                                          
                                                                      
    default:                                                          
      assert(0);                                                      
    a9d0:	e59f004c 	ldr	r0, [pc, #76]	; aa24 <IMFS_create_node+0x16c> <== NOT EXECUTED
    a9d4:	e3a01074 	mov	r1, #116	; 0x74                               <== NOT EXECUTED
    a9d8:	e59f2048 	ldr	r2, [pc, #72]	; aa28 <IMFS_create_node+0x170> <== NOT EXECUTED
    a9dc:	e59f3048 	ldr	r3, [pc, #72]	; aa2c <IMFS_create_node+0x174> <== NOT EXECUTED
    a9e0:	ebfff6d5 	bl	853c <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If this node has a parent, then put it in that directory list.  
   */                                                                 
                                                                      
  if ( parent ) {                                                     
    a9e4:	e3560000 	cmp	r6, #0	; 0x0                                  
    a9e8:	0a000009 	beq	aa14 <IMFS_create_node+0x15c>                 
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
    a9ec:	e2860050 	add	r0, r6, #80	; 0x50                            
    a9f0:	e1a01004 	mov	r1, r4                                        
    a9f4:	ebffe8f8 	bl	4ddc <_Chain_Append>                           
    rtems_chain_append( &parent->info.directory.Entries, &node->Node );
    node->Parent = parent;                                            
                                                                      
    fs_info = parent_loc->mt_entry->fs_info;                          
    a9f8:	e598300c 	ldr	r3, [r8, #12]                                 
    a9fc:	e593202c 	ldr	r2, [r3, #44]                                 
    node->st_ino = ++fs_info->ino_count;                              
    aa00:	e5923000 	ldr	r3, [r2]                                      
    aa04:	e2833001 	add	r3, r3, #1	; 0x1                              
    aa08:	e5823000 	str	r3, [r2]                                      
   *  If this node has a parent, then put it in that directory list.  
   */                                                                 
                                                                      
  if ( parent ) {                                                     
    rtems_chain_append( &parent->info.directory.Entries, &node->Node );
    node->Parent = parent;                                            
    aa0c:	e5846008 	str	r6, [r4, #8]                                  
                                                                      
    fs_info = parent_loc->mt_entry->fs_info;                          
    node->st_ino = ++fs_info->ino_count;                              
    aa10:	e5843038 	str	r3, [r4, #56]                                 
  }                                                                   
                                                                      
                                                                      
  return node;                                                        
}                                                                     
    aa14:	e1a00004 	mov	r0, r4                                        
    aa18:	e28dd008 	add	sp, sp, #8	; 0x8                              
    aa1c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

000028e8 <IMFS_dump_directory>: rtems_chain_node *the_node; rtems_chain_control *the_chain; IMFS_jnode_t *the_jnode; int i; assert( the_directory );
    28e8:	e3500000 	cmp	r0, #0	; 0x0                                  
                                                                      
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
    28ec:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
    28f0:	e1a06001 	mov	r6, r1                                        
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
    28f4:	059f00a4 	ldreq	r0, [pc, #164]	; 29a0 <IMFS_dump_directory+0xb8>
    28f8:	03a0107f 	moveq	r1, #127	; 0x7f                             
    28fc:	059f20a0 	ldreq	r2, [pc, #160]	; 29a4 <IMFS_dump_directory+0xbc>
    2900:	059f30a0 	ldreq	r3, [pc, #160]	; 29a8 <IMFS_dump_directory+0xc0>
    2904:	0a000005 	beq	2920 <IMFS_dump_directory+0x38>               
                                                                      
  assert( level >= 0 );                                               
    2908:	e3510000 	cmp	r1, #0	; 0x0                                  
    290c:	aa000004 	bge	2924 <IMFS_dump_directory+0x3c>               
    2910:	e59f0088 	ldr	r0, [pc, #136]	; 29a0 <IMFS_dump_directory+0xb8><== NOT EXECUTED
    2914:	e59f2088 	ldr	r2, [pc, #136]	; 29a4 <IMFS_dump_directory+0xbc><== NOT EXECUTED
    2918:	e59f308c 	ldr	r3, [pc, #140]	; 29ac <IMFS_dump_directory+0xc4><== NOT EXECUTED
    291c:	e3a01081 	mov	r1, #129	; 0x81                               <== NOT EXECUTED
    2920:	eb0001b1 	bl	2fec <__assert_func>                           <== NOT EXECUTED
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
    2924:	e590304c 	ldr	r3, [r0, #76]                                 
    2928:	e3530001 	cmp	r3, #1	; 0x1                                  
    292c:	159f006c 	ldrne	r0, [pc, #108]	; 29a0 <IMFS_dump_directory+0xb8>
    2930:	13a01083 	movne	r1, #131	; 0x83                             
    2934:	159f2068 	ldrne	r2, [pc, #104]	; 29a4 <IMFS_dump_directory+0xbc>
    2938:	159f3070 	ldrne	r3, [pc, #112]	; 29b0 <IMFS_dump_directory+0xc8>
    293c:	1afffff7 	bne	2920 <IMFS_dump_directory+0x38>               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
    2940:	e2808054 	add	r8, r0, #84	; 0x54                            
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
    2944:	e5905050 	ldr	r5, [r0, #80]                                 
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    2948:	e59fa064 	ldr	sl, [pc, #100]	; 29b4 <IMFS_dump_directory+0xcc>
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
    294c:	e2817001 	add	r7, r1, #1	; 0x1                              
    2950:	ea00000f 	b	2994 <IMFS_dump_directory+0xac>                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
    2954:	e3a04000 	mov	r4, #0	; 0x0                                  
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    2958:	e59a3000 	ldr	r3, [sl]                                      
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
    295c:	e2844001 	add	r4, r4, #1	; 0x1                              
      fprintf(stdout, "...." );                                       
    2960:	e5931008 	ldr	r1, [r3, #8]                                  
    2964:	e59f004c 	ldr	r0, [pc, #76]	; 29b8 <IMFS_dump_directory+0xd0>
    2968:	eb0032b9 	bl	f454 <fputs>                                   
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
    296c:	e1540006 	cmp	r4, r6                                        
    2970:	dafffff8 	ble	2958 <IMFS_dump_directory+0x70>               
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    2974:	e1a00005 	mov	r0, r5                                        
    2978:	ebffff87 	bl	279c <IMFS_print_jnode>                        
    if ( the_jnode->type == IMFS_DIRECTORY )                          
    297c:	e595304c 	ldr	r3, [r5, #76]                                 
    2980:	e3530001 	cmp	r3, #1	; 0x1                                  
      IMFS_dump_directory( the_jnode, level + 1 );                    
    2984:	01a00005 	moveq	r0, r5                                      
    2988:	01a01007 	moveq	r1, r7                                      
    298c:	0bffffd5 	bleq	28e8 <IMFS_dump_directory>                   
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
    2990:	e5955000 	ldr	r5, [r5]                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
    2994:	e1550008 	cmp	r5, r8                                        
    2998:	1affffed 	bne	2954 <IMFS_dump_directory+0x6c>               
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
    299c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

00007b90 <IMFS_eval_path>: int IMFS_eval_path( const char *pathname, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
    7b90:	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 ) ) {                       
    7b94:	e3d1c007 	bics	ip, r1, #7	; 0x7                             
int IMFS_eval_path(                                                   
  const char                        *pathname,     /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
    7b98:	e24dd038 	sub	sp, sp, #56	; 0x38                            
    7b9c:	e1a0a001 	mov	sl, r1                                        
    7ba0:	e1a09000 	mov	r9, r0                                        
    7ba4:	e1a05002 	mov	r5, r2                                        
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    7ba8:	159f0210 	ldrne	r0, [pc, #528]	; 7dc0 <IMFS_eval_path+0x230>
    7bac:	159f1210 	ldrne	r1, [pc, #528]	; 7dc4 <IMFS_eval_path+0x234>
    7bb0:	159f2210 	ldrne	r2, [pc, #528]	; 7dc8 <IMFS_eval_path+0x238>
    7bb4:	159f3210 	ldrne	r3, [pc, #528]	; 7dcc <IMFS_eval_path+0x23c>
    7bb8:	1b00025f 	blne	853c <__assert_func>                         
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
    7bbc:	e1a0800c 	mov	r8, ip                                        
    7bc0:	e5924000 	ldr	r4, [r2]                                      
    7bc4:	e3a06001 	mov	r6, #1	; 0x1                                  
   *  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], token, &len );               
    7bc8:	e28db003 	add	fp, sp, #3	; 0x3                              
    7bcc:	ea000054 	b	7d24 <IMFS_eval_path+0x194>                     
    7bd0:	e0890008 	add	r0, r9, r8                                    
    7bd4:	e1a0100b 	mov	r1, fp                                        
    7bd8:	e28d2034 	add	r2, sp, #52	; 0x34                            
    7bdc:	eb00015a 	bl	814c <IMFS_get_token>                          
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
    7be0:	e5953000 	ldr	r3, [r5]                                      
    7be4:	e3530000 	cmp	r3, #0	; 0x0                                  
   *  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], token, &len );               
    7be8:	e1a06000 	mov	r6, r0                                        
    i +=  len;                                                        
    7bec:	e59d7034 	ldr	r7, [sp, #52]                                 
                                                                      
    if ( !pathloc->node_access )                                      
    7bf0:	0a000043 	beq	7d04 <IMFS_eval_path+0x174>                   
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
    7bf4:	e3500000 	cmp	r0, #0	; 0x0                                  
    7bf8:	0a000006 	beq	7c18 <IMFS_eval_path+0x88>                    
      if ( node->type == IMFS_DIRECTORY )                             
    7bfc:	e594104c 	ldr	r1, [r4, #76]                                 
    7c00:	e3510001 	cmp	r1, #1	; 0x1                                  
    7c04:	1a000003 	bne	7c18 <IMFS_eval_path+0x88>                    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
    7c08:	e1a00005 	mov	r0, r5                                        
    7c0c:	ebffff7a 	bl	79fc <IMFS_evaluate_permission>                
    7c10:	e3500000 	cmp	r0, #0	; 0x0                                  
    7c14:	0a000062 	beq	7da4 <IMFS_eval_path+0x214>                   
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
    7c18:	e3560003 	cmp	r6, #3	; 0x3                                  
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], token, &len );               
    i +=  len;                                                        
    7c1c:	e0888007 	add	r8, r8, r7                                    
    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;                                      
    7c20:	e5954000 	ldr	r4, [r5]                                      
                                                                      
    switch( type ) {                                                  
    7c24:	0a000013 	beq	7c78 <IMFS_eval_path+0xe8>                    
    7c28:	e3560004 	cmp	r6, #4	; 0x4                                  
    7c2c:	0a000039 	beq	7d18 <IMFS_eval_path+0x188>                   
    7c30:	e3560002 	cmp	r6, #2	; 0x2                                  
    7c34:	1a00003a 	bne	7d24 <IMFS_eval_path+0x194>                   
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
    7c38:	e59f2190 	ldr	r2, [pc, #400]	; 7dd0 <IMFS_eval_path+0x240>  
    7c3c:	e5923000 	ldr	r3, [r2]                                      
    7c40:	e5933014 	ldr	r3, [r3, #20]                                 
    7c44:	e1540003 	cmp	r4, r3                                        
    7c48:	0a000035 	beq	7d24 <IMFS_eval_path+0x194>                   
                                                                      
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
    7c4c:	e595200c 	ldr	r2, [r5, #12]                                 
    7c50:	e5923018 	ldr	r3, [r2, #24]                                 
    7c54:	e1540003 	cmp	r4, r3                                        
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
    7c58:	02823008 	addeq	r3, r2, #8	; 0x8                            
    7c5c:	0a00003a 	beq	7d4c <IMFS_eval_path+0x1bc>                   
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),flags,pathloc);
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
    7c60:	e5944008 	ldr	r4, [r4, #8]                                  
    7c64:	e3540000 	cmp	r4, #0	; 0x0                                  
    7c68:	1a000028 	bne	7d10 <IMFS_eval_path+0x180>                   
            rtems_set_errno_and_return_minus_one( ENOENT );           
    7c6c:	eb000de9 	bl	b418 <__errno>                                 
    7c70:	e5806000 	str	r6, [r0]                                      
    7c74:	ea00004d 	b	7db0 <IMFS_eval_path+0x220>                     
      case IMFS_NAME:                                                 
	/*                                                                   
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
    7c78:	e594304c 	ldr	r3, [r4, #76]                                 
    7c7c:	e3530003 	cmp	r3, #3	; 0x3                                  
    7c80:	1a000006 	bne	7ca0 <IMFS_eval_path+0x110>                   
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
    7c84:	e1a00005 	mov	r0, r5                                        
    7c88:	e3a01000 	mov	r1, #0	; 0x0                                  
    7c8c:	ebffff75 	bl	7a68 <IMFS_evaluate_hard_link>                 
                                                                      
          node = pathloc->node_access;                                
    7c90:	e5954000 	ldr	r4, [r5]                                      
          if ( !node )                                                
    7c94:	e3540000 	cmp	r4, #0	; 0x0                                  
    7c98:	1a00000a 	bne	7cc8 <IMFS_eval_path+0x138>                   
    7c9c:	ea00000c 	b	7cd4 <IMFS_eval_path+0x144>                     <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
    7ca0:	e3530004 	cmp	r3, #4	; 0x4                                  
    7ca4:	1a000007 	bne	7cc8 <IMFS_eval_path+0x138>                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
    7ca8:	e1a00005 	mov	r0, r5                                        
    7cac:	e3a01000 	mov	r1, #0	; 0x0                                  
    7cb0:	ebffff83 	bl	7ac4 <IMFS_evaluate_sym_link>                  
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
    7cb4:	e3700001 	cmn	r0, #1	; 0x1                                  
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
    7cb8:	e1a04000 	mov	r4, r0                                        
                                                                      
          node = pathloc->node_access;                                
    7cbc:	e5950000 	ldr	r0, [r5]                                      
          if ( result == -1 )                                         
    7cc0:	0a00003b 	beq	7db4 <IMFS_eval_path+0x224>                   
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
    7cc4:	e1a04000 	mov	r4, r0                                        
                                                                      
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
    7cc8:	e594304c 	ldr	r3, [r4, #76]                                 
    7ccc:	e3530001 	cmp	r3, #1	; 0x1                                  
    7cd0:	0a000002 	beq	7ce0 <IMFS_eval_path+0x150>                   
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
    7cd4:	eb000dcf 	bl	b418 <__errno>                                 
    7cd8:	e3a03014 	mov	r3, #20	; 0x14                                
    7cdc:	ea000032 	b	7dac <IMFS_eval_path+0x21c>                     
	/*                                                                   
	 *  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 ) {                   
    7ce0:	e594305c 	ldr	r3, [r4, #92]                                 
    7ce4:	e3530000 	cmp	r3, #0	; 0x0                                  
          newloc   = node->info.directory.mt_fs->mt_fs_root;          
    7ce8:	12833018 	addne	r3, r3, #24	; 0x18                          
    7cec:	1a000016 	bne	7d4c <IMFS_eval_path+0x1bc>                   
                                                                      
	/*                                                                   
	 *  Otherwise find the token name in the present location.           
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
    7cf0:	e1a00004 	mov	r0, r4                                        
    7cf4:	e1a0100b 	mov	r1, fp                                        
    7cf8:	eb0000eb 	bl	80ac <IMFS_find_match_in_dir>                  
        if ( !node )                                                  
    7cfc:	e2504000 	subs	r4, r0, #0	; 0x0                             
    7d00:	1a000002 	bne	7d10 <IMFS_eval_path+0x180>                   
          rtems_set_errno_and_return_minus_one( ENOENT );             
    7d04:	eb000dc3 	bl	b418 <__errno>                                 
    7d08:	e3a03002 	mov	r3, #2	; 0x2                                  
    7d0c:	ea000026 	b	7dac <IMFS_eval_path+0x21c>                     
                                                                      
	/*                                                                   
	 *  Set the node access to the point we have found.                  
	 */                                                                  
                                                                      
        pathloc->node_access = node;                                  
    7d10:	e5854000 	str	r4, [r5]                                      
    7d14:	ea000002 	b	7d24 <IMFS_eval_path+0x194>                     
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
    7d18:	eb000dbe 	bl	b418 <__errno>                                 
    7d1c:	e3a0305b 	mov	r3, #91	; 0x5b                                
    7d20:	ea000021 	b	7dac <IMFS_eval_path+0x21c>                     
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
    7d24:	e3560000 	cmp	r6, #0	; 0x0                                  
    7d28:	13560004 	cmpne	r6, #4	; 0x4                                
    7d2c:	1affffa7 	bne	7bd0 <IMFS_eval_path+0x40>                    
   *  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 ) {                               
    7d30:	e594304c 	ldr	r3, [r4, #76]                                 
    7d34:	e3530001 	cmp	r3, #1	; 0x1                                  
    7d38:	1a000011 	bne	7d84 <IMFS_eval_path+0x1f4>                   
    if ( node->info.directory.mt_fs != NULL ) {                       
    7d3c:	e594005c 	ldr	r0, [r4, #92]                                 
    7d40:	e3500000 	cmp	r0, #0	; 0x0                                  
    7d44:	0a00000e 	beq	7d84 <IMFS_eval_path+0x1f4>                   
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
    7d48:	e2803018 	add	r3, r0, #24	; 0x18                            
    7d4c:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    7d50:	e28dc024 	add	ip, sp, #36	; 0x24                            
    7d54:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len], flags, pathloc );
    7d58:	e59dc034 	ldr	ip, [sp, #52]                                 
    7d5c:	e06cc008 	rsb	ip, ip, r8                                    
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
    7d60:	e885000f 	stm	r5, {r0, r1, r2, r3}                          
      return (*pathloc->ops->evalpath_h)( &pathname[i-len], flags, pathloc );
    7d64:	e5923000 	ldr	r3, [r2]                                      
    7d68:	e089000c 	add	r0, r9, ip                                    
    7d6c:	e1a0100a 	mov	r1, sl                                        
    7d70:	e1a02005 	mov	r2, r5                                        
    7d74:	e1a0e00f 	mov	lr, pc                                        
    7d78:	e12fff13 	bx	r3                                             
    7d7c:	e1a04000 	mov	r4, r0                                        
    7d80:	ea00000b 	b	7db4 <IMFS_eval_path+0x224>                     
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
    7d84:	e1a00005 	mov	r0, r5                                        
    7d88:	ebffff01 	bl	7994 <IMFS_Set_handlers>                       
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    7d8c:	e1a0100a 	mov	r1, sl                                        
      return (*pathloc->ops->evalpath_h)( &pathname[i-len], flags, pathloc );
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
    7d90:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    7d94:	e1a00005 	mov	r0, r5                                        
    7d98:	ebffff17 	bl	79fc <IMFS_evaluate_permission>                
    7d9c:	e3500000 	cmp	r0, #0	; 0x0                                  
    7da0:	1a000003 	bne	7db4 <IMFS_eval_path+0x224>                   
    rtems_set_errno_and_return_minus_one( EACCES );                   
    7da4:	eb000d9b 	bl	b418 <__errno>                                 
    7da8:	e3a0300d 	mov	r3, #13	; 0xd                                 
    7dac:	e5803000 	str	r3, [r0]                                      
    7db0:	e3e04000 	mvn	r4, #0	; 0x0                                  
                                                                      
  return result;                                                      
}                                                                     
    7db4:	e1a00004 	mov	r0, r4                                        
    7db8:	e28dd038 	add	sp, sp, #56	; 0x38                            
    7dbc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

00007e88 <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 */ ) {
    7e88:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
    7e8c:	e5914000 	ldr	r4, [r1]                                      
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
    7e90:	e24dd038 	sub	sp, sp, #56	; 0x38                            
    7e94:	e1a05001 	mov	r5, r1                                        
    7e98:	e1a0a000 	mov	sl, r0                                        
    7e9c:	e1a09002 	mov	r9, r2                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
    7ea0:	e3a07000 	mov	r7, #0	; 0x0                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], token, &len );                   
    7ea4:	e28db003 	add	fp, sp, #3	; 0x3                              
    7ea8:	e08a0007 	add	r0, sl, r7                                    
    7eac:	e1a0100b 	mov	r1, fp                                        
    7eb0:	e28d2034 	add	r2, sp, #52	; 0x34                            
    7eb4:	eb0000a4 	bl	814c <IMFS_get_token>                          
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
    7eb8:	e5953000 	ldr	r3, [r5]                                      
    7ebc:	e3530000 	cmp	r3, #0	; 0x0                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], token, &len );                   
    7ec0:	e1a06000 	mov	r6, r0                                        
    i +=  len;                                                        
    7ec4:	e59d8034 	ldr	r8, [sp, #52]                                 
                                                                      
    if ( !pathloc->node_access )                                      
    7ec8:	0a000059 	beq	8034 <IMFS_evaluate_for_make+0x1ac>           
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
    7ecc:	e3500000 	cmp	r0, #0	; 0x0                                  
    7ed0:	0a000006 	beq	7ef0 <IMFS_evaluate_for_make+0x68>            
      if ( node->type == IMFS_DIRECTORY )                             
    7ed4:	e594104c 	ldr	r1, [r4, #76]                                 
    7ed8:	e3510001 	cmp	r1, #1	; 0x1                                  
    7edc:	1a000003 	bne	7ef0 <IMFS_evaluate_for_make+0x68>            
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
    7ee0:	e1a00005 	mov	r0, r5                                        
    7ee4:	ebfffec4 	bl	79fc <IMFS_evaluate_permission>                
    7ee8:	e3500000 	cmp	r0, #0	; 0x0                                  
    7eec:	0a000066 	beq	808c <IMFS_evaluate_for_make+0x204>           
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
    7ef0:	e5952000 	ldr	r2, [r5]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], token, &len );                   
    i +=  len;                                                        
    7ef4:	e0877008 	add	r7, r7, r8                                    
    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;                                      
    7ef8:	e1a04002 	mov	r4, r2                                        
                                                                      
    switch( type ) {                                                  
    7efc:	e3560004 	cmp	r6, #4	; 0x4                                  
    7f00:	979ff106 	ldrls	pc, [pc, r6, lsl #2]                        
    7f04:	eaffffe7 	b	7ea8 <IMFS_evaluate_for_make+0x20>              <== NOT EXECUTED
    7f08:	00007ff8 	.word	0x00007ff8                                  <== NOT EXECUTED
    7f0c:	00007ea8 	.word	0x00007ea8                                  <== NOT EXECUTED
    7f10:	00007f1c 	.word	0x00007f1c                                  <== NOT EXECUTED
    7f14:	00007f54 	.word	0x00007f54                                  <== NOT EXECUTED
    7f18:	00008004 	.word	0x00008004                                  <== NOT EXECUTED
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
    7f1c:	e59f1184 	ldr	r1, [pc, #388]	; 80a8 <IMFS_evaluate_for_make+0x220>
    7f20:	e5913000 	ldr	r3, [r1]                                      
    7f24:	e5933014 	ldr	r3, [r3, #20]                                 
    7f28:	e1520003 	cmp	r2, r3                                        
    7f2c:	0affffdd 	beq	7ea8 <IMFS_evaluate_for_make+0x20>            
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
    7f30:	e595100c 	ldr	r1, [r5, #12]                                 
    7f34:	e5913018 	ldr	r3, [r1, #24]                                 
    7f38:	e1520003 	cmp	r2, r3                                        
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
    7f3c:	02813008 	addeq	r3, r1, #8	; 0x8                            
    7f40:	0a000018 	beq	7fa8 <IMFS_evaluate_for_make+0x120>           
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
    7f44:	e5924008 	ldr	r4, [r2, #8]                                  
    7f48:	e3540000 	cmp	r4, #0	; 0x0                                  
    7f4c:	1a000027 	bne	7ff0 <IMFS_evaluate_for_make+0x168>           
    7f50:	ea000037 	b	8034 <IMFS_evaluate_for_make+0x1ac>             
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
    7f54:	e592304c 	ldr	r3, [r2, #76]                                 
    7f58:	e3530003 	cmp	r3, #3	; 0x3                                  
    7f5c:	0a000001 	beq	7f68 <IMFS_evaluate_for_make+0xe0>            
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
    7f60:	e3530004 	cmp	r3, #4	; 0x4                                  
    7f64:	1a000005 	bne	7f80 <IMFS_evaluate_for_make+0xf8>            
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
    7f68:	e1a00005 	mov	r0, r5                                        
    7f6c:	e3a01000 	mov	r1, #0	; 0x0                                  
    7f70:	ebffff97 	bl	7dd4 <IMFS_evaluate_link>                      
                                                                      
          if ( result == -1 )                                         
    7f74:	e3700001 	cmn	r0, #1	; 0x1                                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
    7f78:	e1a04000 	mov	r4, r0                                        
                                                                      
          if ( result == -1 )                                         
    7f7c:	0a000046 	beq	809c <IMFS_evaluate_for_make+0x214>           
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
    7f80:	e5950000 	ldr	r0, [r5]                                      
        if ( !node )                                                  
    7f84:	e3500000 	cmp	r0, #0	; 0x0                                  
    7f88:	0a000037 	beq	806c <IMFS_evaluate_for_make+0x1e4>           
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
    7f8c:	e590304c 	ldr	r3, [r0, #76]                                 
    7f90:	e3530001 	cmp	r3, #1	; 0x1                                  
    7f94:	1a000034 	bne	806c <IMFS_evaluate_for_make+0x1e4>           
	/*                                                                   
	 * 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 ) {                   
    7f98:	e590305c 	ldr	r3, [r0, #92]                                 
    7f9c:	e3530000 	cmp	r3, #0	; 0x0                                  
    7fa0:	0a00000e 	beq	7fe0 <IMFS_evaluate_for_make+0x158>           
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
    7fa4:	e2833018 	add	r3, r3, #24	; 0x18                            
    7fa8:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    7fac:	e28dc024 	add	ip, sp, #36	; 0x24                            
    7fb0:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
    7fb4:	e59dc034 	ldr	ip, [sp, #52]                                 
    7fb8:	e06cc007 	rsb	ip, ip, r7                                    
	 * 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;                                          
    7fbc:	e885000f 	stm	r5, {r0, r1, r2, r3}                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
    7fc0:	e5923004 	ldr	r3, [r2, #4]                                  
    7fc4:	e08a000c 	add	r0, sl, ip                                    
    7fc8:	e1a01005 	mov	r1, r5                                        
    7fcc:	e1a02009 	mov	r2, r9                                        
    7fd0:	e1a0e00f 	mov	lr, pc                                        
    7fd4:	e12fff13 	bx	r3                                             
    7fd8:	e1a04000 	mov	r4, r0                                        
    7fdc:	ea00002e 	b	809c <IMFS_evaluate_for_make+0x214>             
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
    7fe0:	e1a0100b 	mov	r1, fp                                        
    7fe4:	eb000030 	bl	80ac <IMFS_find_match_in_dir>                  
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
    7fe8:	e2504000 	subs	r4, r0, #0	; 0x0                             
    7fec:	0a000007 	beq	8010 <IMFS_evaluate_for_make+0x188>           
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
    7ff0:	e5854000 	str	r4, [r5]                                      
    7ff4:	eaffffab 	b	7ea8 <IMFS_evaluate_for_make+0x20>              
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
    7ff8:	eb000d06 	bl	b418 <__errno>                                 
    7ffc:	e3a03011 	mov	r3, #17	; 0x11                                
    8000:	ea000023 	b	8094 <IMFS_evaluate_for_make+0x20c>             
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
    8004:	eb000d03 	bl	b418 <__errno>                                 
    8008:	e3a0305b 	mov	r3, #91	; 0x5b                                
    800c:	ea000020 	b	8094 <IMFS_evaluate_for_make+0x20c>             
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
    8010:	e59d3034 	ldr	r3, [sp, #52]                                 
    8014:	e0633007 	rsb	r3, r3, r7                                    
    8018:	e08a3003 	add	r3, sl, r3                                    
    801c:	e5893000 	str	r3, [r9]                                      
    8020:	e08a0007 	add	r0, sl, r7                                    
    8024:	ea000005 	b	8040 <IMFS_evaluate_for_make+0x1b8>             
   * 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++) {                                      
    if ( !IMFS_is_separator( path[ i ] ) )                            
    8028:	e352002f 	cmp	r2, #47	; 0x2f                                
    802c:	1352005c 	cmpne	r2, #92	; 0x5c                              
    8030:	0a000002 	beq	8040 <IMFS_evaluate_for_make+0x1b8>           
      rtems_set_errno_and_return_minus_one( ENOENT );                 
    8034:	eb000cf7 	bl	b418 <__errno>                                 
    8038:	e3a03002 	mov	r3, #2	; 0x2                                  
    803c:	ea000014 	b	8094 <IMFS_evaluate_for_make+0x20c>             
  /*                                                                  
   * 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++) {                                      
    8040:	e5d02000 	ldrb	r2, [r0]                                     
    8044:	e3520000 	cmp	r2, #0	; 0x0                                  
    8048:	e2800001 	add	r0, r0, #1	; 0x1                              
    804c:	1afffff5 	bne	8028 <IMFS_evaluate_for_make+0x1a0>           
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
    8050:	e1a00005 	mov	r0, r5                                        
    8054:	ebfffe4e 	bl	7994 <IMFS_Set_handlers>                       
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    8058:	e5953000 	ldr	r3, [r5]                                      
    805c:	e593304c 	ldr	r3, [r3, #76]                                 
    8060:	e3530001 	cmp	r3, #1	; 0x1                                  
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
    8064:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    8068:	0a000002 	beq	8078 <IMFS_evaluate_for_make+0x1f0>           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    806c:	eb000ce9 	bl	b418 <__errno>                                 
    8070:	e3a03014 	mov	r3, #20	; 0x14                                
    8074:	ea000006 	b	8094 <IMFS_evaluate_for_make+0x20c>             
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    8078:	e1a00005 	mov	r0, r5                                        
    807c:	e3a01003 	mov	r1, #3	; 0x3                                  
    8080:	ebfffe5d 	bl	79fc <IMFS_evaluate_permission>                
    8084:	e3500000 	cmp	r0, #0	; 0x0                                  
    8088:	1a000003 	bne	809c <IMFS_evaluate_for_make+0x214>           
    rtems_set_errno_and_return_minus_one( EACCES );                   
    808c:	eb000ce1 	bl	b418 <__errno>                                 
    8090:	e3a0300d 	mov	r3, #13	; 0xd                                 
    8094:	e5803000 	str	r3, [r0]                                      
    8098:	e3e04000 	mvn	r4, #0	; 0x0                                  
                                                                      
  return result;                                                      
}                                                                     
    809c:	e1a00004 	mov	r0, r4                                        
    80a0:	e28dd038 	add	sp, sp, #56	; 0x38                            
    80a4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

00007a68 <IMFS_evaluate_hard_link>: int IMFS_evaluate_hard_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) { IMFS_jnode_t *jnode = node->node_access;
    7a68:	e5902000 	ldr	r2, [r0]                                      
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    7a6c:	e592304c 	ldr	r3, [r2, #76]                                 
    7a70:	e3530003 	cmp	r3, #3	; 0x3                                  
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
    7a74:	e92d4030 	push	{r4, r5, lr}                                 
    7a78:	e1a04000 	mov	r4, r0                                        
    7a7c:	e1a05001 	mov	r5, r1                                        
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    rtems_fatal_error_occurred (0xABCD0000);                          
    7a80:	159f0038 	ldrne	r0, [pc, #56]	; 7ac0 <IMFS_evaluate_hard_link+0x58>
    7a84:	1bfff3e7 	blne	4a28 <rtems_fatal_error_occurred>            
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
    7a88:	e5923050 	ldr	r3, [r2, #80]                                 
    7a8c:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
    7a90:	ebffffbf 	bl	7994 <IMFS_Set_handlers>                       
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    7a94:	e1a00004 	mov	r0, r4                                        
    7a98:	e1a01005 	mov	r1, r5                                        
    7a9c:	ebffffd6 	bl	79fc <IMFS_evaluate_permission>                
    7aa0:	e3500000 	cmp	r0, #0	; 0x0                                  
    7aa4:	13a00000 	movne	r0, #0	; 0x0                                
    7aa8:	18bd8030 	popne	{r4, r5, pc}                                
    rtems_set_errno_and_return_minus_one( EACCES );                   
    7aac:	eb000e59 	bl	b418 <__errno>                                 <== NOT EXECUTED
    7ab0:	e3a0300d 	mov	r3, #13	; 0xd                                 <== NOT EXECUTED
    7ab4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    7ab8:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
    7abc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

000079fc <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 ) )
    79fc:	e3d13007 	bics	r3, r1, #7	; 0x7                             
                                                                      
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
    7a00:	e92d4070 	push	{r4, r5, r6, lr}                             
    7a04:	e1a05001 	mov	r5, r1                                        
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    7a08:	0a000004 	beq	7a20 <IMFS_evaluate_permission+0x24>          
    rtems_set_errno_and_return_minus_one( EPERM );                    
    7a0c:	eb000e81 	bl	b418 <__errno>                                 <== NOT EXECUTED
    7a10:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
    7a14:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    7a18:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    7a1c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  jnode = node->node_access;                                          
    7a20:	e5906000 	ldr	r6, [r0]                                      
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
    7a24:	eb0003bd 	bl	8920 <geteuid>                                 
    7a28:	e1a04000 	mov	r4, r0                                        
  st_gid = getegid();                                                 
    7a2c:	eb0003b6 	bl	890c <getegid>                                 
   * Check if I am owner or a group member or someone else.           
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    7a30:	e1d633bc 	ldrh	r3, [r6, #60]                                
    7a34:	e1530004 	cmp	r3, r4                                        
    flags_to_test <<= 6;                                              
    7a38:	01a01305 	lsleq	r1, r5, #6                                  
   * Check if I am owner or a group member or someone else.           
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    7a3c:	0a000003 	beq	7a50 <IMFS_evaluate_permission+0x54>          
    flags_to_test <<= 6;                                              
  else if ( st_gid == jnode->st_gid )                                 
    7a40:	e1d633be 	ldrh	r3, [r6, #62]                                
    7a44:	e1530000 	cmp	r3, r0                                        
    7a48:	11a01005 	movne	r1, r5                                      
    flags_to_test <<= 3;                                              
    7a4c:	01a01185 	lsleq	r1, r5, #3                                  
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    7a50:	e5963030 	ldr	r3, [r6, #48]                                 
    7a54:	e0013003 	and	r3, r1, r3                                    
    7a58:	e1530001 	cmp	r3, r1                                        
    7a5c:	13a00000 	movne	r0, #0	; 0x0                                
    7a60:	03a00001 	moveq	r0, #1	; 0x1                                
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
    7a64:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00007ac4 <IMFS_evaluate_sym_link>: int IMFS_evaluate_sym_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
    7ac4:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
    7ac8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  IMFS_jnode_t                     *jnode  = node->node_access;       
    7acc:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    7ad0:	e590304c 	ldr	r3, [r0, #76]                                 <== NOT EXECUTED
    7ad4:	e3530004 	cmp	r3, #4	; 0x4                                  <== NOT EXECUTED
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
    7ad8:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
    7adc:	159f00a0 	ldrne	r0, [pc, #160]	; 7b84 <IMFS_evaluate_sym_link+0xc0><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    7ae0:	1a000003 	bne	7af4 <IMFS_evaluate_sym_link+0x30>            <== NOT EXECUTED
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
    7ae4:	e5903008 	ldr	r3, [r0, #8]                                  <== NOT EXECUTED
    7ae8:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    7aec:	1a000001 	bne	7af8 <IMFS_evaluate_sym_link+0x34>            <== NOT EXECUTED
    rtems_fatal_error_occurred( 0xBAD00000 );                         
    7af0:	e59f0090 	ldr	r0, [pc, #144]	; 7b88 <IMFS_evaluate_sym_link+0xc4><== NOT EXECUTED
    7af4:	ebfff3cb 	bl	4a28 <rtems_fatal_error_occurred>              <== NOT EXECUTED
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
    7af8:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
    7afc:	e590c050 	ldr	ip, [r0, #80]                                 <== NOT EXECUTED
    7b00:	e5dc3000 	ldrb	r3, [ip]                                     <== NOT EXECUTED
    7b04:	e353005c 	cmp	r3, #92	; 0x5c                                <== NOT EXECUTED
    7b08:	1353002f 	cmpne	r3, #47	; 0x2f                              <== NOT EXECUTED
    7b0c:	13a02000 	movne	r2, #0	; 0x0                                <== NOT EXECUTED
    7b10:	03a02001 	moveq	r2, #1	; 0x1                                <== NOT EXECUTED
    7b14:	0a000002 	beq	7b24 <IMFS_evaluate_sym_link+0x60>            <== NOT EXECUTED
    7b18:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    7b1c:	11a03002 	movne	r3, r2                                      <== NOT EXECUTED
    7b20:	1a000005 	bne	7b3c <IMFS_evaluate_sym_link+0x78>            <== NOT EXECUTED
    7b24:	e59f3060 	ldr	r3, [pc, #96]	; 7b8c <IMFS_evaluate_sym_link+0xc8><== NOT EXECUTED
    7b28:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    7b2c:	e2833014 	add	r3, r3, #20	; 0x14                            <== NOT EXECUTED
    7b30:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          <== NOT EXECUTED
    7b34:	e884000f 	stm	r4, {r0, r1, r2, r3}                          <== NOT EXECUTED
    7b38:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
    7b3c:	e08c0003 	add	r0, ip, r3                                    <== NOT EXECUTED
    7b40:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    7b44:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    7b48:	eb000010 	bl	7b90 <IMFS_eval_path>                          <== NOT EXECUTED
    7b4c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    &jnode->info.sym_link.name[i],                                    
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
    7b50:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    7b54:	ebffff8e 	bl	7994 <IMFS_Set_handlers>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    7b58:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    7b5c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    7b60:	ebffffa5 	bl	79fc <IMFS_evaluate_permission>                <== NOT EXECUTED
    7b64:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    7b68:	1a000003 	bne	7b7c <IMFS_evaluate_sym_link+0xb8>            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EACCES );                   
    7b6c:	eb000e29 	bl	b418 <__errno>                                 <== NOT EXECUTED
    7b70:	e3a0300d 	mov	r3, #13	; 0xd                                 <== NOT EXECUTED
    7b74:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    7b78:	e3e05000 	mvn	r5, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
    7b7c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    7b80:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

00009d60 <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 ) {
    9d60:	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;     
    9d64:	e1a03000 	mov	r3, r0                                        
    9d68:	e5b34018 	ldr	r4, [r3, #24]!                                
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
    9d6c:	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;                                   
    9d70:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
    9d74:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    * 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;                                   
    9d78:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
    9d7c:	e3a03000 	mov	r3, #0	; 0x0                                  
    9d80:	e58e3018 	str	r3, [lr, #24]                                 
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
    9d84:	e1a0500d 	mov	r5, sp                                        
    9d88:	e1a0000d 	mov	r0, sp                                        
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
    9d8c:	e58d4000 	str	r4, [sp]                                      
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
    9d90:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
    9d94:	ebfffe29 	bl	9640 <IMFS_Set_handlers>                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
    9d98:	e594304c 	ldr	r3, [r4, #76]                                 
    9d9c:	e3530001 	cmp	r3, #1	; 0x1                                  
        result = IMFS_unlink( &loc );                                 
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
    9da0:	e2842054 	add	r2, r4, #84	; 0x54                            
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
    9da4:	1a000002 	bne	9db4 <IMFS_fsunmount+0x54>                    
        result = IMFS_unlink( &loc );                                 
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
    9da8:	e5943050 	ldr	r3, [r4, #80]                                 
    9dac:	e1530002 	cmp	r3, r2                                        
    9db0:	1a000004 	bne	9dc8 <IMFS_fsunmount+0x68>                    
        result = IMFS_unlink( &loc );                                 
    9db4:	e1a0000d 	mov	r0, sp                                        
    9db8:	ebffdfa4 	bl	1c50 <IMFS_unlink>                             
        if (result != 0)                                              
    9dbc:	e3500000 	cmp	r0, #0	; 0x0                                  
    9dc0:	1a00000c 	bne	9df8 <IMFS_fsunmount+0x98>                    
    9dc4:	e1a04006 	mov	r4, r6                                        
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
    9dc8:	e3540000 	cmp	r4, #0	; 0x0                                  
    9dcc:	0a00000b 	beq	9e00 <IMFS_fsunmount+0xa0>                    
       if ( jnode->type == IMFS_DIRECTORY ) {                         
    9dd0:	e594304c 	ldr	r3, [r4, #76]                                 
    9dd4:	e3530001 	cmp	r3, #1	; 0x1                                  
    9dd8:	1affffea 	bne	9d88 <IMFS_fsunmount+0x28>                    
         if ( jnode_has_children( jnode ) )                           
    9ddc:	e5942050 	ldr	r2, [r4, #80]                                 
    9de0:	e2843054 	add	r3, r4, #84	; 0x54                            
    9de4:	e1520003 	cmp	r2, r3                                        
    9de8:	0affffe6 	beq	9d88 <IMFS_fsunmount+0x28>                    
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
    9dec:	e2524000 	subs	r4, r2, #0	; 0x0                             
    9df0:	1affffe4 	bne	9d88 <IMFS_fsunmount+0x28>                    
    9df4:	ea000001 	b	9e00 <IMFS_fsunmount+0xa0>                      <== NOT EXECUTED
    9df8:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    9dfc:	ea000000 	b	9e04 <IMFS_fsunmount+0xa4>                      <== NOT EXECUTED
    9e00:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
   return 0;                                                          
}                                                                     
    9e04:	e28dd010 	add	sp, sp, #16	; 0x10                            
    9e08:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000814c <IMFS_get_token>: IMFS_token_types IMFS_get_token( const char *path, char *token, int *token_len ) {
    814c:	e92d4010 	push	{r4, lr}                                     
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
    8150:	e3a0c000 	mov	ip, #0	; 0x0                                  
IMFS_token_types IMFS_get_token(                                      
  const char       *path,                                             
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
    8154:	e1a04001 	mov	r4, r1                                        
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
    8158:	e5d01000 	ldrb	r1, [r0]                                     
    815c:	ea000006 	b	817c <IMFS_get_token+0x30>                      
  while ( (!IMFS_is_separator(c)) && (i <= IMFS_NAME_MAX) ) {         
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
    8160:	e35c0020 	cmp	ip, #32	; 0x20                                
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i <= IMFS_NAME_MAX) ) {         
                                                                      
     token[i] = c;                                                    
    8164:	e7c4100c 	strb	r1, [r4, ip]                                 
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
    8168:	e28cc001 	add	ip, ip, #1	; 0x1                              
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i <= IMFS_NAME_MAX) ) {         
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
    816c:	1a000001 	bne	8178 <IMFS_get_token+0x2c>                    
    8170:	e3a00004 	mov	r0, #4	; 0x4                                  <== NOT EXECUTED
    8174:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
    8178:	e7d0100c 	ldrb	r1, [r0, ip]                                 
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i <= IMFS_NAME_MAX) ) {         
    817c:	e351002f 	cmp	r1, #47	; 0x2f                                
    8180:	1351005c 	cmpne	r1, #92	; 0x5c                              
    8184:	0a000005 	beq	81a0 <IMFS_get_token+0x54>                    
    8188:	e2513000 	subs	r3, r1, #0	; 0x0                             
    818c:	13a03001 	movne	r3, #1	; 0x1                                
    8190:	e35c0020 	cmp	ip, #32	; 0x20                                
    8194:	c3a03000 	movgt	r3, #0	; 0x0                                
    8198:	e3530000 	cmp	r3, #0	; 0x0                                  
    819c:	1affffef 	bne	8160 <IMFS_get_token+0x14>                    
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    81a0:	e35c0000 	cmp	ip, #0	; 0x0                                  
    81a4:	1a000004 	bne	81bc <IMFS_get_token+0x70>                    
    token[i] = c;                                                     
                                                                      
    if ( token[i] != '\0' ) {                                         
    81a8:	e3510000 	cmp	r1, #0	; 0x0                                  
    81ac:	128cc001 	addne	ip, ip, #1	; 0x1                            
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
    81b0:	e5c41000 	strb	r1, [r4]                                     
                                                                      
    if ( token[i] != '\0' ) {                                         
    81b4:	e1a0000c 	mov	r0, ip                                        
    81b8:	ea000005 	b	81d4 <IMFS_get_token+0x88>                      
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
    81bc:	e084300c 	add	r3, r4, ip                                    
    81c0:	e5533001 	ldrb	r3, [r3, #-1]                                
    81c4:	e3530000 	cmp	r3, #0	; 0x0                                  
    token[i] = '\0';                                                  
    81c8:	13a03000 	movne	r3, #0	; 0x0                                
    81cc:	17c4300c 	strbne	r3, [r4, ip]                               
    81d0:	e3a00003 	mov	r0, #3	; 0x3                                  
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    81d4:	e3500003 	cmp	r0, #3	; 0x3                                  
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
    81d8:	e582c000 	str	ip, [r2]                                      
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    81dc:	18bd8010 	popne	{r4, pc}                                    
    if ( strcmp( token, "..") == 0 )                                  
    81e0:	e1a00004 	mov	r0, r4                                        
    81e4:	e59f1028 	ldr	r1, [pc, #40]	; 8214 <IMFS_get_token+0xc8>    
    81e8:	eb001158 	bl	c750 <strcmp>                                  
    81ec:	e3500000 	cmp	r0, #0	; 0x0                                  
    81f0:	02800002 	addeq	r0, r0, #2	; 0x2                            
    81f4:	08bd8010 	popeq	{r4, pc}                                    
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
    81f8:	e1a00004 	mov	r0, r4                                        
    81fc:	e59f1014 	ldr	r1, [pc, #20]	; 8218 <IMFS_get_token+0xcc>    
    8200:	eb001152 	bl	c750 <strcmp>                                  
    8204:	e3500000 	cmp	r0, #0	; 0x0                                  
    8208:	13a00003 	movne	r0, #3	; 0x3                                
    820c:	03a00001 	moveq	r0, #1	; 0x1                                
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
    8210:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

0000821c <IMFS_initialize_support>: rtems_filesystem_mount_table_entry_t *temp_mt_entry, const rtems_filesystem_operations_table *op_table, const rtems_filesystem_file_handlers_r *memfile_handlers, const rtems_filesystem_file_handlers_r *directory_handlers ) {
    821c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
    8220:	e59fc0e4 	ldr	ip, [pc, #228]	; 830c <IMFS_initialize_support+0xf0>
    8224:	e59cc000 	ldr	ip, [ip]                                      
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
    8228:	e1a07003 	mov	r7, r3                                        
    822c:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    8230:	e1a05000 	mov	r5, r0                                        
    8234:	e1a08001 	mov	r8, r1                                        
    8238:	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,       
    823c:	e3a0e010 	mov	lr, #16	; 0x10                                
    8240:	e3a03000 	mov	r3, #0	; 0x0                                  
  int bit_mask;                                                       
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16;                                                 
       !is_valid && (bit_mask <= 512);                                
    8244:	e15e000c 	cmp	lr, ip                                        
       bit_mask <<= 1) {                                              
    8248:	e2833001 	add	r3, r3, #1	; 0x1                              
  int bit_mask;                                                       
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16;                                                 
       !is_valid && (bit_mask <= 512);                                
    824c:	0a000003 	beq	8260 <IMFS_initialize_support+0x44>           
    8250:	e3530006 	cmp	r3, #6	; 0x6                                  
       bit_mask <<= 1) {                                              
    8254:	e1a0e08e 	lsl	lr, lr, #1                                    
  int bit_mask;                                                       
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16;                                                 
       !is_valid && (bit_mask <= 512);                                
    8258:	1afffff9 	bne	8244 <IMFS_initialize_support+0x28>           
    825c:	e3a0e080 	mov	lr, #128	; 0x80                               <== NOT EXECUTED
       bit_mask <<= 1) {                                              
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
    8260:	e59fc0a8 	ldr	ip, [pc, #168]	; 8310 <IMFS_initialize_support+0xf4>
   *  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_node(           
    8264:	e3a06000 	mov	r6, #0	; 0x0                                  
       bit_mask <<= 1) {                                              
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
    8268:	e58ce000 	str	lr, [ip]                                      
   *  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_node(           
    826c:	e3a01001 	mov	r1, #1	; 0x1                                  
    8270:	e59f209c 	ldr	r2, [pc, #156]	; 8314 <IMFS_initialize_support+0xf8>
    8274:	e59f309c 	ldr	r3, [pc, #156]	; 8318 <IMFS_initialize_support+0xfc>
    8278:	e1a00006 	mov	r0, r6                                        
    827c:	e58d6000 	str	r6, [sp]                                      
    8280:	eb00098c 	bl	a8b8 <IMFS_create_node>                        
    NULL                                                              
  );                                                                  
                                                                      
  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;
    8284:	e59f3090 	ldr	r3, [pc, #144]	; 831c <IMFS_initialize_support+0x100>
    8288:	e1a04003 	mov	r4, 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_node(           
    828c:	e5850018 	str	r0, [r5, #24]                                 
    NULL                                                              
  );                                                                  
                                                                      
  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;
    8290:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
    8294:	e285c030 	add	ip, r5, #48	; 0x30                            
    8298:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    829c:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
    82a0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    82a4:	e894000f 	ldm	r4, {r0, r1, r2, r3}                          
    ( S_IFDIR | 0755 ),                                               
    NULL                                                              
  );                                                                  
                                                                      
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
    82a8:	e5858020 	str	r8, [r5, #32]                                 
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
    82ac:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
    "",                                                               
    ( S_IFDIR | 0755 ),                                               
    NULL                                                              
  );                                                                  
                                                                      
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
    82b0:	e585701c 	str	r7, [r5, #28]                                 
  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 ) );                    
    82b4:	e3a00001 	mov	r0, #1	; 0x1                                  
    82b8:	e3a0100c 	mov	r1, #12	; 0xc                                 
    82bc:	eb0000f7 	bl	86a0 <calloc>                                  
  if ( !fs_info ){                                                    
    82c0:	e3500000 	cmp	r0, #0	; 0x0                                  
    82c4:	1a000006 	bne	82e4 <IMFS_initialize_support+0xc8>           
    free(temp_mt_entry->mt_fs_root.node_access);                      
    82c8:	e5950018 	ldr	r0, [r5, #24]                                 <== NOT EXECUTED
    82cc:	eb000130 	bl	8794 <free>                                    <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
    82d0:	eb000c50 	bl	b418 <__errno>                                 <== NOT EXECUTED
    82d4:	e3a0300c 	mov	r3, #12	; 0xc                                 <== NOT EXECUTED
    82d8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    82dc:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    82e0:	ea000007 	b	8304 <IMFS_initialize_support+0xe8>             <== NOT EXECUTED
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
    82e4:	e5952018 	ldr	r2, [r5, #24]                                 
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
    82e8:	e3a03001 	mov	r3, #1	; 0x1                                  
    82ec:	e5803000 	str	r3, [r0]                                      
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
    82f0:	e5823038 	str	r3, [r2, #56]                                 
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
    82f4:	e5807008 	str	r7, [r0, #8]                                  
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
    82f8:	e580a004 	str	sl, [r0, #4]                                  
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ){                                                    
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
    82fc:	e585002c 	str	r0, [r5, #44]                                 
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
    8300:	e1a00006 	mov	r0, r6                                        
                                                                      
  return 0;                                                           
}                                                                     
    8304:	e28dd004 	add	sp, sp, #4	; 0x4                              
    8308:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

000019f0 <IMFS_link>: int IMFS_link( rtems_filesystem_location_info_t *to_loc, /* IN */ rtems_filesystem_location_info_t *parent_loc, /* IN */ const char *token /* IN */ ) {
    19f0:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
                                                                      
  info.hard_link.link_node = to_loc->node_access;                     
    19f4:	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 */            
)                                                                     
{                                                                     
    19f8:	e24dd044 	sub	sp, sp, #68	; 0x44                            
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
                                                                      
  info.hard_link.link_node = to_loc->node_access;                     
    19fc:	e58d3028 	str	r3, [sp, #40]                                 
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
    1a00:	e1d333b4 	ldrh	r3, [r3, #52]                                
    1a04:	e3530007 	cmp	r3, #7	; 0x7                                  
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
    1a08:	e1a05001 	mov	r5, r1                                        
    1a0c:	e1a00002 	mov	r0, 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 )               
    1a10:	9a000002 	bls	1a20 <IMFS_link+0x30>                         
    rtems_set_errno_and_return_minus_one( EMLINK );                   
    1a14:	eb002f56 	bl	d774 <__errno>                                 
    1a18:	e3a0301f 	mov	r3, #31	; 0x1f                                
    1a1c:	ea00000e 	b	1a5c <IMFS_link+0x6c>                           
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
                                                                      
  IMFS_get_token( token, new_name, &i );                              
    1a20:	e28d4007 	add	r4, sp, #7	; 0x7                              
    1a24:	e1a01004 	mov	r1, r4                                        
    1a28:	e28d2040 	add	r2, sp, #64	; 0x40                            
    1a2c:	eb00211e 	bl	9eac <IMFS_get_token>                          
                                                                      
  /*                                                                  
   *  Create a new link node.                                         
   */                                                                 
                                                                      
  new_node = IMFS_create_node(                                        
    1a30:	e28dc028 	add	ip, sp, #40	; 0x28                            
    1a34:	e1a00005 	mov	r0, r5                                        
    1a38:	e1a02004 	mov	r2, r4                                        
    1a3c:	e3a01003 	mov	r1, #3	; 0x3                                  
    1a40:	e59f3054 	ldr	r3, [pc, #84]	; 1a9c <IMFS_link+0xac>         
    1a44:	e58dc000 	str	ip, [sp]                                      
    1a48:	eb001e9e 	bl	94c8 <IMFS_create_node>                        
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    1a4c:	e3500000 	cmp	r0, #0	; 0x0                                  
    1a50:	1a000004 	bne	1a68 <IMFS_link+0x78>                         
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
    1a54:	eb002f46 	bl	d774 <__errno>                                 <== NOT EXECUTED
    1a58:	e3a0300c 	mov	r3, #12	; 0xc                                 <== NOT EXECUTED
    1a5c:	e5803000 	str	r3, [r0]                                      
    1a60:	e3e00000 	mvn	r0, #0	; 0x0                                  
    1a64:	ea00000a 	b	1a94 <IMFS_link+0xa4>                           
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
                                                                      
  info.hard_link.link_node->st_nlink++;                               
    1a68:	e59d2028 	ldr	r2, [sp, #40]                                 
    1a6c:	e1d233b4 	ldrh	r3, [r2, #52]                                
    1a70:	e2833001 	add	r3, r3, #1	; 0x1                              
    1a74:	e1c233b4 	strh	r3, [r2, #52]                                
  IMFS_update_ctime( info.hard_link.link_node );                      
    1a78:	e28d0038 	add	r0, sp, #56	; 0x38                            
    1a7c:	e3a01000 	mov	r1, #0	; 0x0                                  
    1a80:	eb000320 	bl	2708 <gettimeofday>                            
    1a84:	e59d2038 	ldr	r2, [sp, #56]                                 
    1a88:	e59d3028 	ldr	r3, [sp, #40]                                 
    1a8c:	e5832048 	str	r2, [r3, #72]                                 
    1a90:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  return 0;                                                           
}                                                                     
    1a94:	e28dd044 	add	sp, sp, #68	; 0x44                            
    1a98:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000c248 <IMFS_memfile_addblock>: ) { block_p memory; block_p *block_entry_ptr; assert( the_jnode );
    c248:	e2503000 	subs	r3, r0, #0	; 0x0                             
                                                                      
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
    c24c:	e92d4030 	push	{r4, r5, lr}                                 
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
    c250:	059f0060 	ldreq	r0, [pc, #96]	; c2b8 <IMFS_memfile_addblock+0x70>
    c254:	059f1060 	ldreq	r1, [pc, #96]	; c2bc <IMFS_memfile_addblock+0x74>
    c258:	059f2060 	ldreq	r2, [pc, #96]	; c2c0 <IMFS_memfile_addblock+0x78>
    c25c:	059f3060 	ldreq	r3, [pc, #96]	; c2c4 <IMFS_memfile_addblock+0x7c>
    c260:	0a000006 	beq	c280 <IMFS_memfile_addblock+0x38>             
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
    c264:	e593304c 	ldr	r3, [r3, #76]                                 
    c268:	e3530005 	cmp	r3, #5	; 0x5                                  
    c26c:	0a000004 	beq	c284 <IMFS_memfile_addblock+0x3c>             
    c270:	e59f0040 	ldr	r0, [pc, #64]	; c2b8 <IMFS_memfile_addblock+0x70><== NOT EXECUTED
    c274:	e59f104c 	ldr	r1, [pc, #76]	; c2c8 <IMFS_memfile_addblock+0x80><== NOT EXECUTED
    c278:	e59f2040 	ldr	r2, [pc, #64]	; c2c0 <IMFS_memfile_addblock+0x78><== NOT EXECUTED
    c27c:	e59f3048 	ldr	r3, [pc, #72]	; c2cc <IMFS_memfile_addblock+0x84><== NOT EXECUTED
    c280:	ebfff79a 	bl	a0f0 <__assert_func>                           <== NOT EXECUTED
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
    c284:	e3a02001 	mov	r2, #1	; 0x1                                  
    c288:	ebfffea9 	bl	bd34 <IMFS_memfile_get_block_pointer>          
  if ( *block_entry_ptr )                                             
    c28c:	e5905000 	ldr	r5, [r0]                                      
    c290:	e3550000 	cmp	r5, #0	; 0x0                                  
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
    c294:	e1a04000 	mov	r4, r0                                        
  if ( *block_entry_ptr )                                             
    c298:	13a00000 	movne	r0, #0	; 0x0                                
    c29c:	18bd8030 	popne	{r4, r5, pc}                                
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
    c2a0:	ebfffe96 	bl	bd00 <memfile_alloc_block>                     
  if ( !memory )                                                      
    c2a4:	e3500000 	cmp	r0, #0	; 0x0                                  
    return 1;                                                         
  *block_entry_ptr = memory;                                          
    c2a8:	15840000 	strne	r0, [r4]                                    
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
    c2ac:	03a00001 	moveq	r0, #1	; 0x1                                
    return 1;                                                         
  *block_entry_ptr = memory;                                          
    c2b0:	11a00005 	movne	r0, r5                                      
                                                                      
  return 0;                                                           
}                                                                     
    c2b4:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000c2d0 <IMFS_memfile_extend>: MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
    c2d0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    c2d4:	e2507000 	subs	r7, r0, #0	; 0x0                             
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
    c2d8:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    c2dc:	059f00f8 	ldreq	r0, [pc, #248]	; c3dc <IMFS_memfile_extend+0x10c>
    c2e0:	059f10f8 	ldreq	r1, [pc, #248]	; c3e0 <IMFS_memfile_extend+0x110>
    c2e4:	059f20f8 	ldreq	r2, [pc, #248]	; c3e4 <IMFS_memfile_extend+0x114>
    c2e8:	059f30f8 	ldreq	r3, [pc, #248]	; c3e8 <IMFS_memfile_extend+0x118>
    c2ec:	0a000006 	beq	c30c <IMFS_memfile_extend+0x3c>               
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
    c2f0:	e597304c 	ldr	r3, [r7, #76]                                 
    c2f4:	e3530005 	cmp	r3, #5	; 0x5                                  
    c2f8:	0a000004 	beq	c310 <IMFS_memfile_extend+0x40>               
    c2fc:	e59f00d8 	ldr	r0, [pc, #216]	; c3dc <IMFS_memfile_extend+0x10c><== NOT EXECUTED
    c300:	e59f10e4 	ldr	r1, [pc, #228]	; c3ec <IMFS_memfile_extend+0x11c><== NOT EXECUTED
    c304:	e59f20d8 	ldr	r2, [pc, #216]	; c3e4 <IMFS_memfile_extend+0x114><== NOT EXECUTED
    c308:	e59f30e0 	ldr	r3, [pc, #224]	; c3f0 <IMFS_memfile_extend+0x120><== NOT EXECUTED
    c30c:	ebfff777 	bl	a0f0 <__assert_func>                           <== NOT EXECUTED
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
    c310:	e59f30dc 	ldr	r3, [pc, #220]	; c3f4 <IMFS_memfile_extend+0x124>
    c314:	e5934000 	ldr	r4, [r3]                                      
    c318:	e1a02124 	lsr	r2, r4, #2                                    
    c31c:	e2823001 	add	r3, r2, #1	; 0x1                              
    c320:	e0030392 	mul	r3, r2, r3                                    
    c324:	e2833001 	add	r3, r3, #1	; 0x1                              
    c328:	e0030392 	mul	r3, r2, r3                                    
    c32c:	e2433001 	sub	r3, r3, #1	; 0x1                              
    c330:	e0030394 	mul	r3, r4, r3                                    
    c334:	e1510003 	cmp	r1, r3                                        
    c338:	3a000002 	bcc	c348 <IMFS_memfile_extend+0x78>               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    c33c:	eb00050c 	bl	d774 <__errno>                                 <== NOT EXECUTED
    c340:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    c344:	ea00001b 	b	c3b8 <IMFS_memfile_extend+0xe8>                 <== NOT EXECUTED
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
    c348:	e5975050 	ldr	r5, [r7, #80]                                 
    c34c:	e1510005 	cmp	r1, r5                                        
    c350:	d3a00000 	movle	r0, #0	; 0x0                                
    c354:	d8bd81f0 	pople	{r4, r5, r6, r7, r8, pc}                    
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
    c358:	e1a00001 	mov	r0, r1                                        
    c35c:	e1a01004 	mov	r1, r4                                        
    c360:	eb00154d 	bl	1189c <__aeabi_idiv>                           
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
    c364:	e1a01004 	mov	r1, r4                                        
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
    c368:	e1a08000 	mov	r8, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
    c36c:	e1a00005 	mov	r0, r5                                        
    c370:	eb001549 	bl	1189c <__aeabi_idiv>                           
    c374:	e1a05000 	mov	r5, r0                                        
    c378:	e1a04000 	mov	r4, r0                                        
    c37c:	ea000011 	b	c3c8 <IMFS_memfile_extend+0xf8>                 
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
    c380:	e1a00007 	mov	r0, r7                                        
    c384:	e1a01004 	mov	r1, r4                                        
    c388:	ebffffae 	bl	c248 <IMFS_memfile_addblock>                   
    c38c:	e3500000 	cmp	r0, #0	; 0x0                                  
    c390:	0a00000b 	beq	c3c4 <IMFS_memfile_extend+0xf4>               
    c394:	ea000003 	b	c3a8 <IMFS_memfile_extend+0xd8>                 <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
    c398:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    c39c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    c3a0:	ebfffef4 	bl	bf78 <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-- ) {                        
    c3a4:	e2444001 	sub	r4, r4, #1	; 0x1                              <== NOT EXECUTED
    c3a8:	e1540005 	cmp	r4, r5                                        <== NOT EXECUTED
    c3ac:	2afffff9 	bcs	c398 <IMFS_memfile_extend+0xc8>               <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
    c3b0:	eb0004ef 	bl	d774 <__errno>                                 <== NOT EXECUTED
    c3b4:	e3a0301c 	mov	r3, #28	; 0x1c                                <== NOT EXECUTED
    c3b8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    c3bc:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    c3c0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    c3c4:	e2844001 	add	r4, r4, #1	; 0x1                              
    c3c8:	e1540008 	cmp	r4, r8                                        
    c3cc:	9affffeb 	bls	c380 <IMFS_memfile_extend+0xb0>               
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
    c3d0:	e5876050 	str	r6, [r7, #80]                                 
    c3d4:	e3a00000 	mov	r0, #0	; 0x0                                  
  return 0;                                                           
}                                                                     
    c3d8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

0000bd34 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
    bd34:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    bd38:	e2507000 	subs	r7, r0, #0	; 0x0                             
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
    bd3c:	e1a04001 	mov	r4, r1                                        
    bd40:	e1a08002 	mov	r8, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    bd44:	059f0210 	ldreq	r0, [pc, #528]	; bf5c <IMFS_memfile_get_block_pointer+0x228>
    bd48:	059f1210 	ldreq	r1, [pc, #528]	; bf60 <IMFS_memfile_get_block_pointer+0x22c>
    bd4c:	059f2210 	ldreq	r2, [pc, #528]	; bf64 <IMFS_memfile_get_block_pointer+0x230>
    bd50:	059f3210 	ldreq	r3, [pc, #528]	; bf68 <IMFS_memfile_get_block_pointer+0x234>
    bd54:	0a000006 	beq	bd74 <IMFS_memfile_get_block_pointer+0x40>    
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
    bd58:	e597304c 	ldr	r3, [r7, #76]                                 
    bd5c:	e3530005 	cmp	r3, #5	; 0x5                                  
    bd60:	0a000004 	beq	bd78 <IMFS_memfile_get_block_pointer+0x44>    
    bd64:	e59f01f0 	ldr	r0, [pc, #496]	; bf5c <IMFS_memfile_get_block_pointer+0x228><== NOT EXECUTED
    bd68:	e59f11fc 	ldr	r1, [pc, #508]	; bf6c <IMFS_memfile_get_block_pointer+0x238><== NOT EXECUTED
    bd6c:	e59f21f0 	ldr	r2, [pc, #496]	; bf64 <IMFS_memfile_get_block_pointer+0x230><== NOT EXECUTED
    bd70:	e59f31f8 	ldr	r3, [pc, #504]	; bf70 <IMFS_memfile_get_block_pointer+0x23c><== NOT EXECUTED
    bd74:	ebfff8dd 	bl	a0f0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
    bd78:	e59f31f4 	ldr	r3, [pc, #500]	; bf74 <IMFS_memfile_get_block_pointer+0x240>
    bd7c:	e5933000 	ldr	r3, [r3]                                      
    bd80:	e1a05123 	lsr	r5, r3, #2                                    
    bd84:	e2453001 	sub	r3, r5, #1	; 0x1                              
    bd88:	e1510003 	cmp	r1, r3                                        
    bd8c:	8a00000f 	bhi	bdd0 <IMFS_memfile_get_block_pointer+0x9c>    
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
    bd90:	e3520000 	cmp	r2, #0	; 0x0                                  
  if ( my_block <= LAST_INDIRECT ) {                                  
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
    bd94:	e5970054 	ldr	r0, [r7, #84]                                 
                                                                      
    if ( malloc_it ) {                                                
    bd98:	0a000008 	beq	bdc0 <IMFS_memfile_get_block_pointer+0x8c>    
                                                                      
      if ( !p ) {                                                     
    bd9c:	e3500000 	cmp	r0, #0	; 0x0                                  
    bda0:	1a000003 	bne	bdb4 <IMFS_memfile_get_block_pointer+0x80>    
        p = memfile_alloc_block();                                    
    bda4:	ebffffd5 	bl	bd00 <memfile_alloc_block>                     
        if ( !p )                                                     
    bda8:	e3500000 	cmp	r0, #0	; 0x0                                  
    bdac:	0a000068 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   
           return 0;                                                  
        info->indirect = p;                                           
    bdb0:	e5870054 	str	r0, [r7, #84]                                 
      }                                                               
      return &info->indirect[ my_block ];                             
    bdb4:	e5973054 	ldr	r3, [r7, #84]                                 
    bdb8:	e0830104 	add	r0, r3, r4, lsl #2                            
    bdbc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    }                                                                 
                                                                      
    if ( !p )                                                         
    bdc0:	e3500000 	cmp	r0, #0	; 0x0                                  
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
    bdc4:	10800101 	addne	r0, r0, r1, lsl #2                          
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
    bdc8:	18bd85f0 	popne	{r4, r5, r6, r7, r8, sl, pc}                
    bdcc:	ea000060 	b	bf54 <IMFS_memfile_get_block_pointer+0x220>     <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    bdd0:	e2853001 	add	r3, r5, #1	; 0x1                              <== NOT EXECUTED
    bdd4:	e0000395 	mul	r0, r5, r3                                    <== NOT EXECUTED
    bdd8:	e2403001 	sub	r3, r0, #1	; 0x1                              <== NOT EXECUTED
    bddc:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
    bde0:	8a000022 	bhi	be70 <IMFS_memfile_get_block_pointer+0x13c>   <== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
    bde4:	e0654001 	rsb	r4, r5, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    bde8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    bdec:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    bdf0:	eb0016f9 	bl	119dc <__umodsi3>                              <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    bdf4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    bdf8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    bdfc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    be00:	eb001661 	bl	1178c <__aeabi_uidiv>                          <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
    be04:	e3580000 	cmp	r8, #0	; 0x0                                  <== NOT EXECUTED
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    be08:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    be0c:	e5970058 	ldr	r0, [r7, #88]                                 <== NOT EXECUTED
    if ( malloc_it ) {                                                
    be10:	0a00000f 	beq	be54 <IMFS_memfile_get_block_pointer+0x120>   <== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
    be14:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    be18:	1a000003 	bne	be2c <IMFS_memfile_get_block_pointer+0xf8>    <== NOT EXECUTED
        p = memfile_alloc_block();                                    
    be1c:	ebffffb7 	bl	bd00 <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p )                                                     
    be20:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    be24:	0a00004a 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
    be28:	e5870058 	str	r0, [r7, #88]                                 <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
    be2c:	e7901104 	ldr	r1, [r0, r4, lsl #2]                          <== NOT EXECUTED
      if ( !p1 ) {                                                    
    be30:	e3510000 	cmp	r1, #0	; 0x0                                  <== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
    be34:	e0804104 	add	r4, r0, r4, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
    be38:	1a000003 	bne	be4c <IMFS_memfile_get_block_pointer+0x118>   <== NOT EXECUTED
        p1 = memfile_alloc_block();                                   
    be3c:	ebffffaf 	bl	bd00 <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p1 )                                                    
    be40:	e2501000 	subs	r1, r0, #0	; 0x0                             <== NOT EXECUTED
    be44:	0a000042 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
    be48:	e5841000 	str	r1, [r4]                                      <== NOT EXECUTED
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    be4c:	e0810106 	add	r0, r1, r6, lsl #2                            <== NOT EXECUTED
    be50:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    }                                                                 
                                                                      
    if ( !p )                                                         
    be54:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    be58:	0a00003d 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
    be5c:	e7900104 	ldr	r0, [r0, r4, lsl #2]                          <== NOT EXECUTED
    if ( !p )                                                         
    be60:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d %d %d %d %p %p) ", block, my_block, doubly,    
                                       singly, p, &p[singly] );       
fflush(stdout);                                                       
#endif                                                                
    return (block_p *)&p[ singly ];                                   
    be64:	10800106 	addne	r0, r0, r6, lsl #2                          <== NOT EXECUTED
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
    if ( !p )                                                         
    be68:	18bd85f0 	popne	{r4, r5, r6, r7, r8, sl, pc}                <== NOT EXECUTED
    be6c:	ea000038 	b	bf54 <IMFS_memfile_get_block_pointer+0x220>     <== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    be70:	e2803001 	add	r3, r0, #1	; 0x1                              <== NOT EXECUTED
    be74:	e0030395 	mul	r3, r5, r3                                    <== NOT EXECUTED
    be78:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    be7c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
    be80:	8a000033 	bhi	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
    be84:	e0604001 	rsb	r4, r0, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    be88:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    be8c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    be90:	eb0016d1 	bl	119dc <__umodsi3>                              <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    be94:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    be98:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    be9c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    bea0:	eb001639 	bl	1178c <__aeabi_uidiv>                          <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    bea4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    bea8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    beac:	eb001636 	bl	1178c <__aeabi_uidiv>                          <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
    beb0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    beb4:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
    beb8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    bebc:	eb0016c6 	bl	119dc <__umodsi3>                              <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
    bec0:	e3580000 	cmp	r8, #0	; 0x0                                  <== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
    bec4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
    bec8:	e597005c 	ldr	r0, [r7, #92]                                 <== NOT EXECUTED
                                                                      
    if ( malloc_it ) {                                                
    becc:	0a000016 	beq	bf2c <IMFS_memfile_get_block_pointer+0x1f8>   <== NOT EXECUTED
      if ( !p ) {                                                     
    bed0:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    bed4:	1a000003 	bne	bee8 <IMFS_memfile_get_block_pointer+0x1b4>   <== NOT EXECUTED
        p = memfile_alloc_block();                                    
    bed8:	ebffff88 	bl	bd00 <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p )                                                     
    bedc:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    bee0:	0a00001b 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
    bee4:	e587005c 	str	r0, [r7, #92]                                 <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
    bee8:	e7903106 	ldr	r3, [r0, r6, lsl #2]                          <== NOT EXECUTED
      if ( !p1 ) {                                                    
    beec:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
    bef0:	e0804106 	add	r4, r0, r6, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
    bef4:	1a000003 	bne	bf08 <IMFS_memfile_get_block_pointer+0x1d4>   <== NOT EXECUTED
        p1 = memfile_alloc_block();                                   
    bef8:	ebffff80 	bl	bd00 <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p1 )                                                    
    befc:	e2503000 	subs	r3, r0, #0	; 0x0                             <== NOT EXECUTED
    bf00:	0a000013 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
    bf04:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
    bf08:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          <== NOT EXECUTED
      if ( !p2 ) {                                                    
    bf0c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
    bf10:	e0834105 	add	r4, r3, r5, lsl #2                            <== NOT EXECUTED
      if ( !p2 ) {                                                    
    bf14:	1a00000c 	bne	bf4c <IMFS_memfile_get_block_pointer+0x218>   <== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
    bf18:	ebffff78 	bl	bd00 <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p2 )                                                    
    bf1c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
    bf20:	15840000 	strne	r0, [r4]                                    <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
    bf24:	1a000008 	bne	bf4c <IMFS_memfile_get_block_pointer+0x218>   <== NOT EXECUTED
    bf28:	ea000009 	b	bf54 <IMFS_memfile_get_block_pointer+0x220>     <== NOT EXECUTED
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
    bf2c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    bf30:	0a000007 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
                                                                      
#if 0                                                                 
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
    bf34:	e7900106 	ldr	r0, [r0, r6, lsl #2]                          <== NOT EXECUTED
    if ( !p1 )                                                        
    bf38:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    bf3c:	0a000004 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    bf40:	e7900105 	ldr	r0, [r0, r5, lsl #2]                          <== NOT EXECUTED
    if ( !p2 )                                                        
    bf44:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    bf48:	0a000001 	beq	bf54 <IMFS_memfile_get_block_pointer+0x220>   <== NOT EXECUTED
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
    bf4c:	e080010a 	add	r0, r0, sl, lsl #2                            <== NOT EXECUTED
    bf50:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    bf54:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
    bf58:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

0000c77c <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
    c77c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    c780:	e250a000 	subs	sl, r0, #0	; 0x0                             
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
    c784:	e24dd008 	sub	sp, sp, #8	; 0x8                              
    c788:	e1a06001 	mov	r6, r1                                        
    c78c:	e1a08002 	mov	r8, r2                                        
    c790:	e1a00003 	mov	r0, r3                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    c794:	059f0204 	ldreq	r0, [pc, #516]	; c9a0 <IMFS_memfile_read+0x224>
    c798:	059f1204 	ldreq	r1, [pc, #516]	; c9a4 <IMFS_memfile_read+0x228>
    c79c:	059f2204 	ldreq	r2, [pc, #516]	; c9a8 <IMFS_memfile_read+0x22c>
    c7a0:	059f3204 	ldreq	r3, [pc, #516]	; c9ac <IMFS_memfile_read+0x230>
    c7a4:	0a000007 	beq	c7c8 <IMFS_memfile_read+0x4c>                 
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
    c7a8:	e59a204c 	ldr	r2, [sl, #76]                                 
    c7ac:	e2423005 	sub	r3, r2, #5	; 0x5                              
    c7b0:	e3530001 	cmp	r3, #1	; 0x1                                  
    c7b4:	9a000004 	bls	c7cc <IMFS_memfile_read+0x50>                 
    c7b8:	e59f01e0 	ldr	r0, [pc, #480]	; c9a0 <IMFS_memfile_read+0x224><== NOT EXECUTED
    c7bc:	e59f11ec 	ldr	r1, [pc, #492]	; c9b0 <IMFS_memfile_read+0x234><== NOT EXECUTED
    c7c0:	e59f21e0 	ldr	r2, [pc, #480]	; c9a8 <IMFS_memfile_read+0x22c><== NOT EXECUTED
    c7c4:	e59f31e8 	ldr	r3, [pc, #488]	; c9b4 <IMFS_memfile_read+0x238><== NOT EXECUTED
    c7c8:	ebfff648 	bl	a0f0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
    c7cc:	e3580000 	cmp	r8, #0	; 0x0                                  
    c7d0:	059f01c8 	ldreq	r0, [pc, #456]	; c9a0 <IMFS_memfile_read+0x224>
    c7d4:	03a01f96 	moveq	r1, #600	; 0x258                            
    c7d8:	059f21c8 	ldreq	r2, [pc, #456]	; c9a8 <IMFS_memfile_read+0x22c>
    c7dc:	059f31d4 	ldreq	r3, [pc, #468]	; c9b8 <IMFS_memfile_read+0x23c>
    c7e0:	0afffff8 	beq	c7c8 <IMFS_memfile_read+0x4c>                 
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    c7e4:	e3500000 	cmp	r0, #0	; 0x0                                  
    c7e8:	1a000004 	bne	c800 <IMFS_memfile_read+0x84>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    c7ec:	eb0003e0 	bl	d774 <__errno>                                 <== NOT EXECUTED
    c7f0:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    c7f4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    c7f8:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    c7fc:	ea000065 	b	c998 <IMFS_memfile_read+0x21c>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    c800:	e3520006 	cmp	r2, #6	; 0x6                                  
    c804:	1a00000f 	bne	c848 <IMFS_memfile_read+0xcc>                 
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
    c808:	e59a4050 	ldr	r4, [sl, #80]                                 <== NOT EXECUTED
    c80c:	e0614004 	rsb	r4, r1, r4                                    <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
    c810:	e59a1054 	ldr	r1, [sl, #84]                                 <== NOT EXECUTED
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
    c814:	e1540000 	cmp	r4, r0                                        <== NOT EXECUTED
    c818:	21a04000 	movcs	r4, r0                                      <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
    c81c:	e0811006 	add	r1, r1, r6                                    <== NOT EXECUTED
    c820:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    c824:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
    c828:	eb0007c1 	bl	e734 <memcpy>                                  <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
    c82c:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    c830:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    c834:	ebffd7b3 	bl	2708 <gettimeofday>                            <== NOT EXECUTED
    c838:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
                                                                      
    return my_length;                                                 
    c83c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
                                                                      
    IMFS_update_atime( the_jnode );                                   
    c840:	e58a3040 	str	r3, [sl, #64]                                 <== NOT EXECUTED
    c844:	ea000053 	b	c998 <IMFS_memfile_read+0x21c>                  <== NOT EXECUTED
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    c848:	e59a2050 	ldr	r2, [sl, #80]                                 
    c84c:	e0803001 	add	r3, r0, r1                                    
    c850:	e1530002 	cmp	r3, r2                                        
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
    c854:	e59f3160 	ldr	r3, [pc, #352]	; c9bc <IMFS_memfile_read+0x240>
    c858:	e5934000 	ldr	r4, [r3]                                      
   *  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 )                        
    c85c:	91a07000 	movls	r7, r0                                      
    my_length = the_jnode->info.file.size - start;                    
    c860:	80617002 	rsbhi	r7, r1, r2                                  
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
    c864:	e1a00001 	mov	r0, r1                                        
    c868:	e1a01004 	mov	r1, r4                                        
    c86c:	eb00148d 	bl	11aa8 <__modsi3>                               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
    c870:	e1a01004 	mov	r1, r4                                        
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
    c874:	e1a05000 	mov	r5, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
    c878:	e1a00006 	mov	r0, r6                                        
    c87c:	eb001406 	bl	1189c <__aeabi_idiv>                           
  if ( start_offset )  {                                              
    c880:	e3550000 	cmp	r5, #0	; 0x0                                  
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
    c884:	e1a06000 	mov	r6, r0                                        
  if ( start_offset )  {                                              
    c888:	0a000013 	beq	c8dc <IMFS_memfile_read+0x160>                
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    c88c:	e1a01006 	mov	r1, r6                                        
    c890:	e1a0000a 	mov	r0, sl                                        
    c894:	e3a02000 	mov	r2, #0	; 0x0                                  
    c898:	ebfffd25 	bl	bd34 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
    c89c:	e3500000 	cmp	r0, #0	; 0x0                                  
    c8a0:	059f00f8 	ldreq	r0, [pc, #248]	; c9a0 <IMFS_memfile_read+0x224>
    c8a4:	03a01fa5 	moveq	r1, #660	; 0x294                            
    c8a8:	0a00002c 	beq	c960 <IMFS_memfile_read+0x1e4>                
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    c8ac:	e5901000 	ldr	r1, [r0]                                      
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    c8b0:	e0654004 	rsb	r4, r5, r4                                    
    c8b4:	e1570004 	cmp	r7, r4                                        
    c8b8:	31a04007 	movcc	r4, r7                                      
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    c8bc:	e0811005 	add	r1, r1, r5                                    
    c8c0:	e1a00008 	mov	r0, r8                                        
    c8c4:	e1a02004 	mov	r2, r4                                        
    c8c8:	eb000799 	bl	e734 <memcpy>                                  
    dest += to_copy;                                                  
    c8cc:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
    c8d0:	e2866001 	add	r6, r6, #1	; 0x1                              
    my_length -= to_copy;                                             
    c8d4:	e0647007 	rsb	r7, r4, r7                                    
    c8d8:	e1a05004 	mov	r5, r4                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
    c8dc:	e59f30d8 	ldr	r3, [pc, #216]	; c9bc <IMFS_memfile_read+0x240>
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    c8e0:	e1a09003 	mov	r9, r3                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
    c8e4:	e5934000 	ldr	r4, [r3]                                      
    c8e8:	ea00000f 	b	c92c <IMFS_memfile_read+0x1b0>                  
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    c8ec:	e1a0000a 	mov	r0, sl                                        
    c8f0:	e1a01006 	mov	r1, r6                                        
    c8f4:	e3a02000 	mov	r2, #0	; 0x0                                  
    c8f8:	ebfffd0d 	bl	bd34 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
    c8fc:	e3500000 	cmp	r0, #0	; 0x0                                  
    c900:	059f0098 	ldreq	r0, [pc, #152]	; c9a0 <IMFS_memfile_read+0x224>
    c904:	059f10b4 	ldreq	r1, [pc, #180]	; c9c0 <IMFS_memfile_read+0x244>
    c908:	0a000014 	beq	c960 <IMFS_memfile_read+0x1e4>                
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    c90c:	e5901000 	ldr	r1, [r0]                                      
    c910:	e1a02004 	mov	r2, r4                                        
    c914:	e1a00008 	mov	r0, r8                                        
    c918:	eb000785 	bl	e734 <memcpy>                                  
    dest += to_copy;                                                  
    c91c:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
    c920:	e2866001 	add	r6, r6, #1	; 0x1                              
    my_length -= to_copy;                                             
    c924:	e0647007 	rsb	r7, r4, r7                                    
    copied += to_copy;                                                
    c928:	e0855004 	add	r5, r5, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    c92c:	e5993000 	ldr	r3, [r9]                                      
    c930:	e1570003 	cmp	r7, r3                                        
    c934:	2affffec 	bcs	c8ec <IMFS_memfile_read+0x170>                
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
    c938:	e3570000 	cmp	r7, #0	; 0x0                                  
    c93c:	0a00000f 	beq	c980 <IMFS_memfile_read+0x204>                
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    c940:	e1a01006 	mov	r1, r6                                        
    c944:	e1a0000a 	mov	r0, sl                                        
    c948:	e3a02000 	mov	r2, #0	; 0x0                                  
    c94c:	ebfffcf8 	bl	bd34 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
    c950:	e2501000 	subs	r1, r0, #0	; 0x0                             
    c954:	1a000004 	bne	c96c <IMFS_memfile_read+0x1f0>                
    c958:	e59f0040 	ldr	r0, [pc, #64]	; c9a0 <IMFS_memfile_read+0x224><== NOT EXECUTED
    c95c:	e59f1060 	ldr	r1, [pc, #96]	; c9c4 <IMFS_memfile_read+0x248><== NOT EXECUTED
    c960:	e59f2040 	ldr	r2, [pc, #64]	; c9a8 <IMFS_memfile_read+0x22c><== NOT EXECUTED
    c964:	e59f305c 	ldr	r3, [pc, #92]	; c9c8 <IMFS_memfile_read+0x24c><== NOT EXECUTED
    c968:	eaffff96 	b	c7c8 <IMFS_memfile_read+0x4c>                   <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    c96c:	e1a00008 	mov	r0, r8                                        
    c970:	e5911000 	ldr	r1, [r1]                                      
    c974:	e1a02007 	mov	r2, r7                                        
    c978:	eb00076d 	bl	e734 <memcpy>                                  
    copied += my_length;                                              
    c97c:	e0875005 	add	r5, r7, r5                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
    c980:	e1a0000d 	mov	r0, sp                                        
    c984:	e3a01000 	mov	r1, #0	; 0x0                                  
    c988:	ebffd75e 	bl	2708 <gettimeofday>                            
    c98c:	e59d3000 	ldr	r3, [sp]                                      
    c990:	e58a3040 	str	r3, [sl, #64]                                 
                                                                      
  return copied;                                                      
    c994:	e1a00005 	mov	r0, r5                                        
}                                                                     
    c998:	e28dd008 	add	sp, sp, #8	; 0x8                              
    c99c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

0000c01c <IMFS_memfile_remove>: */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
    c01c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    c020:	e2506000 	subs	r6, r0, #0	; 0x0                             
    c024:	059f0130 	ldreq	r0, [pc, #304]	; c15c <IMFS_memfile_remove+0x140>
    c028:	03a01f7b 	moveq	r1, #492	; 0x1ec                            
    c02c:	059f212c 	ldreq	r2, [pc, #300]	; c160 <IMFS_memfile_remove+0x144>
    c030:	059f312c 	ldreq	r3, [pc, #300]	; c164 <IMFS_memfile_remove+0x148>
    c034:	0a000006 	beq	c054 <IMFS_memfile_remove+0x38>               
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
    c038:	e596304c 	ldr	r3, [r6, #76]                                 
    c03c:	e3530005 	cmp	r3, #5	; 0x5                                  
    c040:	0a000004 	beq	c058 <IMFS_memfile_remove+0x3c>               
    c044:	e59f0110 	ldr	r0, [pc, #272]	; c15c <IMFS_memfile_remove+0x140><== NOT EXECUTED
    c048:	e59f2110 	ldr	r2, [pc, #272]	; c160 <IMFS_memfile_remove+0x144><== NOT EXECUTED
    c04c:	e59f3114 	ldr	r3, [pc, #276]	; c168 <IMFS_memfile_remove+0x14c><== NOT EXECUTED
    c050:	e3a01e1f 	mov	r1, #496	; 0x1f0                              <== NOT EXECUTED
    c054:	ebfff825 	bl	a0f0 <__assert_func>                           <== NOT EXECUTED
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
                                                                      
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
    c058:	e59f210c 	ldr	r2, [pc, #268]	; c16c <IMFS_memfile_remove+0x150>
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
    c05c:	e5963054 	ldr	r3, [r6, #84]                                 
  /*                                                                  
   *  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;                                 
    c060:	e5922000 	ldr	r2, [r2]                                      
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
    c064:	e3530000 	cmp	r3, #0	; 0x0                                  
  /*                                                                  
   *  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;                                 
    c068:	e1a08122 	lsr	r8, r2, #2                                    
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
    c06c:	12860054 	addne	r0, r6, #84	; 0x54                          
    c070:	11a01008 	movne	r1, r8                                      
    c074:	1bffffc9 	blne	bfa0 <memfile_free_blocks_in_table>          
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    c078:	e5963058 	ldr	r3, [r6, #88]                                 
    c07c:	e3530000 	cmp	r3, #0	; 0x0                                  
    c080:	13a04000 	movne	r4, #0	; 0x0                                
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
    c084:	159f50e0 	ldrne	r5, [pc, #224]	; c16c <IMFS_memfile_remove+0x150>
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    c088:	1a000008 	bne	c0b0 <IMFS_memfile_remove+0x94>               
    c08c:	ea00000d 	b	c0c8 <IMFS_memfile_remove+0xac>                 
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
    c090:	e5960058 	ldr	r0, [r6, #88]                                 <== NOT EXECUTED
    c094:	e7903104 	ldr	r3, [r0, r4, lsl #2]                          <== NOT EXECUTED
    c098:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    c09c:	e1a03104 	lsl	r3, r4, #2                                    <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
    c0a0:	10800003 	addne	r0, r0, r3                                  <== NOT EXECUTED
    c0a4:	11a01008 	movne	r1, r8                                      <== NOT EXECUTED
    c0a8:	1bffffbc 	blne	bfa0 <memfile_free_blocks_in_table>          <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
    c0ac:	e2844001 	add	r4, r4, #1	; 0x1                              <== NOT EXECUTED
    c0b0:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    c0b4:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
    c0b8:	3afffff4 	bcc	c090 <IMFS_memfile_remove+0x74>               <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
         (block_p **)&info->doubly_indirect[i], to_free );            
      }                                                               
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
    c0bc:	e2860058 	add	r0, r6, #88	; 0x58                            <== NOT EXECUTED
    c0c0:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
    c0c4:	ebffffb5 	bl	bfa0 <memfile_free_blocks_in_table>            <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    c0c8:	e596305c 	ldr	r3, [r6, #92]                                 
    c0cc:	e3530000 	cmp	r3, #0	; 0x0                                  
    c0d0:	13a07000 	movne	r7, #0	; 0x0                                
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
    c0d4:	159f9090 	ldrne	r9, [pc, #144]	; c16c <IMFS_memfile_remove+0x150>
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    c0d8:	1a000017 	bne	c13c <IMFS_memfile_remove+0x120>              
    c0dc:	ea00001c 	b	c154 <IMFS_memfile_remove+0x138>                
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
    c0e0:	e596305c 	ldr	r3, [r6, #92]                                 <== NOT EXECUTED
    c0e4:	e7930107 	ldr	r0, [r3, r7, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
    c0e8:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    c0ec:	e1a0a107 	lsl	sl, r7, #2                                    <== 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 */                 
    c0f0:	0a000014 	beq	c148 <IMFS_memfile_remove+0x12c>              <== NOT EXECUTED
         break;                                                       
    c0f4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    c0f8:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
    c0fc:	ea000006 	b	c11c <IMFS_memfile_remove+0x100>                <== NOT EXECUTED
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
    c100:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    c104:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
    c108:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    c10c:	11a01008 	movne	r1, r8                                      <== NOT EXECUTED
    c110:	1bffffa2 	blne	bfa0 <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++ ) {                
    c114:	e2855001 	add	r5, r5, #1	; 0x1                              <== NOT EXECUTED
    c118:	e2844004 	add	r4, r4, #4	; 0x4                              <== NOT EXECUTED
    c11c:	e5993000 	ldr	r3, [r9]                                      <== NOT EXECUTED
    c120:	e1550123 	cmp	r5, r3, lsr #2                                <== NOT EXECUTED
    c124:	3afffff5 	bcc	c100 <IMFS_memfile_remove+0xe4>               <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
    c128:	e596005c 	ldr	r0, [r6, #92]                                 <== NOT EXECUTED
    c12c:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
    c130:	e080000a 	add	r0, r0, sl                                    <== NOT EXECUTED
    c134:	ebffff99 	bl	bfa0 <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++ ) {                  
    c138:	e2877001 	add	r7, r7, #1	; 0x1                              <== NOT EXECUTED
    c13c:	e5993000 	ldr	r3, [r9]                                      <== NOT EXECUTED
    c140:	e1570123 	cmp	r7, r3, lsr #2                                <== NOT EXECUTED
    c144:	3affffe5 	bcc	c0e0 <IMFS_memfile_remove+0xc4>               <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
    c148:	e286005c 	add	r0, r6, #92	; 0x5c                            <== NOT EXECUTED
    c14c:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
    c150:	ebffff92 	bl	bfa0 <memfile_free_blocks_in_table>            <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
    c154:	e3a00000 	mov	r0, #0	; 0x0                                  
    c158:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

0000bf78 <IMFS_memfile_remove_block>: MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
    bf78:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  block_p *block_entry_ptr;                                           
  block_p  ptr;                                                       
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    bf7c:	e3a02000 	mov	r2, #0	; 0x0                                  <== NOT EXECUTED
    bf80:	ebffff6b 	bl	bd34 <IMFS_memfile_get_block_pointer>          <== NOT EXECUTED
  ptr = *block_entry_ptr;                                             
    bf84:	e5902000 	ldr	r2, [r0]                                      <== NOT EXECUTED
  *block_entry_ptr = 0;                                               
    bf88:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    bf8c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
                                                                      
  memfile_free_block( ptr );                                          
    bf90:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
    bf94:	ebffff51 	bl	bce0 <memfile_free_block>                      <== NOT EXECUTED
                                                                      
  return 1;                                                           
}                                                                     
    bf98:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
    bf9c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

0000c4a8 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
    c4a8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    c4ac:	e2509000 	subs	r9, r0, #0	; 0x0                             
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
    c4b0:	e24dd008 	sub	sp, sp, #8	; 0x8                              
    c4b4:	e1a05001 	mov	r5, r1                                        
    c4b8:	e1a08002 	mov	r8, r2                                        
    c4bc:	e1a0a003 	mov	sl, r3                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    c4c0:	059f01d4 	ldreq	r0, [pc, #468]	; c69c <IMFS_memfile_write+0x1f4>
    c4c4:	059f11d4 	ldreq	r1, [pc, #468]	; c6a0 <IMFS_memfile_write+0x1f8>
    c4c8:	059f21d4 	ldreq	r2, [pc, #468]	; c6a4 <IMFS_memfile_write+0x1fc>
    c4cc:	059f31d4 	ldreq	r3, [pc, #468]	; c6a8 <IMFS_memfile_write+0x200>
    c4d0:	0a000006 	beq	c4f0 <IMFS_memfile_write+0x48>                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
    c4d4:	e599304c 	ldr	r3, [r9, #76]                                 
    c4d8:	e3530005 	cmp	r3, #5	; 0x5                                  
    c4dc:	0a000004 	beq	c4f4 <IMFS_memfile_write+0x4c>                
    c4e0:	e59f01b4 	ldr	r0, [pc, #436]	; c69c <IMFS_memfile_write+0x1f4><== NOT EXECUTED
    c4e4:	e59f11c0 	ldr	r1, [pc, #448]	; c6ac <IMFS_memfile_write+0x204><== NOT EXECUTED
    c4e8:	e59f21b4 	ldr	r2, [pc, #436]	; c6a4 <IMFS_memfile_write+0x1fc><== NOT EXECUTED
    c4ec:	e59f31bc 	ldr	r3, [pc, #444]	; c6b0 <IMFS_memfile_write+0x208><== NOT EXECUTED
    c4f0:	ebfff6fe 	bl	a0f0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
    c4f4:	e3520000 	cmp	r2, #0	; 0x0                                  
    c4f8:	059f019c 	ldreq	r0, [pc, #412]	; c69c <IMFS_memfile_write+0x1f4>
    c4fc:	059f11b0 	ldreq	r1, [pc, #432]	; c6b4 <IMFS_memfile_write+0x20c>
    c500:	059f219c 	ldreq	r2, [pc, #412]	; c6a4 <IMFS_memfile_write+0x1fc>
    c504:	059f31ac 	ldreq	r3, [pc, #428]	; c6b8 <IMFS_memfile_write+0x210>
    c508:	0afffff8 	beq	c4f0 <IMFS_memfile_write+0x48>                
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    c50c:	e35a0000 	cmp	sl, #0	; 0x0                                  
    c510:	1a000002 	bne	c520 <IMFS_memfile_write+0x78>                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    c514:	eb000496 	bl	d774 <__errno>                                 <== NOT EXECUTED
    c518:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    c51c:	ea000008 	b	c544 <IMFS_memfile_write+0x9c>                  <== NOT EXECUTED
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
    c520:	e5993050 	ldr	r3, [r9, #80]                                 
  /*                                                                  
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
    c524:	e08a1001 	add	r1, sl, r1                                    
  if ( last_byte > the_jnode->info.file.size ) {                      
    c528:	e1510003 	cmp	r1, r3                                        
    c52c:	9a000007 	bls	c550 <IMFS_memfile_write+0xa8>                
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    c530:	ebffff66 	bl	c2d0 <IMFS_memfile_extend>                     
    if ( status )                                                     
    c534:	e3500000 	cmp	r0, #0	; 0x0                                  
    c538:	0a000004 	beq	c550 <IMFS_memfile_write+0xa8>                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
    c53c:	eb00048c 	bl	d774 <__errno>                                 <== NOT EXECUTED
    c540:	e3a0301c 	mov	r3, #28	; 0x1c                                <== NOT EXECUTED
    c544:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    c548:	e3e04000 	mvn	r4, #0	; 0x0                                  <== NOT EXECUTED
    c54c:	ea00004f 	b	c690 <IMFS_memfile_write+0x1e8>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
    c550:	e59f3164 	ldr	r3, [pc, #356]	; c6bc <IMFS_memfile_write+0x214>
    c554:	e5934000 	ldr	r4, [r3]                                      
    c558:	e1a00005 	mov	r0, r5                                        
    c55c:	e1a01004 	mov	r1, r4                                        
    c560:	eb001550 	bl	11aa8 <__modsi3>                               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
    c564:	e1a01004 	mov	r1, r4                                        
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
    c568:	e1a06000 	mov	r6, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
    c56c:	e1a00005 	mov	r0, r5                                        
    c570:	eb0014c9 	bl	1189c <__aeabi_idiv>                           
  if ( start_offset )  {                                              
    c574:	e3560000 	cmp	r6, #0	; 0x0                                  
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
    c578:	e1a07000 	mov	r7, r0                                        
  if ( start_offset )  {                                              
    c57c:	01a0500a 	moveq	r5, sl                                      
    c580:	01a04006 	moveq	r4, r6                                      
    c584:	0a000012 	beq	c5d4 <IMFS_memfile_write+0x12c>               
    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 );
    c588:	e1a00009 	mov	r0, r9                                        
    c58c:	e1a01007 	mov	r1, r7                                        
    c590:	e3a02000 	mov	r2, #0	; 0x0                                  
    c594:	ebfffde6 	bl	bd34 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
    c598:	e3500000 	cmp	r0, #0	; 0x0                                  
    c59c:	059f00f8 	ldreq	r0, [pc, #248]	; c69c <IMFS_memfile_write+0x1f4>
    c5a0:	059f1118 	ldreq	r1, [pc, #280]	; c6c0 <IMFS_memfile_write+0x218>
    c5a4:	0a00002b 	beq	c658 <IMFS_memfile_write+0x1b0>               
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    c5a8:	e5900000 	ldr	r0, [r0]                                      
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    c5ac:	e0664004 	rsb	r4, r6, r4                                    
    c5b0:	e154000a 	cmp	r4, sl                                        
    c5b4:	21a0400a 	movcs	r4, sl                                      
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    c5b8:	e1a01008 	mov	r1, r8                                        
    c5bc:	e0800006 	add	r0, r0, r6                                    
    c5c0:	e1a02004 	mov	r2, r4                                        
    c5c4:	eb00085a 	bl	e734 <memcpy>                                  
    src += to_copy;                                                   
    c5c8:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
    c5cc:	e2877001 	add	r7, r7, #1	; 0x1                              
    my_length -= to_copy;                                             
    c5d0:	e064500a 	rsb	r5, r4, sl                                    
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
    c5d4:	e59f30e0 	ldr	r3, [pc, #224]	; c6bc <IMFS_memfile_write+0x214>
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    c5d8:	e1a0a003 	mov	sl, r3                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
    c5dc:	e5936000 	ldr	r6, [r3]                                      
    c5e0:	ea00000f 	b	c624 <IMFS_memfile_write+0x17c>                 
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    c5e4:	e1a00009 	mov	r0, r9                                        
    c5e8:	e1a01007 	mov	r1, r7                                        
    c5ec:	e3a02000 	mov	r2, #0	; 0x0                                  
    c5f0:	ebfffdcf 	bl	bd34 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
    c5f4:	e3500000 	cmp	r0, #0	; 0x0                                  
    c5f8:	059f009c 	ldreq	r0, [pc, #156]	; c69c <IMFS_memfile_write+0x1f4>
    c5fc:	059f10c0 	ldreq	r1, [pc, #192]	; c6c4 <IMFS_memfile_write+0x21c>
    c600:	0a000014 	beq	c658 <IMFS_memfile_write+0x1b0>               
    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 );                       
    c604:	e1a01008 	mov	r1, r8                                        
    c608:	e5900000 	ldr	r0, [r0]                                      
    c60c:	e1a02006 	mov	r2, r6                                        
    c610:	eb000847 	bl	e734 <memcpy>                                  
    src += to_copy;                                                   
    c614:	e0888006 	add	r8, r8, r6                                    
    block++;                                                          
    c618:	e2877001 	add	r7, r7, #1	; 0x1                              
    my_length -= to_copy;                                             
    c61c:	e0665005 	rsb	r5, r6, r5                                    
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
    c620:	e0844006 	add	r4, r4, r6                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    c624:	e59a3000 	ldr	r3, [sl]                                      
    c628:	e1550003 	cmp	r5, r3                                        
    c62c:	2affffec 	bcs	c5e4 <IMFS_memfile_write+0x13c>               
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
    c630:	e3550000 	cmp	r5, #0	; 0x0                                  
    c634:	0a00000f 	beq	c678 <IMFS_memfile_write+0x1d0>               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    c638:	e1a01007 	mov	r1, r7                                        
    c63c:	e1a00009 	mov	r0, r9                                        
    c640:	e3a02000 	mov	r2, #0	; 0x0                                  
    c644:	ebfffdba 	bl	bd34 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
    c648:	e3500000 	cmp	r0, #0	; 0x0                                  
    c64c:	1a000004 	bne	c664 <IMFS_memfile_write+0x1bc>               
    c650:	e59f0044 	ldr	r0, [pc, #68]	; c69c <IMFS_memfile_write+0x1f4><== NOT EXECUTED
    c654:	e3a01fd1 	mov	r1, #836	; 0x344                              <== NOT EXECUTED
    c658:	e59f2044 	ldr	r2, [pc, #68]	; c6a4 <IMFS_memfile_write+0x1fc><== NOT EXECUTED
    c65c:	e59f3064 	ldr	r3, [pc, #100]	; c6c8 <IMFS_memfile_write+0x220><== NOT EXECUTED
    c660:	eaffffa2 	b	c4f0 <IMFS_memfile_write+0x48>                  <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    c664:	e5900000 	ldr	r0, [r0]                                      
    c668:	e1a01008 	mov	r1, r8                                        
    c66c:	e1a02005 	mov	r2, r5                                        
    c670:	eb00082f 	bl	e734 <memcpy>                                  
    my_length = 0;                                                    
    copied += to_copy;                                                
    c674:	e0844005 	add	r4, r4, r5                                    
  }                                                                   
                                                                      
  IMFS_atime_mtime_update( the_jnode );                               
    c678:	e1a0000d 	mov	r0, sp                                        
    c67c:	e3a01000 	mov	r1, #0	; 0x0                                  
    c680:	ebffd820 	bl	2708 <gettimeofday>                            
    c684:	e59d3000 	ldr	r3, [sp]                                      
    c688:	e5893040 	str	r3, [r9, #64]                                 
    c68c:	e5893044 	str	r3, [r9, #68]                                 
                                                                      
  return copied;                                                      
}                                                                     
    c690:	e1a00004 	mov	r0, r4                                        
    c694:	e28dd008 	add	sp, sp, #8	; 0x8                              
    c698:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

00008320 <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
    8320:	e92d4070 	push	{r4, r5, r6, lr}                             
    8324:	e24dd03c 	sub	sp, sp, #60	; 0x3c                            
    8328:	e1a06001 	mov	r6, r1                                        
    832c:	e1a05002 	mov	r5, r2                                        
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, new_name, &result );                         
    8330:	e28d1007 	add	r1, sp, #7	; 0x7                              
    8334:	e28d2038 	add	r2, sp, #56	; 0x38                            
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
    8338:	e1a04003 	mov	r4, r3                                        
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, new_name, &result );                         
    833c:	ebffff82 	bl	814c <IMFS_get_token>                          
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
                                                                      
  if ( S_ISDIR(mode) )                                                
    8340:	e2063a0f 	and	r3, r6, #61440	; 0xf000                       
    8344:	e3530901 	cmp	r3, #16384	; 0x4000                           
    8348:	0a00000b 	beq	837c <IMFS_mknod+0x5c>                        
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    834c:	e3530902 	cmp	r3, #32768	; 0x8000                           
    8350:	03a01005 	moveq	r1, #5	; 0x5                                
    8354:	0a000009 	beq	8380 <IMFS_mknod+0x60>                        
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    8358:	e3530a02 	cmp	r3, #8192	; 0x2000                            
    835c:	13530a06 	cmpne	r3, #24576	; 0x6000                         
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
    8360:	058d5028 	streq	r5, [sp, #40]                               
    8364:	058d402c 	streq	r4, [sp, #44]                               
    8368:	03a01002 	moveq	r1, #2	; 0x2                                
                                                                      
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    836c:	0a000003 	beq	8380 <IMFS_mknod+0x60>                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  } else  {                                                           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    8370:	eb000c28 	bl	b418 <__errno>                                 <== NOT EXECUTED
    8374:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    8378:	ea00000b 	b	83ac <IMFS_mknod+0x8c>                          <== NOT EXECUTED
    837c:	e3a01001 	mov	r1, #1	; 0x1                                  
                                                                      
  /*                                                                  
   *  Allocate and fill in an IMFS jnode                              
   */                                                                 
                                                                      
  new_node = IMFS_create_node(                                        
    8380:	e28dc028 	add	ip, sp, #40	; 0x28                            
    8384:	e59d004c 	ldr	r0, [sp, #76]                                 
    8388:	e1a03006 	mov	r3, r6                                        
    838c:	e28d2007 	add	r2, sp, #7	; 0x7                              
    8390:	e58dc000 	str	ip, [sp]                                      
    8394:	eb000947 	bl	a8b8 <IMFS_create_node>                        
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    8398:	e3500000 	cmp	r0, #0	; 0x0                                  
    839c:	13a00000 	movne	r0, #0	; 0x0                                
    83a0:	1a000003 	bne	83b4 <IMFS_mknod+0x94>                        
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
    83a4:	eb000c1b 	bl	b418 <__errno>                                 <== NOT EXECUTED
    83a8:	e3a0300c 	mov	r3, #12	; 0xc                                 <== NOT EXECUTED
    83ac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    83b0:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
    83b4:	e28dd03c 	add	sp, sp, #60	; 0x3c                            
    83b8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00001b3c <IMFS_mount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
    1b3c:	e5902008 	ldr	r2, [r0, #8]                                  
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    1b40:	e592304c 	ldr	r3, [r2, #76]                                 
    1b44:	e3530001 	cmp	r3, #1	; 0x1                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
    1b48:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    1b4c:	0a000004 	beq	1b64 <IMFS_mount+0x28>                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    1b50:	eb002f07 	bl	d774 <__errno>                                 <== NOT EXECUTED
    1b54:	e3a03014 	mov	r3, #20	; 0x14                                <== NOT EXECUTED
    1b58:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1b5c:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    1b60:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
    1b64:	e582005c 	str	r0, [r2, #92]                                 
    1b68:	e3a00000 	mov	r0, #0	; 0x0                                  
  return 0;                                                           
}                                                                     
    1b6c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

0000279c <IMFS_print_jnode>: */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
    279c:	e92d4030 	push	{r4, r5, lr}                                 
  assert( the_jnode );                                                
    27a0:	e2504000 	subs	r4, r0, #0	; 0x0                             
    27a4:	059f0110 	ldreq	r0, [pc, #272]	; 28bc <IMFS_print_jnode+0x120>
    27a8:	03a01038 	moveq	r1, #56	; 0x38                              
    27ac:	059f210c 	ldreq	r2, [pc, #268]	; 28c0 <IMFS_print_jnode+0x124>
    27b0:	059f310c 	ldreq	r3, [pc, #268]	; 28c4 <IMFS_print_jnode+0x128>
    27b4:	0a00002e 	beq	2874 <IMFS_print_jnode+0xd8>                  
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
    27b8:	e59f5108 	ldr	r5, [pc, #264]	; 28c8 <IMFS_print_jnode+0x12c>
    27bc:	e5953000 	ldr	r3, [r5]                                      
    27c0:	e284000c 	add	r0, r4, #12	; 0xc                             
    27c4:	e5931008 	ldr	r1, [r3, #8]                                  
    27c8:	eb003321 	bl	f454 <fputs>                                   
  switch( the_jnode->type ) {                                         
    27cc:	e594204c 	ldr	r2, [r4, #76]                                 
    27d0:	e2423001 	sub	r3, r2, #1	; 0x1                              
    27d4:	e3530005 	cmp	r3, #5	; 0x5                                  
    27d8:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
    27dc:	ea00002c 	b	2894 <IMFS_print_jnode+0xf8>                    <== NOT EXECUTED
    27e0:	000027f8 	.word	0x000027f8                                  <== NOT EXECUTED
    27e4:	0000280c 	.word	0x0000280c                                  <== NOT EXECUTED
    27e8:	00002854 	.word	0x00002854                                  <== NOT EXECUTED
    27ec:	00002878 	.word	0x00002878                                  <== NOT EXECUTED
    27f0:	0000283c 	.word	0x0000283c                                  <== NOT EXECUTED
    27f4:	00002820 	.word	0x00002820                                  <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
    27f8:	e5953000 	ldr	r3, [r5]                                      
    27fc:	e3a0002f 	mov	r0, #47	; 0x2f                                
    2800:	e5931008 	ldr	r1, [r3, #8]                                  
    2804:	eb0032db 	bl	f378 <fputc>                                   
    2808:	ea000028 	b	28b0 <IMFS_print_jnode+0x114>                   
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
    280c:	e5952000 	ldr	r2, [r5]                                      
    2810:	e5943054 	ldr	r3, [r4, #84]                                 
    2814:	e5920008 	ldr	r0, [r2, #8]                                  
    2818:	e59f10ac 	ldr	r1, [pc, #172]	; 28cc <IMFS_print_jnode+0x130>
    281c:	ea000003 	b	2830 <IMFS_print_jnode+0x94>                    
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
    2820:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
    2824:	e5943054 	ldr	r3, [r4, #84]                                 <== NOT EXECUTED
    2828:	e5920008 	ldr	r0, [r2, #8]                                  <== NOT EXECUTED
    282c:	e59f109c 	ldr	r1, [pc, #156]	; 28d0 <IMFS_print_jnode+0x134><== NOT EXECUTED
    2830:	e5942050 	ldr	r2, [r4, #80]                                 
    2834:	eb0032bb 	bl	f328 <fprintf>                                 
    2838:	ea00001c 	b	28b0 <IMFS_print_jnode+0x114>                   
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
    283c:	e5953000 	ldr	r3, [r5]                                      
    2840:	e5942050 	ldr	r2, [r4, #80]                                 
    2844:	e5930008 	ldr	r0, [r3, #8]                                  
    2848:	e59f1084 	ldr	r1, [pc, #132]	; 28d4 <IMFS_print_jnode+0x138>
    284c:	eb0032b5 	bl	f328 <fprintf>                                 
    2850:	ea000016 	b	28b0 <IMFS_print_jnode+0x114>                   
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
    2854:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    2858:	e59f0078 	ldr	r0, [pc, #120]	; 28d8 <IMFS_print_jnode+0x13c><== NOT EXECUTED
    285c:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
    2860:	eb0032fb 	bl	f454 <fputs>                                   <== NOT EXECUTED
      assert(0);                                                      
    2864:	e59f0050 	ldr	r0, [pc, #80]	; 28bc <IMFS_print_jnode+0x120> <== NOT EXECUTED
    2868:	e3a0105d 	mov	r1, #93	; 0x5d                                <== NOT EXECUTED
    286c:	e59f204c 	ldr	r2, [pc, #76]	; 28c0 <IMFS_print_jnode+0x124> <== NOT EXECUTED
    2870:	e59f3064 	ldr	r3, [pc, #100]	; 28dc <IMFS_print_jnode+0x140><== NOT EXECUTED
    2874:	eb0001dc 	bl	2fec <__assert_func>                           <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
    2878:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    287c:	e59f0054 	ldr	r0, [pc, #84]	; 28d8 <IMFS_print_jnode+0x13c> <== NOT EXECUTED
    2880:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
    2884:	eb0032f2 	bl	f454 <fputs>                                   <== NOT EXECUTED
      assert(0);                                                      
    2888:	e59f002c 	ldr	r0, [pc, #44]	; 28bc <IMFS_print_jnode+0x120> <== NOT EXECUTED
    288c:	e3a01062 	mov	r1, #98	; 0x62                                <== NOT EXECUTED
    2890:	eafffff5 	b	286c <IMFS_print_jnode+0xd0>                    <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
    2894:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    2898:	e59f1040 	ldr	r1, [pc, #64]	; 28e0 <IMFS_print_jnode+0x144> <== NOT EXECUTED
    289c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
    28a0:	eb0032a0 	bl	f328 <fprintf>                                 <== NOT EXECUTED
      assert(0);                                                      
    28a4:	e59f0010 	ldr	r0, [pc, #16]	; 28bc <IMFS_print_jnode+0x120> <== NOT EXECUTED
    28a8:	e3a01067 	mov	r1, #103	; 0x67                               <== NOT EXECUTED
    28ac:	eaffffee 	b	286c <IMFS_print_jnode+0xd0>                    <== NOT EXECUTED
      break;                                                          
  }                                                                   
  puts("");                                                           
    28b0:	e59f002c 	ldr	r0, [pc, #44]	; 28e4 <IMFS_print_jnode+0x148> 
}                                                                     
    28b4:	e8bd4030 	pop	{r4, r5, lr}                                  
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
    28b8:	ea00399e 	b	10f38 <puts>                                    
                                                                      

00001b7c <IMFS_readlink>: ) { IMFS_jnode_t *node; int i; node = loc->node_access;
    1b7c:	e590c000 	ldr	ip, [r0]                                      
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    1b80:	e59c304c 	ldr	r3, [ip, #76]                                 
    1b84:	e3530004 	cmp	r3, #4	; 0x4                                  
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
    1b88:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    1b8c:	03a00000 	moveq	r0, #0	; 0x0                                
    1b90:	0a000006 	beq	1bb0 <IMFS_readlink+0x34>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    1b94:	eb002ef6 	bl	d774 <__errno>                                 <== NOT EXECUTED
    1b98:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    1b9c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1ba0:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    1ba4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
    buf[i] = node->info.sym_link.name[i];                             
    1ba8:	e7c13000 	strb	r3, [r1, r0]                                 
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
    1bac:	e2800001 	add	r0, r0, #1	; 0x1                              
    1bb0:	e1500002 	cmp	r0, r2                                        
    1bb4:	249df004 	popcs	{pc}		; (ldrcs pc, [sp], #4)                
    1bb8:	e59c3050 	ldr	r3, [ip, #80]                                 
    1bbc:	e7d33000 	ldrb	r3, [r3, r0]                                 
    1bc0:	e3530000 	cmp	r3, #0	; 0x0                                  
    1bc4:	1afffff7 	bne	1ba8 <IMFS_readlink+0x2c>                     
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
    1bc8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

00008478 <IMFS_stat>: ) { IMFS_jnode_t *the_jnode; IMFS_device_t *io; the_jnode = loc->node_access;
    8478:	e5900000 	ldr	r0, [r0]                                      
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
    847c:	e590304c 	ldr	r3, [r0, #76]                                 
    8480:	e2433002 	sub	r3, r3, #2	; 0x2                              
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
    8484:	e92d4010 	push	{r4, lr}                                     
    8488:	e1a0c001 	mov	ip, r1                                        
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
    848c:	e3530004 	cmp	r3, #4	; 0x4                                  
    8490:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
    8494:	ea00000d 	b	84d0 <IMFS_stat+0x58>                           <== NOT EXECUTED
    8498:	000084ac 	.word	0x000084ac                                  <== NOT EXECUTED
    849c:	000084d0 	.word	0x000084d0                                  <== NOT EXECUTED
    84a0:	000084c4 	.word	0x000084c4                                  <== NOT EXECUTED
    84a4:	000084bc 	.word	0x000084bc                                  <== NOT EXECUTED
    84a8:	000084bc 	.word	0x000084bc                                  <== NOT EXECUTED
                                                                      
    case IMFS_DEVICE:                                                 
      io          = &the_jnode->info.device;                          
      buf->st_dev = rtems_filesystem_make_dev_t( io->major, io->minor );
    84ac:	e2802050 	add	r2, r0, #80	; 0x50                            
    84b0:	e892000c 	ldm	r2, {r2, r3}                                  
    84b4:	e881000c 	stm	r1, {r2, r3}                                  
    84b8:	ea000009 	b	84e4 <IMFS_stat+0x6c>                           
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
    84bc:	e5903050 	ldr	r3, [r0, #80]                                 
    84c0:	ea000000 	b	84c8 <IMFS_stat+0x50>                           
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
    84c4:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    84c8:	e58c3020 	str	r3, [ip, #32]                                 
    84cc:	ea000004 	b	84e4 <IMFS_stat+0x6c>                           
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    84d0:	eb000bd0 	bl	b418 <__errno>                                 <== NOT EXECUTED
    84d4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    84d8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    84dc:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    84e0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
    84e4:	e5903038 	ldr	r3, [r0, #56]                                 
    84e8:	e58c3008 	str	r3, [ip, #8]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
    84ec:	e5903040 	ldr	r3, [r0, #64]                                 
    84f0:	e58c3024 	str	r3, [ip, #36]                                 
  buf->st_mtime = the_jnode->stat_mtime;                              
    84f4:	e5903044 	ldr	r3, [r0, #68]                                 
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
    84f8:	e1d043b4 	ldrh	r4, [r0, #52]                                
  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;                              
    84fc:	e58c302c 	str	r3, [ip, #44]                                 
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
    8500:	e59f3030 	ldr	r3, [pc, #48]	; 8538 <IMFS_stat+0xc0>         
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
    8504:	e1cc41b0 	strh	r4, [ip, #16]                                
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
    8508:	e5933000 	ldr	r3, [r3]                                      
  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;                              
    850c:	e5901048 	ldr	r1, [r0, #72]                                 
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
    8510:	e58c303c 	str	r3, [ip, #60]                                 
  }                                                                   
                                                                      
  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;                                  
    8514:	e1d033bc 	ldrh	r3, [r0, #60]                                
    8518:	e1cc31b2 	strh	r3, [ip, #18]                                
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
    851c:	e5902030 	ldr	r2, [r0, #48]                                 
  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;                                  
    8520:	e1d003be 	ldrh	r0, [r0, #62]                                
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
    8524:	e58c200c 	str	r2, [ip, #12]                                 
  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;                                  
    8528:	e1cc01b4 	strh	r0, [ip, #20]                                
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
    852c:	e58c1034 	str	r1, [ip, #52]                                 
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
    8530:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  return 0;                                                           
}                                                                     
    8534:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00001bcc <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
    1bcc:	e92d4070 	push	{r4, r5, r6, lr}                             
    1bd0:	e24dd03c 	sub	sp, sp, #60	; 0x3c                            
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
                                                                      
  IMFS_get_token( node_name, new_name, &i );                          
    1bd4:	e28d6007 	add	r6, sp, #7	; 0x7                              
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
    1bd8:	e1a04001 	mov	r4, r1                                        
    1bdc:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
                                                                      
  IMFS_get_token( node_name, new_name, &i );                          
    1be0:	e1a01006 	mov	r1, r6                                        
    1be4:	e1a00002 	mov	r0, r2                                        
    1be8:	e28d2038 	add	r2, sp, #56	; 0x38                            
    1bec:	eb0020ae 	bl	9eac <IMFS_get_token>                          
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
                                                                      
  info.sym_link.name = strdup( link_name);                            
    1bf0:	e1a00004 	mov	r0, r4                                        
    1bf4:	eb0036c9 	bl	f720 <strdup>                                  
  if (info.sym_link.name == NULL) {                                   
    1bf8:	e3500000 	cmp	r0, #0	; 0x0                                  
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
                                                                      
  info.sym_link.name = strdup( link_name);                            
    1bfc:	e58d0028 	str	r0, [sp, #40]                                 
  if (info.sym_link.name == NULL) {                                   
    1c00:	0a00000b 	beq	1c34 <IMFS_symlink+0x68>                      
                                                                      
  /*                                                                  
   *  Create a new link node.                                         
   */                                                                 
                                                                      
  new_node = IMFS_create_node(                                        
    1c04:	e28dc028 	add	ip, sp, #40	; 0x28                            
    1c08:	e1a00005 	mov	r0, r5                                        
    1c0c:	e1a02006 	mov	r2, r6                                        
    1c10:	e3a01004 	mov	r1, #4	; 0x4                                  
    1c14:	e59f3030 	ldr	r3, [pc, #48]	; 1c4c <IMFS_symlink+0x80>      
    1c18:	e58dc000 	str	ip, [sp]                                      
    1c1c:	eb001e29 	bl	94c8 <IMFS_create_node>                        
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    1c20:	e3500000 	cmp	r0, #0	; 0x0                                  
    1c24:	13a00000 	movne	r0, #0	; 0x0                                
    1c28:	1a000005 	bne	1c44 <IMFS_symlink+0x78>                      
    free( info.sym_link.name);                                        
    1c2c:	e59d0028 	ldr	r0, [sp, #40]                                 <== NOT EXECUTED
    1c30:	eb00023e 	bl	2530 <free>                                    <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOMEM);                    
    1c34:	eb002ece 	bl	d774 <__errno>                                 <== NOT EXECUTED
    1c38:	e3a0300c 	mov	r3, #12	; 0xc                                 <== NOT EXECUTED
    1c3c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1c40:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
    1c44:	e28dd03c 	add	sp, sp, #60	; 0x3c                            
    1c48:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00001c50 <IMFS_unlink>: #include <rtems/seterr.h> int IMFS_unlink( rtems_filesystem_location_info_t *loc /* IN */ ) {
    1c50:	e92d4070 	push	{r4, r5, r6, lr}                             
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
    1c54:	e5906000 	ldr	r6, [r0]                                      
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
    1c58:	e596304c 	ldr	r3, [r6, #76]                                 
    1c5c:	e3530003 	cmp	r3, #3	; 0x3                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *loc       /* IN */               
)                                                                     
{                                                                     
    1c60:	e24dd018 	sub	sp, sp, #24	; 0x18                            
    1c64:	e1a04000 	mov	r4, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
    1c68:	1a000020 	bne	1cf0 <IMFS_unlink+0xa0>                       
                                                                      
    if ( !node->info.hard_link.link_node )                            
    1c6c:	e596c050 	ldr	ip, [r6, #80]                                 
    1c70:	e35c0000 	cmp	ip, #0	; 0x0                                  
    1c74:	1a000003 	bne	1c88 <IMFS_unlink+0x38>                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    1c78:	eb002ebd 	bl	d774 <__errno>                                 <== NOT EXECUTED
    1c7c:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    1c80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1c84:	ea00000f 	b	1cc8 <IMFS_unlink+0x78>                         <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
    1c88:	e890000f 	ldm	r0, {r0, r1, r2, r3}                          
    1c8c:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
    1c90:	e1a0000d 	mov	r0, sp                                        
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
    the_link.node_access = node->info.hard_link.link_node;            
    1c94:	e58dc000 	str	ip, [sp]                                      
    IMFS_Set_handlers( &the_link );                                   
    1c98:	eb001e68 	bl	9640 <IMFS_Set_handlers>                       
    /*                                                                
     *  If removing the last hard link to a node, then we need        
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    1c9c:	e5962050 	ldr	r2, [r6, #80]                                 
    1ca0:	e1d233b4 	ldrh	r3, [r2, #52]                                
    1ca4:	e3530001 	cmp	r3, #1	; 0x1                                  
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
    1ca8:	e1a0500d 	mov	r5, sp                                        
    /*                                                                
     *  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)               
    1cac:	1a000007 	bne	1cd0 <IMFS_unlink+0x80>                       
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( &the_link );          
    1cb0:	e1a0000d 	mov	r0, sp                                        
    1cb4:	e59d3004 	ldr	r3, [sp, #4]                                  
    1cb8:	e1a0e00f 	mov	lr, pc                                        
    1cbc:	e593f034 	ldr	pc, [r3, #52]                                 
        if ( result != 0 )                                            
    1cc0:	e3500000 	cmp	r0, #0	; 0x0                                  
    1cc4:	0a000009 	beq	1cf0 <IMFS_unlink+0xa0>                       
    1cc8:	e3e00000 	mvn	r0, #0	; 0x0                                  
    1ccc:	ea00000b 	b	1d00 <IMFS_unlink+0xb0>                         
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
    1cd0:	e2433001 	sub	r3, r3, #1	; 0x1                              
    1cd4:	e1c233b4 	strh	r3, [r2, #52]                                
        IMFS_update_ctime( node->info.hard_link.link_node );          
    1cd8:	e28d0010 	add	r0, sp, #16	; 0x10                            
    1cdc:	e3a01000 	mov	r1, #0	; 0x0                                  
    1ce0:	eb000288 	bl	2708 <gettimeofday>                            
    1ce4:	e5962050 	ldr	r2, [r6, #80]                                 
    1ce8:	e59d3010 	ldr	r3, [sp, #16]                                 
    1cec:	e5823048 	str	r3, [r2, #72]                                 
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( loc );                          
    1cf0:	e1a00004 	mov	r0, r4                                        
    1cf4:	e5943004 	ldr	r3, [r4, #4]                                  
    1cf8:	e1a0e00f 	mov	lr, pc                                        
    1cfc:	e593f034 	ldr	pc, [r3, #52]                                 
                                                                      
  return result;                                                      
}                                                                     
    1d00:	e28dd018 	add	sp, sp, #24	; 0x18                            
    1d04:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00001d08 <IMFS_unmount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
    1d08:	e5902008 	ldr	r2, [r0, #8]                                  
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    1d0c:	e592304c 	ldr	r3, [r2, #76]                                 
    1d10:	e3530001 	cmp	r3, #1	; 0x1                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
    1d14:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    1d18:	0a000002 	beq	1d28 <IMFS_unmount+0x20>                      
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    1d1c:	eb002e94 	bl	d774 <__errno>                                 <== NOT EXECUTED
    1d20:	e3a03014 	mov	r3, #20	; 0x14                                <== NOT EXECUTED
    1d24:	ea000004 	b	1d3c <IMFS_unmount+0x34>                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    1d28:	e592305c 	ldr	r3, [r2, #92]                                 
    1d2c:	e3530000 	cmp	r3, #0	; 0x0                                  
    1d30:	1a000004 	bne	1d48 <IMFS_unmount+0x40>                      
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
    1d34:	eb002e8e 	bl	d774 <__errno>                                 <== NOT EXECUTED
    1d38:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    1d3c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1d40:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    1d44:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
    1d48:	e3a03000 	mov	r3, #0	; 0x0                                  
    1d4c:	e582305c 	str	r3, [r2, #92]                                 
    1d50:	e1a00003 	mov	r0, r3                                        
                                                                      
  return 0;                                                           
}                                                                     
    1d54:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

000014f4 <RTEMS_Malloc_Initialize>: #endif /* * If configured, initialize the statistics support */ if ( rtems_malloc_statistics_helpers )
    14f4:	e59f3094 	ldr	r3, [pc, #148]	; 1590 <RTEMS_Malloc_Initialize+0x9c>
    14f8:	e5933000 	ldr	r3, [r3]                                      
    14fc:	e3530000 	cmp	r3, #0	; 0x0                                  
void RTEMS_Malloc_Initialize(                                         
  void   *start,                                                      
  size_t  length,                                                     
  size_t  sbrk_amount                                                 
)                                                                     
{                                                                     
    1500:	e92d4070 	push	{r4, r5, r6, lr}                             
    1504:	e1a04000 	mov	r4, r0                                        
    1508:	e1a05001 	mov	r5, r1                                        
    150c:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->initialize)();                 
    1510:	11a0e00f 	movne	lr, pc                                      
    1514:	1593f000 	ldrne	pc, [r3]                                    
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
    1518:	eb001dd6 	bl	8c78 <malloc_deferred_frees_initialize>        
  starting_address = start;                                           
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if (rtems_malloc_sbrk_helpers) {                                    
    151c:	e59f3070 	ldr	r3, [pc, #112]	; 1594 <RTEMS_Malloc_Initialize+0xa0>
    1520:	e5933000 	ldr	r3, [r3]                                      
    1524:	e3530000 	cmp	r3, #0	; 0x0                                  
    1528:	0a000004 	beq	1540 <RTEMS_Malloc_Initialize+0x4c>           
    starting_address = (*rtems_malloc_sbrk_helpers->initialize)(      
    152c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    1530:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    1534:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1538:	e593f000 	ldr	pc, [r3]                                      <== NOT EXECUTED
    153c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if ( rtems_configuration_get_do_zero_of_workspace() )               
    1540:	e59f3050 	ldr	r3, [pc, #80]	; 1598 <RTEMS_Malloc_Initialize+0xa4>
    1544:	e5933000 	ldr	r3, [r3]                                      
    1548:	e5d33028 	ldrb	r3, [r3, #40]                                
    154c:	e3530000 	cmp	r3, #0	; 0x0                                  
     memset( starting_address, 0, length );                           
    1550:	11a00004 	movne	r0, r4                                      
    1554:	13a01000 	movne	r1, #0	; 0x0                                
    1558:	11a02005 	movne	r2, r5                                      
    155c:	1b0029b6 	blne	bc3c <memset>                                
  void         *starting_address,                                     
  size_t        size,                                                 
  uint32_t      page_size                                             
)                                                                     
{                                                                     
  return _Heap_Initialize( the_heap, starting_address, size, page_size );
    1560:	e1a01004 	mov	r1, r4                                        
    1564:	e59f0030 	ldr	r0, [pc, #48]	; 159c <RTEMS_Malloc_Initialize+0xa8>
    1568:	e1a02005 	mov	r2, r5                                        
    156c:	e3a03004 	mov	r3, #4	; 0x4                                  
    1570:	eb000f5d 	bl	52ec <_Heap_Initialize>                        
    &RTEMS_Malloc_Heap,                                               
    starting_address,                                                 
    length,                                                           
    CPU_HEAP_ALIGNMENT                                                
  );                                                                  
  if ( !status )                                                      
    1574:	e3500000 	cmp	r0, #0	; 0x0                                  
    rtems_fatal_error_occurred( status );                             
    1578:	0b000d2a 	bleq	4a28 <rtems_fatal_error_occurred>            
      rtems_print_buffer( (start + length) - 48, 48 );                
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
                                                                      
  MSBUMP(space_available, length);                                    
    157c:	e59f201c 	ldr	r2, [pc, #28]	; 15a0 <RTEMS_Malloc_Initialize+0xac>
    1580:	e5923000 	ldr	r3, [r2]                                      
    1584:	e0853003 	add	r3, r5, r3                                    
    1588:	e5823000 	str	r3, [r2]                                      
}                                                                     
    158c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

000019bc <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
    19bc:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
    19c0:	e2504000 	subs	r4, r0, #0	; 0x0                             <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
    19c4:	e24dd010 	sub	sp, sp, #16	; 0x10                            <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
    19c8:	0a000047 	beq	1aec <Stack_check_Dump_threads_usage+0x130>   <== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
    19cc:	e59f3120 	ldr	r3, [pc, #288]	; 1af4 <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
    19d0:	e5938000 	ldr	r8, [r3]                                      <== NOT EXECUTED
    19d4:	e3580000 	cmp	r8, #0	; 0x0                                  <== NOT EXECUTED
    19d8:	0a000043 	beq	1aec <Stack_check_Dump_threads_usage+0x130>   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    19dc:	e3740001 	cmn	r4, #1	; 0x1                                  <== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
    19e0:	159490f4 	ldrne	r9, [r4, #244]                              <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    19e4:	128460c4 	addne	r6, r4, #196	; 0xc4                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    19e8:	1a000006 	bne	1a08 <Stack_check_Dump_threads_usage+0x4c>    <== NOT EXECUTED
    if (Stack_check_Interrupt_stack.area) {                           
    19ec:	e59f2104 	ldr	r2, [pc, #260]	; 1af8 <Stack_check_Dump_threads_usage+0x13c><== NOT EXECUTED
    19f0:	e5923004 	ldr	r3, [r2, #4]                                  <== NOT EXECUTED
    19f4:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
      stack = &Stack_check_Interrupt_stack;                           
      the_thread = 0;                                                 
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
    19f8:	12844001 	addne	r4, r4, #1	; 0x1                            <== NOT EXECUTED
    19fc:	11a06002 	movne	r6, r2                                      <== NOT EXECUTED
    1a00:	11a09004 	movne	r9, r4                                      <== NOT EXECUTED
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    if (Stack_check_Interrupt_stack.area) {                           
    1a04:	0a000038 	beq	1aec <Stack_check_Dump_threads_usage+0x130>   <== NOT EXECUTED
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
    1a08:	e896000c 	ldm	r6, {r2, r3}                                  <== NOT EXECUTED
    1a0c:	e2835010 	add	r5, r3, #16	; 0x10                            <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
    1a10:	e2427010 	sub	r7, r2, #16	; 0x10                            <== NOT EXECUTED
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
    1a14:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    1a18:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
    1a1c:	ebffffd8 	bl	1984 <Stack_check_find_high_water_mark>        <== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
    1a20:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
    1a24:	10853007 	addne	r3, r5, r7                                  <== 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 )                                              
    1a28:	01a0a000 	moveq	sl, r0                                      <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
    1a2c:	1060a003 	rsbne	sl, r0, r3                                  <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
    1a30:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    1a34:	e59f00c0 	ldr	r0, [pc, #192]	; 1afc <Stack_check_Dump_threads_usage+0x140><== NOT EXECUTED
    1a38:	0a00000c 	beq	1a70 <Stack_check_Dump_threads_usage+0xb4>    <== NOT EXECUTED
    (*print_handler)(                                                 
    1a3c:	e5944008 	ldr	r4, [r4, #8]                                  <== NOT EXECUTED
    1a40:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
    1a44:	e28d200b 	add	r2, sp, #11	; 0xb                             <== NOT EXECUTED
    1a48:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    1a4c:	e3a01005 	mov	r1, #5	; 0x5                                  <== NOT EXECUTED
    1a50:	eb000dbd 	bl	514c <rtems_object_get_name>                   <== NOT EXECUTED
    1a54:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    1a58:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    1a5c:	e59f109c 	ldr	r1, [pc, #156]	; 1b00 <Stack_check_Dump_threads_usage+0x144><== NOT EXECUTED
    1a60:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    1a64:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1a68:	e12fff18 	bx	r8                                             <== NOT EXECUTED
    1a6c:	ea000004 	b	1a84 <Stack_check_Dump_threads_usage+0xc8>      <== NOT EXECUTED
      "0x%08" PRIx32 "  %4s",                                         
      the_thread->Object.id,                                          
      rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
    1a70:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
    1a74:	e59f1088 	ldr	r1, [pc, #136]	; 1b04 <Stack_check_Dump_threads_usage+0x148><== NOT EXECUTED
    1a78:	e3e02000 	mvn	r2, #0	; 0x0                                  <== NOT EXECUTED
    1a7c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1a80:	e12fff18 	bx	r8                                             <== NOT EXECUTED
  }                                                                   
                                                                      
  (*print_handler)(                                                   
    1a84:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
    1a88:	e5962004 	ldr	r2, [r6, #4]                                  <== NOT EXECUTED
    1a8c:	e59f5068 	ldr	r5, [pc, #104]	; 1afc <Stack_check_Dump_threads_usage+0x140><== NOT EXECUTED
    1a90:	e58d9000 	str	r9, [sp]                                      <== NOT EXECUTED
    1a94:	e58d7004 	str	r7, [sp, #4]                                  <== NOT EXECUTED
    1a98:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    1a9c:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
    1aa0:	e59f404c 	ldr	r4, [pc, #76]	; 1af4 <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
    1aa4:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
    1aa8:	e59f1058 	ldr	r1, [pc, #88]	; 1b08 <Stack_check_Dump_threads_usage+0x14c><== NOT EXECUTED
    1aac:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1ab0:	e594f000 	ldr	pc, [r4]                                      <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    1ab4:	e59f3050 	ldr	r3, [pc, #80]	; 1b0c <Stack_check_Dump_threads_usage+0x150><== NOT EXECUTED
    1ab8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    1abc:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    1ac0:	1a000004 	bne	1ad8 <Stack_check_Dump_threads_usage+0x11c>   <== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
    1ac4:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
    1ac8:	e59f1040 	ldr	r1, [pc, #64]	; 1b10 <Stack_check_Dump_threads_usage+0x154><== NOT EXECUTED
    1acc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1ad0:	e594f000 	ldr	pc, [r4]                                      <== NOT EXECUTED
    1ad4:	ea000004 	b	1aec <Stack_check_Dump_threads_usage+0x130>     <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
    1ad8:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
    1adc:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
    1ae0:	e59f102c 	ldr	r1, [pc, #44]	; 1b14 <Stack_check_Dump_threads_usage+0x158><== NOT EXECUTED
    1ae4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1ae8:	e594f000 	ldr	pc, [r4]                                      <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
    1aec:	e28dd010 	add	sp, sp, #16	; 0x10                            <== NOT EXECUTED
    1af0:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      

00001984 <Stack_check_find_high_water_mark>: * start at lower memory and find first word that does not * match pattern */ base += PATTERN_SIZE_WORDS; for (ebase = base + length; base < ebase; base++)
    1984:	e3c11003 	bic	r1, r1, #3	; 0x3                              <== NOT EXECUTED
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    1988:	e2800010 	add	r0, r0, #16	; 0x10                            <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
    198c:	e0802001 	add	r2, r0, r1                                    <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
    1990:	e59f1020 	ldr	r1, [pc, #32]	; 19b8 <Stack_check_find_high_water_mark+0x34><== NOT EXECUTED
    1994:	ea000003 	b	19a8 <Stack_check_find_high_water_mark+0x24>    <== NOT EXECUTED
    1998:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
    199c:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
    19a0:	112fff1e 	bxne	lr                                           <== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
    19a4:	e2800004 	add	r0, r0, #4	; 0x4                              <== NOT EXECUTED
    19a8:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
    19ac:	3afffff9 	bcc	1998 <Stack_check_find_high_water_mark+0x14>  <== NOT EXECUTED
    19b0:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
    19b4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

00004cc8 <_API_extensions_Add>: */ void _API_extensions_Add( API_extensions_Control *the_extension ) {
    4cc8:	e1a01000 	mov	r1, r0                                        
  _Chain_Append( &_API_extensions_List, &the_extension->Node );       
    4ccc:	e59f0000 	ldr	r0, [pc, #0]	; 4cd4 <_API_extensions_Add+0xc> 
    4cd0:	ea000041 	b	4ddc <_Chain_Append>                            
                                                                      

00004c04 <_API_extensions_Initialization>: */ RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty( Chain_Control *the_chain ) { the_chain->first = _Chain_Tail(the_chain);
    4c04:	e59f3010 	ldr	r3, [pc, #16]	; 4c1c <_API_extensions_Initialization+0x18>
    4c08:	e2832004 	add	r2, r3, #4	; 0x4                              
    4c0c:	e5832000 	str	r2, [r3]                                      
  the_chain->permanent_null = NULL;                                   
    4c10:	e3a02000 	mov	r2, #0	; 0x0                                  
    4c14:	e983000c 	stmib	r3, {r2, r3}                                
 */                                                                   
                                                                      
void _API_extensions_Initialization( void )                           
{                                                                     
 _Chain_Initialize_empty( &_API_extensions_List );                    
}                                                                     
    4c18:	e12fff1e 	bx	lr                                             
                                                                      

00004c88 <_API_extensions_Run_postswitch>: * * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
    4c88:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
    4c8c:	e59f502c 	ldr	r5, [pc, #44]	; 4cc0 <_API_extensions_Run_postswitch+0x38><== NOT EXECUTED
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    if ( the_extension->postswitch_hook )                             
      (*the_extension->postswitch_hook)( _Thread_Executing );         
    4c90:	e59f602c 	ldr	r6, [pc, #44]	; 4cc4 <_API_extensions_Run_postswitch+0x3c><== NOT EXECUTED
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
    4c94:	e4954004 	ldr	r4, [r5], #4                                  <== NOT EXECUTED
    4c98:	ea000005 	b	4cb4 <_API_extensions_Run_postswitch+0x2c>      <== NOT EXECUTED
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    if ( the_extension->postswitch_hook )                             
    4c9c:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    4ca0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
      (*the_extension->postswitch_hook)( _Thread_Executing );         
    4ca4:	15960000 	ldrne	r0, [r6]                                    <== NOT EXECUTED
    4ca8:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    4cac:	112fff13 	bxne	r3                                           <== NOT EXECUTED
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
    4cb0:	e5944000 	ldr	r4, [r4]                                      <== NOT EXECUTED
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
    4cb4:	e1540005 	cmp	r4, r5                                        <== NOT EXECUTED
    4cb8:	1afffff7 	bne	4c9c <_API_extensions_Run_postswitch+0x14>    <== NOT EXECUTED
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    if ( the_extension->postswitch_hook )                             
      (*the_extension->postswitch_hook)( _Thread_Executing );         
  }                                                                   
}                                                                     
    4cbc:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

000069c0 <_CORE_RWLock_Release>: CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) { ISR_Level level; Thread_Control *executing = _Thread_Executing;
    69c0:	e59f30dc 	ldr	r3, [pc, #220]	; 6aa4 <_CORE_RWLock_Release+0xe4>
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
    69c4:	e92d4010 	push	{r4, lr}                                     
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
    69c8:	e5931000 	ldr	r1, [r3]                                      
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
    69cc:	e1a04000 	mov	r4, r0                                        
   *  Otherwise, we have to block.                                    
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    69d0:	e10f2000 	mrs	r2, CPSR                                      
    69d4:	e38230c0 	orr	r3, r2, #192	; 0xc0                           
    69d8:	e129f003 	msr	CPSR_fc, r3                                   
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
    69dc:	e5903044 	ldr	r3, [r0, #68]                                 
    69e0:	e3530000 	cmp	r3, #0	; 0x0                                  
    69e4:	1a000003 	bne	69f8 <_CORE_RWLock_Release+0x38>              
      _ISR_Enable( level );                                           
    69e8:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
    69ec:	e2833002 	add	r3, r3, #2	; 0x2                              <== NOT EXECUTED
    69f0:	e5813034 	str	r3, [r1, #52]                                 <== NOT EXECUTED
    69f4:	ea000028 	b	6a9c <_CORE_RWLock_Release+0xdc>                <== NOT EXECUTED
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
    69f8:	e3530001 	cmp	r3, #1	; 0x1                                  
    69fc:	1a000006 	bne	6a1c <_CORE_RWLock_Release+0x5c>              
	the_rwlock->number_of_readers -= 1;                                  
    6a00:	e5903048 	ldr	r3, [r0, #72]                                 
    6a04:	e2433001 	sub	r3, r3, #1	; 0x1                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
    6a08:	e3530000 	cmp	r3, #0	; 0x0                                  
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
	the_rwlock->number_of_readers -= 1;                                  
    6a0c:	e5803048 	str	r3, [r0, #72]                                 
	if ( the_rwlock->number_of_readers != 0 ) {                          
    6a10:	0a000001 	beq	6a1c <_CORE_RWLock_Release+0x5c>              
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
    6a14:	e129f002 	msr	CPSR_fc, r2                                   
    6a18:	ea00001f 	b	6a9c <_CORE_RWLock_Release+0xdc>                
          return CORE_RWLOCK_SUCCESSFUL;                              
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    6a1c:	e3a03000 	mov	r3, #0	; 0x0                                  
    6a20:	e5813034 	str	r3, [r1, #52]                                 
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
    6a24:	e5843044 	str	r3, [r4, #68]                                 
  _ISR_Enable( level );                                               
    6a28:	e129f002 	msr	CPSR_fc, r2                                   
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
    6a2c:	e1a00004 	mov	r0, r4                                        
    6a30:	eb00055f 	bl	7fb4 <_Thread_queue_Dequeue>                   
                                                                      
  if ( next ) {                                                       
    6a34:	e3500000 	cmp	r0, #0	; 0x0                                  
    6a38:	0a000017 	beq	6a9c <_CORE_RWLock_Release+0xdc>              
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
    6a3c:	e5903030 	ldr	r3, [r0, #48]                                 
    6a40:	e3530001 	cmp	r3, #1	; 0x1                                  
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
    6a44:	02833001 	addeq	r3, r3, #1	; 0x1                            
    6a48:	05843044 	streq	r3, [r4, #68]                               
  _ISR_Enable( level );                                               
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
                                                                      
  if ( next ) {                                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
    6a4c:	0a000012 	beq	6a9c <_CORE_RWLock_Release+0xdc>              
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
    6a50:	e5943048 	ldr	r3, [r4, #72]                                 
    6a54:	e2833001 	add	r3, r3, #1	; 0x1                              
    6a58:	e5843048 	str	r3, [r4, #72]                                 
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
    6a5c:	e3a03001 	mov	r3, #1	; 0x1                                  
    6a60:	e5843044 	str	r3, [r4, #68]                                 
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
    6a64:	e1a00004 	mov	r0, r4                                        
    6a68:	eb000698 	bl	84d0 <_Thread_queue_First>                     
      if ( !next ||                                                   
    6a6c:	e2503000 	subs	r3, r0, #0	; 0x0                             
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
    6a70:	e1a01003 	mov	r1, r3                                        
    6a74:	e1a00004 	mov	r0, r4                                        
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
      if ( !next ||                                                   
    6a78:	0a000007 	beq	6a9c <_CORE_RWLock_Release+0xdc>              
    6a7c:	e5933030 	ldr	r3, [r3, #48]                                 
    6a80:	e3530001 	cmp	r3, #1	; 0x1                                  
    6a84:	0a000004 	beq	6a9c <_CORE_RWLock_Release+0xdc>              
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
    6a88:	e5943048 	ldr	r3, [r4, #72]                                 
    6a8c:	e2833001 	add	r3, r3, #1	; 0x1                              
    6a90:	e5843048 	str	r3, [r4, #72]                                 
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
    6a94:	eb000643 	bl	83a8 <_Thread_queue_Extract>                   
    6a98:	eafffff1 	b	6a64 <_CORE_RWLock_Release+0xa4>                
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
    6a9c:	e3a00000 	mov	r0, #0	; 0x0                                  
    6aa0:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00011b58 <_CORE_message_queue_Broadcast>: { Thread_Control *the_thread; uint32_t number_broadcasted; Thread_Wait_information *waitp; if ( size > the_message_queue->maximum_message_size ) {
   11b58:	e590304c 	ldr	r3, [r0, #76]                                 
  size_t                                     size,                    
  Objects_Id                                 id,                      
  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
  uint32_t                                  *count                    
)                                                                     
{                                                                     
   11b5c:	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 ) {             
   11b60:	e1520003 	cmp	r2, r3                                        
  size_t                                     size,                    
  Objects_Id                                 id,                      
  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
  uint32_t                                  *count                    
)                                                                     
{                                                                     
   11b64:	e1a07000 	mov	r7, r0                                        
   11b68:	e1a06002 	mov	r6, r2                                        
   11b6c:	e1a08001 	mov	r8, r1                                        
   11b70:	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 ) {             
   11b74:	83a00001 	movhi	r0, #1	; 0x1                                
   11b78:	88bd85f0 	pophi	{r4, r5, r6, r7, r8, sl, pc}                
   *  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 ) {         
   11b7c:	e5973048 	ldr	r3, [r7, #72]                                 
   11b80:	e3530000 	cmp	r3, #0	; 0x0                                  
    *count = 0;                                                       
   11b84:	13a03000 	movne	r3, #0	; 0x0                                
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
                                                                      
  number_broadcasted = 0;                                             
  while ((the_thread = _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {
   11b88:	01a05003 	moveq	r5, r3                                      
   *        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 ) {         
    *count = 0;                                                       
   11b8c:	158a3000 	strne	r3, [sl]                                    
   11b90:	11a00003 	movne	r0, r3                                      
   *  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 ) {         
   11b94:	0a000005 	beq	11bb0 <_CORE_message_queue_Broadcast+0x58>    
   11b98:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   11b9c:	e594002c 	ldr	r0, [r4, #44]                                 
   11ba0:	eb001f30 	bl	19868 <memcpy>                                 
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
   11ba4:	e5943028 	ldr	r3, [r4, #40]                                 
   11ba8:	e5836000 	str	r6, [r3]                                      
   */                                                                 
                                                                      
  number_broadcasted = 0;                                             
  while ((the_thread = _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
   11bac:	e2855001 	add	r5, r5, #1	; 0x1                              
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
                                                                      
  number_broadcasted = 0;                                             
  while ((the_thread = _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {
   11bb0:	e1a00007 	mov	r0, r7                                        
   11bb4:	eb00092d 	bl	14070 <_Thread_queue_Dequeue>                  
   11bb8:	e2504000 	subs	r4, r0, #0	; 0x0                             
   11bbc:	e1a01008 	mov	r1, r8                                        
   11bc0:	e1a02006 	mov	r2, r6                                        
   11bc4:	1afffff4 	bne	11b9c <_CORE_message_queue_Broadcast+0x44>    
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_message_queue_mp_support) ( the_thread, id );             
#endif                                                                
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
   11bc8:	e58a5000 	str	r5, [sl]                                      
   11bcc:	e1a00004 	mov	r0, r4                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
   11bd0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

0000b824 <_CORE_message_queue_Submit>: CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, CORE_message_queue_Submit_types submit_type, bool wait, Watchdog_Interval timeout ) {
    b824:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  ISR_Level                            level;                         
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    b828:	e590c04c 	ldr	ip, [r0, #76]                                 
    b82c:	e152000c 	cmp	r2, ip                                        
  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
  CORE_message_queue_Submit_types            submit_type,             
  bool                                       wait,                    
  Watchdog_Interval                          timeout                  
)                                                                     
{                                                                     
    b830:	e1a05000 	mov	r5, r0                                        
    b834:	e1a06002 	mov	r6, r2                                        
    b838:	e1a07001 	mov	r7, r1                                        
    b83c:	e1a0b003 	mov	fp, r3                                        
    b840:	e59d9028 	ldr	r9, [sp, #40]                                 
    b844:	e5dda02c 	ldrb	sl, [sp, #44]                                
  ISR_Level                            level;                         
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    b848:	83a00001 	movhi	r0, #1	; 0x1                                
    b84c:	88bd8ff0 	pophi	{r4, r5, r6, r7, r8, r9, sl, fp, pc}        
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    b850:	e5958048 	ldr	r8, [r5, #72]                                 
    b854:	e3580000 	cmp	r8, #0	; 0x0                                  
    b858:	1a00000b 	bne	b88c <_CORE_message_queue_Submit+0x68>        
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
    b85c:	eb000671 	bl	d228 <_Thread_queue_Dequeue>                   
    if ( the_thread ) {                                               
    b860:	e2504000 	subs	r4, r0, #0	; 0x0                             
    b864:	0a000008 	beq	b88c <_CORE_message_queue_Submit+0x68>        
    b868:	e1a01007 	mov	r1, r7                                        
    b86c:	e594002c 	ldr	r0, [r4, #44]                                 
    b870:	e1a02006 	mov	r2, r6                                        
    b874:	eb001d4c 	bl	12dac <memcpy>                                 
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
    b878:	e5943028 	ldr	r3, [r4, #40]                                 
      the_thread->Wait.count = submit_type;                           
    b87c:	e1a00008 	mov	r0, r8                                        
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
    b880:	e5836000 	str	r6, [r3]                                      
      the_thread->Wait.count = submit_type;                           
    b884:	e5849024 	str	r9, [r4, #36]                                 
    b888:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  /*                                                                  
   *  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 <                
    b88c:	e5952048 	ldr	r2, [r5, #72]                                 
    b890:	e5953044 	ldr	r3, [r5, #68]                                 
    b894:	e1520003 	cmp	r2, r3                                        
    b898:	2a00000f 	bcs	b8dc <_CORE_message_queue_Submit+0xb8>        
RTEMS_INLINE_ROUTINE CORE_message_queue_Buffer_control *              
_CORE_message_queue_Allocate_message_buffer (                         
    CORE_message_queue_Control *the_message_queue                     
)                                                                     
{                                                                     
   return (CORE_message_queue_Buffer_control *)                       
    b89c:	e2850068 	add	r0, r5, #104	; 0x68                           
    b8a0:	eb001485 	bl	10abc <_Chain_Get>                             
                                                                      
    /*                                                                
     *  NOTE: If the system is consistent, this error should never occur.
     */                                                               
                                                                      
    if ( !the_message ) {                                             
    b8a4:	e2504000 	subs	r4, r0, #0	; 0x0                             
    b8a8:	0a000025 	beq	b944 <_CORE_message_queue_Submit+0x120>       
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
    b8ac:	e1a01007 	mov	r1, r7                                        
    b8b0:	e1a02006 	mov	r2, r6                                        
    b8b4:	e2840010 	add	r0, r4, #16	; 0x10                            
    b8b8:	eb001d3b 	bl	12dac <memcpy>                                 
      size                                                            
    );                                                                
    the_message->Contents.size = size;                                
    the_message->priority  = submit_type;                             
                                                                      
    _CORE_message_queue_Insert_message(                               
    b8bc:	e1a00005 	mov	r0, r5                                        
    _CORE_message_queue_Copy_buffer(                                  
      buffer,                                                         
      the_message->Contents.buffer,                                   
      size                                                            
    );                                                                
    the_message->Contents.size = size;                                
    b8c0:	e584600c 	str	r6, [r4, #12]                                 
    the_message->priority  = submit_type;                             
    b8c4:	e5849008 	str	r9, [r4, #8]                                  
                                                                      
    _CORE_message_queue_Insert_message(                               
    b8c8:	e1a01004 	mov	r1, r4                                        
    b8cc:	e1a02009 	mov	r2, r9                                        
    b8d0:	eb001496 	bl	10b30 <_CORE_message_queue_Insert_message>     
    b8d4:	e3a00000 	mov	r0, #0	; 0x0                                  
    b8d8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  No message buffers were available so we may need to return an   
   *  overflow error or block the sender until the message is placed  
   *  on the queue.                                                   
   */                                                                 
                                                                      
  if ( !wait ) {                                                      
    b8dc:	e35a0000 	cmp	sl, #0	; 0x0                                  
    b8e0:	03a00002 	moveq	r0, #2	; 0x2                                
    b8e4:	08bd8ff0 	popeq	{r4, r5, r6, r7, r8, r9, sl, fp, pc}        
  /*                                                                  
   *  Do NOT block on a send if the caller is in an ISR.  It is       
   *  deadly to block in an ISR.                                      
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() ) {                                      
    b8e8:	e59f305c 	ldr	r3, [pc, #92]	; b94c <_CORE_message_queue_Submit+0x128>
    b8ec:	e5933000 	ldr	r3, [r3]                                      
    b8f0:	e3530000 	cmp	r3, #0	; 0x0                                  
    b8f4:	1a000012 	bne	b944 <_CORE_message_queue_Submit+0x120>       
   *  it as a variable.  Doing this emphasizes how dangerous it       
   *  would be to use this variable prior to here.                    
   */                                                                 
                                                                      
  {                                                                   
    Thread_Control  *executing = _Thread_Executing;                   
    b8f8:	e59f3050 	ldr	r3, [pc, #80]	; b950 <_CORE_message_queue_Submit+0x12c>
    b8fc:	e5932000 	ldr	r2, [r3]                                      
                                                                      
    _ISR_Disable( level );                                            
    b900:	e10f1000 	mrs	r1, CPSR                                      
    b904:	e38130c0 	orr	r3, r1, #192	; 0xc0                           
    b908:	e129f003 	msr	CPSR_fc, r3                                   
    b90c:	e3a03001 	mov	r3, #1	; 0x1                                  
    b910:	e5853030 	str	r3, [r5, #48]                                 
    _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
    executing->Wait.queue = &the_message_queue->Wait_queue;           
    executing->Wait.id = id;                                          
    executing->Wait.return_argument_second.immutable_object = buffer; 
    executing->Wait.option = (uint32_t) size;                         
    executing->Wait.count = submit_type;                              
    b914:	e5829024 	str	r9, [r2, #36]                                 
    Thread_Control  *executing = _Thread_Executing;                   
                                                                      
    _ISR_Disable( level );                                            
    _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
    executing->Wait.queue = &the_message_queue->Wait_queue;           
    executing->Wait.id = id;                                          
    b918:	e582b020 	str	fp, [r2, #32]                                 
    executing->Wait.return_argument_second.immutable_object = buffer; 
    b91c:	e582702c 	str	r7, [r2, #44]                                 
    executing->Wait.option = (uint32_t) size;                         
    b920:	e5826030 	str	r6, [r2, #48]                                 
  {                                                                   
    Thread_Control  *executing = _Thread_Executing;                   
                                                                      
    _ISR_Disable( level );                                            
    _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
    executing->Wait.queue = &the_message_queue->Wait_queue;           
    b924:	e5825044 	str	r5, [r2, #68]                                 
    executing->Wait.id = id;                                          
    executing->Wait.return_argument_second.immutable_object = buffer; 
    executing->Wait.option = (uint32_t) size;                         
    executing->Wait.count = submit_type;                              
    _ISR_Enable( level );                                             
    b928:	e129f001 	msr	CPSR_fc, r1                                   
                                                                      
    _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout ); 
    b92c:	e59f2020 	ldr	r2, [pc, #32]	; b954 <_CORE_message_queue_Submit+0x130>
    b930:	e1a00005 	mov	r0, r5                                        
    b934:	e59d1030 	ldr	r1, [sp, #48]                                 
    b938:	eb000693 	bl	d38c <_Thread_queue_Enqueue_with_handler>      
    b93c:	e3a00007 	mov	r0, #7	; 0x7                                  
    b940:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  }                                                                   
                                                                      
  return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                  
    b944:	e3a00003 	mov	r0, #3	; 0x3                                  <== NOT EXECUTED
}                                                                     
    b948:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      

00004ec0 <_CORE_mutex_Seize_interrupt_blocking>: ) { Thread_Control *executing; executing = _Thread_Executing; if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ) {
    4ec0:	e5903048 	ldr	r3, [r0, #72]                                 <== NOT EXECUTED
    4ec4:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
  Watchdog_Interval    timeout                                        
)                                                                     
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  executing = _Thread_Executing;                                      
    4ec8:	e59f304c 	ldr	r3, [pc, #76]	; 4f1c <_CORE_mutex_Seize_interrupt_blocking+0x5c><== NOT EXECUTED
                                                                      
void _CORE_mutex_Seize_interrupt_blocking(                            
  CORE_mutex_Control  *the_mutex,                                     
  Watchdog_Interval    timeout                                        
)                                                                     
{                                                                     
    4ecc:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    4ed0:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
    4ed4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  Thread_Control   *executing;                                        
                                                                      
  executing = _Thread_Executing;                                      
    4ed8:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ) {  
    4edc:	1a000005 	bne	4ef8 <_CORE_mutex_Seize_interrupt_blocking+0x38><== NOT EXECUTED
    if ( the_mutex->holder->current_priority > executing->current_priority ) {
    4ee0:	e590005c 	ldr	r0, [r0, #92]                                 <== NOT EXECUTED
    4ee4:	e5911014 	ldr	r1, [r1, #20]                                 <== NOT EXECUTED
    4ee8:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
    4eec:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
      _Thread_Change_priority(                                        
    4ef0:	83a02000 	movhi	r2, #0	; 0x0                                <== NOT EXECUTED
    4ef4:	8b000381 	blhi	5d00 <_Thread_Change_priority>               <== NOT EXECUTED
        FALSE                                                         
      );                                                              
    }                                                                 
  }                                                                   
                                                                      
  the_mutex->blocked_count++;                                         
    4ef8:	e5943058 	ldr	r3, [r4, #88]                                 <== NOT EXECUTED
    4efc:	e2833001 	add	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    4f00:	e5843058 	str	r3, [r4, #88]                                 <== NOT EXECUTED
  _Thread_queue_Enqueue( &the_mutex->Wait_queue, timeout );           
    4f04:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    4f08:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    4f0c:	e59f200c 	ldr	r2, [pc, #12]	; 4f20 <_CORE_mutex_Seize_interrupt_blocking+0x60><== NOT EXECUTED
    4f10:	eb00061d 	bl	678c <_Thread_queue_Enqueue_with_handler>      <== NOT EXECUTED
                                                                      
  _Thread_Enable_dispatch();                                          
}                                                                     
    4f14:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  the_mutex->blocked_count++;                                         
  _Thread_queue_Enqueue( &the_mutex->Wait_queue, timeout );           
                                                                      
  _Thread_Enable_dispatch();                                          
    4f18:	ea0004e0 	b	62a0 <_Thread_Enable_dispatch>                  <== NOT EXECUTED
                                                                      

00009d34 <_CORE_mutex_Seize_interrupt_trylock>: Thread_Control *executing; ISR_Level level = *level_p; /* disabled when you get here */ executing = _Thread_Executing;
    9d34:	e59f3130 	ldr	r3, [pc, #304]	; 9e6c <_CORE_mutex_Seize_interrupt_trylock+0x138>
    9d38:	e593c000 	ldr	ip, [r3]                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
    9d3c:	e3a02000 	mov	r2, #0	; 0x0                                  
  CORE_mutex_Control  *the_mutex,                                     
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
  Thread_Control   *executing;                                        
  ISR_Level         level = *level_p;                                 
    9d40:	e5911000 	ldr	r1, [r1]                                      
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
    9d44:	e58c2034 	str	r2, [ip, #52]                                 
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    9d48:	e5903050 	ldr	r3, [r0, #80]                                 
    9d4c:	e1530002 	cmp	r3, r2                                        
#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__)                 
int _CORE_mutex_Seize_interrupt_trylock(                              
  CORE_mutex_Control  *the_mutex,                                     
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
    9d50:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
    9d54:	0a00002f 	beq	9e18 <_CORE_mutex_Seize_interrupt_trylock+0xe4>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    9d58:	e5802050 	str	r2, [r0, #80]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(            
  CORE_mutex_Attributes *the_attribute                                
)                                                                     
{                                                                     
  return the_attribute->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
    9d5c:	e5902048 	ldr	r2, [r0, #72]                                 
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
    9d60:	e59c3008 	ldr	r3, [ip, #8]                                  
    the_mutex->nest_count = 1;                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
    9d64:	e3520002 	cmp	r2, #2	; 0x2                                  
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
    9d68:	e5803060 	str	r3, [r0, #96]                                 
    the_mutex->nest_count = 1;                                        
    9d6c:	e3a03001 	mov	r3, #1	; 0x1                                  
    9d70:	e5803054 	str	r3, [r0, #84]                                 
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
    9d74:	e580c05c 	str	ip, [r0, #92]                                 
    the_mutex->holder_id  = executing->Object.id;                     
    the_mutex->nest_count = 1;                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
    9d78:	0a000001 	beq	9d84 <_CORE_mutex_Seize_interrupt_trylock+0x50>
    9d7c:	e3520003 	cmp	r2, #3	; 0x3                                  
    9d80:	1a000002 	bne	9d90 <_CORE_mutex_Seize_interrupt_trylock+0x5c>
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
    9d84:	e59c301c 	ldr	r3, [ip, #28]                                 
    9d88:	e2833001 	add	r3, r3, #1	; 0x1                              
    9d8c:	e58c301c 	str	r3, [ip, #28]                                 
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
    9d90:	e5903048 	ldr	r3, [r0, #72]                                 
    9d94:	e3530003 	cmp	r3, #3	; 0x3                                  
    9d98:	0a000001 	beq	9da4 <_CORE_mutex_Seize_interrupt_trylock+0x70>
        _ISR_Enable( level );                                         
    9d9c:	e129f001 	msr	CPSR_fc, r1                                   
    9da0:	ea00002d 	b	9e5c <_CORE_mutex_Seize_interrupt_trylock+0x128>
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
    9da4:	e590204c 	ldr	r2, [r0, #76]                                 
      current = executing->current_priority;                          
    9da8:	e59c3014 	ldr	r3, [ip, #20]                                 
      if ( current == ceiling ) {                                     
    9dac:	e1530002 	cmp	r3, r2                                        
    9db0:	1a000001 	bne	9dbc <_CORE_mutex_Seize_interrupt_trylock+0x88>
        _ISR_Enable( level );                                         
    9db4:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    9db8:	ea000027 	b	9e5c <_CORE_mutex_Seize_interrupt_trylock+0x128><== NOT EXECUTED
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
    9dbc:	9a00000a 	bls	9dec <_CORE_mutex_Seize_interrupt_trylock+0xb8>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    9dc0:	e59f20a8 	ldr	r2, [pc, #168]	; 9e70 <_CORE_mutex_Seize_interrupt_trylock+0x13c>
    9dc4:	e5923000 	ldr	r3, [r2]                                      
    9dc8:	e2833001 	add	r3, r3, #1	; 0x1                              
    9dcc:	e5823000 	str	r3, [r2]                                      
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( level );                                         
    9dd0:	e129f001 	msr	CPSR_fc, r1                                   
        _Thread_Change_priority(                                      
    9dd4:	e3a02000 	mov	r2, #0	; 0x0                                  
    9dd8:	e590104c 	ldr	r1, [r0, #76]                                 
    9ddc:	e590005c 	ldr	r0, [r0, #92]                                 
    9de0:	ebffefc6 	bl	5d00 <_Thread_Change_priority>                 
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         FALSE                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
    9de4:	ebfff12d 	bl	62a0 <_Thread_Enable_dispatch>                 
    9de8:	ea00001b 	b	9e5c <_CORE_mutex_Seize_interrupt_trylock+0x128>
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
    9dec:	e3a03006 	mov	r3, #6	; 0x6                                  <== NOT EXECUTED
    9df0:	e58c3034 	str	r3, [ip, #52]                                 <== NOT EXECUTED
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
        the_mutex->nest_count = 0;     /* undo locking above */       
    9df4:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    9df8:	e5803054 	str	r3, [r0, #84]                                 <== NOT EXECUTED
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
    9dfc:	e2833001 	add	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    9e00:	e5803050 	str	r3, [r0, #80]                                 <== NOT EXECUTED
        the_mutex->nest_count = 0;     /* undo locking above */       
        executing->resource_count--;   /* undo locking above */       
    9e04:	e59c301c 	ldr	r3, [ip, #28]                                 <== NOT EXECUTED
    9e08:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    9e0c:	e58c301c 	str	r3, [ip, #28]                                 <== NOT EXECUTED
        _ISR_Enable( level );                                         
    9e10:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    9e14:	ea000010 	b	9e5c <_CORE_mutex_Seize_interrupt_trylock+0x128><== NOT EXECUTED
  /*                                                                  
   *  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 ) ) {                  
    9e18:	e590205c 	ldr	r2, [r0, #92]                                 
    9e1c:	e152000c 	cmp	r2, ip                                        
    9e20:	1a00000f 	bne	9e64 <_CORE_mutex_Seize_interrupt_trylock+0x130>
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
    9e24:	e5903040 	ldr	r3, [r0, #64]                                 
    9e28:	e3530000 	cmp	r3, #0	; 0x0                                  
    9e2c:	0a000002 	beq	9e3c <_CORE_mutex_Seize_interrupt_trylock+0x108>
    9e30:	e3530001 	cmp	r3, #1	; 0x1                                  
    9e34:	1a00000a 	bne	9e64 <_CORE_mutex_Seize_interrupt_trylock+0x130>
    9e38:	ea000004 	b	9e50 <_CORE_mutex_Seize_interrupt_trylock+0x11c>
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
    9e3c:	e5903054 	ldr	r3, [r0, #84]                                 
    9e40:	e2833001 	add	r3, r3, #1	; 0x1                              
    9e44:	e5803054 	str	r3, [r0, #84]                                 
        _ISR_Enable( level );                                         
    9e48:	e129f001 	msr	CPSR_fc, r1                                   
    9e4c:	ea000002 	b	9e5c <_CORE_mutex_Seize_interrupt_trylock+0x128>
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
    9e50:	e3a03002 	mov	r3, #2	; 0x2                                  
    9e54:	e5823034 	str	r3, [r2, #52]                                 
        _ISR_Enable( level );                                         
    9e58:	e129f001 	msr	CPSR_fc, r1                                   
    9e5c:	e3a00000 	mov	r0, #0	; 0x0                                  
    9e60:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    9e64:	e3a00001 	mov	r0, #1	; 0x1                                  
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
    9e68:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

00004fec <_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 ) {
    4fec:	e5d03044 	ldrb	r3, [r0, #68]                                
    4ff0:	e3530000 	cmp	r3, #0	; 0x0                                  
CORE_mutex_Status _CORE_mutex_Surrender(                              
  CORE_mutex_Control                *the_mutex,                       
  Objects_Id                         id,                              
  CORE_mutex_API_mp_support_callout  api_mutex_mp_support             
)                                                                     
{                                                                     
    4ff4:	e92d4010 	push	{r4, lr}                                     
    4ff8:	e1a04000 	mov	r4, r0                                        
  Thread_Control *the_thread;                                         
  Thread_Control *holder;                                             
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
  Chain_Node *first_node;                                             
#endif                                                                
  holder    = the_mutex->holder;                                      
    4ffc:	e590005c 	ldr	r0, [r0, #92]                                 
   *  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 ) {                   
    5000:	0a000004 	beq	5018 <_CORE_mutex_Surrender+0x2c>             
    if ( !_Thread_Is_executing( holder ) )                            
    5004:	e59f312c 	ldr	r3, [pc, #300]	; 5138 <_CORE_mutex_Surrender+0x14c>
    5008:	e5933000 	ldr	r3, [r3]                                      
    500c:	e1500003 	cmp	r0, r3                                        
    5010:	13a00003 	movne	r0, #3	; 0x3                                
    5014:	18bd8010 	popne	{r4, pc}                                    
      return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;                 
  }                                                                   
                                                                      
  /* XXX already unlocked -- not right status */                      
                                                                      
  if ( !the_mutex->nest_count )                                       
    5018:	e5943054 	ldr	r3, [r4, #84]                                 
    501c:	e3530000 	cmp	r3, #0	; 0x0                                  
    5020:	0a000042 	beq	5130 <_CORE_mutex_Surrender+0x144>            
    return CORE_MUTEX_STATUS_SUCCESSFUL;                              
                                                                      
  the_mutex->nest_count--;                                            
    5024:	e2433001 	sub	r3, r3, #1	; 0x1                              
                                                                      
  if ( the_mutex->nest_count != 0 ) {                                 
    5028:	e3530000 	cmp	r3, #0	; 0x0                                  
  /* XXX already unlocked -- not right status */                      
                                                                      
  if ( !the_mutex->nest_count )                                       
    return CORE_MUTEX_STATUS_SUCCESSFUL;                              
                                                                      
  the_mutex->nest_count--;                                            
    502c:	e5843054 	str	r3, [r4, #84]                                 
                                                                      
  if ( the_mutex->nest_count != 0 ) {                                 
    5030:	0a000005 	beq	504c <_CORE_mutex_Surrender+0x60>             
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
    5034:	e5943040 	ldr	r3, [r4, #64]                                 
    5038:	e3530000 	cmp	r3, #0	; 0x0                                  
    503c:	0a00003b 	beq	5130 <_CORE_mutex_Surrender+0x144>            
    5040:	e3530001 	cmp	r3, #1	; 0x1                                  <== NOT EXECUTED
    5044:	03a00002 	moveq	r0, #2	; 0x2                                <== NOT EXECUTED
    5048:	08bd8010 	popeq	{r4, pc}                                    <== NOT EXECUTED
    504c:	e5943048 	ldr	r3, [r4, #72]                                 
                                                                      
  /*                                                                  
   *  Formally release the mutex before possibly transferring it to a 
   *  blocked thread.                                                 
   */                                                                 
  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||   
    5050:	e3530002 	cmp	r3, #2	; 0x2                                  
    5054:	0a000001 	beq	5060 <_CORE_mutex_Surrender+0x74>             
    5058:	e3530003 	cmp	r3, #3	; 0x3                                  
    505c:	1a000002 	bne	506c <_CORE_mutex_Surrender+0x80>             
      the_mutex->nest_count++;                                        
      return CORE_MUTEX_RELEASE_NOT_ORDER;                            
    }                                                                 
    first_node = _Chain_Get_first_unprotected(&holder->lock_mutex);   
#endif                                                                
    holder->resource_count--;                                         
    5060:	e590301c 	ldr	r3, [r0, #28]                                 
    5064:	e2433001 	sub	r3, r3, #1	; 0x1                              
    5068:	e580301c 	str	r3, [r0, #28]                                 
    506c:	e5942048 	ldr	r2, [r4, #72]                                 
  }                                                                   
  the_mutex->holder    = NULL;                                        
    5070:	e3a03000 	mov	r3, #0	; 0x0                                  
  /*                                                                  
   *  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 ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||   
    5074:	e3520002 	cmp	r2, #2	; 0x2                                  
    first_node = _Chain_Get_first_unprotected(&holder->lock_mutex);   
#endif                                                                
    holder->resource_count--;                                         
  }                                                                   
  the_mutex->holder    = NULL;                                        
  the_mutex->holder_id = 0;                                           
    5078:	e5843060 	str	r3, [r4, #96]                                 
    }                                                                 
    first_node = _Chain_Get_first_unprotected(&holder->lock_mutex);   
#endif                                                                
    holder->resource_count--;                                         
  }                                                                   
  the_mutex->holder    = NULL;                                        
    507c:	e584305c 	str	r3, [r4, #92]                                 
  /*                                                                  
   *  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 ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||   
    5080:	0a000001 	beq	508c <_CORE_mutex_Surrender+0xa0>             
    5084:	e3520003 	cmp	r2, #3	; 0x3                                  
    5088:	1a000007 	bne	50ac <_CORE_mutex_Surrender+0xc0>             
       _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {  
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
    if(the_mutex->queue.priority_before != holder->current_priority)  
      _Thread_Change_priority(holder,the_mutex->queue.priority_before,TRUE);
#endif                                                                
    if ( holder->resource_count == 0 &&                               
    508c:	e590301c 	ldr	r3, [r0, #28]                                 
    5090:	e3530000 	cmp	r3, #0	; 0x0                                  
    5094:	1a000004 	bne	50ac <_CORE_mutex_Surrender+0xc0>             
    5098:	e5901018 	ldr	r1, [r0, #24]                                 
    509c:	e5903014 	ldr	r3, [r0, #20]                                 
    50a0:	e1510003 	cmp	r1, r3                                        
         holder->real_priority != holder->current_priority ) {        
      _Thread_Change_priority( holder, holder->real_priority, TRUE ); 
    50a4:	13a02001 	movne	r2, #1	; 0x1                                
    50a8:	1b000314 	blne	5d00 <_Thread_Change_priority>               
                                                                      
  /*                                                                  
   *  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 ) ) ) {
    50ac:	e1a00004 	mov	r0, r4                                        
    50b0:	eb00055c 	bl	6628 <_Thread_queue_Dequeue>                   
    50b4:	e2502000 	subs	r2, r0, #0	; 0x0                             
          }                                                           
          break;                                                      
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
    50b8:	03a03001 	moveq	r3, #1	; 0x1                                
    50bc:	05843050 	streq	r3, [r4, #80]                               
    50c0:	01a00002 	moveq	r0, r2                                      
                                                                      
  /*                                                                  
   *  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 ) ) ) {
    50c4:	08bd8010 	popeq	{r4, pc}                                    
    } else                                                            
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
      the_mutex->holder_id  = the_thread->Object.id;                  
    50c8:	e5923008 	ldr	r3, [r2, #8]                                  
      the_mutex->nest_count = 1;                                      
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
    50cc:	e5941048 	ldr	r1, [r4, #72]                                 
    } else                                                            
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
      the_mutex->holder_id  = the_thread->Object.id;                  
    50d0:	e5843060 	str	r3, [r4, #96]                                 
      the_mutex->nest_count = 1;                                      
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
    50d4:	e3510002 	cmp	r1, #2	; 0x2                                  
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
      the_mutex->holder_id  = the_thread->Object.id;                  
      the_mutex->nest_count = 1;                                      
    50d8:	e3a03001 	mov	r3, #1	; 0x1                                  
    50dc:	e5843054 	str	r3, [r4, #84]                                 
                                                                      
    } else                                                            
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
    50e0:	e584205c 	str	r2, [r4, #92]                                 
      the_mutex->holder_id  = the_thread->Object.id;                  
      the_mutex->nest_count = 1;                                      
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
    50e4:	0a000002 	beq	50f4 <_CORE_mutex_Surrender+0x108>            
    50e8:	e3510003 	cmp	r1, #3	; 0x3                                  
    50ec:	1a00000f 	bne	5130 <_CORE_mutex_Surrender+0x144>            
    50f0:	ea000003 	b	5104 <_CORE_mutex_Surrender+0x118>              <== NOT EXECUTED
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
	  _Chain_Prepend_unprotected(&the_thread->lock_mutex,&the_mutex->queue.lock_queue);
	  the_mutex->queue.priority_before = the_thread->current_priority;   
#endif                                                                
          the_thread->resource_count++;                               
    50f4:	e592301c 	ldr	r3, [r2, #28]                                 
    50f8:	e2833001 	add	r3, r3, #1	; 0x1                              
    50fc:	e582301c 	str	r3, [r2, #28]                                 
    5100:	ea000008 	b	5128 <_CORE_mutex_Surrender+0x13c>              
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
	  _Chain_Prepend_unprotected(&the_thread->lock_mutex,&the_mutex->queue.lock_queue);
	  the_mutex->queue.priority_before = the_thread->current_priority;   
#endif                                                                
          the_thread->resource_count++;                               
    5104:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
    5108:	e2833001 	add	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    510c:	e582301c 	str	r3, [r2, #28]                                 <== NOT EXECUTED
          if (the_mutex->Attributes.priority_ceiling <                
    5110:	e5923014 	ldr	r3, [r2, #20]                                 <== NOT EXECUTED
    5114:	e594104c 	ldr	r1, [r4, #76]                                 <== NOT EXECUTED
    5118:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
    511c:	2a000003 	bcs	5130 <_CORE_mutex_Surrender+0x144>            <== NOT EXECUTED
              the_thread->current_priority){                          
              _Thread_Change_priority(                                
    5120:	e3a02000 	mov	r2, #0	; 0x0                                  <== NOT EXECUTED
    5124:	eb0002f5 	bl	5d00 <_Thread_Change_priority>                 <== NOT EXECUTED
    5128:	e3a00000 	mov	r0, #0	; 0x0                                  
    512c:	e8bd8010 	pop	{r4, pc}                                      
          }                                                           
          break;                                                      
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
    5130:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
    5134:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00005918 <_CORE_spinlock_Release>: CORE_spinlock_Control *the_spinlock ) { ISR_Level level; _ISR_Disable( level );
    5918:	e10f1000 	mrs	r1, CPSR                                      
    591c:	e38130c0 	orr	r3, r1, #192	; 0xc0                           
    5920:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
    /*                                                                
     *  It must locked before it can be unlocked.                     
     */                                                               
    if ( the_spinlock->lock == CORE_SPINLOCK_UNLOCKED ) {             
    5924:	e5903004 	ldr	r3, [r0, #4]                                  
    5928:	e3530000 	cmp	r3, #0	; 0x0                                  
    592c:	1a000002 	bne	593c <_CORE_spinlock_Release+0x24>            
      _ISR_Enable( level );                                           
    5930:	e129f001 	msr	CPSR_fc, r1                                   
    5934:	e3a00006 	mov	r0, #6	; 0x6                                  
    5938:	e12fff1e 	bx	lr                                             
    }                                                                 
                                                                      
    /*                                                                
     *  It must locked by the current thread before it can be unlocked.
     */                                                               
    if ( the_spinlock->holder != _Thread_Executing->Object.id ) {     
    593c:	e59f3040 	ldr	r3, [pc, #64]	; 5984 <_CORE_spinlock_Release+0x6c>
    5940:	e5933000 	ldr	r3, [r3]                                      
    5944:	e5932008 	ldr	r2, [r3, #8]                                  
    5948:	e590300c 	ldr	r3, [r0, #12]                                 
    594c:	e1530002 	cmp	r3, r2                                        
    5950:	0a000002 	beq	5960 <_CORE_spinlock_Release+0x48>            
      _ISR_Enable( level );                                           
    5954:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    5958:	e3a00002 	mov	r0, #2	; 0x2                                  <== NOT EXECUTED
    595c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     *  Let it be unlocked.                                           
     */                                                               
    the_spinlock->users -= 1;                                         
    5960:	e5903008 	ldr	r3, [r0, #8]                                  
    the_spinlock->lock   = CORE_SPINLOCK_UNLOCKED;                    
    5964:	e3a02000 	mov	r2, #0	; 0x0                                  
    }                                                                 
                                                                      
    /*                                                                
     *  Let it be unlocked.                                           
     */                                                               
    the_spinlock->users -= 1;                                         
    5968:	e2433001 	sub	r3, r3, #1	; 0x1                              
    596c:	e5803008 	str	r3, [r0, #8]                                  
    the_spinlock->lock   = CORE_SPINLOCK_UNLOCKED;                    
    5970:	e5802004 	str	r2, [r0, #4]                                  
    the_spinlock->holder = 0;                                         
    5974:	e580200c 	str	r2, [r0, #12]                                 
                                                                      
  _ISR_Enable( level );                                               
    5978:	e129f001 	msr	CPSR_fc, r1                                   
    597c:	e3a00000 	mov	r0, #0	; 0x0                                  
  return CORE_SPINLOCK_SUCCESSFUL;                                    
}                                                                     
    5980:	e12fff1e 	bx	lr                                             
                                                                      

00005988 <_CORE_spinlock_Wait>: bool wait, Watchdog_Interval timeout ) { ISR_Level level; Watchdog_Interval limit = _Watchdog_Ticks_since_boot + timeout;
    5988:	e59f3104 	ldr	r3, [pc, #260]	; 5a94 <_CORE_spinlock_Wait+0x10c>
    598c:	e5933000 	ldr	r3, [r3]                                      
CORE_spinlock_Status _CORE_spinlock_Wait(                             
  CORE_spinlock_Control  *the_spinlock,                               
  bool                    wait,                                       
  Watchdog_Interval       timeout                                     
)                                                                     
{                                                                     
    5990:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
    5994:	e1a05002 	mov	r5, r2                                        
    5998:	e1a04000 	mov	r4, r0                                        
    599c:	e20180ff 	and	r8, r1, #255	; 0xff                           
  ISR_Level level;                                                    
  Watchdog_Interval       limit = _Watchdog_Ticks_since_boot + timeout;
    59a0:	e0827003 	add	r7, r2, r3                                    
                                                                      
  _ISR_Disable( level );                                              
    59a4:	e10f1000 	mrs	r1, CPSR                                      
    59a8:	e38130c0 	orr	r3, r1, #192	; 0xc0                           
    59ac:	e129f003 	msr	CPSR_fc, r3                                   
    if ( (the_spinlock->lock == CORE_SPINLOCK_LOCKED) &&              
    59b0:	e5903004 	ldr	r3, [r0, #4]                                  
    59b4:	e3530001 	cmp	r3, #1	; 0x1                                  
    59b8:	1a000008 	bne	59e0 <_CORE_spinlock_Wait+0x58>               
    59bc:	e59f30d4 	ldr	r3, [pc, #212]	; 5a98 <_CORE_spinlock_Wait+0x110>
    59c0:	e5933000 	ldr	r3, [r3]                                      
    59c4:	e5932008 	ldr	r2, [r3, #8]                                  
    59c8:	e590300c 	ldr	r3, [r0, #12]                                 
    59cc:	e1530002 	cmp	r3, r2                                        
    59d0:	1a000002 	bne	59e0 <_CORE_spinlock_Wait+0x58>               
         (the_spinlock->holder == _Thread_Executing->Object.id) ) {   
      _ISR_Enable( level );                                           
    59d4:	e129f001 	msr	CPSR_fc, r1                                   
    59d8:	e3a00001 	mov	r0, #1	; 0x1                                  
    59dc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
      return CORE_SPINLOCK_HOLDER_RELOCKING;                          
    }                                                                 
    the_spinlock->users += 1;                                         
    59e0:	e5943008 	ldr	r3, [r4, #8]                                  
    59e4:	e2833001 	add	r3, r3, #1	; 0x1                              
    59e8:	e5843008 	str	r3, [r4, #8]                                  
      }                                                               
                                                                      
      /*                                                              
       *  They are willing to wait but there could be a timeout.      
       */                                                             
      if ( timeout && (limit <= _Watchdog_Ticks_since_boot) ) {       
    59ec:	e59fa0a0 	ldr	sl, [pc, #160]	; 5a94 <_CORE_spinlock_Wait+0x10c>
    59f0:	e59f60a4 	ldr	r6, [pc, #164]	; 5a9c <_CORE_spinlock_Wait+0x114>
      _ISR_Enable( level );                                           
      return CORE_SPINLOCK_HOLDER_RELOCKING;                          
    }                                                                 
    the_spinlock->users += 1;                                         
    for ( ;; ) {                                                      
      if ( the_spinlock->lock == CORE_SPINLOCK_UNLOCKED ) {           
    59f4:	e5943004 	ldr	r3, [r4, #4]                                  
    59f8:	e3530000 	cmp	r3, #0	; 0x0                                  
    59fc:	1a000008 	bne	5a24 <_CORE_spinlock_Wait+0x9c>               
        the_spinlock->lock = CORE_SPINLOCK_LOCKED;                    
    5a00:	e2833001 	add	r3, r3, #1	; 0x1                              
    5a04:	e5843004 	str	r3, [r4, #4]                                  
        the_spinlock->holder = _Thread_Executing->Object.id;          
    5a08:	e59f3088 	ldr	r3, [pc, #136]	; 5a98 <_CORE_spinlock_Wait+0x110>
    5a0c:	e5933000 	ldr	r3, [r3]                                      
    5a10:	e5933008 	ldr	r3, [r3, #8]                                  
    5a14:	e584300c 	str	r3, [r4, #12]                                 
        _ISR_Enable( level );                                         
    5a18:	e129f001 	msr	CPSR_fc, r1                                   
    5a1c:	e3a00000 	mov	r0, #0	; 0x0                                  
    5a20:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
      }                                                               
                                                                      
      /*                                                              
       *  Spinlock is unavailable.  If not willing to wait, return.   
       */                                                             
      if ( !wait ) {                                                  
    5a24:	e3580000 	cmp	r8, #0	; 0x0                                  
    5a28:	1a000005 	bne	5a44 <_CORE_spinlock_Wait+0xbc>               
        the_spinlock->users -= 1;                                     
    5a2c:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
    5a30:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    5a34:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
        _ISR_Enable( level );                                         
    5a38:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    5a3c:	e3a00005 	mov	r0, #5	; 0x5                                  <== NOT EXECUTED
    5a40:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       *  They are willing to wait but there could be a timeout.      
       */                                                             
      if ( timeout && (limit <= _Watchdog_Ticks_since_boot) ) {       
    5a44:	e3550000 	cmp	r5, #0	; 0x0                                  
    5a48:	0a000008 	beq	5a70 <_CORE_spinlock_Wait+0xe8>               
    5a4c:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
    5a50:	e1570003 	cmp	r7, r3                                        <== NOT EXECUTED
    5a54:	8a000005 	bhi	5a70 <_CORE_spinlock_Wait+0xe8>               <== NOT EXECUTED
        the_spinlock->users -= 1;                                     
    5a58:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
    5a5c:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    5a60:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
        _ISR_Enable( level );                                         
    5a64:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    5a68:	e3a00003 	mov	r0, #3	; 0x3                                  <== NOT EXECUTED
    5a6c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
       *                                                              
       *  A spinlock cannot be deleted while it is being used so we are
       *  safe from deletion.                                         
       */                                                             
                                                                      
       _ISR_Enable( level );                                          
    5a70:	e129f001 	msr	CPSR_fc, r1                                   
       /* An ISR could occur here */                                  
                                                                      
       _Thread_Enable_dispatch();                                     
    5a74:	eb000423 	bl	6b08 <_Thread_Enable_dispatch>                 
    5a78:	e5963000 	ldr	r3, [r6]                                      
    5a7c:	e2833001 	add	r3, r3, #1	; 0x1                              
    5a80:	e5863000 	str	r3, [r6]                                      
       /* Another thread could get dispatched here */                 
                                                                      
       /* Reenter the critical sections so we can attempt the lock again. */
       _Thread_Disable_dispatch();                                    
                                                                      
       _ISR_Disable( level );                                         
    5a84:	e10f1000 	mrs	r1, CPSR                                      
    5a88:	e38130c0 	orr	r3, r1, #192	; 0xc0                           
    5a8c:	e129f003 	msr	CPSR_fc, r3                                   
    5a90:	eaffffd7 	b	59f4 <_CORE_spinlock_Wait+0x6c>                 
                                                                      

00009c30 <_Debug_Is_enabled>: */ bool _Debug_Is_enabled( rtems_debug_control level ) {
    9c30:	e59f3010 	ldr	r3, [pc, #16]	; 9c48 <_Debug_Is_enabled+0x18> <== NOT EXECUTED
    9c34:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    9c38:	e1100003 	tst	r0, r3                                        <== NOT EXECUTED
  return (_Debug_Level & level) ? true : false;                       
}                                                                     
    9c3c:	03a00000 	moveq	r0, #0	; 0x0                                <== NOT EXECUTED
    9c40:	13a00001 	movne	r0, #1	; 0x1                                <== NOT EXECUTED
    9c44:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

00003d7c <_Event_Seize>: rtems_event_set pending_events; ISR_Level level; RTEMS_API_Control *api; Thread_blocking_operation_States sync_state; executing = _Thread_Executing;
    3d7c:	e59fc104 	ldr	ip, [pc, #260]	; 3e88 <_Event_Seize+0x10c>    
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
    3d80:	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;                                      
    3d84:	e59c4000 	ldr	r4, [ip]                                      
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
    3d88:	e3a0c000 	mov	ip, #0	; 0x0                                  
    3d8c:	e584c034 	str	ip, [r4, #52]                                 
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
    3d90:	e1a07002 	mov	r7, r2                                        
    3d94:	e1a05003 	mov	r5, r3                                        
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
    3d98:	e5946104 	ldr	r6, [r4, #260]                                
                                                                      
  _ISR_Disable( level );                                              
    3d9c:	e10fc000 	mrs	ip, CPSR                                      
    3da0:	e38c30c0 	orr	r3, ip, #192	; 0xc0                           
    3da4:	e129f003 	msr	CPSR_fc, r3                                   
  pending_events = api->pending_events;                               
    3da8:	e5963000 	ldr	r3, [r6]                                      
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
    3dac:	e0102003 	ands	r2, r0, r3                                   
    3db0:	0a000007 	beq	3dd4 <_Event_Seize+0x58>                      
    3db4:	e1520000 	cmp	r2, r0                                        
    3db8:	0a000001 	beq	3dc4 <_Event_Seize+0x48>                      
    3dbc:	e3110002 	tst	r1, #2	; 0x2                                  
    3dc0:	0a000003 	beq	3dd4 <_Event_Seize+0x58>                      
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
    3dc4:	e1c33002 	bic	r3, r3, r2                                    
    3dc8:	e5863000 	str	r3, [r6]                                      
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
    3dcc:	e129f00c 	msr	CPSR_fc, ip                                   
    3dd0:	ea000004 	b	3de8 <_Event_Seize+0x6c>                        
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
    3dd4:	e3110001 	tst	r1, #1	; 0x1                                  
    3dd8:	0a000004 	beq	3df0 <_Event_Seize+0x74>                      
    _ISR_Enable( level );                                             
    3ddc:	e129f00c 	msr	CPSR_fc, ip                                   
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
    3de0:	e3a0300d 	mov	r3, #13	; 0xd                                 
    3de4:	e5843034 	str	r3, [r4, #52]                                 
    *event_out = seized_events;                                       
    3de8:	e5852000 	str	r2, [r5]                                      
    3dec:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    return;                                                           
  }                                                                   
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
    3df0:	e59f3094 	ldr	r3, [pc, #148]	; 3e8c <_Event_Seize+0x110>    
    3df4:	e3a02001 	mov	r2, #1	; 0x1                                  
    3df8:	e5832000 	str	r2, [r3]                                      
                                                                      
  executing->Wait.option            = (uint32_t) option_set;          
    3dfc:	e5841030 	str	r1, [r4, #48]                                 
  executing->Wait.count             = (uint32_t) event_in;            
    3e00:	e5840024 	str	r0, [r4, #36]                                 
  executing->Wait.return_argument   = event_out;                      
    3e04:	e5845028 	str	r5, [r4, #40]                                 
                                                                      
  _ISR_Enable( level );                                               
    3e08:	e129f00c 	msr	CPSR_fc, ip                                   
                                                                      
  if ( ticks ) {                                                      
    3e0c:	e3570000 	cmp	r7, #0	; 0x0                                  
    3e10:	0a00000a 	beq	3e40 <_Event_Seize+0xc4>                      
    _Watchdog_Initialize(                                             
    3e14:	e5943008 	ldr	r3, [r4, #8]                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
    3e18:	e59f2070 	ldr	r2, [pc, #112]	; 3e90 <_Event_Seize+0x114>    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    3e1c:	e3a01000 	mov	r1, #0	; 0x0                                  
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
    3e20:	e584106c 	str	r1, [r4, #108]                                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    3e24:	e5841050 	str	r1, [r4, #80]                                 
  the_watchdog->routine   = routine;                                  
    3e28:	e5842064 	str	r2, [r4, #100]                                
  the_watchdog->id        = id;                                       
    3e2c:	e5843068 	str	r3, [r4, #104]                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
    3e30:	e5847054 	str	r7, [r4, #84]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    3e34:	e59f0058 	ldr	r0, [pc, #88]	; 3e94 <_Event_Seize+0x118>     
    3e38:	e2841048 	add	r1, r4, #72	; 0x48                            
    3e3c:	eb000d52 	bl	738c <_Watchdog_Insert>                        
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
    3e40:	e1a00004 	mov	r0, r4                                        
    3e44:	e3a01c01 	mov	r1, #256	; 0x100                              
    3e48:	eb000b71 	bl	6c14 <_Thread_Set_state>                       
                                                                      
  _ISR_Disable( level );                                              
    3e4c:	e10fc000 	mrs	ip, CPSR                                      
    3e50:	e38c30c0 	orr	r3, ip, #192	; 0xc0                           
    3e54:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
  sync_state = _Event_Sync_state;                                     
    3e58:	e59f202c 	ldr	r2, [pc, #44]	; 3e8c <_Event_Seize+0x110>     
    3e5c:	e5920000 	ldr	r0, [r2]                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
    3e60:	e3a03000 	mov	r3, #0	; 0x0                                  
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
    3e64:	e3500001 	cmp	r0, #1	; 0x1                                  
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  sync_state = _Event_Sync_state;                                     
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
    3e68:	e5823000 	str	r3, [r2]                                      
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
    3e6c:	1a000001 	bne	3e78 <_Event_Seize+0xfc>                      
    _ISR_Enable( level );                                             
    3e70:	e129f00c 	msr	CPSR_fc, ip                                   
    3e74:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   *  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 );  
    3e78:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    3e7c:	e1a0200c 	mov	r2, ip                                        <== NOT EXECUTED
}                                                                     
    3e80:	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 );  
    3e84:	ea00078a 	b	5cb4 <_Thread_blocking_operation_Cancel>        <== NOT EXECUTED
                                                                      

00003ef0 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
    3ef0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
    3ef4:	e1a04000 	mov	r4, r0                                        
  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 ];               
    3ef8:	e5906104 	ldr	r6, [r0, #260]                                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
    3efc:	e5907030 	ldr	r7, [r0, #48]                                 
                                                                      
  _ISR_Disable( level );                                              
    3f00:	e10f5000 	mrs	r5, CPSR                                      
    3f04:	e38530c0 	orr	r3, r5, #192	; 0xc0                           
    3f08:	e129f003 	msr	CPSR_fc, r3                                   
  pending_events  = api->pending_events;                              
    3f0c:	e596c000 	ldr	ip, [r6]                                      
  event_condition = (rtems_event_set) the_thread->Wait.count;         
    3f10:	e5902024 	ldr	r2, [r0, #36]                                 
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
    3f14:	e012000c 	ands	r0, r2, ip                                   
    3f18:	1a000001 	bne	3f24 <_Event_Surrender+0x34>                  
    _ISR_Enable( level );                                             
    3f1c:	e129f005 	msr	CPSR_fc, r5                                   
    3f20:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  /*                                                                  
   *  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() &&                                       
    3f24:	e59f30f0 	ldr	r3, [pc, #240]	; 401c <_Event_Surrender+0x12c>
    3f28:	e5933000 	ldr	r3, [r3]                                      
    3f2c:	e3530000 	cmp	r3, #0	; 0x0                                  
    3f30:	0a000019 	beq	3f9c <_Event_Surrender+0xac>                  
    3f34:	e59f30e4 	ldr	r3, [pc, #228]	; 4020 <_Event_Surrender+0x130>
    3f38:	e5933000 	ldr	r3, [r3]                                      
    3f3c:	e1540003 	cmp	r4, r3                                        
    3f40:	1a000015 	bne	3f9c <_Event_Surrender+0xac>                  
    3f44:	e59f10d8 	ldr	r1, [pc, #216]	; 4024 <_Event_Surrender+0x134><== NOT EXECUTED
    3f48:	e5913000 	ldr	r3, [r1]                                      <== NOT EXECUTED
    3f4c:	e3530001 	cmp	r3, #1	; 0x1                                  <== NOT EXECUTED
    3f50:	0a000002 	beq	3f60 <_Event_Surrender+0x70>                  <== NOT EXECUTED
    3f54:	e5913000 	ldr	r3, [r1]                                      <== NOT EXECUTED
    3f58:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
    3f5c:	1a00000e 	bne	3f9c <_Event_Surrender+0xac>                  <== NOT EXECUTED
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED) ||
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT)) ) { 
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
    3f60:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
    3f64:	0a000001 	beq	3f70 <_Event_Surrender+0x80>                  <== NOT EXECUTED
    3f68:	e3170002 	tst	r7, #2	; 0x2                                  <== NOT EXECUTED
    3f6c:	0a000008 	beq	3f94 <_Event_Surrender+0xa4>                  <== NOT EXECUTED
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
    3f70:	e1cc3000 	bic	r3, ip, r0                                    <== NOT EXECUTED
    3f74:	e5863000 	str	r3, [r6]                                      <== NOT EXECUTED
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
    3f78:	e59f30a4 	ldr	r3, [pc, #164]	; 4024 <_Event_Surrender+0x134><== NOT EXECUTED
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED) ||
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT)) ) { 
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      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;
    3f7c:	e5941028 	ldr	r1, [r4, #40]                                 <== NOT EXECUTED
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
    3f80:	e3a02003 	mov	r2, #3	; 0x3                                  <== NOT EXECUTED
    3f84:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED) ||
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT)) ) { 
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
    3f88:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    3f8c:	e5843024 	str	r3, [r4, #36]                                 <== NOT EXECUTED
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
    3f90:	e5810000 	str	r0, [r1]                                      <== NOT EXECUTED
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
    }                                                                 
    _ISR_Enable( level );                                             
    3f94:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
    3f98:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    3f9c:	e5943010 	ldr	r3, [r4, #16]                                 
    3fa0:	e3130c01 	tst	r3, #256	; 0x100                              
    3fa4:	0a00001a 	beq	4014 <_Event_Surrender+0x124>                 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
    3fa8:	e1500002 	cmp	r0, r2                                        
    3fac:	0a000001 	beq	3fb8 <_Event_Surrender+0xc8>                  
    3fb0:	e3170002 	tst	r7, #2	; 0x2                                  
    3fb4:	0a000016 	beq	4014 <_Event_Surrender+0x124>                 
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
    3fb8:	e1cc3000 	bic	r3, ip, r0                                    
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
    3fbc:	e5942028 	ldr	r2, [r4, #40]                                 
  /*                                                                  
   *  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 );
    3fc0:	e5863000 	str	r3, [r6]                                      
      the_thread->Wait.count = 0;                                     
    3fc4:	e3a03000 	mov	r3, #0	; 0x0                                  
    3fc8:	e5843024 	str	r3, [r4, #36]                                 
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
    3fcc:	e5820000 	str	r0, [r2]                                      
                                                                      
      _ISR_Flash( level );                                            
    3fd0:	e10f3000 	mrs	r3, CPSR                                      
    3fd4:	e129f005 	msr	CPSR_fc, r5                                   
    3fd8:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
    3fdc:	e5943050 	ldr	r3, [r4, #80]                                 
    3fe0:	e3530002 	cmp	r3, #2	; 0x2                                  
    3fe4:	0a000001 	beq	3ff0 <_Event_Surrender+0x100>                 
        _ISR_Enable( level );                                         
    3fe8:	e129f005 	msr	CPSR_fc, r5                                   
    3fec:	ea000004 	b	4004 <_Event_Surrender+0x114>                   
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
    3ff0:	e3a03003 	mov	r3, #3	; 0x3                                  
    3ff4:	e5843050 	str	r3, [r4, #80]                                 
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
    3ff8:	e129f005 	msr	CPSR_fc, r5                                   
        (void) _Watchdog_Remove( &the_thread->Timer );                
    3ffc:	e2840048 	add	r0, r4, #72	; 0x48                            
    4000:	eb000d3d 	bl	74fc <_Watchdog_Remove>                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
    4004:	e59f101c 	ldr	r1, [pc, #28]	; 4028 <_Event_Surrender+0x138> 
    4008:	e1a00004 	mov	r0, r4                                        
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
    400c:	e8bd40f0 	pop	{r4, r5, r6, r7, lr}                          
    4010:	ea0007a2 	b	5ea0 <_Thread_Clear_state>                      
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
    4014:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
    4018:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

0000402c <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
    402c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
    4030:	e24dd004 	sub	sp, sp, #4	; 0x4                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
    4034:	e1a0100d 	mov	r1, sp                                        
    4038:	eb0008a1 	bl	62c4 <_Thread_Get>                             
  switch ( location ) {                                               
    403c:	e59d2000 	ldr	r2, [sp]                                      
    4040:	e3520000 	cmp	r2, #0	; 0x0                                  
    4044:	1a00001e 	bne	40c4 <_Event_Timeout+0x98>                    
       *  this is the "timeout" transition.  After a request is satisfied,
       *  a timeout is not allowed to occur.                          
       */                                                             
                                                                      
                                                                      
      _ISR_Disable( level );                                          
    4048:	e10f1000 	mrs	r1, CPSR                                      
    404c:	e38130c0 	orr	r3, r1, #192	; 0xc0                           
    4050:	e129f003 	msr	CPSR_fc, r3                                   
        if ( !the_thread->Wait.count ) {  /* verify thread is waiting */
    4054:	e5903024 	ldr	r3, [r0, #36]                                 
    4058:	e3530000 	cmp	r3, #0	; 0x0                                  
    405c:	1a000005 	bne	4078 <_Event_Timeout+0x4c>                    
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
    4060:	e59f2064 	ldr	r2, [pc, #100]	; 40cc <_Event_Timeout+0xa0>   <== NOT EXECUTED
    4064:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
    4068:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    406c:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
          _Thread_Unnest_dispatch();                                  
          _ISR_Enable( level );                                       
    4070:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    4074:	ea000012 	b	40c4 <_Event_Timeout+0x98>                      <== NOT EXECUTED
          return;                                                     
        }                                                             
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
    4078:	e59f3050 	ldr	r3, [pc, #80]	; 40d0 <_Event_Timeout+0xa4>    
    407c:	e5933000 	ldr	r3, [r3]                                      
    4080:	e1500003 	cmp	r0, r3                                        
          _Thread_Unnest_dispatch();                                  
          _ISR_Enable( level );                                       
          return;                                                     
        }                                                             
                                                                      
        the_thread->Wait.count = 0;                                   
    4084:	e5802024 	str	r2, [r0, #36]                                 
        if ( _Thread_Is_executing( the_thread ) ) {                   
    4088:	1a000004 	bne	40a0 <_Event_Timeout+0x74>                    
          Thread_blocking_operation_States sync = _Event_Sync_state;  
    408c:	e59f2040 	ldr	r2, [pc, #64]	; 40d4 <_Event_Timeout+0xa8>    <== NOT EXECUTED
    4090:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
          if ( (sync == THREAD_BLOCKING_OPERATION_SYNCHRONIZED) ||    
    4094:	e3530001 	cmp	r3, #1	; 0x1                                  <== NOT EXECUTED
               (sync == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED) ) {
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
    4098:	93a03002 	movls	r3, #2	; 0x2                                <== NOT EXECUTED
    409c:	95823000 	strls	r3, [r2]                                    <== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
    40a0:	e3a03006 	mov	r3, #6	; 0x6                                  
    40a4:	e5803034 	str	r3, [r0, #52]                                 
      _ISR_Enable( level );                                           
    40a8:	e129f001 	msr	CPSR_fc, r1                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
    40ac:	e59f1024 	ldr	r1, [pc, #36]	; 40d8 <_Event_Timeout+0xac>    
    40b0:	eb00077a 	bl	5ea0 <_Thread_Clear_state>                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
    40b4:	e59f2010 	ldr	r2, [pc, #16]	; 40cc <_Event_Timeout+0xa0>    
    40b8:	e5923000 	ldr	r3, [r2]                                      
    40bc:	e2433001 	sub	r3, r3, #1	; 0x1                              
    40c0:	e5823000 	str	r3, [r2]                                      
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
    40c4:	e28dd004 	add	sp, sp, #4	; 0x4                              
    40c8:	e8bd8000 	pop	{pc}                                          
                                                                      

00009ee0 <_Heap_Allocate>: void *_Heap_Allocate( Heap_Control *the_heap, size_t size ) {
    9ee0:	e92d4070 	push	{r4, r5, r6, lr}                             
    9ee4:	e1a04000 	mov	r4, r0                                        
  Heap_Block *the_block;                                              
  void       *ptr = NULL;                                             
  Heap_Statistics *const stats = &the_heap->stats;                    
  Heap_Block *const tail = _Heap_Tail(the_heap);                      
                                                                      
  the_size =                                                          
    9ee8:	e5942014 	ldr	r2, [r4, #20]                                 
    9eec:	e1a00001 	mov	r0, r1                                        
    9ef0:	e5941010 	ldr	r1, [r4, #16]                                 
    9ef4:	ebffed46 	bl	5414 <_Heap_Calc_block_size>                   
    _Heap_Calc_block_size(size, the_heap->page_size, the_heap->min_block_size);
  if(the_size == 0)                                                   
    9ef8:	e3500000 	cmp	r0, #0	; 0x0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_First (                        
  Heap_Control *the_heap                                              
)                                                                     
{                                                                     
  return _Heap_Head(the_heap)->next;                                  
    9efc:	15945008 	ldrne	r5, [r4, #8]                                
    9f00:	13a06000 	movne	r6, #0	; 0x0                                
    9f04:	1a000012 	bne	9f54 <_Heap_Allocate+0x74>                    
    9f08:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    /* Don't bother to mask out the HEAP_PREV_USED bit as it won't change the
       result of the comparison. */                                   
    if(the_block->size >= the_size) {                                 
    9f0c:	e5953004 	ldr	r3, [r5, #4]                                  
    9f10:	e1530000 	cmp	r3, r0                                        
    9f14:	3a00000c 	bcc	9f4c <_Heap_Allocate+0x6c>                    
      (void)_Heap_Block_allocate(the_heap, the_block, the_size );     
    9f18:	e1a02000 	mov	r2, r0                                        
    9f1c:	e1a01005 	mov	r1, r5                                        
    9f20:	e1a00004 	mov	r0, r4                                        
    9f24:	ebffed4a 	bl	5454 <_Heap_Block_allocate>                    
                                                                      
      ptr = _Heap_User_area(the_block);                               
                                                                      
      stats->allocs += 1;                                             
      stats->searches += search_count + 1;                            
    9f28:	e2842048 	add	r2, r4, #72	; 0x48                            
    9f2c:	e892000c 	ldm	r2, {r2, r3}                                  
    9f30:	e2833001 	add	r3, r3, #1	; 0x1                              
    if(the_block->size >= the_size) {                                 
      (void)_Heap_Block_allocate(the_heap, the_block, the_size );     
                                                                      
      ptr = _Heap_User_area(the_block);                               
                                                                      
      stats->allocs += 1;                                             
    9f34:	e2822001 	add	r2, r2, #1	; 0x1                              
      stats->searches += search_count + 1;                            
    9f38:	e0833006 	add	r3, r3, r6                                    
    if(the_block->size >= the_size) {                                 
      (void)_Heap_Block_allocate(the_heap, the_block, the_size );     
                                                                      
      ptr = _Heap_User_area(the_block);                               
                                                                      
      stats->allocs += 1;                                             
    9f3c:	e5842048 	str	r2, [r4, #72]                                 
      stats->searches += search_count + 1;                            
    9f40:	e584304c 	str	r3, [r4, #76]                                 
    9f44:	e2850008 	add	r0, r5, #8	; 0x8                              
    9f48:	ea000004 	b	9f60 <_Heap_Allocate+0x80>                      
    return NULL;                                                      
                                                                      
  /* Find large enough free block. */                                 
  for(the_block = _Heap_First(the_heap), search_count = 0;            
      the_block != tail;                                              
      the_block = the_block->next, ++search_count)                    
    9f4c:	e5955008 	ldr	r5, [r5, #8]                                  
    9f50:	e2866001 	add	r6, r6, #1	; 0x1                              
  if(the_size == 0)                                                   
    return NULL;                                                      
                                                                      
  /* Find large enough free block. */                                 
  for(the_block = _Heap_First(the_heap), search_count = 0;            
      the_block != tail;                                              
    9f54:	e1550004 	cmp	r5, r4                                        
    9f58:	1affffeb 	bne	9f0c <_Heap_Allocate+0x2c>                    
    9f5c:	e3a00000 	mov	r0, #0	; 0x0                                  
      _HAssert(_Heap_Is_aligned_ptr(ptr, the_heap->page_size));       
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  if(stats->max_search < search_count)                                
    9f60:	e5943044 	ldr	r3, [r4, #68]                                 
    9f64:	e1530006 	cmp	r3, r6                                        
    stats->max_search = search_count;                                 
    9f68:	35846044 	strcc	r6, [r4, #68]                               
                                                                      
  return ptr;                                                         
}                                                                     
    9f6c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000d3e8 <_Heap_Get_information>: Heap_Block *const end = the_heap->final; _HAssert(the_block->prev_size == HEAP_PREV_USED); _HAssert(_Heap_Is_prev_used(the_block)); the_info->Free.number = 0;
    d3e8:	e3a03000 	mov	r3, #0	; 0x0                                  
                                                                      
Heap_Get_information_status _Heap_Get_information(                    
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
    d3ec:	e92d4030 	push	{r4, r5, lr}                                 
    d3f0:	e1a0c001 	mov	ip, r1                                        
  the_info->Free.number  = 0;                                         
  the_info->Free.total   = 0;                                         
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
    d3f4:	e5813010 	str	r3, [r1, #16]                                 
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
  Heap_Block *the_block = the_heap->start;                            
  Heap_Block *const end = the_heap->final;                            
    d3f8:	e5905024 	ldr	r5, [r0, #36]                                 
                                                                      
  _HAssert(the_block->prev_size == HEAP_PREV_USED);                   
  _HAssert(_Heap_Is_prev_used(the_block));                            
                                                                      
  the_info->Free.number  = 0;                                         
    d3fc:	e5813000 	str	r3, [r1]                                      
  the_info->Free.total   = 0;                                         
    d400:	e5813008 	str	r3, [r1, #8]                                  
  the_info->Free.largest = 0;                                         
    d404:	e5813004 	str	r3, [r1, #4]                                  
  the_info->Used.number  = 0;                                         
    d408:	e581300c 	str	r3, [r1, #12]                                 
  the_info->Used.total   = 0;                                         
    d40c:	e5813014 	str	r3, [r1, #20]                                 
Heap_Get_information_status _Heap_Get_information(                    
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
  Heap_Block *the_block = the_heap->start;                            
    d410:	e5902020 	ldr	r2, [r0, #32]                                 
    d414:	ea00001e 	b	d494 <_Heap_Get_information+0xac>               
    d418:	e5923004 	ldr	r3, [r2, #4]                                  
    d41c:	e3c30001 	bic	r0, r3, #1	; 0x1                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  void     *base,                                                     
  uint32_t  offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) _Addresses_Add_offset( base, offset );        
    d420:	e0824000 	add	r4, r2, r0                                    
                                                                      
  while ( the_block != end ) {                                        
    uint32_t const the_size = _Heap_Block_size(the_block);            
    Heap_Block *const next_block = _Heap_Block_at(the_block, the_size);
                                                                      
    if ( _Heap_Is_prev_used(next_block) ) {                           
    d424:	e5943004 	ldr	r3, [r4, #4]                                  
    d428:	e3130001 	tst	r3, #1	; 0x1                                  
    d42c:	0a000009 	beq	d458 <_Heap_Get_information+0x70>             
      the_info->Used.number++;                                        
    d430:	e59c300c 	ldr	r3, [ip, #12]                                 
      the_info->Used.total += the_size;                               
    d434:	e59c1014 	ldr	r1, [ip, #20]                                 
      if ( the_info->Used.largest < the_size )                        
    d438:	e59c2010 	ldr	r2, [ip, #16]                                 
  while ( the_block != end ) {                                        
    uint32_t const the_size = _Heap_Block_size(the_block);            
    Heap_Block *const next_block = _Heap_Block_at(the_block, the_size);
                                                                      
    if ( _Heap_Is_prev_used(next_block) ) {                           
      the_info->Used.number++;                                        
    d43c:	e2833001 	add	r3, r3, #1	; 0x1                              
      the_info->Used.total += the_size;                               
      if ( the_info->Used.largest < the_size )                        
    d440:	e1520000 	cmp	r2, r0                                        
    uint32_t const the_size = _Heap_Block_size(the_block);            
    Heap_Block *const next_block = _Heap_Block_at(the_block, the_size);
                                                                      
    if ( _Heap_Is_prev_used(next_block) ) {                           
      the_info->Used.number++;                                        
      the_info->Used.total += the_size;                               
    d444:	e0811000 	add	r1, r1, r0                                    
  while ( the_block != end ) {                                        
    uint32_t const the_size = _Heap_Block_size(the_block);            
    Heap_Block *const next_block = _Heap_Block_at(the_block, the_size);
                                                                      
    if ( _Heap_Is_prev_used(next_block) ) {                           
      the_info->Used.number++;                                        
    d448:	e58c300c 	str	r3, [ip, #12]                                 
      the_info->Used.total += the_size;                               
    d44c:	e58c1014 	str	r1, [ip, #20]                                 
      if ( the_info->Used.largest < the_size )                        
        the_info->Used.largest = the_size;                            
    d450:	358c0010 	strcc	r0, [ip, #16]                               
    d454:	ea00000d 	b	d490 <_Heap_Get_information+0xa8>               
    } else {                                                          
      the_info->Free.number++;                                        
    d458:	e59c3000 	ldr	r3, [ip]                                      
      the_info->Free.total += the_size;                               
    d45c:	e59c1008 	ldr	r1, [ip, #8]                                  
      if ( the_info->Free.largest < the_size )                        
    d460:	e59c2004 	ldr	r2, [ip, #4]                                  
      the_info->Used.number++;                                        
      the_info->Used.total += the_size;                               
      if ( the_info->Used.largest < the_size )                        
        the_info->Used.largest = the_size;                            
    } else {                                                          
      the_info->Free.number++;                                        
    d464:	e2833001 	add	r3, r3, #1	; 0x1                              
      the_info->Free.total += the_size;                               
      if ( the_info->Free.largest < the_size )                        
    d468:	e1520000 	cmp	r2, r0                                        
      the_info->Used.total += the_size;                               
      if ( the_info->Used.largest < the_size )                        
        the_info->Used.largest = the_size;                            
    } else {                                                          
      the_info->Free.number++;                                        
      the_info->Free.total += the_size;                               
    d46c:	e0811000 	add	r1, r1, r0                                    
      if ( the_info->Free.largest < the_size )                        
        the_info->Free.largest = the_size;                            
    d470:	358c0004 	strcc	r0, [ip, #4]                                
      the_info->Used.number++;                                        
      the_info->Used.total += the_size;                               
      if ( the_info->Used.largest < the_size )                        
        the_info->Used.largest = the_size;                            
    } else {                                                          
      the_info->Free.number++;                                        
    d474:	e58c3000 	str	r3, [ip]                                      
      the_info->Free.total += the_size;                               
    d478:	e58c1008 	str	r1, [ip, #8]                                  
      if ( the_info->Free.largest < the_size )                        
        the_info->Free.largest = the_size;                            
      if ( the_size != next_block->prev_size )                        
    d47c:	e5943000 	ldr	r3, [r4]                                      
    d480:	e1500003 	cmp	r0, r3                                        
    d484:	0a000001 	beq	d490 <_Heap_Get_information+0xa8>             
    d488:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
    d48c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    d490:	e1a02004 	mov	r2, r4                                        
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
                                                                      
  while ( the_block != end ) {                                        
    d494:	e1520005 	cmp	r2, r5                                        
    d498:	1affffde 	bne	d418 <_Heap_Get_information+0x30>             
  }                                                                   
                                                                      
  /* Handle the last dummy block. Don't consider this block to be     
     "used" as client never allocated it. Make 'Used.total' contain this
     blocks' overhead though. */                                      
  the_info->Used.total += HEAP_OVERHEAD;                              
    d49c:	e59c3014 	ldr	r3, [ip, #20]                                 
    d4a0:	e2833008 	add	r3, r3, #8	; 0x8                              
    d4a4:	e58c3014 	str	r3, [ip, #20]                                 
    d4a8:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  return HEAP_GET_INFORMATION_SUCCESSFUL;                             
}                                                                     
    d4ac:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00013e64 <_Heap_Resize_block>: void *starting_address, size_t size, uint32_t *old_mem_size, uint32_t *avail_mem_size ) {
   13e64:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
   13e68:	e1a05000 	mov	r5, r0                                        
  Heap_Block *next_next_block;                                        
  uint32_t   old_block_size;                                          
  uint32_t   old_user_size;                                           
  uint32_t   prev_used_flag;                                          
  Heap_Statistics *const stats = &the_heap->stats;                    
  uint32_t const min_block_size = the_heap->min_block_size;           
   13e6c:	e5900014 	ldr	r0, [r0, #20]                                 
  void         *starting_address,                                     
  size_t        size,                                                 
  uint32_t     *old_mem_size,                                         
  uint32_t     *avail_mem_size                                        
)                                                                     
{                                                                     
   13e70:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
  Heap_Block *next_next_block;                                        
  uint32_t   old_block_size;                                          
  uint32_t   old_user_size;                                           
  uint32_t   prev_used_flag;                                          
  Heap_Statistics *const stats = &the_heap->stats;                    
  uint32_t const min_block_size = the_heap->min_block_size;           
   13e74:	e58d0004 	str	r0, [sp, #4]                                  
  uint32_t const page_size = the_heap->page_size;                     
                                                                      
  *old_mem_size = 0;                                                  
  *avail_mem_size = 0;                                                
   13e78:	e59d0030 	ldr	r0, [sp, #48]                                 
  void         *starting_address,                                     
  size_t        size,                                                 
  uint32_t     *old_mem_size,                                         
  uint32_t     *avail_mem_size                                        
)                                                                     
{                                                                     
   13e7c:	e1a09003 	mov	r9, r3                                        
  uint32_t   prev_used_flag;                                          
  Heap_Statistics *const stats = &the_heap->stats;                    
  uint32_t const min_block_size = the_heap->min_block_size;           
  uint32_t const page_size = the_heap->page_size;                     
                                                                      
  *old_mem_size = 0;                                                  
   13e80:	e3a03000 	mov	r3, #0	; 0x0                                  
  uint32_t   old_block_size;                                          
  uint32_t   old_user_size;                                           
  uint32_t   prev_used_flag;                                          
  Heap_Statistics *const stats = &the_heap->stats;                    
  uint32_t const min_block_size = the_heap->min_block_size;           
  uint32_t const page_size = the_heap->page_size;                     
   13e84:	e595c010 	ldr	ip, [r5, #16]                                 
                                                                      
  *old_mem_size = 0;                                                  
   13e88:	e5893000 	str	r3, [r9]                                      
  *avail_mem_size = 0;                                                
   13e8c:	e5803000 	str	r3, [r0]                                      
  void         *starting_address,                                     
  size_t        size,                                                 
  uint32_t     *old_mem_size,                                         
  uint32_t     *avail_mem_size                                        
)                                                                     
{                                                                     
   13e90:	e1a04001 	mov	r4, r1                                        
  /* The address passed could be greater than the block address plus  
   * HEAP_BLOCK_USER_OFFSET as _Heap_Allocate_aligned() may produce such user
   * pointers. To get rid of this offset we need to align the address down
   * to the nearest 'page_size' boundary. */                          
  _Heap_Align_down_uptr ( &addr, the_heap->page_size );               
  *the_block = (Heap_Block *)(addr - HEAP_BLOCK_USER_OFFSET);         
   13e94:	e1a00001 	mov	r0, r1                                        
   13e98:	e5951010 	ldr	r1, [r5, #16]                                 
   13e9c:	e1a08002 	mov	r8, r2                                        
  uint32_t   old_block_size;                                          
  uint32_t   old_user_size;                                           
  uint32_t   prev_used_flag;                                          
  Heap_Statistics *const stats = &the_heap->stats;                    
  uint32_t const min_block_size = the_heap->min_block_size;           
  uint32_t const page_size = the_heap->page_size;                     
   13ea0:	e58dc008 	str	ip, [sp, #8]                                  
   13ea4:	ebfff8ca 	bl	121d4 <__umodsi3>                              
   13ea8:	e2443008 	sub	r3, r4, #8	; 0x8                              
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in (                         
  Heap_Control *the_heap,                                             
  Heap_Block   *the_block                                             
)                                                                     
{                                                                     
  return _Addresses_Is_in_range( the_block, the_heap->start, the_heap->final );
   13eac:	e2851020 	add	r1, r5, #32	; 0x20                            
   13eb0:	e8910006 	ldm	r1, {r1, r2}                                  
  /* The address passed could be greater than the block address plus  
   * HEAP_BLOCK_USER_OFFSET as _Heap_Allocate_aligned() may produce such user
   * pointers. To get rid of this offset we need to align the address down
   * to the nearest 'page_size' boundary. */                          
  _Heap_Align_down_uptr ( &addr, the_heap->page_size );               
  *the_block = (Heap_Block *)(addr - HEAP_BLOCK_USER_OFFSET);         
   13eb4:	e0607003 	rsb	r7, r0, r3                                    
  *old_mem_size = 0;                                                  
  *avail_mem_size = 0;                                                
                                                                      
  _Heap_Start_of_block(the_heap, starting_address, &the_block);       
  _HAssert(_Heap_Is_block_in(the_heap, the_block));                   
  if (!_Heap_Is_block_in(the_heap, the_block))                        
   13eb8:	e1570001 	cmp	r7, r1                                        
   13ebc:	33a03000 	movcc	r3, #0	; 0x0                                
   13ec0:	23a03001 	movcs	r3, #1	; 0x1                                
   13ec4:	e1570002 	cmp	r7, r2                                        
   13ec8:	83a03000 	movhi	r3, #0	; 0x0                                
   13ecc:	e3530000 	cmp	r3, #0	; 0x0                                  
   13ed0:	0a000075 	beq	140ac <_Heap_Resize_block+0x248>              
    return HEAP_RESIZE_FATAL_ERROR;                                   
                                                                      
  prev_used_flag = the_block->size & HEAP_PREV_USED;                  
   13ed4:	e597c004 	ldr	ip, [r7, #4]                                  
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size (                      
  Heap_Block *the_block                                               
)                                                                     
{                                                                     
  return (the_block->size & ~HEAP_PREV_USED);                         
   13ed8:	e3cc3001 	bic	r3, ip, #1	; 0x1                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  void     *base,                                                     
  uint32_t  offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) _Addresses_Add_offset( base, offset );        
   13edc:	e0876003 	add	r6, r7, r3                                    
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size (                      
  Heap_Block *the_block                                               
)                                                                     
{                                                                     
  return (the_block->size & ~HEAP_PREV_USED);                         
   13ee0:	e58d3000 	str	r3, [sp]                                      
  old_block_size = _Heap_Block_size(the_block);                       
  next_block = _Heap_Block_at(the_block, old_block_size);             
                                                                      
  _HAssert(_Heap_Is_block_in(the_heap, next_block));                  
  _HAssert(_Heap_Is_prev_used(next_block));                           
  if ( !_Heap_Is_block_in(the_heap, next_block) ||                    
   13ee4:	e1560001 	cmp	r6, r1                                        
   13ee8:	33a03000 	movcc	r3, #0	; 0x0                                
   13eec:	23a03001 	movcs	r3, #1	; 0x1                                
   13ef0:	e1560002 	cmp	r6, r2                                        
   13ef4:	83a03000 	movhi	r3, #0	; 0x0                                
   13ef8:	e3530000 	cmp	r3, #0	; 0x0                                  
   13efc:	0a00006a 	beq	140ac <_Heap_Resize_block+0x248>              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used (                        
  Heap_Block *the_block                                               
)                                                                     
{                                                                     
  return (the_block->size & HEAP_PREV_USED);                          
   13f00:	e5963004 	ldr	r3, [r6, #4]                                  
   13f04:	e3130001 	tst	r3, #1	; 0x1                                  
   13f08:	0a000067 	beq	140ac <_Heap_Resize_block+0x248>              
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size (                      
  Heap_Block *the_block                                               
)                                                                     
{                                                                     
  return (the_block->size & ~HEAP_PREV_USED);                         
   13f0c:	e3c3a001 	bic	sl, r3, #1	; 0x1                              
       !_Heap_Is_prev_used(next_block))                               
    return HEAP_RESIZE_FATAL_ERROR;                                   
                                                                      
  next_block_size = _Heap_Block_size(next_block);                     
  next_next_block = _Heap_Block_at(next_block, next_block_size);      
  next_is_used    = (next_block == the_heap->final) ||                
   13f10:	e1560002 	cmp	r6, r2                                        
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  void     *base,                                                     
  uint32_t  offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) _Addresses_Add_offset( base, offset );        
   13f14:	e086300a 	add	r3, r6, sl                                    
   13f18:	15933004 	ldrne	r3, [r3, #4]                                
   13f1c:	12032001 	andne	r2, r3, #1	; 0x1                            
                     _Heap_Is_prev_used(next_next_block);             
                                                                      
  /* See _Heap_Size_of_user_area() source for explanations */         
  old_user_size = _Addresses_Subtract(next_block, starting_address)   
   13f20:	e0643006 	rsb	r3, r4, r6                                    
   13f24:	e2830004 	add	r0, r3, #4	; 0x4                              
       !_Heap_Is_prev_used(next_block))                               
    return HEAP_RESIZE_FATAL_ERROR;                                   
                                                                      
  next_block_size = _Heap_Block_size(next_block);                     
  next_next_block = _Heap_Block_at(next_block, next_block_size);      
  next_is_used    = (next_block == the_heap->final) ||                
   13f28:	03a02001 	moveq	r2, #1	; 0x1                                
  old_user_size = _Addresses_Subtract(next_block, starting_address)   
    + HEAP_BLOCK_HEADER_OFFSET;                                       
                                                                      
  *old_mem_size = old_user_size;                                      
                                                                      
  if (size > old_user_size) {                                         
   13f2c:	e1580000 	cmp	r8, r0                                        
                                                                      
  /* See _Heap_Size_of_user_area() source for explanations */         
  old_user_size = _Addresses_Subtract(next_block, starting_address)   
    + HEAP_BLOCK_HEADER_OFFSET;                                       
                                                                      
  *old_mem_size = old_user_size;                                      
   13f30:	e5890000 	str	r0, [r9]                                      
       !_Heap_Is_prev_used(next_block))                               
    return HEAP_RESIZE_FATAL_ERROR;                                   
                                                                      
  next_block_size = _Heap_Block_size(next_block);                     
  next_next_block = _Heap_Block_at(next_block, next_block_size);      
  next_is_used    = (next_block == the_heap->final) ||                
   13f34:	e202b0ff 	and	fp, r2, #255	; 0xff                           
  _Heap_Start_of_block(the_heap, starting_address, &the_block);       
  _HAssert(_Heap_Is_block_in(the_heap, the_block));                   
  if (!_Heap_Is_block_in(the_heap, the_block))                        
    return HEAP_RESIZE_FATAL_ERROR;                                   
                                                                      
  prev_used_flag = the_block->size & HEAP_PREV_USED;                  
   13f38:	e20c9001 	and	r9, ip, #1	; 0x1                              
  old_user_size = _Addresses_Subtract(next_block, starting_address)   
    + HEAP_BLOCK_HEADER_OFFSET;                                       
                                                                      
  *old_mem_size = old_user_size;                                      
                                                                      
  if (size > old_user_size) {                                         
   13f3c:	9a000019 	bls	13fa8 <_Heap_Resize_block+0x144>              
    /* Need to extend the block: allocate part of the next block and then
       merge 'the_block' and allocated block together. */             
    if (next_is_used)    /* Next block is in use, -- no way to extend */
   13f40:	e35b0000 	cmp	fp, #0	; 0x0                                  
   13f44:	1a00005a 	bne	140b4 <_Heap_Resize_block+0x250>              
      return HEAP_RESIZE_UNSATISFIED;                                 
    else {                                                            
      uint32_t add_block_size = size - old_user_size;                 
   13f48:	e0604008 	rsb	r4, r0, r8                                    
  uint32_t  alignment                                                 
)                                                                     
{                                                                     
  uint32_t v = *value;                                                
  uint32_t a = alignment;                                             
  uint32_t r = v % a;                                                 
   13f4c:	e1a00004 	mov	r0, r4                                        
   13f50:	e59d1008 	ldr	r1, [sp, #8]                                  
   13f54:	ebfff89e 	bl	121d4 <__umodsi3>                              
  *value = r ? v - r + a : v;                                         
   13f58:	e3500000 	cmp	r0, #0	; 0x0                                  
   13f5c:	159dc008 	ldrne	ip, [sp, #8]                                
   13f60:	e59d2004 	ldr	r2, [sp, #4]                                  
   13f64:	1084300c 	addne	r3, r4, ip                                  
   13f68:	10604003 	rsbne	r4, r0, r3                                  
   13f6c:	e1540002 	cmp	r4, r2                                        
   13f70:	21a02004 	movcs	r2, r4                                      
      _Heap_Align_up(&add_block_size, page_size);                     
      if (add_block_size < min_block_size)                            
        add_block_size = min_block_size;                              
      if (add_block_size > next_block_size)                           
   13f74:	e152000a 	cmp	r2, sl                                        
   13f78:	8a00004d 	bhi	140b4 <_Heap_Resize_block+0x250>              
        return HEAP_RESIZE_UNSATISFIED; /* Next block is too small or none. */
      add_block_size =                                                
   13f7c:	e1a01006 	mov	r1, r6                                        
   13f80:	e1a00005 	mov	r0, r5                                        
   13f84:	ebffc532 	bl	5454 <_Heap_Block_allocate>                    
        _Heap_Block_allocate(the_heap, next_block, add_block_size);   
      /* Merge two subsequent blocks */                               
      the_block->size = (old_block_size + add_block_size) | prev_used_flag;
   13f88:	e59d2000 	ldr	r2, [sp]                                      
   13f8c:	e0800002 	add	r0, r0, r2                                    
   13f90:	e1800009 	orr	r0, r0, r9                                    
   13f94:	e5870004 	str	r0, [r7, #4]                                  
      --stats->used_blocks;                                           
   13f98:	e5953040 	ldr	r3, [r5, #64]                                 
   13f9c:	e2433001 	sub	r3, r3, #1	; 0x1                              
   13fa0:	e5853040 	str	r3, [r5, #64]                                 
   13fa4:	ea00003b 	b	14098 <_Heap_Resize_block+0x234>                
    }                                                                 
  } else {                                                            
                                                                      
    /* Calculate how much memory we could free */                     
    uint32_t free_block_size = old_user_size - size;                  
   13fa8:	e0684000 	rsb	r4, r8, r0                                    
  uint32_t *value,                                                    
  uint32_t  alignment                                                 
)                                                                     
{                                                                     
  uint32_t v = *value;                                                
  *value = v - (v % alignment);                                       
   13fac:	e1a00004 	mov	r0, r4                                        
   13fb0:	e59d1008 	ldr	r1, [sp, #8]                                  
   13fb4:	ebfff886 	bl	121d4 <__umodsi3>                              
    _Heap_Align_down(&free_block_size, page_size);                    
                                                                      
    if (free_block_size > 0) {                                        
   13fb8:	e0544000 	subs	r4, r4, r0                                   
   13fbc:	0a000035 	beq	14098 <_Heap_Resize_block+0x234>              
                                                                      
      /* To free some memory the block should be shortened so that it can
         can hold 'size' user bytes and still remain not shorter than 
         'min_block_size'. */                                         
                                                                      
      uint32_t new_block_size = old_block_size - free_block_size;     
   13fc0:	e89d1008 	ldm	sp, {r3, ip}                                  
   13fc4:	e0640003 	rsb	r0, r4, r3                                    
                                                                      
      if (new_block_size < min_block_size) {                          
   13fc8:	e150000c 	cmp	r0, ip                                        
   13fcc:	2a000007 	bcs	13ff0 <_Heap_Resize_block+0x18c>              
        uint32_t delta = min_block_size - new_block_size;             
   13fd0:	e060300c 	rsb	r3, r0, ip                                    
        _HAssert(free_block_size >= delta);                           
        free_block_size -= delta;                                     
        if (free_block_size == 0) {                                   
   13fd4:	e0544003 	subs	r4, r4, r3                                   
          ++stats->resizes;                                           
          return HEAP_RESIZE_SUCCESSFUL;                              
        }                                                             
        new_block_size += delta;                                      
   13fd8:	10800003 	addne	r0, r0, r3                                  
      if (new_block_size < min_block_size) {                          
        uint32_t delta = min_block_size - new_block_size;             
        _HAssert(free_block_size >= delta);                           
        free_block_size -= delta;                                     
        if (free_block_size == 0) {                                   
          ++stats->resizes;                                           
   13fdc:	05953054 	ldreq	r3, [r5, #84]                               
   13fe0:	02833001 	addeq	r3, r3, #1	; 0x1                            
   13fe4:	05853054 	streq	r3, [r5, #84]                               
   13fe8:	01a00004 	moveq	r0, r4                                      
   13fec:	0a000031 	beq	140b8 <_Heap_Resize_block+0x254>              
      _HAssert(new_block_size >= min_block_size);                     
      _HAssert(new_block_size + free_block_size == old_block_size);   
      _HAssert(_Heap_Is_aligned(new_block_size, page_size));          
      _HAssert(_Heap_Is_aligned(free_block_size, page_size));         
                                                                      
      if (!next_is_used) {                                            
   13ff0:	e35b0000 	cmp	fp, #0	; 0x0                                  
   13ff4:	1a000013 	bne	14048 <_Heap_Resize_block+0x1e4>              
        /* Extend the next block to the low addresses by 'free_block_size' */
        Heap_Block *const new_next_block =                            
          _Heap_Block_at(the_block, new_block_size);                  
        uint32_t const new_next_block_size =                          
          next_block_size + free_block_size;                          
   13ff8:	e084200a 	add	r2, r4, sl                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  void     *base,                                                     
  uint32_t  offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) _Addresses_Add_offset( base, offset );        
   13ffc:	e0871000 	add	r1, r7, r0                                    
        _HAssert(_Heap_Is_block_in(the_heap, next_next_block));       
        the_block->size = new_block_size | prev_used_flag;            
   14000:	e1803009 	orr	r3, r0, r9                                    
        new_next_block->size = new_next_block_size | HEAP_PREV_USED;  
   14004:	e3820001 	orr	r0, r2, #1	; 0x1                              
        Heap_Block *const new_next_block =                            
          _Heap_Block_at(the_block, new_block_size);                  
        uint32_t const new_next_block_size =                          
          next_block_size + free_block_size;                          
        _HAssert(_Heap_Is_block_in(the_heap, next_next_block));       
        the_block->size = new_block_size | prev_used_flag;            
   14008:	e5873004 	str	r3, [r7, #4]                                  
        new_next_block->size = new_next_block_size | HEAP_PREV_USED;  
        next_next_block->prev_size = new_next_block_size;             
   1400c:	e786200a 	str	r2, [r6, sl]                                  
          _Heap_Block_at(the_block, new_block_size);                  
        uint32_t const new_next_block_size =                          
          next_block_size + free_block_size;                          
        _HAssert(_Heap_Is_block_in(the_heap, next_next_block));       
        the_block->size = new_block_size | prev_used_flag;            
        new_next_block->size = new_next_block_size | HEAP_PREV_USED;  
   14010:	e5810004 	str	r0, [r1, #4]                                  
        next_next_block->prev_size = new_next_block_size;             
        _Heap_Block_replace(next_block, new_next_block);              
        the_heap->stats.free_size += free_block_size;                 
   14014:	e5953030 	ldr	r3, [r5, #48]                                 
   14018:	e0833004 	add	r3, r3, r4                                    
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *block = old_block;                                      
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
   1401c:	e596000c 	ldr	r0, [r6, #12]                                 
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *block = old_block;                                      
  Heap_Block *next = block->next;                                     
   14020:	e596c008 	ldr	ip, [r6, #8]                                  
   14024:	e5853030 	str	r3, [r5, #48]                                 
        *avail_mem_size = new_next_block_size - HEAP_BLOCK_USED_OVERHEAD;
   14028:	e59d3030 	ldr	r3, [sp, #48]                                 
   1402c:	e2422004 	sub	r2, r2, #4	; 0x4                              
  Heap_Block *prev = block->prev;                                     
                                                                      
  block = new_block;                                                  
  block->next = next;                                                 
   14030:	e581c008 	str	ip, [r1, #8]                                  
  block->prev = prev;                                                 
   14034:	e581000c 	str	r0, [r1, #12]                                 
   14038:	e5832000 	str	r2, [r3]                                      
  next->prev = prev->next = block;                                    
   1403c:	e5801008 	str	r1, [r0, #8]                                  
   14040:	e58c100c 	str	r1, [ip, #12]                                 
   14044:	ea000013 	b	14098 <_Heap_Resize_block+0x234>                
                                                                      
      } else if (free_block_size >= min_block_size) {                 
   14048:	e59dc004 	ldr	ip, [sp, #4]                                  <== NOT EXECUTED
   1404c:	e154000c 	cmp	r4, ip                                        <== NOT EXECUTED
   14050:	3a000010 	bcc	14098 <_Heap_Resize_block+0x234>              <== NOT EXECUTED
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  void     *base,                                                     
  uint32_t  offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) _Addresses_Add_offset( base, offset );        
   14054:	e0871000 	add	r1, r7, r0                                    <== NOT EXECUTED
        /* Split the block into 2 used  parts, then free the second one. */
        the_block->size = new_block_size | prev_used_flag;            
   14058:	e1803009 	orr	r3, r0, r9                                    <== NOT EXECUTED
        next_block = _Heap_Block_at(the_block, new_block_size);       
        next_block->size = free_block_size | HEAP_PREV_USED;          
   1405c:	e3842001 	orr	r2, r4, #1	; 0x1                              <== NOT EXECUTED
        the_heap->stats.free_size += free_block_size;                 
        *avail_mem_size = new_next_block_size - HEAP_BLOCK_USED_OVERHEAD;
                                                                      
      } else if (free_block_size >= min_block_size) {                 
        /* Split the block into 2 used  parts, then free the second one. */
        the_block->size = new_block_size | prev_used_flag;            
   14060:	e5873004 	str	r3, [r7, #4]                                  <== NOT EXECUTED
        next_block = _Heap_Block_at(the_block, new_block_size);       
        next_block->size = free_block_size | HEAP_PREV_USED;          
   14064:	e5812004 	str	r2, [r1, #4]                                  <== NOT EXECUTED
        ++stats->used_blocks; /* We have created used block */        
   14068:	e5953040 	ldr	r3, [r5, #64]                                 <== NOT EXECUTED
        --stats->frees;       /* Don't count next call in stats */    
   1406c:	e5952050 	ldr	r2, [r5, #80]                                 <== NOT EXECUTED
      } else if (free_block_size >= min_block_size) {                 
        /* Split the block into 2 used  parts, then free the second one. */
        the_block->size = new_block_size | prev_used_flag;            
        next_block = _Heap_Block_at(the_block, new_block_size);       
        next_block->size = free_block_size | HEAP_PREV_USED;          
        ++stats->used_blocks; /* We have created used block */        
   14070:	e2833001 	add	r3, r3, #1	; 0x1                              <== NOT EXECUTED
        --stats->frees;       /* Don't count next call in stats */    
   14074:	e2422001 	sub	r2, r2, #1	; 0x1                              <== NOT EXECUTED
      } else if (free_block_size >= min_block_size) {                 
        /* Split the block into 2 used  parts, then free the second one. */
        the_block->size = new_block_size | prev_used_flag;            
        next_block = _Heap_Block_at(the_block, new_block_size);       
        next_block->size = free_block_size | HEAP_PREV_USED;          
        ++stats->used_blocks; /* We have created used block */        
   14078:	e5853040 	str	r3, [r5, #64]                                 <== NOT EXECUTED
        --stats->frees;       /* Don't count next call in stats */    
   1407c:	e5852050 	str	r2, [r5, #80]                                 <== NOT EXECUTED
        _Heap_Free(the_heap, _Heap_User_area(next_block));            
   14080:	e2811008 	add	r1, r1, #8	; 0x8                              <== NOT EXECUTED
   14084:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   14088:	ebffd7b8 	bl	9f70 <_Heap_Free>                              <== NOT EXECUTED
        *avail_mem_size = free_block_size - HEAP_BLOCK_USED_OVERHEAD; 
   1408c:	e59d0030 	ldr	r0, [sp, #48]                                 <== NOT EXECUTED
   14090:	e2443004 	sub	r3, r4, #4	; 0x4                              <== NOT EXECUTED
   14094:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  ++stats->resizes;                                                   
   14098:	e5953054 	ldr	r3, [r5, #84]                                 
   1409c:	e2833001 	add	r3, r3, #1	; 0x1                              
   140a0:	e5853054 	str	r3, [r5, #84]                                 
   140a4:	e3a00000 	mov	r0, #0	; 0x0                                  
   140a8:	ea000002 	b	140b8 <_Heap_Resize_block+0x254>                
  return HEAP_RESIZE_SUCCESSFUL;                                      
   140ac:	e3a00002 	mov	r0, #2	; 0x2                                  
   140b0:	ea000000 	b	140b8 <_Heap_Resize_block+0x254>                
   140b4:	e3a00001 	mov	r0, #1	; 0x1                                  
}                                                                     
   140b8:	e28dd00c 	add	sp, sp, #12	; 0xc                             
   140bc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

0000d560 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *the_heap, int source, bool do_dump ) {
    d560:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  Heap_Block *the_block = the_heap->start;                            
    d564:	e5907020 	ldr	r7, [r0, #32]                                 
                                                                      
  /*                                                                  
   * Handle the 1st block                                             
   */                                                                 
                                                                      
  if (!_Heap_Is_prev_used(the_block)) {                               
    d568:	e5973004 	ldr	r3, [r7, #4]                                  
/*                                                                    
  if ( !_System_state_Is_up( _System_state_Get() ) )                  
    return TRUE;                                                      
*/                                                                    
                                                                      
  if (source < 0)                                                     
    d56c:	e2516000 	subs	r6, r1, #0	; 0x0                             
    source = the_heap->stats.instance;                                
    d570:	b5906028 	ldrlt	r6, [r0, #40]                               
                                                                      
  /*                                                                  
   * Handle the 1st block                                             
   */                                                                 
                                                                      
  if (!_Heap_Is_prev_used(the_block)) {                               
    d574:	e3130001 	tst	r3, #1	; 0x1                                  
bool _Heap_Walk(                                                      
  Heap_Control  *the_heap,                                            
  int            source,                                              
  bool           do_dump                                              
)                                                                     
{                                                                     
    d578:	e1a05000 	mov	r5, r0                                        
  Heap_Block *the_block = the_heap->start;                            
  Heap_Block *const end = the_heap->final;                            
    d57c:	e590b024 	ldr	fp, [r0, #36]                                 
                                                                      
  /*                                                                  
   * Handle the 1st block                                             
   */                                                                 
                                                                      
  if (!_Heap_Is_prev_used(the_block)) {                               
    d580:	13a04000 	movne	r4, #0	; 0x0                                
    d584:	1a000003 	bne	d598 <_Heap_Walk+0x38>                        
    printk("PASS: %d !HEAP_PREV_USED flag of 1st block isn't set\n", source);
    d588:	e59f01a0 	ldr	r0, [pc, #416]	; d730 <_Heap_Walk+0x1d0>      <== NOT EXECUTED
    d58c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d590:	ebffdc29 	bl	463c <printk>                                  <== NOT EXECUTED
    d594:	e3a04001 	mov	r4, #1	; 0x1                                  <== NOT EXECUTED
    error = 1;                                                        
  }                                                                   
                                                                      
  if (the_block->prev_size != the_heap->page_size) {                  
    d598:	e5972000 	ldr	r2, [r7]                                      
    d59c:	e5953010 	ldr	r3, [r5, #16]                                 
    d5a0:	e1520003 	cmp	r2, r3                                        
    d5a4:	0a00004c 	beq	d6dc <_Heap_Walk+0x17c>                       
    printk("PASS: %d !prev_size of 1st block isn't page_size\n", source);
    d5a8:	e59f0184 	ldr	r0, [pc, #388]	; d734 <_Heap_Walk+0x1d4>      <== NOT EXECUTED
    d5ac:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d5b0:	ebffdc21 	bl	463c <printk>                                  <== NOT EXECUTED
    d5b4:	e3a04001 	mov	r4, #1	; 0x1                                  <== NOT EXECUTED
    d5b8:	ea000047 	b	d6dc <_Heap_Walk+0x17c>                         <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size (                      
  Heap_Block *the_block                                               
)                                                                     
{                                                                     
  return (the_block->size & ~HEAP_PREV_USED);                         
    d5bc:	e5979004 	ldr	r9, [r7, #4]                                  
        printk(" prev_size %d", the_block->prev_size);                
      else                                                            
        printk(" (prev_size) %d", the_block->prev_size);              
    }                                                                 
                                                                      
    if (!_Heap_Is_block_in(the_heap, next_block)) {                   
    d5c0:	e5952020 	ldr	r2, [r5, #32]                                 
    d5c4:	e3c9a001 	bic	sl, r9, #1	; 0x1                              
    d5c8:	e5953024 	ldr	r3, [r5, #36]                                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  void     *base,                                                     
  uint32_t  offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) _Addresses_Add_offset( base, offset );        
    d5cc:	e087800a 	add	r8, r7, sl                                    
    d5d0:	e1580002 	cmp	r8, r2                                        
    d5d4:	33a01000 	movcc	r1, #0	; 0x0                                
    d5d8:	23a01001 	movcs	r1, #1	; 0x1                                
    d5dc:	e1580003 	cmp	r8, r3                                        
    d5e0:	83a01000 	movhi	r1, #0	; 0x0                                
    d5e4:	e3510000 	cmp	r1, #0	; 0x0                                  
    d5e8:	1a000004 	bne	d600 <_Heap_Walk+0xa0>                        
      if (do_dump) printk("\n");                                      
      printk("PASS: %d !block %p is out of heap\n", source, next_block);
    d5ec:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
    d5f0:	e59f0140 	ldr	r0, [pc, #320]	; d738 <_Heap_Walk+0x1d8>      <== NOT EXECUTED
    d5f4:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d5f8:	ebffdc0f 	bl	463c <printk>                                  <== NOT EXECUTED
    d5fc:	ea000039 	b	d6e8 <_Heap_Walk+0x188>                         <== NOT EXECUTED
      error = 1;                                                      
      break;                                                          
    }                                                                 
                                                                      
    if (!_Heap_Is_prev_used(next_block)) {                            
    d600:	e5983004 	ldr	r3, [r8, #4]                                  
    d604:	e3130001 	tst	r3, #1	; 0x1                                  
    d608:	1a00001e 	bne	d688 <_Heap_Walk+0x128>                       
      if (do_dump)                                                    
        printk( " prev %p next %p", the_block->prev, the_block->next);
      if (_Heap_Block_size(the_block) != next_block->prev_size) {     
    d60c:	e5983000 	ldr	r3, [r8]                                      
    d610:	e15a0003 	cmp	sl, r3                                        
    d614:	0a000003 	beq	d628 <_Heap_Walk+0xc8>                        
        if (do_dump) printk("\n");                                    
        printk("PASS: %d !front and back sizes don't match", source); 
    d618:	e59f011c 	ldr	r0, [pc, #284]	; d73c <_Heap_Walk+0x1dc>      <== NOT EXECUTED
    d61c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d620:	ebffdc05 	bl	463c <printk>                                  <== NOT EXECUTED
    d624:	e3a04001 	mov	r4, #1	; 0x1                                  <== NOT EXECUTED
        error = 1;                                                    
      }                                                               
      if (!prev_used) {                                               
    d628:	e3190001 	tst	r9, #1	; 0x1                                  
    d62c:	1a000006 	bne	d64c <_Heap_Walk+0xec>                        
        if (do_dump || error) printk("\n");                           
    d630:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    d634:	159f0104 	ldrne	r0, [pc, #260]	; d740 <_Heap_Walk+0x1e0>    <== NOT EXECUTED
    d638:	1bffdbff 	blne	463c <printk>                                <== NOT EXECUTED
        printk("PASS: %d !two consecutive blocks are free", source);  
    d63c:	e59f0100 	ldr	r0, [pc, #256]	; d744 <_Heap_Walk+0x1e4>      <== NOT EXECUTED
    d640:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d644:	ebffdbfc 	bl	463c <printk>                                  <== NOT EXECUTED
    d648:	e3a04001 	mov	r4, #1	; 0x1                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_First (                        
  Heap_Control *the_heap                                              
)                                                                     
{                                                                     
  return _Heap_Head(the_heap)->next;                                  
    d64c:	e5953008 	ldr	r3, [r5, #8]                                  
    d650:	ea000000 	b	d658 <_Heap_Walk+0xf8>                          
      }                                                               
                                                                      
      { /* Check if 'the_block' is in the free block list */          
        Heap_Block* block = _Heap_First(the_heap);                    
        while(block != the_block && block != tail)                    
          block = block->next;                                        
    d654:	e5933008 	ldr	r3, [r3, #8]                                  
        error = 1;                                                    
      }                                                               
                                                                      
      { /* Check if 'the_block' is in the free block list */          
        Heap_Block* block = _Heap_First(the_heap);                    
        while(block != the_block && block != tail)                    
    d658:	e1530007 	cmp	r3, r7                                        
    d65c:	11530005 	cmpne	r3, r5                                      
    d660:	1afffffb 	bne	d654 <_Heap_Walk+0xf4>                        
          block = block->next;                                        
        if(block != the_block) {                                      
    d664:	e1530007 	cmp	r3, r7                                        
    d668:	0a000006 	beq	d688 <_Heap_Walk+0x128>                       
          if (do_dump || error) printk("\n");                         
    d66c:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    d670:	159f00c8 	ldrne	r0, [pc, #200]	; d740 <_Heap_Walk+0x1e0>    <== NOT EXECUTED
    d674:	1bffdbf0 	blne	463c <printk>                                <== NOT EXECUTED
          printk("PASS: %d !the_block not in the free list", source); 
    d678:	e59f00c8 	ldr	r0, [pc, #200]	; d748 <_Heap_Walk+0x1e8>      <== NOT EXECUTED
    d67c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d680:	ebffdbed 	bl	463c <printk>                                  <== NOT EXECUTED
    d684:	ea000001 	b	d690 <_Heap_Walk+0x130>                         <== NOT EXECUTED
          error = 1;                                                  
        }                                                             
      }                                                               
                                                                      
    }                                                                 
    if (do_dump || error) printk("\n");                               
    d688:	e3540000 	cmp	r4, #0	; 0x0                                  
    d68c:	0a000002 	beq	d69c <_Heap_Walk+0x13c>                       
    d690:	e59f00a8 	ldr	r0, [pc, #168]	; d740 <_Heap_Walk+0x1e0>      <== NOT EXECUTED
    d694:	ebffdbe8 	bl	463c <printk>                                  <== NOT EXECUTED
    d698:	e3a04001 	mov	r4, #1	; 0x1                                  <== NOT EXECUTED
                                                                      
    if (the_size < the_heap->min_block_size) {                        
    d69c:	e5953014 	ldr	r3, [r5, #20]                                 
    d6a0:	e15a0003 	cmp	sl, r3                                        
      printk("PASS: %d !block size is too small\n", source);          
    d6a4:	359f00a0 	ldrcc	r0, [pc, #160]	; d74c <_Heap_Walk+0x1ec>    
    d6a8:	3a000005 	bcc	d6c4 <_Heap_Walk+0x164>                       
      error = 1;                                                      
      break;                                                          
    }                                                                 
    if (!_Heap_Is_aligned( the_size, the_heap->page_size)) {          
    d6ac:	e1a0000a 	mov	r0, sl                                        
    d6b0:	e5951010 	ldr	r1, [r5, #16]                                 
    d6b4:	eb0026bf 	bl	171b8 <__umodsi3>                              
    d6b8:	e3500000 	cmp	r0, #0	; 0x0                                  
    d6bc:	0a000003 	beq	d6d0 <_Heap_Walk+0x170>                       
      printk("PASS: %d !block size is misaligned\n", source);         
    d6c0:	e59f0088 	ldr	r0, [pc, #136]	; d750 <_Heap_Walk+0x1f0>      <== NOT EXECUTED
    d6c4:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d6c8:	ebffdbdb 	bl	463c <printk>                                  <== NOT EXECUTED
    d6cc:	ea000005 	b	d6e8 <_Heap_Walk+0x188>                         <== NOT EXECUTED
      error = 1;                                                      
    }                                                                 
                                                                      
    if (++passes > (do_dump ? 10 : 0) && error)                       
    d6d0:	e3540000 	cmp	r4, #0	; 0x0                                  
    d6d4:	1a000003 	bne	d6e8 <_Heap_Walk+0x188>                       
      break;                                                          
    d6d8:	e1a07008 	mov	r7, r8                                        
  if (the_block->prev_size != the_heap->page_size) {                  
    printk("PASS: %d !prev_size of 1st block isn't page_size\n", source);
    error = 1;                                                        
  }                                                                   
                                                                      
  while ( the_block != end ) {                                        
    d6dc:	e157000b 	cmp	r7, fp                                        
    d6e0:	1affffb5 	bne	d5bc <_Heap_Walk+0x5c>                        
    d6e4:	ea000005 	b	d700 <_Heap_Walk+0x1a0>                         
                                                                      
    the_block = next_block;                                           
  }                                                                   
                                                                      
  if (the_block != end) {                                             
    printk("PASS: %d !last block address isn't equal to 'final' %p %p\n",
    d6e8:	e1a0300b 	mov	r3, fp                                        <== NOT EXECUTED
    d6ec:	e59f0060 	ldr	r0, [pc, #96]	; d754 <_Heap_Walk+0x1f4>       <== NOT EXECUTED
    d6f0:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d6f4:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
    d6f8:	ebffdbcf 	bl	463c <printk>                                  <== NOT EXECUTED
    d6fc:	e3a04001 	mov	r4, #1	; 0x1                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size (                      
  Heap_Block *the_block                                               
)                                                                     
{                                                                     
  return (the_block->size & ~HEAP_PREV_USED);                         
    d700:	e5973004 	ldr	r3, [r7, #4]                                  
      source, the_block, end);                                        
    error = 1;                                                        
  }                                                                   
                                                                      
  if (_Heap_Block_size(the_block) != the_heap->page_size) {           
    d704:	e5950010 	ldr	r0, [r5, #16]                                 
    d708:	e3c32001 	bic	r2, r3, #1	; 0x1                              
    d70c:	e1520000 	cmp	r2, r0                                        
    d710:	0a000004 	beq	d728 <_Heap_Walk+0x1c8>                       
    printk("PASS: %d !last block's size isn't page_size (%d != %d)\n", source,
    d714:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    d718:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    d71c:	e59f0034 	ldr	r0, [pc, #52]	; d758 <_Heap_Walk+0x1f8>       <== NOT EXECUTED
    d720:	ebffdbc5 	bl	463c <printk>                                  <== NOT EXECUTED
    d724:	e3a04001 	mov	r4, #1	; 0x1                                  <== NOT EXECUTED
  if(do_dump && error)                                                
    _Internal_error_Occurred( INTERNAL_ERROR_CORE, TRUE, 0xffff0000 );
                                                                      
  return error;                                                       
                                                                      
}                                                                     
    d728:	e1a00004 	mov	r0, r4                                        
    d72c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

00004a70 <_IO_Manager_initialization>: void _IO_Manager_initialization( rtems_driver_address_table *driver_table, uint32_t drivers_in_table, uint32_t number_of_drivers ) {
    4a70:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
    4a74:	e59f607c 	ldr	r6, [pc, #124]	; 4af8 <_IO_Manager_initialization+0x88>
    4a78:	e59f807c 	ldr	r8, [pc, #124]	; 4afc <_IO_Manager_initialization+0x8c>
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
    4a7c:	e1520001 	cmp	r2, r1                                        
void _IO_Manager_initialization(                                      
  rtems_driver_address_table *driver_table,                           
  uint32_t                    drivers_in_table,                       
  uint32_t                    number_of_drivers                       
)                                                                     
{                                                                     
    4a80:	e1a07001 	mov	r7, r1                                        
    4a84:	e1a05002 	mov	r5, r2                                        
    4a88:	e1a0a000 	mov	sl, r0                                        
   *  If the maximum number of driver is the same as the number in the
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
    4a8c:	95860000 	strls	r0, [r6]                                    
    _IO_Number_of_drivers = number_of_drivers;                        
    4a90:	95881000 	strls	r1, [r8]                                    
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
    4a94:	98bd85f0 	popls	{r4, r5, r6, r7, r8, sl, pc}                
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
    4a98:	e3a03018 	mov	r3, #24	; 0x18                                <== NOT EXECUTED
    4a9c:	e0040293 	mul	r4, r3, r2                                    <== NOT EXECUTED
    4aa0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    4aa4:	eb000aea 	bl	7654 <_Workspace_Allocate_or_fatal_error>      <== NOT EXECUTED
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
    4aa8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
    4aac:	e5885000 	str	r5, [r8]                                      <== NOT EXECUTED
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
    4ab0:	e5860000 	str	r0, [r6]                                      <== NOT EXECUTED
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
    4ab4:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
    4ab8:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
    4abc:	eb001c5e 	bl	bc3c <memset>                                  <== NOT EXECUTED
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
    4ac0:	e1a04005 	mov	r4, r5                                        <== NOT EXECUTED
    4ac4:	e5966000 	ldr	r6, [r6]                                      <== NOT EXECUTED
    4ac8:	ea000003 	b	4adc <_IO_Manager_initialization+0x6c>          <== NOT EXECUTED
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    4acc:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    4ad0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    4ad4:	e89e0003 	ldm	lr, {r0, r1}                                  <== NOT EXECUTED
    4ad8:	e88c0003 	stm	ip, {r0, r1}                                  <== NOT EXECUTED
    4adc:	e1550007 	cmp	r5, r7                                        <== NOT EXECUTED
    4ae0:	e08ae004 	add	lr, sl, r4                                    <== NOT EXECUTED
    4ae4:	e086c004 	add	ip, r6, r4                                    <== NOT EXECUTED
    4ae8:	e2855001 	add	r5, r5, #1	; 0x1                              <== NOT EXECUTED
    4aec:	e2844018 	add	r4, r4, #24	; 0x18                            <== NOT EXECUTED
    4af0:	3afffff5 	bcc	4acc <_IO_Manager_initialization+0x5c>        <== NOT EXECUTED
    4af4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
	...                                                                  
                                                                      

00005500 <_Internal_error_Occurred>: bool is_internal, uint32_t the_error ) { _Internal_errors_What_happened.the_source = the_source;
    5500:	e59f3038 	ldr	r3, [pc, #56]	; 5540 <_Internal_error_Occurred+0x40><== NOT EXECUTED
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  uint32_t                the_error                                   
)                                                                     
{                                                                     
    5504:	e201c0ff 	and	ip, r1, #255	; 0xff                           <== NOT EXECUTED
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
    5508:	e5832008 	str	r2, [r3, #8]                                  <== NOT EXECUTED
  bool                    is_internal,                                
  uint32_t                the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
    550c:	e5830000 	str	r0, [r3]                                      <== NOT EXECUTED
  _Internal_errors_What_happened.is_internal = is_internal;           
    5510:	e5c3c004 	strb	ip, [r3, #4]                                 <== NOT EXECUTED
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
    5514:	e1a0100c 	mov	r1, ip                                        <== NOT EXECUTED
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  uint32_t                the_error                                   
)                                                                     
{                                                                     
    5518:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
                                                                      
  _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 );       
    551c:	eb00073c 	bl	7214 <_User_extensions_Fatal>                  <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
    5520:	e59f301c 	ldr	r3, [pc, #28]	; 5544 <_Internal_error_Occurred+0x44><== NOT EXECUTED
    5524:	e3a02005 	mov	r2, #5	; 0x5                                  <== NOT EXECUTED
    5528:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
    552c:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
    5530:	e38230c0 	orr	r3, r2, #192	; 0xc0                           <== NOT EXECUTED
    5534:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    5538:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    553c:	eafffffe 	b	553c <_Internal_error_Occurred+0x3c>            <== NOT EXECUTED
                                                                      

0000a164 <_Objects_API_maximum_class>: int _Objects_API_maximum_class( uint32_t api ) { switch (api) {
    a164:	e2400001 	sub	r0, r0, #1	; 0x1                              
    a168:	e3500003 	cmp	r0, #3	; 0x3                                  
    a16c:	979ff100 	ldrls	pc, [pc, r0, lsl #2]                        
    a170:	ea00000b 	b	a1a4 <_Objects_API_maximum_class+0x40>          
    a174:	0000a18c 	.word	0x0000a18c                                  
    a178:	0000a184 	.word	0x0000a184                                  
    a17c:	0000a194 	.word	0x0000a194                                  <== NOT EXECUTED
    a180:	0000a19c 	.word	0x0000a19c                                  <== NOT EXECUTED
    a184:	e3a0000a 	mov	r0, #10	; 0xa                                 
    a188:	e12fff1e 	bx	lr                                             
    a18c:	e3a00002 	mov	r0, #2	; 0x2                                  
    a190:	e12fff1e 	bx	lr                                             
    a194:	e3a0000c 	mov	r0, #12	; 0xc                                 
    a198:	e12fff1e 	bx	lr                                             
    case OBJECTS_INTERNAL_API:                                        
      return OBJECTS_INTERNAL_CLASSES_LAST;                           
    case OBJECTS_CLASSIC_API:                                         
      return OBJECTS_RTEMS_CLASSES_LAST;                              
    case OBJECTS_POSIX_API:                                           
      return OBJECTS_POSIX_CLASSES_LAST;                              
    a19c:	e3a00008 	mov	r0, #8	; 0x8                                  
    a1a0:	e12fff1e 	bx	lr                                             
    case OBJECTS_ITRON_API:                                           
      return OBJECTS_ITRON_CLASSES_LAST;                              
    a1a4:	e3e00000 	mvn	r0, #0	; 0x0                                  
    case OBJECTS_NO_API:                                              
    default:                                                          
      break;                                                          
  }                                                                   
  return -1;                                                          
}                                                                     
    a1a8:	e12fff1e 	bx	lr                                             
                                                                      

00005608 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
    5608:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_index(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (id >> OBJECTS_INDEX_START_BIT) & OBJECTS_INDEX_VALID_BITS;  
    560c:	e1d060b8 	ldrh	r6, [r0, #8]                                 
                                                                      
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  if ( information->maximum < minimum_index )                         
    5610:	e1d041b0 	ldrh	r4, [r0, #16]                                
    5614:	e1540006 	cmp	r4, r6                                        
    5618:	33a07000 	movcc	r7, #0	; 0x0                                
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
    561c:	e24dd014 	sub	sp, sp, #20	; 0x14                            
    5620:	e1a05000 	mov	r5, r0                                        
                                                                      
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  if ( information->maximum < minimum_index )                         
    5624:	31a0a006 	movcc	sl, r6                                      
    5628:	31a08007 	movcc	r8, r7                                      
    562c:	3a00000f 	bcc	5670 <_Objects_Extend_information+0x68>       
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
    5630:	e5909014 	ldr	r9, [r0, #20]                                 
    5634:	e1a00004 	mov	r0, r4                                        
    5638:	e1a01009 	mov	r1, r9                                        
    563c:	eb0032a0 	bl	120c4 <__aeabi_uidiv>                          
    5640:	e1a0a006 	mov	sl, r6                                        
    5644:	e1a07000 	mov	r7, r0                                        
    5648:	e3a08000 	mov	r8, #0	; 0x0                                  
    564c:	ea000005 	b	5668 <_Objects_Extend_information+0x60>         
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL )              
    5650:	e5953034 	ldr	r3, [r5, #52]                                 
    5654:	e7933108 	ldr	r3, [r3, r8, lsl #2]                          
    5658:	e3530000 	cmp	r3, #0	; 0x0                                  
    565c:	0a000003 	beq	5670 <_Objects_Extend_information+0x68>       
        break;                                                        
      else                                                            
        index_base += information->allocation_size;                   
    5660:	e08aa009 	add	sl, sl, r9                                    
  if ( information->maximum < minimum_index )                         
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
    5664:	e2888001 	add	r8, r8, #1	; 0x1                              
    5668:	e1580007 	cmp	r8, r7                                        
    566c:	3afffff7 	bcc	5650 <_Objects_Extend_information+0x48>       
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
                                                                      
  if (index_base >= information->maximum ) {                          
    5670:	e15a0004 	cmp	sl, r4                                        
    5674:	3a000056 	bcc	57d4 <_Objects_Extend_information+0x1cc>      
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
                                                                      
    if ( information->auto_extend ) {                                 
    5678:	e5d52012 	ldrb	r2, [r5, #18]                                
     *  Up the block count and maximum                                
     */                                                               
                                                                      
    block_count++;                                                    
                                                                      
    maximum = information->maximum + information->allocation_size;    
    567c:	e5953014 	ldr	r3, [r5, #20]                                 
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
                                                                      
    if ( information->auto_extend ) {                                 
    5680:	e3520000 	cmp	r2, #0	; 0x0                                  
     *  Up the block count and maximum                                
     */                                                               
                                                                      
    block_count++;                                                    
                                                                      
    maximum = information->maximum + information->allocation_size;    
    5684:	e0843003 	add	r3, r4, r3                                    
    5688:	e58d3004 	str	r3, [sp, #4]                                  
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
                                                                      
    block_count++;                                                    
    568c:	e2874001 	add	r4, r7, #1	; 0x1                              
    5690:	e0832006 	add	r2, r3, r6                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
                                                                      
    if ( information->auto_extend ) {                                 
    5694:	0a000007 	beq	56b8 <_Objects_Extend_information+0xb0>       
      object_blocks = (void**)                                        
    5698:	e3a03003 	mov	r3, #3	; 0x3                                  
    569c:	e0202493 	mla	r0, r3, r4, r2                                
    56a0:	e1a00100 	lsl	r0, r0, #2                                    
    56a4:	eb0007e6 	bl	7644 <_Workspace_Allocate>                     
          block_count *                                               
             (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *))     
          );                                                          
                                                                      
      if ( !object_blocks )                                           
    56a8:	e3500000 	cmp	r0, #0	; 0x0                                  
    56ac:	e58d0000 	str	r0, [sp]                                      
    56b0:	1a000005 	bne	56cc <_Objects_Extend_information+0xc4>       
    56b4:	ea000078 	b	589c <_Objects_Extend_information+0x294>        <== NOT EXECUTED
        return;                                                       
    }                                                                 
    else {                                                            
      object_blocks = (void**)                                        
    56b8:	e3a03003 	mov	r3, #3	; 0x3                                  
    56bc:	e0202493 	mla	r0, r3, r4, r2                                
    56c0:	e1a00100 	lsl	r0, r0, #2                                    
    56c4:	eb0007e2 	bl	7654 <_Workspace_Allocate_or_fatal_error>      
    56c8:	e58d0000 	str	r0, [sp]                                      
     *  in the copies.                                                
     */                                                               
                                                                      
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
    56cc:	e1d531b0 	ldrh	r3, [r5, #16]                                
    /*                                                                
     *  Break the block into the various sections.                    
     *                                                                
     */                                                               
                                                                      
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
    56d0:	e59d1000 	ldr	r1, [sp]                                      
    56d4:	e1a02104 	lsl	r2, r4, #2                                    
     *  in the copies.                                                
     */                                                               
                                                                      
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
    56d8:	e1530006 	cmp	r3, r6                                        
    /*                                                                
     *  Break the block into the various sections.                    
     *                                                                
     */                                                               
                                                                      
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
    56dc:	e081b002 	add	fp, r1, r2                                    
     *  in the copies.                                                
     */                                                               
                                                                      
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
    56e0:	93a03000 	movls	r3, #0	; 0x0                                
    56e4:	e08b9002 	add	r9, fp, r2                                    
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
    56e8:	91a02003 	movls	r2, r3                                      
     *  in the copies.                                                
     */                                                               
                                                                      
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
    56ec:	9a000011 	bls	5738 <_Objects_Extend_information+0x130>      
      /*                                                              
       *  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,                                          
    56f0:	e1a04107 	lsl	r4, r7, #2                                    
    56f4:	e5951034 	ldr	r1, [r5, #52]                                 
    56f8:	e1a02004 	mov	r2, r4                                        
    56fc:	e59d0000 	ldr	r0, [sp]                                      
    5700:	eb00190e 	bl	bb40 <memcpy>                                  
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
    5704:	e1a02004 	mov	r2, r4                                        
    5708:	e5951030 	ldr	r1, [r5, #48]                                 
    570c:	e1a0000b 	mov	r0, fp                                        
    5710:	eb00190a 	bl	bb40 <memcpy>                                  
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
    5714:	e1d521b0 	ldrh	r2, [r5, #16]                                
    5718:	e0862002 	add	r2, r6, r2                                    
    571c:	e1a02102 	lsl	r2, r2, #2                                    
    5720:	e1a00009 	mov	r0, r9                                        
    5724:	e595101c 	ldr	r1, [r5, #28]                                 
    5728:	eb001904 	bl	bb40 <memcpy>                                  
    572c:	ea000003 	b	5740 <_Objects_Extend_information+0x138>        
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
    5730:	e7892103 	str	r2, [r9, r3, lsl #2]                          
    else {                                                            
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
    5734:	e2833001 	add	r3, r3, #1	; 0x1                              
    5738:	e1530006 	cmp	r3, r6                                        
    573c:	3afffffb 	bcc	5730 <_Objects_Extend_information+0x128>      
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
                                                                      
    object_blocks[block_count] = NULL;                                
    5740:	e3a03000 	mov	r3, #0	; 0x0                                  
    inactive_per_block[block_count] = 0;                              
    5744:	e78b3107 	str	r3, [fp, r7, lsl #2]                          
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
                                                                      
    object_blocks[block_count] = NULL;                                
    5748:	e59dc000 	ldr	ip, [sp]                                      
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
    574c:	e5952014 	ldr	r2, [r5, #20]                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
                                                                      
    object_blocks[block_count] = NULL;                                
    5750:	e78c3107 	str	r3, [ip, r7, lsl #2]                          
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
    5754:	e08a0002 	add	r0, sl, r2                                    
    5758:	e089110a 	add	r1, r9, sl, lsl #2                            
    575c:	e1a0200a 	mov	r2, sl                                        
    5760:	ea000000 	b	5768 <_Objects_Extend_information+0x160>        
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    5764:	e5013004 	str	r3, [r1, #-4]                                 
                                                                      
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
    5768:	e1520000 	cmp	r2, r0                                        
          index++ ) {                                                 
    576c:	e2811004 	add	r1, r1, #4	; 0x4                              
    5770:	e2822001 	add	r2, r2, #1	; 0x1                              
                                                                      
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
    5774:	3afffffa 	bcc	5764 <_Objects_Extend_information+0x15c>      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
    5778:	e10f0000 	mrs	r0, CPSR                                      
    577c:	e38030c0 	orr	r3, r0, #192	; 0xc0                           
    5780:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = maximum;                                   
    information->maximum_id = _Objects_Build_id(                      
    5784:	e5953000 	ldr	r3, [r5]                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = maximum;                                   
    5788:	e59dc004 	ldr	ip, [sp, #4]                                  
    information->maximum_id = _Objects_Build_id(                      
    578c:	e1d510b4 	ldrh	r1, [r5, #4]                                 
    5790:	e1a03c03 	lsl	r3, r3, #24                                   
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = maximum;                                   
    5794:	e1a0280c 	lsl	r2, ip, #16                                   
    information->maximum_id = _Objects_Build_id(                      
    5798:	e3833801 	orr	r3, r3, #65536	; 0x10000                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = maximum;                                   
    579c:	e1a02822 	lsr	r2, r2, #16                                   
    information->maximum_id = _Objects_Build_id(                      
    57a0:	e1833d81 	orr	r3, r3, r1, lsl #27                           
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    57a4:	e59d1000 	ldr	r1, [sp]                                      
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = maximum;                                   
    information->maximum_id = _Objects_Build_id(                      
    57a8:	e1833002 	orr	r3, r3, r2                                    
    57ac:	e585300c 	str	r3, [r5, #12]                                 
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    57b0:	e585b030 	str	fp, [r5, #48]                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
    57b4:	e5953034 	ldr	r3, [r5, #52]                                 
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    57b8:	e585901c 	str	r9, [r5, #28]                                 
    information->maximum = maximum;                                   
    57bc:	e1c521b0 	strh	r2, [r5, #16]                                
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    57c0:	e5851034 	str	r1, [r5, #52]                                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
    57c4:	e129f000 	msr	CPSR_fc, r0                                   
                                                                      
    if ( old_tables )                                                 
    57c8:	e3530000 	cmp	r3, #0	; 0x0                                  
      _Workspace_Free( old_tables );                                  
    57cc:	11a00003 	movne	r0, r3                                      
    57d0:	1b000797 	blne	7634 <_Workspace_Free>                       
                                                                      
  /*                                                                  
   *  Allocate the name table, and the objects                        
   */                                                                 
                                                                      
  if ( information->auto_extend ) {                                   
    57d4:	e5d53012 	ldrb	r3, [r5, #18]                                
    57d8:	e3530000 	cmp	r3, #0	; 0x0                                  
    57dc:	e5952014 	ldr	r2, [r5, #20]                                 
    57e0:	e5954034 	ldr	r4, [r5, #52]                                 
    57e4:	e5953018 	ldr	r3, [r5, #24]                                 
    57e8:	0a000007 	beq	580c <_Objects_Extend_information+0x204>      
    information->object_blocks[ block ] =                             
    57ec:	e0000392 	mul	r0, r2, r3                                    
    57f0:	eb000793 	bl	7644 <_Workspace_Allocate>                     
      _Workspace_Allocate(                                            
        (information->allocation_size * information->size)            
      );                                                              
                                                                      
    if ( !information->object_blocks[ block ] )                       
    57f4:	e5953034 	ldr	r3, [r5, #52]                                 
  /*                                                                  
   *  Allocate the name table, and the objects                        
   */                                                                 
                                                                      
  if ( information->auto_extend ) {                                   
    information->object_blocks[ block ] =                             
    57f8:	e7840108 	str	r0, [r4, r8, lsl #2]                          
      _Workspace_Allocate(                                            
        (information->allocation_size * information->size)            
      );                                                              
                                                                      
    if ( !information->object_blocks[ block ] )                       
    57fc:	e7933108 	ldr	r3, [r3, r8, lsl #2]                          
    5800:	e3530000 	cmp	r3, #0	; 0x0                                  
    5804:	1a000003 	bne	5818 <_Objects_Extend_information+0x210>      
    5808:	ea000023 	b	589c <_Objects_Extend_information+0x294>        <== NOT EXECUTED
      return;                                                         
  }                                                                   
  else {                                                              
    information->object_blocks[ block ] =                             
    580c:	e0000392 	mul	r0, r2, r3                                    
    5810:	eb00078f 	bl	7654 <_Workspace_Allocate_or_fatal_error>      
    5814:	e7840108 	str	r0, [r4, r8, lsl #2]                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
                                                                      
  _Chain_Initialize(                                                  
    5818:	e5953034 	ldr	r3, [r5, #52]                                 
    581c:	e28d4008 	add	r4, sp, #8	; 0x8                              
    5820:	e7931108 	ldr	r1, [r3, r8, lsl #2]                          
    5824:	e1a00004 	mov	r0, r4                                        
    5828:	e2852014 	add	r2, r5, #20	; 0x14                            
    582c:	e892000c 	ldm	r2, {r2, r3}                                  
    5830:	eb00112f 	bl	9cf4 <_Chain_Initialize>                       
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
    5834:	e1a0600a 	mov	r6, sl                                        
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
                                                                      
  _Chain_Initialize(                                                  
    5838:	e1a08108 	lsl	r8, r8, #2                                    
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
    583c:	e2857020 	add	r7, r5, #32	; 0x20                            
    5840:	ea000008 	b	5868 <_Objects_Extend_information+0x260>        
                                                                      
  index = index_base;                                                 
                                                                      
  while ( (the_object = (Objects_Control *) _Chain_Get( &Inactive ) ) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
    5844:	e5953000 	ldr	r3, [r5]                                      
    5848:	e1d520b4 	ldrh	r2, [r5, #4]                                 
    584c:	e1a03c03 	lsl	r3, r3, #24                                   
    5850:	e3833801 	orr	r3, r3, #65536	; 0x10000                      
    5854:	e1833d82 	orr	r3, r3, r2, lsl #27                           
    5858:	e1833006 	orr	r3, r3, r6                                    
    585c:	e58c3008 	str	r3, [ip, #8]                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
    5860:	ebfffd5d 	bl	4ddc <_Chain_Append>                           
                                                                      
    index++;                                                          
    5864:	e2866001 	add	r6, r6, #1	; 0x1                              
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
                                                                      
  index = index_base;                                                 
                                                                      
  while ( (the_object = (Objects_Control *) _Chain_Get( &Inactive ) ) != NULL ) {
    5868:	e1a00004 	mov	r0, r4                                        
    586c:	eb001113 	bl	9cc0 <_Chain_Get>                              
    5870:	e250c000 	subs	ip, r0, #0	; 0x0                             
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
    5874:	e1a0100c 	mov	r1, ip                                        
    5878:	e1a00007 	mov	r0, r7                                        
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
                                                                      
  index = index_base;                                                 
                                                                      
  while ( (the_object = (Objects_Control *) _Chain_Get( &Inactive ) ) != NULL ) {
    587c:	1afffff0 	bne	5844 <_Objects_Extend_information+0x23c>      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
    5880:	e5952030 	ldr	r2, [r5, #48]                                 
    5884:	e5953014 	ldr	r3, [r5, #20]                                 
    5888:	e7823008 	str	r3, [r2, r8]                                  
  information->inactive += information->allocation_size;              
    588c:	e1d522bc 	ldrh	r2, [r5, #44]                                
    5890:	e5953014 	ldr	r3, [r5, #20]                                 
    5894:	e0833002 	add	r3, r3, r2                                    
    5898:	e1c532bc 	strh	r3, [r5, #44]                                
}                                                                     
    589c:	e28dd014 	add	sp, sp, #20	; 0x14                            
    58a0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

00006e5c <_Objects_Id_to_name>: Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
    6e5c:	e92d4030 	push	{r4, r5, lr}                                 
  Objects_Id           tmpId;                                         
  Objects_Information *information;                                   
  Objects_Control     *the_object = (Objects_Control *) 0;            
  Objects_Locations    ignored_location;                              
                                                                      
  if ( !name )                                                        
    6e60:	e2515000 	subs	r5, r1, #0	; 0x0                             
                                                                      
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
    6e64:	e24dd004 	sub	sp, sp, #4	; 0x4                              
  Objects_Id           tmpId;                                         
  Objects_Information *information;                                   
  Objects_Control     *the_object = (Objects_Control *) 0;            
  Objects_Locations    ignored_location;                              
                                                                      
  if ( !name )                                                        
    6e68:	03a00001 	moveq	r0, #1	; 0x1                                
    6e6c:	0a00001b 	beq	6ee0 <_Objects_Id_to_name+0x84>               
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
    6e70:	e3500000 	cmp	r0, #0	; 0x0                                  
    6e74:	059f3080 	ldreq	r3, [pc, #128]	; 6efc <_Objects_Id_to_name+0xa0>
    6e78:	05933000 	ldreq	r3, [r3]                                    
    6e7c:	05931008 	ldreq	r1, [r3, #8]                                
    6e80:	11a01000 	movne	r1, r0                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
    6e84:	e1a03c21 	lsr	r3, r1, #24                                   
    6e88:	e2030007 	and	r0, r3, #7	; 0x7                              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
    6e8c:	e2403001 	sub	r3, r0, #1	; 0x1                              
    6e90:	e3530003 	cmp	r3, #3	; 0x3                                  
    6e94:	8a000010 	bhi	6edc <_Objects_Id_to_name+0x80>               
    6e98:	ea000012 	b	6ee8 <_Objects_Id_to_name+0x8c>                 
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
    6e9c:	e1a03da1 	lsr	r3, r1, #27                                   
    6ea0:	e7900103 	ldr	r0, [r0, r3, lsl #2]                          
  if ( !information )                                                 
    6ea4:	e3500000 	cmp	r0, #0	; 0x0                                  
    6ea8:	0a00000b 	beq	6edc <_Objects_Id_to_name+0x80>               
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( information->is_string )                                       
    6eac:	e5d04038 	ldrb	r4, [r0, #56]                                
    6eb0:	e3540000 	cmp	r4, #0	; 0x0                                  
    6eb4:	1a000008 	bne	6edc <_Objects_Id_to_name+0x80>               
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
    6eb8:	e1a0200d 	mov	r2, sp                                        
    6ebc:	ebffffcb 	bl	6df0 <_Objects_Get>                            
  if ( !the_object )                                                  
    6ec0:	e3500000 	cmp	r0, #0	; 0x0                                  
    6ec4:	0a000004 	beq	6edc <_Objects_Id_to_name+0x80>               
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
    6ec8:	e590300c 	ldr	r3, [r0, #12]                                 
    6ecc:	e5853000 	str	r3, [r5]                                      
  _Thread_Enable_dispatch();                                          
    6ed0:	eb000216 	bl	7730 <_Thread_Enable_dispatch>                 
    6ed4:	e1a00004 	mov	r0, r4                                        
    6ed8:	ea000000 	b	6ee0 <_Objects_Id_to_name+0x84>                 
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
    6edc:	e3a00003 	mov	r0, #3	; 0x3                                  
}                                                                     
    6ee0:	e28dd004 	add	sp, sp, #4	; 0x4                              
    6ee4:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
    6ee8:	e59f3010 	ldr	r3, [pc, #16]	; 6f00 <_Objects_Id_to_name+0xa4>
    6eec:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          
    6ef0:	e3500000 	cmp	r0, #0	; 0x0                                  
    6ef4:	1affffe8 	bne	6e9c <_Objects_Id_to_name+0x40>               
    6ef8:	eafffff7 	b	6edc <_Objects_Id_to_name+0x80>                 <== NOT EXECUTED
                                                                      

00005a74 <_Objects_Initialize_information>: , bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) {
    5a74:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Set the entry in the object information table.                  
   */                                                                 
                                                                      
  _Objects_Information_table[ the_api ][ the_class ] = information;   
    5a78:	e59fc0a8 	ldr	ip, [pc, #168]	; 5b28 <_Objects_Initialize_information+0xb4>
   */                                                                 
                                                                      
  if ( maximum == 0 ) minimum_index = 0;                              
  else                minimum_index = 1;                              
                                                                      
  information->minimum_id =                                           
    5a7c:	e1a04c01 	lsl	r4, r1, #24                                   
  ,                                                                   
  bool                 supports_global,                               
  Objects_Thread_queue_Extract_callout extract                        
#endif                                                                
)                                                                     
{                                                                     
    5a80:	e1a07000 	mov	r7, r0                                        
    5a84:	e59d8024 	ldr	r8, [sp, #36]                                 
   *  Are we operating in unlimited, or auto-extend mode              
   */                                                                 
                                                                      
  information->auto_extend =                                          
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? TRUE : FALSE;         
  maximum                 &= ~OBJECTS_UNLIMITED_OBJECTS;              
    5a88:	e3c3a102 	bic	sl, r3, #-2147483648	; 0x80000000             
   */                                                                 
                                                                      
  if ( maximum == 0 ) minimum_index = 0;                              
  else                minimum_index = 1;                              
                                                                      
  information->minimum_id =                                           
    5a8c:	e3844801 	orr	r4, r4, #65536	; 0x10000                      
                                                                      
  /*                                                                  
   *  Are we operating in unlimited, or auto-extend mode              
   */                                                                 
                                                                      
  information->auto_extend =                                          
    5a90:	e1a03fa3 	lsr	r3, r3, #31                                   
                                                                      
  /*                                                                  
   *  Set the entry in the object information table.                  
   */                                                                 
                                                                      
  _Objects_Information_table[ the_api ][ the_class ] = information;   
    5a94:	e79c5101 	ldr	r5, [ip, r1, lsl #2]                          
   */                                                                 
                                                                      
  if ( maximum == 0 ) minimum_index = 0;                              
  else                minimum_index = 1;                              
                                                                      
  information->minimum_id =                                           
    5a98:	e1844d82 	orr	r4, r4, r2, lsl #27                           
  ,                                                                   
  bool                 supports_global,                               
  Objects_Thread_queue_Extract_callout extract                        
#endif                                                                
)                                                                     
{                                                                     
    5a9c:	e5ddc020 	ldrb	ip, [sp, #32]                                
                                                                      
  /*                                                                  
   *  Are we operating in unlimited, or auto-extend mode              
   */                                                                 
                                                                      
  information->auto_extend =                                          
    5aa0:	e5c73012 	strb	r3, [r7, #18]                                
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
                                                                      
  information->local_table = &null_local_table;                       
    5aa4:	e59f3080 	ldr	r3, [pc, #128]	; 5b2c <_Objects_Initialize_information+0xb8>
   */                                                                 
                                                                      
  if ( maximum == 0 ) minimum_index = 0;                              
  else                minimum_index = 1;                              
                                                                      
  information->minimum_id =                                           
    5aa8:	e35a0000 	cmp	sl, #0	; 0x0                                  
    5aac:	13844001 	orrne	r4, r4, #1	; 0x1                            
   *  Calculate the maximum name length                               
   */                                                                 
                                                                      
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    5ab0:	e3180003 	tst	r8, #3	; 0x3                                  
  ,                                                                   
  bool                 supports_global,                               
  Objects_Thread_queue_Extract_callout extract                        
#endif                                                                
)                                                                     
{                                                                     
    5ab4:	e1dd61bc 	ldrh	r6, [sp, #28]                                
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
  information->is_string          = is_string;                        
                                                                      
  information->local_table        = 0;                                
  information->inactive_per_block = 0;                                
    5ab8:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
                                                                      
  information->local_table = &null_local_table;                       
    5abc:	e587301c 	str	r3, [r7, #28]                                 
   */                                                                 
                                                                      
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
    5ac0:	12883004 	addne	r3, r8, #4	; 0x4                            
  uint32_t                name_length;                                
#if defined(RTEMS_MULTIPROCESSING)                                    
  uint32_t                index;                                      
#endif                                                                
                                                                      
  information->the_api            = the_api;                          
    5ac4:	e5871000 	str	r1, [r7]                                      
                                                                      
  information->local_table        = 0;                                
  information->inactive_per_block = 0;                                
  information->object_blocks      = 0;                                
                                                                      
  information->inactive           = 0;                                
    5ac8:	e1c702bc 	strh	r0, [r7, #44]                                
   */                                                                 
                                                                      
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
    5acc:	13c31003 	bicne	r1, r3, #3	; 0x3                            
   *  Calculate the maximum name length                               
   */                                                                 
                                                                      
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    5ad0:	01a01008 	moveq	r1, r8                                      
                                                                      
  /*                                                                  
   *  Set the entry in the object information table.                  
   */                                                                 
                                                                      
  _Objects_Information_table[ the_api ][ the_class ] = information;   
    5ad4:	e7857102 	str	r7, [r5, r2, lsl #2]                          
#if defined(RTEMS_MULTIPROCESSING)                                    
  uint32_t                index;                                      
#endif                                                                
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
    5ad8:	e1c720b4 	strh	r2, [r7, #4]                                 
  information->is_string          = is_string;                        
                                                                      
  information->local_table        = 0;                                
  information->inactive_per_block = 0;                                
    5adc:	e5870030 	str	r0, [r7, #48]                                 
  information->object_blocks      = 0;                                
    5ae0:	e5870034 	str	r0, [r7, #52]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    5ae4:	e2872024 	add	r2, r7, #36	; 0x24                            
  the_chain->permanent_null = NULL;                                   
    5ae8:	e3a00000 	mov	r0, #0	; 0x0                                  
  the_chain->last           = _Chain_Head(the_chain);                 
    5aec:	e2873020 	add	r3, r7, #32	; 0x20                            
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
                                                                      
  if ( maximum ) {                                                    
    5af0:	e35a0000 	cmp	sl, #0	; 0x0                                  
  uint32_t                index;                                      
#endif                                                                
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
  information->is_string          = is_string;                        
    5af4:	e5c7c038 	strb	ip, [r7, #56]                                
                                                                      
  /*                                                                  
   *  Set the size of the object                                      
   */                                                                 
                                                                      
  information->size = size;                                           
    5af8:	e5876018 	str	r6, [r7, #24]                                 
   */                                                                 
                                                                      
  if ( maximum == 0 ) minimum_index = 0;                              
  else                minimum_index = 1;                              
                                                                      
  information->minimum_id =                                           
    5afc:	e5874008 	str	r4, [r7, #8]                                  
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
                                                                      
  information->allocation_size = maximum;                             
    5b00:	e587a014 	str	sl, [r7, #20]                                 
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
                  ~(OBJECTS_NAME_ALIGNMENT-1);                        
                                                                      
  information->name_length = name_length;                             
    5b04:	e1c713ba 	strh	r1, [r7, #58]                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    5b08:	e5872020 	str	r2, [r7, #32]                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    5b0c:	e5873028 	str	r3, [r7, #40]                                 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
    5b10:	e5870024 	str	r0, [r7, #36]                                 
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
                                                                      
  if ( maximum ) {                                                    
    5b14:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                
    /*                                                                
     *  Reset the maximum value. It will be updated when the information is
     *  extended.                                                     
     */                                                               
                                                                      
    information->maximum = 0;                                         
    5b18:	e1c701b0 	strh	r0, [r7, #16]                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
                                                                      
    _Objects_Extend_information( information );                       
    5b1c:	e1a00007 	mov	r0, r7                                        
      _Chain_Initialize_empty( &information->global_table[ index ] ); 
   }                                                                  
   else                                                               
     information->global_table = NULL;                                
#endif                                                                
}                                                                     
    5b20:	e8bd45f0 	pop	{r4, r5, r6, r7, r8, sl, lr}                  
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
                                                                      
    _Objects_Extend_information( information );                       
    5b24:	eafffeb7 	b	5608 <_Objects_Extend_information>              
                                                                      

000111e4 <_Objects_Name_to_id_string>: Objects_Name_or_id_lookup_errors _Objects_Name_to_id_string( Objects_Information *information, const char *name, Objects_Id *id ) {
   111e4:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  uint32_t                   index;                                   
  uint32_t                   name_length;                             
                                                                      
  /* ASSERT: information->is_string == TRUE */                        
                                                                      
  if ( !id )                                                          
   111e8:	e252a000 	subs	sl, r2, #0	; 0x0                             
Objects_Name_or_id_lookup_errors _Objects_Name_to_id_string(          
  Objects_Information *information,                                   
  const char          *name,                                          
  Objects_Id          *id                                             
)                                                                     
{                                                                     
   111ec:	e1a06000 	mov	r6, r0                                        
   111f0:	e1a08001 	mov	r8, r1                                        
  uint32_t                   index;                                   
  uint32_t                   name_length;                             
                                                                      
  /* ASSERT: information->is_string == TRUE */                        
                                                                      
  if ( !id )                                                          
   111f4:	03a00002 	moveq	r0, #2	; 0x2                                
   111f8:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                
    return OBJECTS_INVALID_ADDRESS;                                   
                                                                      
  if ( !name )                                                        
   111fc:	e3510000 	cmp	r1, #0	; 0x0                                  
   11200:	0a000016 	beq	11260 <_Objects_Name_to_id_string+0x7c>       
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  if ( information->maximum != 0 ) {                                  
   11204:	e1d671b0 	ldrh	r7, [r6, #16]                                
   11208:	e3570000 	cmp	r7, #0	; 0x0                                  
   1120c:	13a05001 	movne	r5, #1	; 0x1                                
   11210:	1a00000f 	bne	11254 <_Objects_Name_to_id_string+0x70>       
   11214:	ea000011 	b	11260 <_Objects_Name_to_id_string+0x7c>         <== NOT EXECUTED
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
      the_object = information->local_table[ index ];                 
   11218:	e596301c 	ldr	r3, [r6, #28]                                 
   1121c:	e7934105 	ldr	r4, [r3, r5, lsl #2]                          
      if ( !the_object )                                              
   11220:	e3540000 	cmp	r4, #0	; 0x0                                  
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  if ( information->maximum != 0 ) {                                  
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
   11224:	e2855001 	add	r5, r5, #1	; 0x1                              
      the_object = information->local_table[ index ];                 
      if ( !the_object )                                              
   11228:	0a000009 	beq	11254 <_Objects_Name_to_id_string+0x70>       
        continue;                                                     
                                                                      
      if ( !the_object->name.name_p )                                 
   1122c:	e594300c 	ldr	r3, [r4, #12]                                 
   11230:	e2531000 	subs	r1, r3, #0	; 0x0                             
   11234:	0a000006 	beq	11254 <_Objects_Name_to_id_string+0x70>       
        continue;                                                     
                                                                      
      if (!strncmp( name, the_object->name.name_p, information->name_length)) {
   11238:	e1d623ba 	ldrh	r2, [r6, #58]                                
   1123c:	eb000c17 	bl	142a0 <strncmp>                                
   11240:	e3500000 	cmp	r0, #0	; 0x0                                  
   11244:	1a000002 	bne	11254 <_Objects_Name_to_id_string+0x70>       
        *id = the_object->id;                                         
   11248:	e5943008 	ldr	r3, [r4, #8]                                  
   1124c:	e58a3000 	str	r3, [sl]                                      
   11250:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  if ( information->maximum != 0 ) {                                  
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
   11254:	e1550007 	cmp	r5, r7                                        
        continue;                                                     
                                                                      
      if ( !the_object->name.name_p )                                 
        continue;                                                     
                                                                      
      if (!strncmp( name, the_object->name.name_p, information->name_length)) {
   11258:	e1a00008 	mov	r0, r8                                        
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  if ( information->maximum != 0 ) {                                  
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
   1125c:	9affffed 	bls	11218 <_Objects_Name_to_id_string+0x34>       
   11260:	e3a00001 	mov	r0, #1	; 0x1                                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return OBJECTS_INVALID_NAME;                                        
}                                                                     
   11264:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

00004b04 <_POSIX_Condition_variables_Get>: POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( pthread_cond_t *cond, Objects_Locations *location ) {
    4b04:	e92d4030 	push	{r4, r5, lr}                                 
  Objects_Id        *id = (Objects_Id *)cond;                         
  int status;                                                         
                                                                      
  if ( !id ) {                                                        
    4b08:	e2505000 	subs	r5, r0, #0	; 0x0                             
                                                                      
POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (   
  pthread_cond_t    *cond,                                            
  Objects_Locations *location                                         
)                                                                     
{                                                                     
    4b0c:	e1a04001 	mov	r4, r1                                        
  Objects_Id        *id = (Objects_Id *)cond;                         
  int status;                                                         
                                                                      
  if ( !id ) {                                                        
    4b10:	0a000006 	beq	4b30 <_POSIX_Condition_variables_Get+0x2c>    
    *location = OBJECTS_ERROR;                                        
    return (POSIX_Condition_variables_Control *) 0;                   
  }                                                                   
                                                                      
  if ( *id == PTHREAD_COND_INITIALIZER ) {                            
    4b14:	e5953000 	ldr	r3, [r5]                                      
    4b18:	e3730001 	cmn	r3, #1	; 0x1                                  
    4b1c:	1a000007 	bne	4b40 <_POSIX_Condition_variables_Get+0x3c>    
    /*                                                                
     *  Do an "auto-create" here.                                     
     */                                                               
                                                                      
    status = pthread_cond_init( (pthread_cond_t *)id, 0 );            
    4b20:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    4b24:	eb00000b 	bl	4b58 <pthread_cond_init>                       <== NOT EXECUTED
    if ( status ) {                                                   
    4b28:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    4b2c:	0a000003 	beq	4b40 <_POSIX_Condition_variables_Get+0x3c>    <== NOT EXECUTED
      *location = OBJECTS_ERROR;                                      
    4b30:	e3a03001 	mov	r3, #1	; 0x1                                  
    4b34:	e5843000 	str	r3, [r4]                                      
   *  Now call Objects_Get()                                          
   */                                                                 
                                                                      
  return (POSIX_Condition_variables_Control *)                        
    _Objects_Get( &_POSIX_Condition_variables_Information, *id, location );
}                                                                     
    4b38:	e3a00000 	mov	r0, #0	; 0x0                                  
    4b3c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   *  Now call Objects_Get()                                          
   */                                                                 
                                                                      
  return (POSIX_Condition_variables_Control *)                        
    4b40:	e5951000 	ldr	r1, [r5]                                      
    4b44:	e59f0008 	ldr	r0, [pc, #8]	; 4b54 <_POSIX_Condition_variables_Get+0x50>
    4b48:	e1a02004 	mov	r2, r4                                        
    _Objects_Get( &_POSIX_Condition_variables_Information, *id, location );
}                                                                     
    4b4c:	e8bd4030 	pop	{r4, r5, lr}                                  
                                                                      
  /*                                                                  
   *  Now call Objects_Get()                                          
   */                                                                 
                                                                      
  return (POSIX_Condition_variables_Control *)                        
    4b50:	ea000b06 	b	7770 <_Objects_Get>                             
                                                                      

00004cec <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
    4cec:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
    4cf0:	e1a06001 	mov	r6, r1                                        
    4cf4:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    4cf8:	e1a07000 	mov	r7, r0                                        
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
    4cfc:	e1a0100d 	mov	r1, sp                                        
    4d00:	e1a00006 	mov	r0, r6                                        
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
    4d04:	e1a0a002 	mov	sl, r2                                        
    4d08:	e20380ff 	and	r8, r3, #255	; 0xff                           
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
    4d0c:	eb000070 	bl	4ed4 <_POSIX_Mutex_Get>                        
    4d10:	e3500000 	cmp	r0, #0	; 0x0                                  
    4d14:	0a000032 	beq	4de4 <_POSIX_Condition_variables_Wait_support+0xf8>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
    4d18:	e59f30d4 	ldr	r3, [pc, #212]	; 4df4 <_POSIX_Condition_variables_Wait_support+0x108>
    4d1c:	e5932000 	ldr	r2, [r3]                                      
    4d20:	e2422001 	sub	r2, r2, #1	; 0x1                              
    4d24:	e5832000 	str	r2, [r3]                                      
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
    4d28:	e1a0100d 	mov	r1, sp                                        
    4d2c:	e1a00007 	mov	r0, r7                                        
    4d30:	ebffff73 	bl	4b04 <_POSIX_Condition_variables_Get>          
  switch ( location ) {                                               
    4d34:	e59d3000 	ldr	r3, [sp]                                      
    4d38:	e3530000 	cmp	r3, #0	; 0x0                                  
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
    4d3c:	e1a05000 	mov	r5, r0                                        
  switch ( location ) {                                               
    4d40:	1a000027 	bne	4de4 <_POSIX_Condition_variables_Wait_support+0xf8>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
    4d44:	e5902014 	ldr	r2, [r0, #20]                                 
    4d48:	e3520000 	cmp	r2, #0	; 0x0                                  
    4d4c:	0a000004 	beq	4d64 <_POSIX_Condition_variables_Wait_support+0x78>
    4d50:	e5963000 	ldr	r3, [r6]                                      
    4d54:	e1520003 	cmp	r2, r3                                        
    4d58:	0a000001 	beq	4d64 <_POSIX_Condition_variables_Wait_support+0x78>
        _Thread_Enable_dispatch();                                    
    4d5c:	eb000c87 	bl	7f80 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    4d60:	ea00001f 	b	4de4 <_POSIX_Condition_variables_Wait_support+0xf8><== NOT EXECUTED
        return EINVAL;                                                
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
    4d64:	e1a00006 	mov	r0, r6                                        
    4d68:	eb0000df 	bl	50ec <pthread_mutex_unlock>                    
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
    4d6c:	e3580000 	cmp	r8, #0	; 0x0                                  
    4d70:	1a000015 	bne	4dcc <_POSIX_Condition_variables_Wait_support+0xe0>
        the_cond->Mutex = *mutex;                                     
    4d74:	e5963000 	ldr	r3, [r6]                                      
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
    4d78:	e59f4078 	ldr	r4, [pc, #120]	; 4df8 <_POSIX_Condition_variables_Wait_support+0x10c>
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
    4d7c:	e5853014 	str	r3, [r5, #20]                                 
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
    4d80:	e5942000 	ldr	r2, [r4]                                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
    4d84:	e5973000 	ldr	r3, [r7]                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
    4d88:	e285c018 	add	ip, r5, #24	; 0x18                            
        _Thread_Executing->Wait.id          = *cond;                  
    4d8c:	e5823020 	str	r3, [r2, #32]                                 
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
    4d90:	e3a03001 	mov	r3, #1	; 0x1                                  
    4d94:	e5853048 	str	r3, [r5, #72]                                 
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
    4d98:	e582c044 	str	ip, [r2, #68]                                 
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
    4d9c:	e5828034 	str	r8, [r2, #52]                                 
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
    4da0:	e1a0000c 	mov	r0, ip                                        
    4da4:	e1a0100a 	mov	r1, sl                                        
    4da8:	e59f204c 	ldr	r2, [pc, #76]	; 4dfc <_POSIX_Condition_variables_Wait_support+0x110>
    4dac:	eb000dae 	bl	846c <_Thread_queue_Enqueue_with_handler>      
                                                                      
        _Thread_Enable_dispatch();                                    
    4db0:	eb000c72 	bl	7f80 <_Thread_Enable_dispatch>                 
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
    4db4:	e5943000 	ldr	r3, [r4]                                      
    4db8:	e5934034 	ldr	r4, [r3, #52]                                 
        if ( status && status != ETIMEDOUT )                          
    4dbc:	e3540000 	cmp	r4, #0	; 0x0                                  
    4dc0:	13540074 	cmpne	r4, #116	; 0x74                             
    4dc4:	0a000002 	beq	4dd4 <_POSIX_Condition_variables_Wait_support+0xe8>
    4dc8:	ea000006 	b	4de8 <_POSIX_Condition_variables_Wait_support+0xfc><== NOT EXECUTED
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
    4dcc:	eb000c6b 	bl	7f80 <_Thread_Enable_dispatch>                 
    4dd0:	e3a04074 	mov	r4, #116	; 0x74                               
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
    4dd4:	e1a00006 	mov	r0, r6                                        
    4dd8:	eb0000a2 	bl	5068 <pthread_mutex_lock>                      
      if ( mutex_status )                                             
    4ddc:	e3500000 	cmp	r0, #0	; 0x0                                  
    4de0:	0a000000 	beq	4de8 <_POSIX_Condition_variables_Wait_support+0xfc>
    4de4:	e3a04016 	mov	r4, #22	; 0x16                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
    4de8:	e1a00004 	mov	r0, r4                                        
    4dec:	e28dd004 	add	sp, sp, #4	; 0x4                              
    4df0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

0000fe20 <_POSIX_Message_queue_Create_support>: const char *name_arg, int pshared, struct mq_attr *attr_ptr, POSIX_Message_queue_Control **message_queue ) {
    fe20:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    fe24:	e1a0a001 	mov	sl, r1                                        
    fe28:	e24dd010 	sub	sp, sp, #16	; 0x10                            
  CORE_message_queue_Attributes *the_mq_attr;                         
  struct mq_attr                 attr;                                
  char                          *name;                                
  size_t                         n;                                   
                                                                      
  n = strnlen( name_arg, NAME_MAX );                                  
    fe2c:	e3a010ff 	mov	r1, #255	; 0xff                               
  const char                    *name_arg,                            
  int                            pshared,                             
  struct mq_attr                *attr_ptr,                            
  POSIX_Message_queue_Control  **message_queue                        
)                                                                     
{                                                                     
    fe30:	e1a04002 	mov	r4, r2                                        
    fe34:	e1a0b003 	mov	fp, r3                                        
    fe38:	e1a09000 	mov	r9, r0                                        
  CORE_message_queue_Attributes *the_mq_attr;                         
  struct mq_attr                 attr;                                
  char                          *name;                                
  size_t                         n;                                   
                                                                      
  n = strnlen( name_arg, NAME_MAX );                                  
    fe3c:	eb0011ab 	bl	144f0 <strnlen>                                
  if ( n > NAME_MAX )                                                 
    fe40:	e35000ff 	cmp	r0, #255	; 0xff                               
  CORE_message_queue_Attributes *the_mq_attr;                         
  struct mq_attr                 attr;                                
  char                          *name;                                
  size_t                         n;                                   
                                                                      
  n = strnlen( name_arg, NAME_MAX );                                  
    fe44:	e1a06000 	mov	r6, r0                                        
  if ( n > NAME_MAX )                                                 
    fe48:	83a0005b 	movhi	r0, #91	; 0x5b                              
    fe4c:	8a00004b 	bhi	ff80 <_POSIX_Message_queue_Create_support+0x160>
    fe50:	e59f2130 	ldr	r2, [pc, #304]	; ff88 <_POSIX_Message_queue_Create_support+0x168>
    fe54:	e5923000 	ldr	r3, [r2]                                      
    fe58:	e2833001 	add	r3, r3, #1	; 0x1                              
    fe5c:	e5823000 	str	r3, [r2]                                      
   *  but were not compared against any existing implementation for   
   *  compatibility.  See README.mqueue for an example program we     
   *  think will print out the defaults.  Report anything you find with it.
   */                                                                 
                                                                      
  if ( attr_ptr == NULL ) {                                           
    fe60:	e3540000 	cmp	r4, #0	; 0x0                                  
    fe64:	03a08010 	moveq	r8, #16	; 0x10                              
    fe68:	03a0700a 	moveq	r7, #10	; 0xa                               
    fe6c:	0a00000d 	beq	fea8 <_POSIX_Message_queue_Create_support+0x88>
    attr.mq_maxmsg  = 10;                                             
    attr.mq_msgsize = 16;                                             
  } else {                                                            
    if ( attr_ptr->mq_maxmsg <= 0 ){                                  
    fe70:	e5943004 	ldr	r3, [r4, #4]                                  
    fe74:	e3530000 	cmp	r3, #0	; 0x0                                  
    fe78:	da000002 	ble	fe88 <_POSIX_Message_queue_Create_support+0x68>
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    }                                                                 
                                                                      
    if ( attr_ptr->mq_msgsize <= 0 ){                                 
    fe7c:	e5943008 	ldr	r3, [r4, #8]                                  
    fe80:	e3530000 	cmp	r3, #0	; 0x0                                  
    fe84:	ca000003 	bgt	fe98 <_POSIX_Message_queue_Create_support+0x78>
      _Thread_Enable_dispatch();                                      
    fe88:	ebfff404 	bl	cea0 <_Thread_Enable_dispatch>                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    fe8c:	eb0009e6 	bl	1262c <__errno>                                
    fe90:	e3a03016 	mov	r3, #22	; 0x16                                
    fe94:	ea00002f 	b	ff58 <_POSIX_Message_queue_Create_support+0x138>
    }                                                                 
                                                                      
    attr = *attr_ptr;                                                 
    fe98:	e894000f 	ldm	r4, {r0, r1, r2, r3}                          
    fe9c:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
    fea0:	e1a08002 	mov	r8, r2                                        
    fea4:	e1a07001 	mov	r7, r1                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE                                                  
  POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )  
{                                                                     
  return (POSIX_Message_queue_Control *)                              
    fea8:	e59f50dc 	ldr	r5, [pc, #220]	; ff8c <_POSIX_Message_queue_Create_support+0x16c>
    feac:	e1a00005 	mov	r0, r5                                        
    feb0:	ebfff09b 	bl	c124 <_Objects_Allocate>                       
  }                                                                   
                                                                      
  the_mq = _POSIX_Message_queue_Allocate();                           
  if ( !the_mq ) {                                                    
    feb4:	e2504000 	subs	r4, r0, #0	; 0x0                             
    feb8:	1a000003 	bne	fecc <_POSIX_Message_queue_Create_support+0xac>
    _Thread_Enable_dispatch();                                        
    febc:	ebfff3f7 	bl	cea0 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENFILE );                   
    fec0:	eb0009d9 	bl	1262c <__errno>                                <== NOT EXECUTED
    fec4:	e3a03017 	mov	r3, #23	; 0x17                                <== NOT EXECUTED
    fec8:	ea000022 	b	ff58 <_POSIX_Message_queue_Create_support+0x138><== NOT EXECUTED
  }                                                                   
                                                                      
  the_mq->process_shared  = pshared;                                  
  the_mq->named = TRUE;                                               
    fecc:	e3a03001 	mov	r3, #1	; 0x1                                  
  /*                                                                  
   * Make a copy of the user's string for name just in case it was    
   * dynamically constructed.                                         
   */                                                                 
                                                                      
  name = _Workspace_Allocate(n);                                      
    fed0:	e1a00006 	mov	r0, r6                                        
  if ( !the_mq ) {                                                    
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  }                                                                   
                                                                      
  the_mq->process_shared  = pshared;                                  
    fed4:	e584a010 	str	sl, [r4, #16]                                 
  the_mq->named = TRUE;                                               
  the_mq->open_count = 1;                                             
  the_mq->linked = TRUE;                                              
    fed8:	e5c43015 	strb	r3, [r4, #21]                                
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  }                                                                   
                                                                      
  the_mq->process_shared  = pshared;                                  
  the_mq->named = TRUE;                                               
    fedc:	e5c43014 	strb	r3, [r4, #20]                                
  the_mq->open_count = 1;                                             
    fee0:	e5843018 	str	r3, [r4, #24]                                 
  /*                                                                  
   * Make a copy of the user's string for name just in case it was    
   * dynamically constructed.                                         
   */                                                                 
                                                                      
  name = _Workspace_Allocate(n);                                      
    fee4:	ebfff91a 	bl	e354 <_Workspace_Allocate>                     
  if (!name) {                                                        
    fee8:	e2506000 	subs	r6, r0, #0	; 0x0                             
    feec:	1a000006 	bne	ff0c <_POSIX_Message_queue_Create_support+0xec>
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (                 
  POSIX_Message_queue_Control *the_mq                                 
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Message_queue_Information, &the_mq->Object );
    fef0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    fef4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    fef8:	ebfff158 	bl	c460 <_Objects_Free>                           <== NOT EXECUTED
    _POSIX_Message_queue_Free( the_mq );                              
    _Thread_Enable_dispatch();                                        
    fefc:	ebfff3e7 	bl	cea0 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
    ff00:	eb0009c9 	bl	1262c <__errno>                                <== NOT EXECUTED
    ff04:	e3a0300c 	mov	r3, #12	; 0xc                                 <== NOT EXECUTED
    ff08:	ea000012 	b	ff58 <_POSIX_Message_queue_Create_support+0x138><== NOT EXECUTED
  }                                                                   
  strcpy( name, name_arg );                                           
    ff0c:	e1a01009 	mov	r1, r9                                        
   *  Note that thread blocking discipline should be based on the     
   *  current scheduling policy.                                      
   */                                                                 
                                                                      
  the_mq_attr = &the_mq->Message_queue.Attributes;                    
  the_mq_attr->discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;      
    ff10:	e3a0a000 	mov	sl, #0	; 0x0                                  
  if (!name) {                                                        
    _POSIX_Message_queue_Free( the_mq );                              
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  }                                                                   
  strcpy( name, name_arg );                                           
    ff14:	eb000efc 	bl	13b0c <strcpy>                                 
   *  Note that thread blocking discipline should be based on the     
   *  current scheduling policy.                                      
   */                                                                 
                                                                      
  the_mq_attr = &the_mq->Message_queue.Attributes;                    
  the_mq_attr->discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;      
    ff18:	e584a05c 	str	sl, [r4, #92]                                 
                                                                      
  if ( ! _CORE_message_queue_Initialize(                              
    ff1c:	e1a02007 	mov	r2, r7                                        
    ff20:	e1a03008 	mov	r3, r8                                        
    ff24:	e284001c 	add	r0, r4, #28	; 0x1c                            
    ff28:	e284105c 	add	r1, r4, #92	; 0x5c                            
    ff2c:	eb000346 	bl	10c4c <_CORE_message_queue_Initialize>         
    ff30:	e150000a 	cmp	r0, sl                                        
    ff34:	1a00000a 	bne	ff64 <_POSIX_Message_queue_Create_support+0x144>
    ff38:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    ff3c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    ff40:	ebfff146 	bl	c460 <_Objects_Free>                           <== NOT EXECUTED
           attr.mq_maxmsg,                                            
           attr.mq_msgsize                                            
      ) ) {                                                           
                                                                      
    _POSIX_Message_queue_Free( the_mq );                              
    _Workspace_Free(name);                                            
    ff44:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    ff48:	ebfff8fd 	bl	e344 <_Workspace_Free>                         <== NOT EXECUTED
    _Thread_Enable_dispatch();                                        
    ff4c:	ebfff3d3 	bl	cea0 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
    ff50:	eb0009b5 	bl	1262c <__errno>                                <== NOT EXECUTED
    ff54:	e3a0301c 	mov	r3, #28	; 0x1c                                <== NOT EXECUTED
    ff58:	e5803000 	str	r3, [r0]                                      
    ff5c:	e3e00000 	mvn	r0, #0	; 0x0                                  
    ff60:	ea000006 	b	ff80 <_POSIX_Message_queue_Create_support+0x160>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    ff64:	e595201c 	ldr	r2, [r5, #28]                                 
    ff68:	e1d430b8 	ldrh	r3, [r4, #8]                                 
    ff6c:	e7824103 	str	r4, [r2, r3, lsl #2]                          
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string */                                
  the_object->name.name_p = name;                                     
    ff70:	e584600c 	str	r6, [r4, #12]                                 
    &_POSIX_Message_queue_Information,                                
    &the_mq->Object,                                                  
    name                                                              
  );                                                                  
                                                                      
  *message_queue = the_mq;                                            
    ff74:	e58b4000 	str	r4, [fp]                                      
                                                                      
  _Thread_Enable_dispatch();                                          
    ff78:	ebfff3c8 	bl	cea0 <_Thread_Enable_dispatch>                 
    ff7c:	e1a0000a 	mov	r0, sl                                        
  return 0;                                                           
}                                                                     
    ff80:	e28dd010 	add	sp, sp, #16	; 0x10                            
    ff84:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

000090b4 <_POSIX_Message_queue_Manager_initialization>: */ void _POSIX_Message_queue_Manager_initialization( uint32_t maximum_message_queues ) {
    90b4:	e92d4070 	push	{r4, r5, r6, lr}                             
    90b8:	e1a04000 	mov	r4, r0                                        
    90bc:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
  _Objects_Initialize_information(                                    
    90c0:	e3a05001 	mov	r5, #1	; 0x1                                  
    90c4:	e3a060ff 	mov	r6, #255	; 0xff                               
    90c8:	e1a03004 	mov	r3, r4                                        
    90cc:	e3a0c0a4 	mov	ip, #164	; 0xa4                               
    90d0:	e59f0038 	ldr	r0, [pc, #56]	; 9110 <_POSIX_Message_queue_Manager_initialization+0x5c>
    90d4:	e3a01003 	mov	r1, #3	; 0x3                                  
    90d8:	e3a02005 	mov	r2, #5	; 0x5                                  
    90dc:	e58dc000 	str	ip, [sp]                                      
    90e0:	e98d0060 	stmib	sp, {r5, r6}                                
    90e4:	ebfff262 	bl	5a74 <_Objects_Initialize_information>         
    ,                                                                 
    FALSE,                      /* TRUE if this is a global object class */
    NULL                        /* Proxy extraction support callout */
#endif                                                                
  );                                                                  
  _Objects_Initialize_information(                                    
    90e8:	e3a0c018 	mov	ip, #24	; 0x18                                
    90ec:	e1a03004 	mov	r3, r4                                        
    90f0:	e59f001c 	ldr	r0, [pc, #28]	; 9114 <_POSIX_Message_queue_Manager_initialization+0x60>
    90f4:	e3a01003 	mov	r1, #3	; 0x3                                  
    90f8:	e3a02004 	mov	r2, #4	; 0x4                                  
    90fc:	e58dc000 	str	ip, [sp]                                      
    9100:	e98d0060 	stmib	sp, {r5, r6}                                
    9104:	ebfff25a 	bl	5a74 <_Objects_Initialize_information>         
    ,                                                                 
    FALSE,                      /* TRUE if this is a global object class */
    NULL                        /* Proxy extraction support callout */
#endif                                                                
  );                                                                  
}                                                                     
    9108:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    910c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000584c <_POSIX_Mutex_Get>: POSIX_Mutex_Control *_POSIX_Mutex_Get ( pthread_mutex_t *mutex, Objects_Locations *location ) {
    584c:	e92d4030 	push	{r4, r5, lr}                                 
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
    5850:	e2505000 	subs	r5, r0, #0	; 0x0                             
                                                                      
POSIX_Mutex_Control *_POSIX_Mutex_Get (                               
  pthread_mutex_t   *mutex,                                           
  Objects_Locations *location                                         
)                                                                     
{                                                                     
    5854:	e1a04001 	mov	r4, r1                                        
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
    5858:	0a000006 	beq	5878 <_POSIX_Mutex_Get+0x2c>                  
    585c:	e5953000 	ldr	r3, [r5]                                      
    5860:	e3730001 	cmn	r3, #1	; 0x1                                  
    5864:	1a000007 	bne	5888 <_POSIX_Mutex_Get+0x3c>                  
    5868:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    586c:	eb00001d 	bl	58e8 <pthread_mutex_init>                      <== NOT EXECUTED
    5870:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    5874:	0a000003 	beq	5888 <_POSIX_Mutex_Get+0x3c>                  <== NOT EXECUTED
    5878:	e3a03001 	mov	r3, #1	; 0x1                                  
    587c:	e5843000 	str	r3, [r4]                                      
                                                                      
  return (POSIX_Mutex_Control *)                                      
    _Objects_Get( &_POSIX_Mutex_Information, *id, location );         
}                                                                     
    5880:	e3a00000 	mov	r0, #0	; 0x0                                  
    5884:	e8bd8030 	pop	{r4, r5, pc}                                  
{                                                                     
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
                                                                      
  return (POSIX_Mutex_Control *)                                      
    5888:	e5951000 	ldr	r1, [r5]                                      
    588c:	e59f0008 	ldr	r0, [pc, #8]	; 589c <_POSIX_Mutex_Get+0x50>   
    5890:	e1a02004 	mov	r2, r4                                        
    _Objects_Get( &_POSIX_Mutex_Information, *id, location );         
}                                                                     
    5894:	e8bd4030 	pop	{r4, r5, lr}                                  
{                                                                     
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
                                                                      
  return (POSIX_Mutex_Control *)                                      
    5898:	ea000ada 	b	8408 <_Objects_Get>                             
                                                                      

000057f0 <_POSIX_Mutex_Get_interrupt_disable>: POSIX_Mutex_Control *_POSIX_Mutex_Get_interrupt_disable ( pthread_mutex_t *mutex, Objects_Locations *location, ISR_Level *level ) {
    57f0:	e92d4070 	push	{r4, r5, r6, lr}                             
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
    57f4:	e2505000 	subs	r5, r0, #0	; 0x0                             
POSIX_Mutex_Control *_POSIX_Mutex_Get_interrupt_disable (             
  pthread_mutex_t   *mutex,                                           
  Objects_Locations *location,                                        
  ISR_Level         *level                                            
)                                                                     
{                                                                     
    57f8:	e1a04001 	mov	r4, r1                                        
    57fc:	e1a06002 	mov	r6, r2                                        
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
    5800:	0a000006 	beq	5820 <_POSIX_Mutex_Get_interrupt_disable+0x30>
    5804:	e5953000 	ldr	r3, [r5]                                      
    5808:	e3730001 	cmn	r3, #1	; 0x1                                  
    580c:	1a000007 	bne	5830 <_POSIX_Mutex_Get_interrupt_disable+0x40>
    5810:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    5814:	eb000033 	bl	58e8 <pthread_mutex_init>                      <== NOT EXECUTED
    5818:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    581c:	0a000003 	beq	5830 <_POSIX_Mutex_Get_interrupt_disable+0x40><== NOT EXECUTED
    5820:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
    5824:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
                                                                      
  return (POSIX_Mutex_Control *)                                      
    _Objects_Get_isr_disable( &_POSIX_Mutex_Information, *id, location, level );
}                                                                     
    5828:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    582c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
{                                                                     
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
                                                                      
  return (POSIX_Mutex_Control *)                                      
    5830:	e5951000 	ldr	r1, [r5]                                      
    5834:	e59f000c 	ldr	r0, [pc, #12]	; 5848 <_POSIX_Mutex_Get_interrupt_disable+0x58>
    5838:	e1a02004 	mov	r2, r4                                        
    583c:	e1a03006 	mov	r3, r6                                        
    _Objects_Get_isr_disable( &_POSIX_Mutex_Information, *id, location, level );
}                                                                     
    5840:	e8bd4070 	pop	{r4, r5, r6, lr}                              
{                                                                     
  Objects_Id *id = (Objects_Id *)mutex;                               
                                                                      
  ___POSIX_Mutex_Get_support( id, location );                         
                                                                      
  return (POSIX_Mutex_Control *)                                      
    5844:	ea000ad5 	b	83a0 <_Objects_Get_isr_disable>                 
                                                                      

0000ca08 <_POSIX_Semaphore_Create_support>:
    ca08:	e59fc0e8 	ldr	ip, [pc, #232]	; caf8 <_POSIX_Semaphore_Create_support+0xf0>
  const char                *name,                                    
  int                        pshared,                                 
  unsigned int               value,                                   
  POSIX_Semaphore_Control  **the_sem                                  
)                                                                     
{                                                                     
    ca0c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
    ca10:	e59ce000 	ldr	lr, [ip]                                      
    ca14:	e28ee001 	add	lr, lr, #1	; 0x1                              
    ca18:	e58ce000 	str	lr, [ip]                                      
    ca1c:	e1a07002 	mov	r7, r2                                        
    ca20:	e1a08003 	mov	r8, r3                                        
    ca24:	e1a06000 	mov	r6, r0                                        
  char                      *name_p = (char *)name;                   
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  /* Sharing semaphores among processes is not currently supported */ 
  if (pshared != 0) {                                                 
    ca28:	e3510000 	cmp	r1, #0	; 0x0                                  
    ca2c:	0a000003 	beq	ca40 <_POSIX_Semaphore_Create_support+0x38>   
    _Thread_Enable_dispatch();                                        
    ca30:	ebfff200 	bl	9238 <_Thread_Enable_dispatch>                 
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
    ca34:	eb000835 	bl	eb10 <__errno>                                 
    ca38:	e3a03058 	mov	r3, #88	; 0x58                                
    ca3c:	ea00000f 	b	ca80 <_POSIX_Semaphore_Create_support+0x78>     
  }                                                                   
                                                                      
  if ( name ) {                                                       
    ca40:	e3500000 	cmp	r0, #0	; 0x0                                  
    ca44:	0a000006 	beq	ca64 <_POSIX_Semaphore_Create_support+0x5c>   
    if( strlen(name) > PATH_MAX ) {                                   
    ca48:	eb000f07 	bl	1066c <strlen>                                 
    ca4c:	e35000ff 	cmp	r0, #255	; 0xff                               
    ca50:	9a000003 	bls	ca64 <_POSIX_Semaphore_Create_support+0x5c>   
      _Thread_Enable_dispatch();                                      
    ca54:	ebfff1f7 	bl	9238 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENAMETOOLONG );           
    ca58:	eb00082c 	bl	eb10 <__errno>                                 <== NOT EXECUTED
    ca5c:	e3a0305b 	mov	r3, #91	; 0x5b                                <== NOT EXECUTED
    ca60:	ea000006 	b	ca80 <_POSIX_Semaphore_Create_support+0x78>     <== NOT EXECUTED
 *  _POSIX_Semaphore_Allocate                                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
    ca64:	e59f0090 	ldr	r0, [pc, #144]	; cafc <_POSIX_Semaphore_Create_support+0xf4>
    ca68:	ebffeec6 	bl	8588 <_Objects_Allocate>                       
    }                                                                 
  }                                                                   
                                                                      
  the_semaphore = _POSIX_Semaphore_Allocate();                        
                                                                      
  if ( !the_semaphore ) {                                             
    ca6c:	e2505000 	subs	r5, r0, #0	; 0x0                             
    ca70:	1a000005 	bne	ca8c <_POSIX_Semaphore_Create_support+0x84>   
    _Thread_Enable_dispatch();                                        
    ca74:	ebfff1ef 	bl	9238 <_Thread_Enable_dispatch>                 
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
    ca78:	eb000824 	bl	eb10 <__errno>                                 
    ca7c:	e3a0301c 	mov	r3, #28	; 0x1c                                
    ca80:	e5803000 	str	r3, [r0]                                      
    ca84:	e3e00000 	mvn	r0, #0	; 0x0                                  
    ca88:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
                                                                      
  if ( name ) {                                                       
    ca8c:	e3560000 	cmp	r6, #0	; 0x0                                  
  if ( !the_semaphore ) {                                             
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
    ca90:	e3a03000 	mov	r3, #0	; 0x0                                  
    ca94:	e5853010 	str	r3, [r5, #16]                                 
                                                                      
  if ( name ) {                                                       
    the_semaphore->named = TRUE;                                      
    ca98:	12833001 	addne	r3, r3, #1	; 0x1                            
    the_semaphore->open_count = 1;                                    
    the_semaphore->linked = TRUE;                                     
    ca9c:	15c53015 	strbne	r3, [r5, #21]                              
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
                                                                      
  if ( name ) {                                                       
    the_semaphore->named = TRUE;                                      
    caa0:	15c53014 	strbne	r3, [r5, #20]                              
    the_semaphore->open_count = 1;                                    
    caa4:	15853018 	strne	r3, [r5, #24]                               
   *  be derived from the current scheduling policy.  One             
   *  thing is certain, no matter what we decide, it won't be         
   *  the same as  all other POSIX implementations. :)                
   */                                                                 
                                                                      
  the_sem_attr->discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;         
    caa8:	e3a04000 	mov	r4, #0	; 0x0                                  
                                                                      
  /*                                                                  
   *  This effectively disables limit checking.                       
   */                                                                 
                                                                      
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
    caac:	e3e03000 	mvn	r3, #0	; 0x0                                  
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
    cab0:	e285001c 	add	r0, r5, #28	; 0x1c                            
  if ( name ) {                                                       
    the_semaphore->named = TRUE;                                      
    the_semaphore->open_count = 1;                                    
    the_semaphore->linked = TRUE;                                     
  } else {                                                            
    the_semaphore->named = FALSE;                                     
    cab4:	05c56014 	strbeq	r6, [r5, #20]                              
    the_semaphore->open_count = 0;                                    
    cab8:	05856018 	streq	r6, [r5, #24]                               
    the_semaphore->linked = FALSE;                                    
    cabc:	05c56015 	strbeq	r6, [r5, #21]                              
                                                                      
  /*                                                                  
   *  This effectively disables limit checking.                       
   */                                                                 
                                                                      
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
    cac0:	e585305c 	str	r3, [r5, #92]                                 
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
    cac4:	e1a02007 	mov	r2, r7                                        
    cac8:	e285105c 	add	r1, r5, #92	; 0x5c                            
   *  be derived from the current scheduling policy.  One             
   *  thing is certain, no matter what we decide, it won't be         
   *  the same as  all other POSIX implementations. :)                
   */                                                                 
                                                                      
  the_sem_attr->discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;         
    cacc:	e5854060 	str	r4, [r5, #96]                                 
   *  This effectively disables limit checking.                       
   */                                                                 
                                                                      
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
    cad0:	ebffeda2 	bl	8160 <_CORE_semaphore_Initialize>              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    cad4:	e59f3020 	ldr	r3, [pc, #32]	; cafc <_POSIX_Semaphore_Create_support+0xf4>
    cad8:	e593201c 	ldr	r2, [r3, #28]                                 
    cadc:	e1d530b8 	ldrh	r3, [r5, #8]                                 
    cae0:	e7825103 	str	r5, [r2, r3, lsl #2]                          
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string */                                
  the_object->name.name_p = name;                                     
    cae4:	e585600c 	str	r6, [r5, #12]                                 
    &_POSIX_Semaphore_Information,                                    
    &the_semaphore->Object,                                           
    name_p                                                            
  );                                                                  
                                                                      
  *the_sem = the_semaphore;                                           
    cae8:	e5885000 	str	r5, [r8]                                      
                                                                      
  _Thread_Enable_dispatch();                                          
    caec:	ebfff1d1 	bl	9238 <_Thread_Enable_dispatch>                 
    caf0:	e1a00004 	mov	r0, r4                                        
  return 0;                                                           
}                                                                     
    caf4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

0000960c <_POSIX_Threads_Sporadic_budget_TSR>: void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id, void *argument ) {
    960c:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
    9610:	e5915108 	ldr	r5, [r1, #264]                                <== NOT EXECUTED
                                                                      
  ticks = _Timespec_To_ticks( &api->schedparam.ss_initial_budget );   
    9614:	e2850090 	add	r0, r5, #144	; 0x90                           <== NOT EXECUTED
                                                                      
void _POSIX_Threads_Sporadic_budget_TSR(                              
  Objects_Id      id,                                                 
  void           *argument                                            
)                                                                     
{                                                                     
    9618:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  ticks = _Timespec_To_ticks( &api->schedparam.ss_initial_budget );   
    961c:	eb000404 	bl	a634 <_Timespec_To_ticks>                      <== NOT EXECUTED
    9620:	e5953098 	ldr	r3, [r5, #152]                                <== NOT EXECUTED
  the_thread->cpu_time_budget = ticks;                                
                                                                      
  new_priority = _POSIX_Priority_To_core( api->ss_high_priority );    
  the_thread->real_priority = new_priority;                           
                                                                      
  if ( the_thread->resource_count == 0 ||                             
    9624:	e594201c 	ldr	r2, [r4, #28]                                 <== NOT EXECUTED
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  ticks = _Timespec_To_ticks( &api->schedparam.ss_initial_budget );   
                                                                      
  if ( !ticks )                                                       
    9628:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    962c:	03a00001 	moveq	r0, #1	; 0x1                                <== NOT EXECUTED
    9630:	e26310ff 	rsb	r1, r3, #255	; 0xff                           <== NOT EXECUTED
  the_thread->cpu_time_budget = ticks;                                
                                                                      
  new_priority = _POSIX_Priority_To_core( api->ss_high_priority );    
  the_thread->real_priority = new_priority;                           
                                                                      
  if ( the_thread->resource_count == 0 ||                             
    9634:	e3520000 	cmp	r2, #0	; 0x0                                  <== NOT EXECUTED
  ticks = _Timespec_To_ticks( &api->schedparam.ss_initial_budget );   
                                                                      
  if ( !ticks )                                                       
    ticks = 1;                                                        
                                                                      
  the_thread->cpu_time_budget = ticks;                                
    9638:	e5840078 	str	r0, [r4, #120]                                <== NOT EXECUTED
                                                                      
  new_priority = _POSIX_Priority_To_core( api->ss_high_priority );    
  the_thread->real_priority = new_priority;                           
    963c:	e5841018 	str	r1, [r4, #24]                                 <== NOT EXECUTED
                                                                      
  if ( the_thread->resource_count == 0 ||                             
    9640:	0a000002 	beq	9650 <_POSIX_Threads_Sporadic_budget_TSR+0x44><== NOT EXECUTED
    9644:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
    9648:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
    964c:	9a000002 	bls	965c <_POSIX_Threads_Sporadic_budget_TSR+0x50><== NOT EXECUTED
       the_thread->current_priority > new_priority )                  
    _Thread_Change_priority( the_thread, new_priority, TRUE );        
    9650:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    9654:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    9658:	ebfff1a8 	bl	5d00 <_Thread_Change_priority>                 <== NOT EXECUTED
                                                                      
  ticks = _Timespec_To_ticks( &api->schedparam.ss_replenish_period ); 
    965c:	e2850088 	add	r0, r5, #136	; 0x88                           <== NOT EXECUTED
    9660:	eb0003f3 	bl	a634 <_Timespec_To_ticks>                      <== NOT EXECUTED
                                                                      
  if ( !ticks )                                                       
    9664:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    9668:	03a00001 	moveq	r0, #1	; 0x1                                <== NOT EXECUTED
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
    966c:	e58500a8 	str	r0, [r5, #168]                                <== NOT EXECUTED
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    9670:	e59f0008 	ldr	r0, [pc, #8]	; 9680 <_POSIX_Threads_Sporadic_budget_TSR+0x74><== NOT EXECUTED
    9674:	e285109c 	add	r1, r5, #156	; 0x9c                           <== NOT EXECUTED
    ticks = 1;                                                        
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
}                                                                     
    9678:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
    967c:	eafff742 	b	738c <_Watchdog_Insert>                         <== NOT EXECUTED
                                                                      

0000ab7c <_POSIX_Threads_cancel_run>: #include <rtems/posix/threadsup.h> void _POSIX_Threads_cancel_run( Thread_Control *the_thread ) {
    ab7c:	e92d4070 	push	{r4, r5, r6, lr}                             
  POSIX_Cancel_Handler_control      *handler;                         
  Chain_Control                     *handler_stack;                   
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
    ab80:	e5905108 	ldr	r5, [r0, #264]                                
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
    ab84:	e3a03001 	mov	r3, #1	; 0x1                                  
    ab88:	e58530cc 	str	r3, [r5, #204]                                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
    ab8c:	e28560dc 	add	r6, r5, #220	; 0xdc                           
    ab90:	ea00000c 	b	abc8 <_POSIX_Threads_cancel_run+0x4c>           
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
    _ISR_Disable( level );                                            
    ab94:	e10f1000 	mrs	r1, CPSR                                      <== NOT EXECUTED
    ab98:	e38130c0 	orr	r3, r1, #192	; 0xc0                           <== NOT EXECUTED
    ab9c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      handler = (POSIX_Cancel_Handler_control *)                      
    aba0:	e5964004 	ldr	r4, [r6, #4]                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
    aba4:	e894000c 	ldm	r4, {r2, r3}                                  <== NOT EXECUTED
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
    aba8:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
    abac:	e5823004 	str	r3, [r2, #4]                                  <== NOT EXECUTED
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
    abb0:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
                                                                      
    (*handler->routine)( handler->arg );                              
    abb4:	e594000c 	ldr	r0, [r4, #12]                                 <== NOT EXECUTED
    abb8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    abbc:	e594f008 	ldr	pc, [r4, #8]                                  <== NOT EXECUTED
                                                                      
    _Workspace_Free( handler );                                       
    abc0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    abc4:	ebfff29a 	bl	7634 <_Workspace_Free>                         <== NOT EXECUTED
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
    abc8:	e59530d8 	ldr	r3, [r5, #216]                                
    abcc:	e1530006 	cmp	r3, r6                                        
    abd0:	1affffef 	bne	ab94 <_POSIX_Threads_cancel_run+0x18>         
                                                                      
    (*handler->routine)( handler->arg );                              
                                                                      
    _Workspace_Free( handler );                                       
  }                                                                   
}                                                                     
    abd4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000b5f8 <_POSIX_Timer_Insert_helper>: Watchdog_Interval ticks, Objects_Id id, Watchdog_Service_routine_entry TSR, void *arg ) {
    b5f8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
    b5fc:	e1a08001 	mov	r8, r1                                        
    b600:	e1a07002 	mov	r7, r2                                        
    b604:	e1a05003 	mov	r5, r3                                        
    b608:	e1a04000 	mov	r4, r0                                        
  ISR_Level            level;                                         
                                                                      
  (void) _Watchdog_Remove( timer );                                   
    b60c:	ebfff6c7 	bl	9130 <_Watchdog_Remove>                        
  _ISR_Disable( level );                                              
    b610:	e10f6000 	mrs	r6, CPSR                                      
    b614:	e38630c0 	orr	r3, r6, #192	; 0xc0                           
    b618:	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 ( timer->state != WATCHDOG_INACTIVE ) {                        
    b61c:	e5943008 	ldr	r3, [r4, #8]                                  
    b620:	e3530000 	cmp	r3, #0	; 0x0                                  
    b624:	0a000002 	beq	b634 <_POSIX_Timer_Insert_helper+0x3c>        
      _ISR_Enable( level );                                           
    b628:	e129f006 	msr	CPSR_fc, r6                                   <== NOT EXECUTED
    b62c:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    b630:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    b634:	e5843008 	str	r3, [r4, #8]                                  
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
    b638:	e59d3018 	ldr	r3, [sp, #24]                                 
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
    b63c:	e584501c 	str	r5, [r4, #28]                                 
  the_watchdog->id        = id;                                       
    b640:	e5847020 	str	r7, [r4, #32]                                 
  the_watchdog->user_data = user_data;                                
    b644:	e5843024 	str	r3, [r4, #36]                                 
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
    b648:	e584800c 	str	r8, [r4, #12]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    b64c:	e1a01004 	mov	r1, r4                                        
    b650:	e59f000c 	ldr	r0, [pc, #12]	; b664 <_POSIX_Timer_Insert_helper+0x6c>
    b654:	ebfff659 	bl	8fc0 <_Watchdog_Insert>                        
     *  OK.  Now we now the timer was not rescheduled by an interrupt 
     *  so we can atomically initialize it as in use.                 
     */                                                               
    _Watchdog_Initialize( timer, TSR, id, arg );                      
    _Watchdog_Insert_ticks( timer, ticks );                           
  _ISR_Enable( level );                                               
    b658:	e129f006 	msr	CPSR_fc, r6                                   
    b65c:	e3a00001 	mov	r0, #1	; 0x1                                  
  return true;                                                        
}                                                                     
    b660:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

000056e0 <_POSIX_Timer_TSR>: /* * This is the operation that is run when a timer expires */ void _POSIX_Timer_TSR(Objects_Id timer, void *data) {
    56e0:	e92d4010 	push	{r4, lr}                                     
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
    56e4:	e5913068 	ldr	r3, [r1, #104]                                
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
    56e8:	e5912054 	ldr	r2, [r1, #84]                                 
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
    56ec:	e2833001 	add	r3, r3, #1	; 0x1                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
    56f0:	e3520000 	cmp	r2, #0	; 0x0                                  
                                                                      
/*                                                                    
 *  This is the operation that is run when a timer expires            
 */                                                                   
void _POSIX_Timer_TSR(Objects_Id timer, void *data)                   
{                                                                     
    56f4:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    56f8:	e1a04001 	mov	r4, r1                                        
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
    56fc:	e5813068 	str	r3, [r1, #104]                                
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
    5700:	1a000003 	bne	5714 <_POSIX_Timer_TSR+0x34>                  
    5704:	e5913058 	ldr	r3, [r1, #88]                                 <== NOT EXECUTED
    5708:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
    570c:	03a03004 	moveq	r3, #4	; 0x4                                <== NOT EXECUTED
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
    5710:	0a00000a 	beq	5740 <_POSIX_Timer_TSR+0x60>                  <== NOT EXECUTED
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
    5714:	e5941064 	ldr	r1, [r4, #100]                                
    5718:	e5942008 	ldr	r2, [r4, #8]                                  
    571c:	e2840010 	add	r0, r4, #16	; 0x10                            
    5720:	e59f3038 	ldr	r3, [pc, #56]	; 5760 <_POSIX_Timer_TSR+0x80>  
    5724:	e58d4000 	str	r4, [sp]                                      
    5728:	eb0017b2 	bl	b5f8 <_POSIX_Timer_Insert_helper>              
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
    572c:	e3500000 	cmp	r0, #0	; 0x0                                  
    5730:	0a000008 	beq	5758 <_POSIX_Timer_TSR+0x78>                  
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
    5734:	e284006c 	add	r0, r4, #108	; 0x6c                           
    5738:	eb000585 	bl	6d54 <_TOD_Get>                                
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
    573c:	e3a03003 	mov	r3, #3	; 0x3                                  
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
    5740:	e5c4303c 	strb	r3, [r4, #60]                                
  /*                                                                  
   * The sending of the signal to the process running the handling function
   * specified for that signal is simulated                           
   */                                                                 
                                                                      
  if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) {
    5744:	e5940038 	ldr	r0, [r4, #56]                                 
    5748:	e5941044 	ldr	r1, [r4, #68]                                 
    574c:	eb0016d3 	bl	b2a0 <pthread_kill>                            
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
    5750:	e3a03000 	mov	r3, #0	; 0x0                                  
    5754:	e5843068 	str	r3, [r4, #104]                                
}                                                                     
    5758:	e28dd004 	add	sp, sp, #4	; 0x4                              
    575c:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00004d04 <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
    4d04:	e1a02000 	mov	r2, r0                                        
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) )                               
    4d08:	e3a01001 	mov	r1, #1	; 0x1                                  
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_highest(                                       
  sigset_t   set                                                      
)                                                                     
{                                                                     
    4d0c:	e3a0001b 	mov	r0, #27	; 0x1b                                
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) )                               
    4d10:	e2403001 	sub	r3, r0, #1	; 0x1                              
    4d14:	e0123311 	ands	r3, r2, r1, lsl r3                           
    4d18:	112fff1e 	bxne	lr                                           
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    4d1c:	e2800001 	add	r0, r0, #1	; 0x1                              
    4d20:	e3500020 	cmp	r0, #32	; 0x20                                
    4d24:	1afffff9 	bne	4d10 <_POSIX_signals_Get_highest+0xc>         
    4d28:	e3a00001 	mov	r0, #1	; 0x1                                  
  }                                                                   
                                                                      
/* XXX - add __SIGFIRSTNOTRT or something like that to newlib signal .h */
                                                                      
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) )                               
    4d2c:	e1a01000 	mov	r1, r0                                        
    4d30:	e2403001 	sub	r3, r0, #1	; 0x1                              
    4d34:	e0123311 	ands	r3, r2, r1, lsl r3                           
    4d38:	112fff1e 	bxne	lr                                           
      return signo;                                                   
  }                                                                   
                                                                      
/* XXX - add __SIGFIRSTNOTRT or something like that to newlib signal .h */
                                                                      
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    4d3c:	e2800001 	add	r0, r0, #1	; 0x1                              
    4d40:	e350001b 	cmp	r0, #27	; 0x1b                                
    4d44:	1afffff9 	bne	4d30 <_POSIX_signals_Get_highest+0x2c>        
    4d48:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
    if ( set & signo_to_mask( signo ) )                               
      return signo;                                                   
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
    4d4c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

000091d8 <_POSIX_signals_Manager_Initialization>: */ void _POSIX_signals_Manager_Initialization( int maximum_queued_signals ) {
    91d8:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  assert(                                                             
   sizeof(_POSIX_signals_Vectors) == sizeof(_POSIX_signals_Default_vectors)
  );                                                                  
                                                                      
  memcpy(                                                             
    91dc:	e59f108c 	ldr	r1, [pc, #140]	; 9270 <_POSIX_signals_Manager_Initialization+0x98>
    91e0:	e3a02d06 	mov	r2, #384	; 0x180                              
 */                                                                   
                                                                      
void _POSIX_signals_Manager_Initialization(                           
  int  maximum_queued_signals                                         
)                                                                     
{                                                                     
    91e4:	e1a06000 	mov	r6, r0                                        
                                                                      
  assert(                                                             
   sizeof(_POSIX_signals_Vectors) == sizeof(_POSIX_signals_Default_vectors)
  );                                                                  
                                                                      
  memcpy(                                                             
    91e8:	e59f0084 	ldr	r0, [pc, #132]	; 9274 <_POSIX_signals_Manager_Initialization+0x9c>
    91ec:	eb000a53 	bl	bb40 <memcpy>                                  
                                                                      
  /*                                                                  
   *  Initialize the set of pending signals for the entire process    
   */                                                                 
                                                                      
  sigemptyset( &_POSIX_signals_Pending );                             
    91f0:	e59f0080 	ldr	r0, [pc, #128]	; 9278 <_POSIX_signals_Manager_Initialization+0xa0>
    91f4:	eb000142 	bl	9704 <sigemptyset>                             
                                                                      
  /*                                                                  
   *  Initialize the queue we use to block for signals                
   */                                                                 
                                                                      
  _Thread_queue_Initialize(                                           
    91f8:	e59f007c 	ldr	r0, [pc, #124]	; 927c <_POSIX_signals_Manager_Initialization+0xa4>
    91fc:	e3a01001 	mov	r1, #1	; 0x1                                  
    9200:	e59f2078 	ldr	r2, [pc, #120]	; 9280 <_POSIX_signals_Manager_Initialization+0xa8>
    9204:	e3a0300b 	mov	r3, #11	; 0xb                                 
    9208:	ebfff61a 	bl	6a78 <_Thread_queue_Initialize>                
    920c:	e59f2070 	ldr	r2, [pc, #112]	; 9284 <_POSIX_signals_Manager_Initialization+0xac>
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
    9210:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  /*                                                                  
   *  Allocate the siginfo pools.                                     
   */                                                                 
                                                                      
  for ( signo=1 ; signo<= SIGRTMAX ; signo++ )                        
    9214:	e2821f5d 	add	r1, r2, #372	; 0x174                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    9218:	e2823004 	add	r3, r2, #4	; 0x4                              
    921c:	e5823000 	str	r3, [r2]                                      
  the_chain->permanent_null = NULL;                                   
    9220:	e9820005 	stmib	r2, {r0, r2}                                
  the_chain->last           = _Chain_Head(the_chain);                 
    9224:	e282200c 	add	r2, r2, #12	; 0xc                             
    9228:	e1520001 	cmp	r2, r1                                        
    922c:	1afffff9 	bne	9218 <_POSIX_signals_Manager_Initialization+0x40>
    _Chain_Initialize_empty( &_POSIX_signals_Siginfo[ signo ] );      
                                                                      
  if ( maximum_queued_signals ) {                                     
    9230:	e3560000 	cmp	r6, #0	; 0x0                                  
    9234:	e59f504c 	ldr	r5, [pc, #76]	; 9288 <_POSIX_signals_Manager_Initialization+0xb0>
    9238:	0a000008 	beq	9260 <_POSIX_signals_Manager_Initialization+0x88>
    _Chain_Initialize(                                                
    923c:	e3a04014 	mov	r4, #20	; 0x14                                <== NOT EXECUTED
    9240:	e0000694 	mul	r0, r4, r6                                    <== NOT EXECUTED
    9244:	ebfff902 	bl	7654 <_Workspace_Allocate_or_fatal_error>      <== NOT EXECUTED
    9248:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
    924c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    9250:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
    9254:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
      sizeof( POSIX_signals_Siginfo_node )                            
    );                                                                
  } else {                                                            
    _Chain_Initialize_empty( &_POSIX_signals_Inactive_siginfo );      
  }                                                                   
}                                                                     
    9258:	e8bd4070 	pop	{r4, r5, r6, lr}                              <== NOT EXECUTED
                                                                      
  for ( signo=1 ; signo<= SIGRTMAX ; signo++ )                        
    _Chain_Initialize_empty( &_POSIX_signals_Siginfo[ signo ] );      
                                                                      
  if ( maximum_queued_signals ) {                                     
    _Chain_Initialize(                                                
    925c:	ea0002a4 	b	9cf4 <_Chain_Initialize>                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    9260:	e2853004 	add	r3, r5, #4	; 0x4                              
    9264:	e8850048 	stm	r5, {r3, r6}                                  
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    9268:	e5855008 	str	r5, [r5, #8]                                  
      sizeof( POSIX_signals_Siginfo_node )                            
    );                                                                
  } else {                                                            
    _Chain_Initialize_empty( &_POSIX_signals_Inactive_siginfo );      
  }                                                                   
}                                                                     
    926c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000928c <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
    928c:	e92d4070 	push	{r4, r5, r6, lr}                             
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
    9290:	e5905108 	ldr	r5, [r0, #264]                                
  if ( !api )                                                         
    9294:	e3550000 	cmp	r5, #0	; 0x0                                  
    9298:	08bd8070 	popeq	{r4, r5, r6, pc}                            
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
  restart:                                                            
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
    929c:	e59f60b0 	ldr	r6, [pc, #176]	; 9354 <_POSIX_signals_Post_switch_extension+0xc8>
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
  restart:                                                            
    _ISR_Disable( level );                                            
    92a0:	e10f0000 	mrs	r0, CPSR                                      
    92a4:	e38030c0 	orr	r3, r0, #192	; 0xc0                           
    92a8:	e129f003 	msr	CPSR_fc, r3                                   
      if ( !(~api->signals_blocked &                                  
    92ac:	e5963000 	ldr	r3, [r6]                                      
    92b0:	e28510c4 	add	r1, r5, #196	; 0xc4                           
    92b4:	e8910006 	ldm	r1, {r1, r2}                                  
    92b8:	e1833002 	orr	r3, r3, r2                                    
    92bc:	e1d31001 	bics	r1, r3, r1                                   
    92c0:	1a000001 	bne	92cc <_POSIX_signals_Post_switch_extension+0x40>
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
    92c4:	e129f000 	msr	CPSR_fc, r0                                   
    92c8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
    92cc:	e129f000 	msr	CPSR_fc, r0                                   
    92d0:	e3a0401b 	mov	r4, #27	; 0x1b                                
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, false ) )         
    92d4:	e1a01004 	mov	r1, r4                                        
    92d8:	e3a02000 	mov	r2, #0	; 0x0                                  
    92dc:	e1a00005 	mov	r0, r5                                        
    92e0:	eb000668 	bl	ac88 <_POSIX_signals_Check_signal>             
    92e4:	e3500000 	cmp	r0, #0	; 0x0                                  
        goto restart;                                                 
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, true ) )          
    92e8:	e1a01004 	mov	r1, r4                                        
    92ec:	e3a02001 	mov	r2, #1	; 0x1                                  
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
    92f0:	e2844001 	add	r4, r4, #1	; 0x1                              
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, false ) )         
        goto restart;                                                 
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, true ) )          
    92f4:	e1a00005 	mov	r0, r5                                        
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, false ) )         
    92f8:	1affffe8 	bne	92a0 <_POSIX_signals_Post_switch_extension+0x14>
        goto restart;                                                 
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, true ) )          
    92fc:	eb000661 	bl	ac88 <_POSIX_signals_Check_signal>             
    9300:	e3500000 	cmp	r0, #0	; 0x0                                  
    9304:	1affffe5 	bne	92a0 <_POSIX_signals_Post_switch_extension+0x14>
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
    9308:	e3540020 	cmp	r4, #32	; 0x20                                
    930c:	1afffff0 	bne	92d4 <_POSIX_signals_Post_switch_extension+0x48>
    9310:	e3a04001 	mov	r4, #1	; 0x1                                  
                                                                      
    /* XXX - add __SIGFIRSTNOTRT or something like that to newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, false ) )         
    9314:	e1a01004 	mov	r1, r4                                        
    9318:	e3a02000 	mov	r2, #0	; 0x0                                  
    931c:	e1a00005 	mov	r0, r5                                        
    9320:	eb000658 	bl	ac88 <_POSIX_signals_Check_signal>             
    9324:	e3500000 	cmp	r0, #0	; 0x0                                  
        goto restart;                                                 
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, true ) )          
    9328:	e1a01004 	mov	r1, r4                                        
    932c:	e3a02001 	mov	r2, #1	; 0x1                                  
                                                                      
    }                                                                 
                                                                      
    /* XXX - add __SIGFIRSTNOTRT or something like that to newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
    9330:	e2844001 	add	r4, r4, #1	; 0x1                              
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, false ) )         
        goto restart;                                                 
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, true ) )          
    9334:	e1a00005 	mov	r0, r5                                        
                                                                      
    /* XXX - add __SIGFIRSTNOTRT or something like that to newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, false ) )         
    9338:	1affffd8 	bne	92a0 <_POSIX_signals_Post_switch_extension+0x14>
        goto restart;                                                 
                                                                      
      if ( _POSIX_signals_Check_signal( api, signo, true ) )          
    933c:	eb000651 	bl	ac88 <_POSIX_signals_Check_signal>             
    9340:	e3500000 	cmp	r0, #0	; 0x0                                  
    9344:	1affffd5 	bne	92a0 <_POSIX_signals_Post_switch_extension+0x14>
                                                                      
    }                                                                 
                                                                      
    /* XXX - add __SIGFIRSTNOTRT or something like that to newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
    9348:	e354001b 	cmp	r4, #27	; 0x1b                                
    934c:	1afffff0 	bne	9314 <_POSIX_signals_Post_switch_extension+0x88>
    9350:	eaffffd2 	b	92a0 <_POSIX_signals_Post_switch_extension+0x14><== NOT EXECUTED
                                                                      

00009808 <_Partition_Manager_initialization>: */ void _Partition_Manager_initialization( uint32_t maximum_partitions ) {
    9808:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  _Objects_Initialize_information(                                    
    980c:	e3a0c030 	mov	ip, #48	; 0x30                                
 */                                                                   
                                                                      
void _Partition_Manager_initialization(                               
  uint32_t   maximum_partitions                                       
)                                                                     
{                                                                     
    9810:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
  _Objects_Initialize_information(                                    
    9814:	e58dc000 	str	ip, [sp]                                      
    9818:	e3a0c000 	mov	ip, #0	; 0x0                                  
 */                                                                   
                                                                      
void _Partition_Manager_initialization(                               
  uint32_t   maximum_partitions                                       
)                                                                     
{                                                                     
    981c:	e1a03000 	mov	r3, r0                                        
  _Objects_Initialize_information(                                    
    9820:	e58dc004 	str	ip, [sp, #4]                                  
    9824:	e59f0018 	ldr	r0, [pc, #24]	; 9844 <_Partition_Manager_initialization+0x3c>
    9828:	e28cc004 	add	ip, ip, #4	; 0x4                              
    982c:	e3a01002 	mov	r1, #2	; 0x2                                  
    9830:	e3a02005 	mov	r2, #5	; 0x5                                  
    9834:	e58dc008 	str	ip, [sp, #8]                                  
    9838:	ebfff08d 	bl	5a74 <_Objects_Initialize_information>         
    MP_PACKET_PARTITION,                                              
    _Partition_MP_Process_packet                                      
  );                                                                  
#endif                                                                
                                                                      
}                                                                     
    983c:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    9840:	e8bd8000 	pop	{pc}                                          
                                                                      

0000909c <_Protected_heap_Get_information>: bool _Protected_heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
    909c:	e92d4070 	push	{r4, r5, r6, lr}                             
  Heap_Get_information_status status;                                 
                                                                      
  if ( !the_heap )                                                    
    90a0:	e2506000 	subs	r6, r0, #0	; 0x0                             
                                                                      
bool _Protected_heap_Get_information(                                 
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
    90a4:	e1a04001 	mov	r4, r1                                        
  Heap_Get_information_status status;                                 
                                                                      
  if ( !the_heap )                                                    
    90a8:	0a00000d 	beq	90e4 <_Protected_heap_Get_information+0x48>   
    return false;                                                     
                                                                      
  if ( !the_info )                                                    
    90ac:	e3510000 	cmp	r1, #0	; 0x0                                  
    90b0:	0a00000b 	beq	90e4 <_Protected_heap_Get_information+0x48>   
    return false;                                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
    90b4:	e59f5030 	ldr	r5, [pc, #48]	; 90ec <_Protected_heap_Get_information+0x50>
    90b8:	e5950000 	ldr	r0, [r5]                                      
    90bc:	ebfff9df 	bl	7840 <_API_Mutex_Lock>                         
    status = _Heap_Get_information( the_heap, the_info );             
    90c0:	e1a01004 	mov	r1, r4                                        
    90c4:	e1a00006 	mov	r0, r6                                        
    90c8:	eb0010c6 	bl	d3e8 <_Heap_Get_information>                   
    90cc:	e1a04000 	mov	r4, r0                                        
  _RTEMS_Unlock_allocator();                                          
    90d0:	e5950000 	ldr	r0, [r5]                                      
    90d4:	ebfff9f5 	bl	78b0 <_API_Mutex_Unlock>                       
                                                                      
  if ( status == HEAP_GET_INFORMATION_SUCCESSFUL )                    
    90d8:	e2740001 	rsbs	r0, r4, #1	; 0x1                             
    90dc:	33a00000 	movcc	r0, #0	; 0x0                                
    90e0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    90e4:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
    90e8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

00004710 <_RTEMS_tasks_Initialize_user_tasks_body>: rtems_status_code return_value; rtems_initialization_tasks_table *user_tasks; rtems_api_configuration_table *api_configuration; api_configuration = _Configuration_Table->RTEMS_api_configuration;
    4710:	e59f3094 	ldr	r3, [pc, #148]	; 47ac <_RTEMS_tasks_Initialize_user_tasks_body+0x9c>
    4714:	e5933000 	ldr	r3, [r3]                                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
    4718:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_status_code                 return_value;                     
  rtems_initialization_tasks_table *user_tasks;                       
  rtems_api_configuration_table    *api_configuration;                
                                                                      
                                                                      
  api_configuration = _Configuration_Table->RTEMS_api_configuration;  
    471c:	e5933040 	ldr	r3, [r3, #64]                                 
                                                                      
  /*                                                                  
   *  NOTE:  This is slightly different from the Ada implementation.  
   */                                                                 
                                                                      
  user_tasks = api_configuration->User_initialization_tasks_table;    
    4720:	e593002c 	ldr	r0, [r3, #44]                                 
  maximum    = api_configuration->number_of_initialization_tasks;     
    4724:	e5936028 	ldr	r6, [r3, #40]                                 
                                                                      
  if ( !user_tasks || maximum == 0 )                                  
    4728:	e3560000 	cmp	r6, #0	; 0x0                                  
    472c:	13500000 	cmpne	r0, #0	; 0x0                                
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
    4730:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
   */                                                                 
                                                                      
  user_tasks = api_configuration->User_initialization_tasks_table;    
  maximum    = api_configuration->number_of_initialization_tasks;     
                                                                      
  if ( !user_tasks || maximum == 0 )                                  
    4734:	13a03000 	movne	r3, #0	; 0x0                                
    4738:	03a03001 	moveq	r3, #1	; 0x1                                
    return;                                                           
    473c:	11a04000 	movne	r4, r0                                      
    4740:	11a05003 	movne	r5, r3                                      
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    return_value = rtems_task_create(                                 
    4744:	128d7008 	addne	r7, sp, #8	; 0x8                            
   */                                                                 
                                                                      
  user_tasks = api_configuration->User_initialization_tasks_table;    
  maximum    = api_configuration->number_of_initialization_tasks;     
                                                                      
  if ( !user_tasks || maximum == 0 )                                  
    4748:	1a000013 	bne	479c <_RTEMS_tasks_Initialize_user_tasks_body+0x8c>
    474c:	ea000014 	b	47a4 <_RTEMS_tasks_Initialize_user_tasks_body+0x94><== NOT EXECUTED
    return;                                                           
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    return_value = rtems_task_create(                                 
    4750:	e594300c 	ldr	r3, [r4, #12]                                 
    4754:	e88d0088 	stm	sp, {r3, r7}                                  
    4758:	e8940005 	ldm	r4, {r0, r2}                                  
    475c:	e5941008 	ldr	r1, [r4, #8]                                  
    4760:	e5943014 	ldr	r3, [r4, #20]                                 
    4764:	ebffff63 	bl	44f8 <rtems_task_create>                       
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
                                                                      
    if ( !rtems_is_status_successful( return_value ) )                
    4768:	e2502000 	subs	r2, r0, #0	; 0x0                             
    476c:	1a000006 	bne	478c <_RTEMS_tasks_Initialize_user_tasks_body+0x7c>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, TRUE, return_value );
                                                                      
    return_value = rtems_task_start(                                  
    4770:	e5942018 	ldr	r2, [r4, #24]                                 
    4774:	e5941010 	ldr	r1, [r4, #16]                                 
    4778:	e59d0008 	ldr	r0, [sp, #8]                                  
    477c:	eb00000b 	bl	47b0 <rtems_task_start>                        
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
                                                                      
    if ( !rtems_is_status_successful( return_value ) )                
    4780:	e2502000 	subs	r2, r0, #0	; 0x0                             
    );                                                                
                                                                      
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, TRUE, return_value );
                                                                      
    return_value = rtems_task_start(                                  
    4784:	e284401c 	add	r4, r4, #28	; 0x1c                            
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
                                                                      
    if ( !rtems_is_status_successful( return_value ) )                
    4788:	0a000002 	beq	4798 <_RTEMS_tasks_Initialize_user_tasks_body+0x88>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, TRUE, return_value );
    478c:	e3a00001 	mov	r0, #1	; 0x1                                  
    4790:	e1a01000 	mov	r1, r0                                        
    4794:	eb000359 	bl	5500 <_Internal_error_Occurred>                
  maximum    = api_configuration->number_of_initialization_tasks;     
                                                                      
  if ( !user_tasks || maximum == 0 )                                  
    return;                                                           
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    4798:	e2855001 	add	r5, r5, #1	; 0x1                              
    479c:	e1550006 	cmp	r5, r6                                        
    47a0:	3affffea 	bcc	4750 <_RTEMS_tasks_Initialize_user_tasks_body+0x40>
    );                                                                
                                                                      
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, TRUE, return_value );
  }                                                                   
}                                                                     
    47a4:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    47a8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

000051b0 <_TOD_Get>: */ void _TOD_Get( struct timespec *time ) {
    51b0:	e92d4070 	push	{r4, r5, r6, lr}                             
  ISR_Level level;                                                    
  struct timespec offset;                                             
                                                                      
  /* assume time checked by caller */                                 
                                                                      
  offset.tv_sec = 0;                                                  
    51b4:	e3a03000 	mov	r3, #0	; 0x0                                  
 */                                                                   
                                                                      
void _TOD_Get(                                                        
  struct timespec *time                                               
)                                                                     
{                                                                     
    51b8:	e24dd008 	sub	sp, sp, #8	; 0x8                              
  struct timespec offset;                                             
                                                                      
  /* assume time checked by caller */                                 
                                                                      
  offset.tv_sec = 0;                                                  
  offset.tv_nsec = 0;                                                 
    51bc:	e58d3004 	str	r3, [sp, #4]                                  
 */                                                                   
                                                                      
void _TOD_Get(                                                        
  struct timespec *time                                               
)                                                                     
{                                                                     
    51c0:	e1a05000 	mov	r5, r0                                        
  ISR_Level level;                                                    
  struct timespec offset;                                             
                                                                      
  /* assume time checked by caller */                                 
                                                                      
  offset.tv_sec = 0;                                                  
    51c4:	e58d3000 	str	r3, [sp]                                      
  offset.tv_nsec = 0;                                                 
                                                                      
  /* _TOD_Now is a proper POSIX time */                               
  _ISR_Disable( level );                                              
    51c8:	e10f6000 	mrs	r6, CPSR                                      
    51cc:	e38630c0 	orr	r3, r6, #192	; 0xc0                           
    51d0:	e129f003 	msr	CPSR_fc, r3                                   
    *time = _TOD_Now;                                                 
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
    51d4:	e59f3038 	ldr	r3, [pc, #56]	; 5214 <_TOD_Get+0x64>          
    51d8:	e5932000 	ldr	r2, [r3]                                      
  offset.tv_sec = 0;                                                  
  offset.tv_nsec = 0;                                                 
                                                                      
  /* _TOD_Now is a proper POSIX time */                               
  _ISR_Disable( level );                                              
    *time = _TOD_Now;                                                 
    51dc:	e59f3034 	ldr	r3, [pc, #52]	; 5218 <_TOD_Get+0x68>          
    51e0:	e8930018 	ldm	r3, {r3, r4}                                  
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
    51e4:	e3520000 	cmp	r2, #0	; 0x0                                  
  offset.tv_sec = 0;                                                  
  offset.tv_nsec = 0;                                                 
                                                                      
  /* _TOD_Now is a proper POSIX time */                               
  _ISR_Disable( level );                                              
    *time = _TOD_Now;                                                 
    51e8:	e8800018 	stm	r0, {r3, r4}                                  
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
    51ec:	0a000002 	beq	51fc <_TOD_Get+0x4c>                          
      offset.tv_nsec = (*_Watchdog_Nanoseconds_since_tick_handler)(); 
    51f0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    51f4:	e12fff12 	bx	r2                                             <== NOT EXECUTED
    51f8:	e58d0004 	str	r0, [sp, #4]                                  <== NOT EXECUTED
  _ISR_Enable( level );                                               
    51fc:	e129f006 	msr	CPSR_fc, r6                                   
                                                                      
  _Timespec_Add_to( time, &offset );                                  
    5200:	e1a00005 	mov	r0, r5                                        
    5204:	e1a0100d 	mov	r1, sp                                        
    5208:	eb000794 	bl	7060 <_Timespec_Add_to>                        
}                                                                     
    520c:	e28dd008 	add	sp, sp, #8	; 0x8                              
    5210:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00009e74 <_TOD_Get_uptime>: */ void _TOD_Get_uptime( struct timespec *uptime ) {
    9e74:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  ISR_Level level;                                                    
  struct timespec offset;                                             
                                                                      
  /* assume uptime checked by caller */                               
                                                                      
  offset.tv_sec = 0;                                                  
    9e78:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
 */                                                                   
                                                                      
void _TOD_Get_uptime(                                                 
  struct timespec *uptime                                             
)                                                                     
{                                                                     
    9e7c:	e24dd008 	sub	sp, sp, #8	; 0x8                              <== NOT EXECUTED
  struct timespec offset;                                             
                                                                      
  /* assume uptime checked by caller */                               
                                                                      
  offset.tv_sec = 0;                                                  
  offset.tv_nsec = 0;                                                 
    9e80:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
 */                                                                   
                                                                      
void _TOD_Get_uptime(                                                 
  struct timespec *uptime                                             
)                                                                     
{                                                                     
    9e84:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  ISR_Level level;                                                    
  struct timespec offset;                                             
                                                                      
  /* assume uptime checked by caller */                               
                                                                      
  offset.tv_sec = 0;                                                  
    9e88:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  offset.tv_nsec = 0;                                                 
                                                                      
  _ISR_Disable( level );                                              
    9e8c:	e10f6000 	mrs	r6, CPSR                                      <== NOT EXECUTED
    9e90:	e38630c0 	orr	r3, r6, #192	; 0xc0                           <== NOT EXECUTED
    9e94:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    *uptime = _TOD_Uptime;                                            
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
    9e98:	e59f3038 	ldr	r3, [pc, #56]	; 9ed8 <_TOD_Get_uptime+0x64>   <== NOT EXECUTED
    9e9c:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
                                                                      
  offset.tv_sec = 0;                                                  
  offset.tv_nsec = 0;                                                 
                                                                      
  _ISR_Disable( level );                                              
    *uptime = _TOD_Uptime;                                            
    9ea0:	e59f3034 	ldr	r3, [pc, #52]	; 9edc <_TOD_Get_uptime+0x68>   <== NOT EXECUTED
    9ea4:	e8930018 	ldm	r3, {r3, r4}                                  <== NOT EXECUTED
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
    9ea8:	e3520000 	cmp	r2, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  offset.tv_sec = 0;                                                  
  offset.tv_nsec = 0;                                                 
                                                                      
  _ISR_Disable( level );                                              
    *uptime = _TOD_Uptime;                                            
    9eac:	e8800018 	stm	r0, {r3, r4}                                  <== NOT EXECUTED
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
    9eb0:	0a000002 	beq	9ec0 <_TOD_Get_uptime+0x4c>                   <== NOT EXECUTED
      offset.tv_nsec = (*_Watchdog_Nanoseconds_since_tick_handler)(); 
    9eb4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    9eb8:	e12fff12 	bx	r2                                             <== NOT EXECUTED
    9ebc:	e58d0004 	str	r0, [sp, #4]                                  <== NOT EXECUTED
  _ISR_Enable( level );                                               
    9ec0:	e129f006 	msr	CPSR_fc, r6                                   <== NOT EXECUTED
                                                                      
  _Timespec_Add_to( uptime, &offset );                                
    9ec4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    9ec8:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    9ecc:	ebfff463 	bl	7060 <_Timespec_Add_to>                        <== NOT EXECUTED
}                                                                     
    9ed0:	e28dd008 	add	sp, sp, #8	; 0x8                              <== NOT EXECUTED
    9ed4:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

00005f80 <_Thread_Close>: void _Thread_Close( Objects_Information *information, Thread_Control *the_thread ) {
    5f80:	e92d4070 	push	{r4, r5, r6, lr}                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    5f84:	e590201c 	ldr	r2, [r0, #28]                                 
    5f88:	e1a06001 	mov	r6, r1                                        
    5f8c:	e1d110b8 	ldrh	r1, [r1, #8]                                 
    5f90:	e3a03000 	mov	r3, #0	; 0x0                                  
    5f94:	e1a05000 	mov	r5, r0                                        
    5f98:	e7823101 	str	r3, [r2, r1, lsl #2]                          
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
    5f9c:	e59f407c 	ldr	r4, [pc, #124]	; 6020 <_Thread_Close+0xa0>    
    5fa0:	e5943000 	ldr	r3, [r4]                                      
   *  disappear and set a transient state on it.  So we temporarily   
   *  unnest dispatching.                                             
   */                                                                 
  _Thread_Unnest_dispatch();                                          
                                                                      
  _User_extensions_Thread_delete( the_thread );                       
    5fa4:	e1a00006 	mov	r0, r6                                        
    5fa8:	e2433001 	sub	r3, r3, #1	; 0x1                              
    5fac:	e5843000 	str	r3, [r4]                                      
    5fb0:	eb0004c1 	bl	72bc <_User_extensions_Thread_delete>          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    5fb4:	e5943000 	ldr	r3, [r4]                                      
    5fb8:	e2833001 	add	r3, r3, #1	; 0x1                              
    5fbc:	e5843000 	str	r3, [r4]                                      
  /*                                                                  
   *  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 );                 
    5fc0:	e1a00005 	mov	r0, r5                                        
    5fc4:	e1a01006 	mov	r1, r6                                        
    5fc8:	ebfffd89 	bl	55f4 <_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 );                    
    5fcc:	e1a00006 	mov	r0, r6                                        
    5fd0:	e3a01001 	mov	r1, #1	; 0x1                                  
    5fd4:	eb00030e 	bl	6c14 <_Thread_Set_state>                       
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
    5fd8:	e1a00006 	mov	r0, r6                                        
    5fdc:	eb00028e 	bl	6a1c <_Thread_queue_Extract_with_proxy>        
    5fe0:	e3500000 	cmp	r0, #0	; 0x0                                  
    5fe4:	1a000003 	bne	5ff8 <_Thread_Close+0x78>                     
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
    5fe8:	e5963050 	ldr	r3, [r6, #80]                                 
    5fec:	e3530002 	cmp	r3, #2	; 0x2                                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
    5ff0:	02860048 	addeq	r0, r6, #72	; 0x48                          
    5ff4:	0b000540 	bleq	74fc <_Watchdog_Remove>                      
                                                                      
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
    5ff8:	e1a00006 	mov	r0, r6                                        
    5ffc:	eb000394 	bl	6e54 <_Thread_Stack_Free>                      
  the_thread->Start.stack = NULL;                                     
                                                                      
  if ( the_thread->extensions )                                       
    6000:	e5960110 	ldr	r0, [r6, #272]                                
  /*                                                                  
   *  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;                                     
    6004:	e3a03000 	mov	r3, #0	; 0x0                                  
                                                                      
  if ( the_thread->extensions )                                       
    6008:	e3500000 	cmp	r0, #0	; 0x0                                  
  /*                                                                  
   *  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;                                     
    600c:	e58630cc 	str	r3, [r6, #204]                                
                                                                      
  if ( the_thread->extensions )                                       
    (void) _Workspace_Free( the_thread->extensions );                 
    6010:	1b000587 	blne	7634 <_Workspace_Free>                       
  the_thread->extensions = NULL;                                      
    6014:	e3a03000 	mov	r3, #0	; 0x0                                  
    6018:	e5863110 	str	r3, [r6, #272]                                
}                                                                     
    601c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000b21c <_Thread_Handler>: #if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__) static char doneConstructors; char doneCons; #endif executing = _Thread_Executing;
    b21c:	e59f30b0 	ldr	r3, [pc, #176]	; b2d4 <_Thread_Handler+0xb8>  
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
    b220:	e92d4030 	push	{r4, r5, lr}                                 
#if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__)              
  static char doneConstructors;                                       
  char doneCons;                                                      
#endif                                                                
                                                                      
  executing = _Thread_Executing;                                      
    b224:	e5935000 	ldr	r5, [r3]                                      
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
    b228:	e59530b8 	ldr	r3, [r5, #184]                                
  _ISR_Set_level(level);                                              
    b22c:	e3a02000 	mov	r2, #0	; 0x0                                  
    b230:	e10f2000 	mrs	r2, CPSR                                      
    b234:	e3c220c0 	bic	r2, r2, #192	; 0xc0                           
    b238:	e1822003 	orr	r2, r2, r3                                    
    b23c:	e121f002 	msr	CPSR_c, r2                                    
                                                                      
#if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__)              
  doneCons = doneConstructors;                                        
    b240:	e59f2090 	ldr	r2, [pc, #144]	; b2d8 <_Thread_Handler+0xbc>  
  doneConstructors = 1;                                               
    b244:	e3a03001 	mov	r3, #1	; 0x1                                  
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
#if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__)              
  doneCons = doneConstructors;                                        
    b248:	e5d24000 	ldrb	r4, [r2]                                     
   * Take care that 'begin' extensions get to complete before         
   * 'switch' extensions can run.  This means must keep dispatch      
   * disabled until all 'begin' extensions complete.                  
   */                                                                 
                                                                      
  _User_extensions_Thread_begin( executing );                         
    b24c:	e1a00005 	mov	r0, r5                                        
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
#if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__)              
  doneCons = doneConstructors;                                        
  doneConstructors = 1;                                               
    b250:	e5c23000 	strb	r3, [r2]                                     
   * Take care that 'begin' extensions get to complete before         
   * 'switch' extensions can run.  This means must keep dispatch      
   * disabled until all 'begin' extensions complete.                  
   */                                                                 
                                                                      
  _User_extensions_Thread_begin( executing );                         
    b254:	ebffefcf 	bl	7198 <_User_extensions_Thread_begin>           
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
    b258:	ebffec10 	bl	62a0 <_Thread_Enable_dispatch>                 
  /*                                                                  
   *  _init could be a weak symbol and we SHOULD test it but it isn't 
   *  in any configuration I know of and it generates a warning on every
   *  RTEMS target configuration.  --joel (12 May 2007)               
   */                                                                 
  if (!doneCons) /* && (volatile void *)_init) */                     
    b25c:	e3540000 	cmp	r4, #0	; 0x0                                  
  {                                                                   
    _init ();                                                         
    b260:	0bffd3ae 	bleq	120 <_init>                                  
#if defined(__USE__MAIN__)                                            
  if (!doneCons && _main)                                             
    __main ();                                                        
#endif                                                                
                                                                      
  switch ( executing->Start.prototype ) {                             
    b264:	e59530a0 	ldr	r3, [r5, #160]                                
    b268:	e3530003 	cmp	r3, #3	; 0x3                                  
    b26c:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
    b270:	ea000011 	b	b2bc <_Thread_Handler+0xa0>                     <== NOT EXECUTED
    b274:	0000b284 	.word	0x0000b284                                  <== NOT EXECUTED
    b278:	0000b28c 	.word	0x0000b28c                                  <== NOT EXECUTED
    b27c:	0000b29c 	.word	0x0000b29c                                  <== NOT EXECUTED
    b280:	0000b2a8 	.word	0x0000b2a8                                  <== NOT EXECUTED
    case THREAD_START_NUMERIC:                                        
      executing->Wait.return_argument =                               
    b284:	e59500a8 	ldr	r0, [r5, #168]                                
    b288:	ea000000 	b	b290 <_Thread_Handler+0x74>                     
        (*(Thread_Entry_numeric) executing->Start.entry_point)(       
          executing->Start.numeric_argument                           
      );                                                              
      break;                                                          
    case THREAD_START_POINTER:                                        
      executing->Wait.return_argument =                               
    b28c:	e59500a4 	ldr	r0, [r5, #164]                                
    b290:	e1a0e00f 	mov	lr, pc                                        
    b294:	e595f09c 	ldr	pc, [r5, #156]                                
    b298:	ea000006 	b	b2b8 <_Thread_Handler+0x9c>                     
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
          executing->Start.pointer_argument                           
        );                                                            
      break;                                                          
    case THREAD_START_BOTH_POINTER_FIRST:                             
      executing->Wait.return_argument =                               
    b29c:	e28500a4 	add	r0, r5, #164	; 0xa4                           <== NOT EXECUTED
    b2a0:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    b2a4:	ea000001 	b	b2b0 <_Thread_Handler+0x94>                     <== NOT EXECUTED
           executing->Start.pointer_argument,                         
           executing->Start.numeric_argument                          
         );                                                           
      break;                                                          
    case THREAD_START_BOTH_NUMERIC_FIRST:                             
      executing->Wait.return_argument =                               
    b2a8:	e59500a8 	ldr	r0, [r5, #168]                                <== NOT EXECUTED
    b2ac:	e59510a4 	ldr	r1, [r5, #164]                                <== NOT EXECUTED
    b2b0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    b2b4:	e595f09c 	ldr	pc, [r5, #156]                                <== NOT EXECUTED
    b2b8:	e5850028 	str	r0, [r5, #40]                                 
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
    b2bc:	e1a00005 	mov	r0, r5                                        
    b2c0:	ebffefc3 	bl	71d4 <_User_extensions_Thread_exitted>         
                                                                      
  _Internal_error_Occurred(                                           
    b2c4:	e3a00000 	mov	r0, #0	; 0x0                                  
    b2c8:	e3a01001 	mov	r1, #1	; 0x1                                  
    b2cc:	e3a02006 	mov	r2, #6	; 0x6                                  
    b2d0:	ebffe88a 	bl	5500 <_Internal_error_Occurred>                
                                                                      

0000636c <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
    636c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
                                                                      
                                                                      
  if ( !stack_area ) {                                                
    6370:	e2526000 	subs	r6, r2, #0	; 0x0                             
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
    6374:	e1a09000 	mov	r9, r0                                        
    6378:	e1a05001 	mov	r5, r1                                        
    637c:	e1a04003 	mov	r4, r3                                        
    6380:	e59d8024 	ldr	r8, [sp, #36]                                 
    6384:	e59da02c 	ldr	sl, [sp, #44]                                 
    6388:	e5dd7028 	ldrb	r7, [sp, #40]                                
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
                                                                      
                                                                      
  if ( !stack_area ) {                                                
    638c:	1a00000e 	bne	63cc <_Thread_Initialize+0x60>                
                                                                      
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
    6390:	e1a00001 	mov	r0, r1                                        
    6394:	e1a01003 	mov	r1, r3                                        
    6398:	eb000292 	bl	6de8 <_Thread_Stack_Allocate>                  
                                                                      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
    639c:	e1500004 	cmp	r0, r4                                        
    63a0:	23a03000 	movcs	r3, #0	; 0x0                                
    63a4:	33a03001 	movcc	r3, #1	; 0x1                                
    63a8:	e3500000 	cmp	r0, #0	; 0x0                                  
    63ac:	03833001 	orreq	r3, r3, #1	; 0x1                            
    63b0:	e3530000 	cmp	r3, #0	; 0x0                                  
      return FALSE;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
    the_thread->Start.core_allocated_stack = TRUE;                    
    63b4:	03a03001 	moveq	r3, #1	; 0x1                                
                                                                      
  if ( !stack_area ) {                                                
                                                                      
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
                                                                      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
    63b8:	e1a01000 	mov	r1, r0                                        
      return FALSE;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
    the_thread->Start.core_allocated_stack = TRUE;                    
    63bc:	05c530c0 	strbeq	r3, [r5, #192]                             
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
                                                                      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return FALSE;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
    63c0:	059520cc 	ldreq	r2, [r5, #204]                              
                                                                      
  if ( !stack_area ) {                                                
                                                                      
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
                                                                      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
    63c4:	0a000004 	beq	63dc <_Thread_Initialize+0x70>                
    63c8:	ea000017 	b	642c <_Thread_Initialize+0xc0>                  
    stack = the_thread->Start.stack;                                  
    the_thread->Start.core_allocated_stack = TRUE;                    
  } else {                                                            
    stack = stack_area;                                               
    actual_stack_size = stack_size;                                   
    the_thread->Start.core_allocated_stack = FALSE;                   
    63cc:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    63d0:	e5c130c0 	strb	r3, [r1, #192]                               <== NOT EXECUTED
    63d4:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
    63d8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
                                                                      
  if ( _Thread_Maximum_extensions ) {                                 
    63dc:	e59f3128 	ldr	r3, [pc, #296]	; 650c <_Thread_Initialize+0x1a0>
    63e0:	e5930000 	ldr	r0, [r3]                                      
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    63e4:	e3a03000 	mov	r3, #0	; 0x0                                  
    63e8:	e3500000 	cmp	r0, #0	; 0x0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
    63ec:	e58520c8 	str	r2, [r5, #200]                                
  the_stack->size = size;                                             
    63f0:	e58510c4 	str	r1, [r5, #196]                                
                                                                      
  /*                                                                  
   * Clear the libc reent hook.                                       
   */                                                                 
                                                                      
  the_thread->libc_reent = NULL;                                      
    63f4:	e5853100 	str	r3, [r5, #256]                                
    63f8:	e5853050 	str	r3, [r5, #80]                                 
  the_watchdog->routine   = routine;                                  
    63fc:	e5853064 	str	r3, [r5, #100]                                
  the_watchdog->id        = id;                                       
    6400:	e5853068 	str	r3, [r5, #104]                                
  the_watchdog->user_data = user_data;                                
    6404:	e585306c 	str	r3, [r5, #108]                                
        (void) _Workspace_Free( fp_area );                            
#endif                                                                
                                                                      
      _Thread_Stack_Free( the_thread );                               
                                                                      
      return FALSE;                                                   
    6408:	01a06000 	moveq	r6, r0                                      
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
                                                                      
  if ( _Thread_Maximum_extensions ) {                                 
    640c:	0a000008 	beq	6434 <_Thread_Initialize+0xc8>                
    extensions_area = _Workspace_Allocate(                            
    6410:	e2800001 	add	r0, r0, #1	; 0x1                              
    6414:	e1a00100 	lsl	r0, r0, #2                                    
    6418:	eb000489 	bl	7644 <_Workspace_Allocate>                     
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
                                                                      
    if ( !extensions_area ) {                                         
    641c:	e2506000 	subs	r6, r0, #0	; 0x0                             
    6420:	1a000003 	bne	6434 <_Thread_Initialize+0xc8>                
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
      if ( fp_area )                                                  
        (void) _Workspace_Free( fp_area );                            
#endif                                                                
                                                                      
      _Thread_Stack_Free( the_thread );                               
    6424:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    6428:	eb000289 	bl	6e54 <_Thread_Stack_Free>                      <== NOT EXECUTED
    642c:	e1a00006 	mov	r0, r6                                        
    6430:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
                                                                      
  if ( the_thread->extensions ) {                                     
    6434:	e3560000 	cmp	r6, #0	; 0x0                                  
      return FALSE;                                                   
    }                                                                 
  } else                                                              
    extensions_area = NULL;                                           
                                                                      
  the_thread->extensions = (void **) extensions_area;                 
    6438:	e5856110 	str	r6, [r5, #272]                                
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
                                                                      
  if ( the_thread->extensions ) {                                     
    643c:	0a00000a 	beq	646c <_Thread_Initialize+0x100>               
    6440:	e3a02000 	mov	r2, #0	; 0x0                                  
    uint32_t i;                                                       
    for ( i = 0; i < (_Thread_Maximum_extensions + 1); i++ )          
    6444:	e59f00c0 	ldr	r0, [pc, #192]	; 650c <_Thread_Initialize+0x1a0>
      the_thread->extensions[i] = NULL;                               
    6448:	e1a01002 	mov	r1, r2                                        
    644c:	ea000002 	b	645c <_Thread_Initialize+0xf0>                  
    6450:	e5953110 	ldr	r3, [r5, #272]                                
    6454:	e7831102 	str	r1, [r3, r2, lsl #2]                          
   * call.                                                            
   */                                                                 
                                                                      
  if ( the_thread->extensions ) {                                     
    uint32_t i;                                                       
    for ( i = 0; i < (_Thread_Maximum_extensions + 1); i++ )          
    6458:	e2822001 	add	r2, r2, #1	; 0x1                              
    645c:	e5903000 	ldr	r3, [r0]                                      
    6460:	e2833001 	add	r3, r3, #1	; 0x1                              
    6464:	e1520003 	cmp	r2, r3                                        
    6468:	3afffff8 	bcc	6450 <_Thread_Initialize+0xe4>                
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
    646c:	e59d3030 	ldr	r3, [sp, #48]                                 
                                                                      
  switch ( budget_algorithm ) {                                       
    6470:	e35a0002 	cmp	sl, #2	; 0x2                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
    6474:	e58530b4 	str	r3, [r5, #180]                                
  switch ( budget_algorithm ) {                                       
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:               
      the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;      
    6478:	059f3090 	ldreq	r3, [pc, #144]	; 6510 <_Thread_Initialize+0x1a4>
    647c:	05933000 	ldreq	r3, [r3]                                    
    6480:	05853078 	streq	r3, [r5, #120]                              
      break;                                                          
    case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                         
      break;                                                          
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
    6484:	e59d3034 	ldr	r3, [sp, #52]                                 
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
    6488:	e3a04000 	mov	r4, #0	; 0x0                                  
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
    648c:	e5c570ac 	strb	r7, [r5, #172]                               
      break;                                                          
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
    6490:	e3a07001 	mov	r7, #1	; 0x1                                  
      break;                                                          
    case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                         
      break;                                                          
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
    6494:	e58530b8 	str	r3, [r5, #184]                                
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
  the_thread->suspend_count           = 0;                            
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
    6498:	e1a01008 	mov	r1, r8                                        
    649c:	e1a00005 	mov	r0, r5                                        
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
    64a0:	e585a0b0 	str	sl, [r5, #176]                                
      break;                                                          
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
    64a4:	e5857010 	str	r7, [r5, #16]                                 
  the_thread->Wait.queue              = NULL;                         
    64a8:	e5854044 	str	r4, [r5, #68]                                 
  the_thread->resource_count          = 0;                            
    64ac:	e585401c 	str	r4, [r5, #28]                                 
  the_thread->suspend_count           = 0;                            
    64b0:	e5854070 	str	r4, [r5, #112]                                
  the_thread->real_priority           = priority;                     
    64b4:	e5858018 	str	r8, [r5, #24]                                 
  the_thread->Start.initial_priority  = priority;                     
    64b8:	e58580bc 	str	r8, [r5, #188]                                
  _Thread_Set_priority( the_thread, priority );                       
    64bc:	eb0001b7 	bl	6ba0 <_Thread_Set_priority>                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    64c0:	e1d530b8 	ldrh	r3, [r5, #8]                                 
    64c4:	e599201c 	ldr	r2, [r9, #28]                                 
   *  Initialize the CPU usage statistics                             
   */                                                                 
                                                                      
  #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS                 
    the_thread->cpu_time_used.tv_sec  = 0;                            
    the_thread->cpu_time_used.tv_nsec = 0;                            
    64c8:	e5854088 	str	r4, [r5, #136]                                
    64cc:	e7825103 	str	r5, [r2, r3, lsl #2]                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
    64d0:	e59d3038 	ldr	r3, [sp, #56]                                 
   *  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 );    
    64d4:	e1a00005 	mov	r0, r5                                        
    64d8:	e585300c 	str	r3, [r5, #12]                                 
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
                                                                      
  #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS                 
    the_thread->cpu_time_used.tv_sec  = 0;                            
    64dc:	e5854084 	str	r4, [r5, #132]                                
   *  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 );    
    64e0:	eb00035f 	bl	7264 <_User_extensions_Thread_create>          
                                                                      
  if ( !extension_status ) {                                          
    64e4:	e1500004 	cmp	r0, r4                                        
    64e8:	11a00007 	movne	r0, r7                                      
    64ec:	18bd87f0 	popne	{r4, r5, r6, r7, r8, r9, sl, pc}            
                                                                      
    if ( extensions_area )                                            
    64f0:	e3560000 	cmp	r6, #0	; 0x0                                  <== NOT EXECUTED
      (void) _Workspace_Free( extensions_area );                      
    64f4:	11a00006 	movne	r0, r6                                      <== NOT EXECUTED
    64f8:	1b00044d 	blne	7634 <_Workspace_Free>                       <== NOT EXECUTED
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
    if ( fp_area )                                                    
      (void) _Workspace_Free( fp_area );                              
#endif                                                                
                                                                      
    _Thread_Stack_Free( the_thread );                                 
    64fc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    6500:	eb000253 	bl	6e54 <_Thread_Stack_Free>                      <== NOT EXECUTED
    6504:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    return FALSE;                                                     
  }                                                                   
                                                                      
  return TRUE;                                                        
                                                                      
}                                                                     
    6508:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      

000077d8 <_Thread_Restart>: Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) { if ( !_States_Is_dormant( the_thread->current_state ) ) {
    77d8:	e5903010 	ldr	r3, [r0, #16]                                 
    77dc:	e3130001 	tst	r3, #1	; 0x1                                  
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
    77e0:	e92d4070 	push	{r4, r5, r6, lr}                             
    77e4:	e1a04000 	mov	r4, r0                                        
    77e8:	e1a05001 	mov	r5, r1                                        
    77ec:	e1a06002 	mov	r6, r2                                        
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
    77f0:	13a00000 	movne	r0, #0	; 0x0                                
    77f4:	18bd8070 	popne	{r4, r5, r6, pc}                            
                                                                      
    _Thread_Set_transient( the_thread );                              
    77f8:	eb000081 	bl	7a04 <_Thread_Set_transient>                   
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
    77fc:	e1a01005 	mov	r1, r5                                        
    7800:	e1a02006 	mov	r2, r6                                        
    7804:	e1a00004 	mov	r0, r4                                        
    7808:	eb000ec2 	bl	b318 <_Thread_Reset>                           
                                                                      
    _Thread_Load_environment( the_thread );                           
    780c:	e1a00004 	mov	r0, r4                                        
    7810:	eb000de2 	bl	afa0 <_Thread_Load_environment>                
                                                                      
    _Thread_Ready( the_thread );                                      
    7814:	e1a00004 	mov	r0, r4                                        
    7818:	eb000e7b 	bl	b20c <_Thread_Ready>                           
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
    781c:	e1a00004 	mov	r0, r4                                        
    7820:	eb0001e3 	bl	7fb4 <_User_extensions_Thread_restart>         
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
    7824:	e59f301c 	ldr	r3, [pc, #28]	; 7848 <_Thread_Restart+0x70>   
    7828:	e5933000 	ldr	r3, [r3]                                      
    782c:	e1540003 	cmp	r4, r3                                        
    7830:	13a00001 	movne	r0, #1	; 0x1                                
    7834:	18bd8070 	popne	{r4, r5, r6, pc}                            
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
    7838:	e28400d0 	add	r0, r4, #208	; 0xd0                           
    783c:	eb0002ec 	bl	83f4 <_CPU_Context_restore>                    
    7840:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
                                                                      
    return TRUE;                                                      
  }                                                                   
                                                                      
  return FALSE;                                                       
}                                                                     
    7844:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

00008508 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
    8508:	e92d4030 	push	{r4, r5, lr}                                 
    850c:	e20110ff 	and	r1, r1, #255	; 0xff                           
    8510:	e1a04000 	mov	r4, r0                                        
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
    8514:	e10f5000 	mrs	r5, CPSR                                      
    8518:	e38530c0 	orr	r3, r5, #192	; 0xc0                           
    851c:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
  if ( force == TRUE )                                                
    8520:	e3510000 	cmp	r1, #0	; 0x0                                  
    the_thread->suspend_count = 0;                                    
  else                                                                
    the_thread->suspend_count--;                                      
    8524:	05903070 	ldreq	r3, [r0, #112]                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( force == TRUE )                                                
    the_thread->suspend_count = 0;                                    
    8528:	13a03000 	movne	r3, #0	; 0x0                                
  else                                                                
    the_thread->suspend_count--;                                      
    852c:	02433001 	subeq	r3, r3, #1	; 0x1                            
    8530:	e5803070 	str	r3, [r0, #112]                                
                                                                      
  if ( the_thread->suspend_count > 0 ) {                              
    8534:	e5903070 	ldr	r3, [r0, #112]                                
    8538:	e3530000 	cmp	r3, #0	; 0x0                                  
    853c:	0a000001 	beq	8548 <_Thread_Resume+0x40>                    
    _ISR_Enable( level );                                             
    8540:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
    8544:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    return;                                                           
  }                                                                   
                                                                      
  current_state = the_thread->current_state;                          
    8548:	e5903010 	ldr	r3, [r0, #16]                                 
  if ( current_state & STATES_SUSPENDED ) {                           
    854c:	e3130002 	tst	r3, #2	; 0x2                                  
    8550:	0a000028 	beq	85f8 <_Thread_Resume+0xf0>                    
    8554:	e3c33002 	bic	r3, r3, #2	; 0x2                              
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
    8558:	e3530000 	cmp	r3, #0	; 0x0                                  
    return;                                                           
  }                                                                   
                                                                      
  current_state = the_thread->current_state;                          
  if ( current_state & STATES_SUSPENDED ) {                           
    current_state =                                                   
    855c:	e5803010 	str	r3, [r0, #16]                                 
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
    8560:	1a000024 	bne	85f8 <_Thread_Resume+0xf0>                    
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
    8564:	e5900090 	ldr	r0, [r0, #144]                                
    8568:	e1d429b6 	ldrh	r2, [r4, #150]                               
    856c:	e1d030b0 	ldrh	r3, [r0]                                     
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
    8570:	e594108c 	ldr	r1, [r4, #140]                                
    8574:	e1833002 	orr	r3, r3, r2                                    
    8578:	e1c030b0 	strh	r3, [r0]                                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
    857c:	e59fc07c 	ldr	ip, [pc, #124]	; 8600 <_Thread_Resume+0xf8>   
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
    8580:	e2813004 	add	r3, r1, #4	; 0x4                              
    8584:	e5843000 	str	r3, [r4]                                      
    8588:	e1d429b4 	ldrh	r2, [r4, #148]                               
    858c:	e1dc30b0 	ldrh	r3, [ip]                                     
  old_last_node       = the_chain->last;                              
    8590:	e5910008 	ldr	r0, [r1, #8]                                  
    8594:	e1833002 	orr	r3, r3, r2                                    
  the_chain->last     = the_node;                                     
    8598:	e5814008 	str	r4, [r1, #8]                                  
    859c:	e1cc30b0 	strh	r3, [ip]                                     
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
    85a0:	e5840004 	str	r0, [r4, #4]                                  
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
    85a4:	e5804000 	str	r4, [r0]                                      
                                                                      
      _ISR_Flash( level );                                            
    85a8:	e10f3000 	mrs	r3, CPSR                                      
    85ac:	e129f005 	msr	CPSR_fc, r5                                   
    85b0:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
    85b4:	e59f1048 	ldr	r1, [pc, #72]	; 8604 <_Thread_Resume+0xfc>    
    85b8:	e5913000 	ldr	r3, [r1]                                      
    85bc:	e5942014 	ldr	r2, [r4, #20]                                 
    85c0:	e5933014 	ldr	r3, [r3, #20]                                 
    85c4:	e1520003 	cmp	r2, r3                                        
    85c8:	2a00000a 	bcs	85f8 <_Thread_Resume+0xf0>                    
        _Thread_Heir = the_thread;                                    
        if ( _Thread_Executing->is_preemptible ||                     
    85cc:	e59f3034 	ldr	r3, [pc, #52]	; 8608 <_Thread_Resume+0x100>   
    85d0:	e5933000 	ldr	r3, [r3]                                      
    85d4:	e5d33076 	ldrb	r3, [r3, #118]                               
    85d8:	e3530000 	cmp	r3, #0	; 0x0                                  
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
        _Thread_Heir = the_thread;                                    
    85dc:	e5814000 	str	r4, [r1]                                      
        if ( _Thread_Executing->is_preemptible ||                     
    85e0:	1a000001 	bne	85ec <_Thread_Resume+0xe4>                    
    85e4:	e3520000 	cmp	r2, #0	; 0x0                                  
    85e8:	1a000002 	bne	85f8 <_Thread_Resume+0xf0>                    
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = TRUE;                           
    85ec:	e59f3018 	ldr	r3, [pc, #24]	; 860c <_Thread_Resume+0x104>   
    85f0:	e3a02001 	mov	r2, #1	; 0x1                                  
    85f4:	e5c32000 	strb	r2, [r3]                                     
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
    85f8:	e129f005 	msr	CPSR_fc, r5                                   
    85fc:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00006d58 <_Thread_Set_transient>: */ void _Thread_Set_transient( Thread_Control *the_thread ) {
    6d58:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  ISR_Level             level;                                        
  uint32_t              old_state;                                    
  Chain_Control *ready;                                               
                                                                      
  ready = the_thread->ready;                                          
    6d5c:	e590c08c 	ldr	ip, [r0, #140]                                <== NOT EXECUTED
  _ISR_Disable( level );                                              
    6d60:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
    6d64:	e38530c0 	orr	r3, r5, #192	; 0xc0                           <== NOT EXECUTED
    6d68:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
                                                                      
  old_state = the_thread->current_state;                              
    6d6c:	e5904010 	ldr	r4, [r0, #16]                                 <== NOT EXECUTED
  the_thread->current_state = _States_Set( STATES_TRANSIENT, old_state );
    6d70:	e3843004 	orr	r3, r4, #4	; 0x4                              <== NOT EXECUTED
                                                                      
  if ( _States_Is_ready( old_state ) ) {                              
    6d74:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  ready = the_thread->ready;                                          
  _ISR_Disable( level );                                              
                                                                      
  old_state = the_thread->current_state;                              
  the_thread->current_state = _States_Set( STATES_TRANSIENT, old_state );
    6d78:	e5803010 	str	r3, [r0, #16]                                 <== NOT EXECUTED
                                                                      
  if ( _States_Is_ready( old_state ) ) {                              
    6d7c:	1a000016 	bne	6ddc <_Thread_Set_transient+0x84>             <== NOT EXECUTED
    if ( _Chain_Has_only_one_node( ready ) ) {                        
    6d80:	e59c2000 	ldr	r2, [ip]                                      <== NOT EXECUTED
    6d84:	e59c3008 	ldr	r3, [ip, #8]                                  <== NOT EXECUTED
    6d88:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    6d8c:	1a00000e 	bne	6dcc <_Thread_Set_transient+0x74>             <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Remove_from_bit_map (             
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
    6d90:	e5902090 	ldr	r2, [r0, #144]                                <== NOT EXECUTED
    6d94:	e1d019ba 	ldrh	r1, [r0, #154]                               <== NOT EXECUTED
    6d98:	e1d230b0 	ldrh	r3, [r2]                                     <== NOT EXECUTED
    6d9c:	e0033001 	and	r3, r3, r1                                    <== NOT EXECUTED
    6da0:	e1c230b0 	strh	r3, [r2]                                     <== NOT EXECUTED
  if ( *the_priority_map->minor == 0 )                                
    6da4:	e1d230b0 	ldrh	r3, [r2]                                     <== NOT EXECUTED
    6da8:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    6dac:	e28c3004 	add	r3, ip, #4	; 0x4                              <== NOT EXECUTED
    6db0:	e88c1018 	stm	ip, {r3, r4, ip}                              <== NOT EXECUTED
    _Priority_Major_bit_map &= the_priority_map->block_major;         
    6db4:	059f1028 	ldreq	r1, [pc, #40]	; 6de4 <_Thread_Set_transient+0x8c><== NOT EXECUTED
    6db8:	01d029b8 	ldrheq	r2, [r0, #152]                             <== NOT EXECUTED
    6dbc:	01d130b0 	ldrheq	r3, [r1]                                   <== NOT EXECUTED
    6dc0:	00033002 	andeq	r3, r3, r2                                  <== NOT EXECUTED
    6dc4:	01c130b0 	strheq	r3, [r1]                                   <== NOT EXECUTED
    6dc8:	ea000003 	b	6ddc <_Thread_Set_transient+0x84>               <== NOT EXECUTED
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
    6dcc:	e5902004 	ldr	r2, [r0, #4]                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
    6dd0:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
    6dd4:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
    6dd8:	e5832004 	str	r2, [r3, #4]                                  <== NOT EXECUTED
                                                                      
    } else                                                            
      _Chain_Extract_unprotected( &the_thread->Object.Node );         
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
    6ddc:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
                                                                      
}                                                                     
    6de0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

00006de8 <_Thread_Stack_Allocate>: * Call ONLY the CPU table stack allocate hook, _or_ the * the RTEMS workspace allocate. This is so the stack free * routine can call the correct deallocation routine. */ if ( _Configuration_Table->stack_allocate_hook ) {
    6de8:	e59f305c 	ldr	r3, [pc, #92]	; 6e4c <_Thread_Stack_Allocate+0x64>
    6dec:	e5933000 	ldr	r3, [r3]                                      
    6df0:	e5932020 	ldr	r2, [r3, #32]                                 
                                                                      
size_t _Thread_Stack_Allocate(                                        
  Thread_Control *the_thread,                                         
  size_t          stack_size                                          
)                                                                     
{                                                                     
    6df4:	e59f3054 	ldr	r3, [pc, #84]	; 6e50 <_Thread_Stack_Allocate+0x68>
    6df8:	e5933000 	ldr	r3, [r3]                                      
    6dfc:	e92d4030 	push	{r4, r5, lr}                                 
    6e00:	e1510003 	cmp	r1, r3                                        
    6e04:	21a04001 	movcs	r4, r1                                      
    6e08:	31a04003 	movcc	r4, r3                                      
   * Call ONLY the CPU table stack allocate hook, _or_ the            
   * the RTEMS workspace allocate.  This is so the stack free         
   * routine can call the correct deallocation routine.               
   */                                                                 
                                                                      
  if ( _Configuration_Table->stack_allocate_hook ) {                  
    6e0c:	e3520000 	cmp	r2, #0	; 0x0                                  
                                                                      
size_t _Thread_Stack_Allocate(                                        
  Thread_Control *the_thread,                                         
  size_t          stack_size                                          
)                                                                     
{                                                                     
    6e10:	e1a05000 	mov	r5, r0                                        
   * Call ONLY the CPU table stack allocate hook, _or_ the            
   * the RTEMS workspace allocate.  This is so the stack free         
   * routine can call the correct deallocation routine.               
   */                                                                 
                                                                      
  if ( _Configuration_Table->stack_allocate_hook ) {                  
    6e14:	0a000003 	beq	6e28 <_Thread_Stack_Allocate+0x40>            
    stack_addr = (*_Configuration_Table->stack_allocate_hook)( the_stack_size );
    6e18:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    6e1c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    6e20:	e12fff12 	bx	r2                                             <== NOT EXECUTED
    6e24:	ea000002 	b	6e34 <_Thread_Stack_Allocate+0x4c>              <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Stack_Adjust_size (                  
  size_t size                                                         
)                                                                     
{                                                                     
  return size + CPU_STACK_ALIGNMENT;                                  
    6e28:	e2844004 	add	r4, r4, #4	; 0x4                              
     *  get and keep the stack adjust factor, the stack alignment, and
     *  the context initialization sequence in sync.                  
     */                                                               
                                                                      
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
    6e2c:	e1a00004 	mov	r0, r4                                        
    6e30:	eb000203 	bl	7644 <_Workspace_Allocate>                     
    6e34:	e1a03000 	mov	r3, r0                                        
    the_stack_size = 0;                                               
                                                                      
  the_thread->Start.stack = stack_addr;                               
                                                                      
  return the_stack_size;                                              
}                                                                     
    6e38:	e3500000 	cmp	r0, #0	; 0x0                                  
    6e3c:	11a00004 	movne	r0, r4                                      
    6e40:	03a00000 	moveq	r0, #0	; 0x0                                
  }                                                                   
                                                                      
  if ( !stack_addr )                                                  
    the_stack_size = 0;                                               
                                                                      
  the_thread->Start.stack = stack_addr;                               
    6e44:	e58530cc 	str	r3, [r5, #204]                                
                                                                      
  return the_stack_size;                                              
}                                                                     
    6e48:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00006e54 <_Thread_Stack_Free>: { /* * If the API provided the stack space, then don't free it. */ if ( !the_thread->Start.core_allocated_stack )
    6e54:	e5d030c0 	ldrb	r3, [r0, #192]                               <== NOT EXECUTED
    6e58:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
 */                                                                   
                                                                      
void _Thread_Stack_Free(                                              
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
    6e5c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
    /*                                                                
     *  If the API provided the stack space, then don't free it.      
     */                                                               
                                                                      
    if ( !the_thread->Start.core_allocated_stack )                    
    6e60:	049df004 	popeq	{pc}		; (ldreq pc, [sp], #4)                <== NOT EXECUTED
     * Call ONLY the CPU table stack free hook, or the                
     * the RTEMS workspace free.  This is so the free                 
     * routine properly matches the allocation of the stack.          
     */                                                               
                                                                      
    if ( _Configuration_Table->stack_free_hook )                      
    6e64:	e59f3028 	ldr	r3, [pc, #40]	; 6e94 <_Thread_Stack_Free+0x40><== NOT EXECUTED
    6e68:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    6e6c:	e5933024 	ldr	r3, [r3, #36]                                 <== NOT EXECUTED
    6e70:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    6e74:	0a000003 	beq	6e88 <_Thread_Stack_Free+0x34>                <== NOT EXECUTED
      (*_Configuration_Table->stack_free_hook)(                       
    6e78:	e59000c8 	ldr	r0, [r0, #200]                                <== NOT EXECUTED
    6e7c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    6e80:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    6e84:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
        the_thread->Start.Initial_stack.area                          
      );                                                              
    else                                                              
        _Workspace_Free( the_thread->Start.Initial_stack.area );      
    6e88:	e59000c8 	ldr	r0, [r0, #200]                                <== NOT EXECUTED
}                                                                     
    6e8c:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
    if ( _Configuration_Table->stack_free_hook )                      
      (*_Configuration_Table->stack_free_hook)(                       
        the_thread->Start.Initial_stack.area                          
      );                                                              
    else                                                              
        _Workspace_Free( the_thread->Start.Initial_stack.area );      
    6e90:	ea0001e7 	b	7634 <_Workspace_Free>                          <== NOT EXECUTED
                                                                      

00005cb4 <_Thread_blocking_operation_Cancel>: /* * 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 ) ) {
    5cb4:	e5913050 	ldr	r3, [r1, #80]                                 <== NOT EXECUTED
    5cb8:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
  #endif                                                              
                                                                      
  /*                                                                  
   * The thread is not waiting on anything after this completes.      
   */                                                                 
  the_thread->Wait.queue = NULL;                                      
    5cbc:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
void _Thread_blocking_operation_Cancel(                               
  Thread_blocking_operation_States  sync_state,                       
  Thread_Control                   *the_thread,                       
  ISR_Level                         level                             
)                                                                     
{                                                                     
    5cc0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  #endif                                                              
                                                                      
  /*                                                                  
   * The thread is not waiting on anything after this completes.      
   */                                                                 
  the_thread->Wait.queue = NULL;                                      
    5cc4:	e5813044 	str	r3, [r1, #68]                                 <== NOT EXECUTED
void _Thread_blocking_operation_Cancel(                               
  Thread_blocking_operation_States  sync_state,                       
  Thread_Control                   *the_thread,                       
  ISR_Level                         level                             
)                                                                     
{                                                                     
    5cc8:	e1a04001 	mov	r4, r1                                        <== 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 ) ) {                  
    5ccc:	1a000005 	bne	5ce8 <_Thread_blocking_operation_Cancel+0x34> <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
    5cd0:	e2833003 	add	r3, r3, #3	; 0x3                              <== NOT EXECUTED
    5cd4:	e5813050 	str	r3, [r1, #80]                                 <== NOT EXECUTED
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
    5cd8:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
    (void) _Watchdog_Remove( &the_thread->Timer );                    
    5cdc:	e2810048 	add	r0, r1, #72	; 0x48                            <== NOT EXECUTED
    5ce0:	eb000605 	bl	74fc <_Watchdog_Remove>                        <== NOT EXECUTED
    5ce4:	ea000000 	b	5cec <_Thread_blocking_operation_Cancel+0x38>   <== NOT EXECUTED
  } else                                                              
    _ISR_Enable( level );                                             
    5ce8:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
    5cec:	e59f1008 	ldr	r1, [pc, #8]	; 5cfc <_Thread_blocking_operation_Cancel+0x48><== NOT EXECUTED
    5cf0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
    5cf4:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
    5cf8:	ea000068 	b	5ea0 <_Thread_Clear_state>                      <== NOT EXECUTED
                                                                      

00006834 <_Thread_queue_Enqueue_priority>: Thread_blocking_operation_States _Thread_queue_Enqueue_priority ( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, ISR_Level *level_p ) {
    6834:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
    6838:	e1a0c001 	mov	ip, r1                                        
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
    683c:	e5915014 	ldr	r5, [r1, #20]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    6840:	e281303c 	add	r3, r1, #60	; 0x3c                            
    6844:	e58c3038 	str	r3, [ip, #56]                                 
  the_chain->permanent_null = NULL;                                   
    6848:	e3a03000 	mov	r3, #0	; 0x0                                  
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
    684c:	e1a04000 	mov	r4, r0                                        
    6850:	e58c303c 	str	r3, [ip, #60]                                 
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Thread_queue_Header_number (         
  Priority_Control the_priority                                       
)                                                                     
{                                                                     
  return (the_priority / TASK_QUEUE_DATA_PRIORITIES_PER_HEADER);      
    6854:	e1a00325 	lsr	r0, r5, #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 ];  
    6858:	e283300c 	add	r3, r3, #12	; 0xc                             
    685c:	e0264093 	mla	r6, r3, r0, r4                                
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    6860:	e3150020 	tst	r5, #32	; 0x20                                
  the_chain->last           = _Chain_Head(the_chain);                 
    6864:	e2811038 	add	r1, r1, #56	; 0x38                            
    6868:	e58c1040 	str	r1, [ip, #64]                                 
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
    686c:	e1a09002 	mov	r9, r2                                        
  _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;                             
    6870:	e5948038 	ldr	r8, [r4, #56]                                 
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
    6874:	159fa19c 	ldrne	sl, [pc, #412]	; 6a18 <_Thread_queue_Enqueue_priority+0x1e4>
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
    6878:	12860008 	addne	r0, r6, #8	; 0x8                            
  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 ) )                  
    687c:	1a00002d 	bne	6938 <_Thread_queue_Enqueue_priority+0x104>   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
    6880:	e3a03003 	mov	r3, #3	; 0x3                                  
    6884:	e0030390 	mul	r3, r0, r3                                    
    6888:	e2833001 	add	r3, r3, #1	; 0x1                              
    688c:	e0840103 	add	r0, r4, r3, lsl #2                            
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
    6890:	e1a07006 	mov	r7, r6                                        
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
    6894:	e10f6000 	mrs	r6, CPSR                                      
    6898:	e38630c0 	orr	r3, r6, #192	; 0xc0                           
    689c:	e129f003 	msr	CPSR_fc, r3                                   
  search_thread = (Thread_Control *) header->first;                   
    68a0:	e3e02000 	mvn	r2, #0	; 0x0                                  
    68a4:	e5971000 	ldr	r1, [r7]                                      
    68a8:	ea000011 	b	68f4 <_Thread_queue_Enqueue_priority+0xc0>      
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
    search_priority = search_thread->current_priority;                
    68ac:	e5912014 	ldr	r2, [r1, #20]                                 
    if ( priority <= search_priority )                                
    68b0:	e1550002 	cmp	r5, r2                                        
    68b4:	9a000010 	bls	68fc <_Thread_queue_Enqueue_priority+0xc8>    
      break;                                                          
                                                                      
#if ( CPU_UNROLL_ENQUEUE_PRIORITY == TRUE )                           
    search_thread = (Thread_Control *) search_thread->Object.Node.next;
    68b8:	e5911000 	ldr	r1, [r1]                                      
    if ( _Chain_Is_tail( header, (Chain_Node *)search_thread ) )      
    68bc:	e1510000 	cmp	r1, r0                                        
    68c0:	0a00000d 	beq	68fc <_Thread_queue_Enqueue_priority+0xc8>    
      break;                                                          
    search_priority = search_thread->current_priority;                
    68c4:	e5912014 	ldr	r2, [r1, #20]                                 
    if ( priority <= search_priority )                                
    68c8:	e1550002 	cmp	r5, r2                                        
    68cc:	9a00000a 	bls	68fc <_Thread_queue_Enqueue_priority+0xc8>    
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    68d0:	e10f3000 	mrs	r3, CPSR                                      
    68d4:	e129f006 	msr	CPSR_fc, r6                                   
    68d8:	e129f003 	msr	CPSR_fc, r3                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
    68dc:	e5913010 	ldr	r3, [r1, #16]                                 
    68e0:	e1180003 	tst	r8, r3                                        
    68e4:	1a000001 	bne	68f0 <_Thread_queue_Enqueue_priority+0xbc>    
      _ISR_Enable( level );                                           
    68e8:	e129f006 	msr	CPSR_fc, r6                                   <== NOT EXECUTED
    68ec:	eaffffe8 	b	6894 <_Thread_queue_Enqueue_priority+0x60>      <== NOT EXECUTED
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
    68f0:	e5911000 	ldr	r1, [r1]                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
    68f4:	e1510000 	cmp	r1, r0                                        
    68f8:	1affffeb 	bne	68ac <_Thread_queue_Enqueue_priority+0x78>    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    68fc:	e5943030 	ldr	r3, [r4, #48]                                 
    6900:	e3530001 	cmp	r3, #1	; 0x1                                  
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
    6904:	e1a00006 	mov	r0, r6                                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    6908:	1a00003f 	bne	6a0c <_Thread_queue_Enqueue_priority+0x1d8>   
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
    690c:	e3a03000 	mov	r3, #0	; 0x0                                  
                                                                      
  if ( priority == search_priority )                                  
    6910:	e1550002 	cmp	r5, r2                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
    6914:	e5843030 	str	r3, [r4, #48]                                 
                                                                      
  if ( priority == search_priority )                                  
    6918:	0a000031 	beq	69e4 <_Thread_queue_Enqueue_priority+0x1b0>   
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
    691c:	e5913004 	ldr	r3, [r1, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
    6920:	e88c000a 	stm	ip, {r1, r3}                                  
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
    6924:	e58c4044 	str	r4, [ip, #68]                                 
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
    6928:	e583c000 	str	ip, [r3]                                      
  search_node->previous  = the_node;                                  
    692c:	e581c004 	str	ip, [r1, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
    6930:	e129f006 	msr	CPSR_fc, r6                                   
    6934:	ea000032 	b	6a04 <_Thread_queue_Enqueue_priority+0x1d0>     
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
    6938:	e5da3000 	ldrb	r3, [sl]                                     
    693c:	e2832001 	add	r2, r3, #1	; 0x1                              
                                                                      
  _ISR_Disable( level );                                              
    6940:	e10f7000 	mrs	r7, CPSR                                      
    6944:	e38730c0 	orr	r3, r7, #192	; 0xc0                           
    6948:	e129f003 	msr	CPSR_fc, r3                                   
  search_thread = (Thread_Control *) header->last;                    
    694c:	e5901000 	ldr	r1, [r0]                                      
    6950:	ea000011 	b	699c <_Thread_queue_Enqueue_priority+0x168>     
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
    search_priority = search_thread->current_priority;                
    6954:	e5912014 	ldr	r2, [r1, #20]                                 
    if ( priority >= search_priority )                                
    6958:	e1550002 	cmp	r5, r2                                        
    695c:	2a000010 	bcs	69a4 <_Thread_queue_Enqueue_priority+0x170>   
      break;                                                          
#if ( CPU_UNROLL_ENQUEUE_PRIORITY == TRUE )                           
    search_thread = (Thread_Control *) search_thread->Object.Node.previous;
    6960:	e5911004 	ldr	r1, [r1, #4]                                  
    if ( _Chain_Is_head( header, (Chain_Node *)search_thread ) )      
    6964:	e1510006 	cmp	r1, r6                                        
    6968:	0a00000d 	beq	69a4 <_Thread_queue_Enqueue_priority+0x170>   
      break;                                                          
    search_priority = search_thread->current_priority;                
    696c:	e5912014 	ldr	r2, [r1, #20]                                 
    if ( priority >= search_priority )                                
    6970:	e1550002 	cmp	r5, r2                                        
    6974:	2a00000a 	bcs	69a4 <_Thread_queue_Enqueue_priority+0x170>   
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    6978:	e10f3000 	mrs	r3, CPSR                                      
    697c:	e129f007 	msr	CPSR_fc, r7                                   
    6980:	e129f003 	msr	CPSR_fc, r3                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
    6984:	e5913010 	ldr	r3, [r1, #16]                                 
    6988:	e1180003 	tst	r8, r3                                        
    698c:	1a000001 	bne	6998 <_Thread_queue_Enqueue_priority+0x164>   
      _ISR_Enable( level );                                           
    6990:	e129f007 	msr	CPSR_fc, r7                                   <== NOT EXECUTED
    6994:	eaffffe7 	b	6938 <_Thread_queue_Enqueue_priority+0x104>     <== NOT EXECUTED
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
    6998:	e5911004 	ldr	r1, [r1, #4]                                  
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
    699c:	e1510006 	cmp	r1, r6                                        
    69a0:	1affffeb 	bne	6954 <_Thread_queue_Enqueue_priority+0x120>   
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    69a4:	e5943030 	ldr	r3, [r4, #48]                                 
    69a8:	e3530001 	cmp	r3, #1	; 0x1                                  
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
    69ac:	e1a00007 	mov	r0, r7                                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    69b0:	1a000015 	bne	6a0c <_Thread_queue_Enqueue_priority+0x1d8>   
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
    69b4:	e3a03000 	mov	r3, #0	; 0x0                                  
                                                                      
  if ( priority == search_priority )                                  
    69b8:	e1550002 	cmp	r5, r2                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
    69bc:	e5843030 	str	r3, [r4, #48]                                 
                                                                      
  if ( priority == search_priority )                                  
    69c0:	0a000007 	beq	69e4 <_Thread_queue_Enqueue_priority+0x1b0>   
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
    69c4:	e5913000 	ldr	r3, [r1]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
    69c8:	e58c1004 	str	r1, [ip, #4]                                  
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
    69cc:	e58c3000 	str	r3, [ip]                                      
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
    69d0:	e58c4044 	str	r4, [ip, #68]                                 
  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;                                 
    69d4:	e581c000 	str	ip, [r1]                                      
  next_node->previous    = the_node;                                  
    69d8:	e583c004 	str	ip, [r3, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
    69dc:	e129f007 	msr	CPSR_fc, r7                                   
    69e0:	ea000007 	b	6a04 <_Thread_queue_Enqueue_priority+0x1d0>     
    69e4:	e281303c 	add	r3, r1, #60	; 0x3c                            
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
    69e8:	e5932004 	ldr	r2, [r3, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
    69ec:	e58c3000 	str	r3, [ip]                                      
  the_node->previous     = previous_node;                             
    69f0:	e58c2004 	str	r2, [ip, #4]                                  
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
    69f4:	e58c4044 	str	r4, [ip, #68]                                 
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
    69f8:	e582c000 	str	ip, [r2]                                      
  search_node->previous  = the_node;                                  
    69fc:	e583c004 	str	ip, [r3, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
    6a00:	e129f000 	msr	CPSR_fc, r0                                   
    6a04:	e3a00001 	mov	r0, #1	; 0x1                                  
    6a08:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
   *  For example, the blocking thread could have been given          
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
    6a0c:	e5890000 	str	r0, [r9]                                      <== NOT EXECUTED
  return the_thread_queue->sync_state;                                
    6a10:	e5940030 	ldr	r0, [r4, #48]                                 <== NOT EXECUTED
}                                                                     
    6a14:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      

0000b2dc <_Thread_queue_Extract_fifo>: void _Thread_queue_Extract_fifo( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
    b2dc:	e92d4010 	push	{r4, lr}                                     
    b2e0:	e1a04001 	mov	r4, r1                                        
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
    b2e4:	e10f0000 	mrs	r0, CPSR                                      
    b2e8:	e38030c0 	orr	r3, r0, #192	; 0xc0                           
    b2ec:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
    b2f0:	e59f3064 	ldr	r3, [pc, #100]	; b35c <_Thread_queue_Extract_fifo+0x80>
    b2f4:	e5912010 	ldr	r2, [r1, #16]                                 
    b2f8:	e0023003 	and	r3, r2, r3                                    
    b2fc:	e3530000 	cmp	r3, #0	; 0x0                                  
    b300:	1a000001 	bne	b30c <_Thread_queue_Extract_fifo+0x30>        
    _ISR_Enable( level );                                             
    b304:	e129f000 	msr	CPSR_fc, r0                                   <== NOT EXECUTED
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
    b308:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    b30c:	e5913050 	ldr	r3, [r1, #80]                                 
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
    b310:	e5942004 	ldr	r2, [r4, #4]                                  
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
    b314:	e5911000 	ldr	r1, [r1]                                      
    b318:	e3530002 	cmp	r3, #2	; 0x2                                  
    return;                                                           
  }                                                                   
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
    b31c:	e3a03000 	mov	r3, #0	; 0x0                                  
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
    b320:	e5821000 	str	r1, [r2]                                      
    b324:	e5843044 	str	r3, [r4, #68]                                 
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
    b328:	e5812004 	str	r2, [r1, #4]                                  
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    b32c:	0a000001 	beq	b338 <_Thread_queue_Extract_fifo+0x5c>        
    _ISR_Enable( level );                                             
    b330:	e129f000 	msr	CPSR_fc, r0                                   
    b334:	ea000004 	b	b34c <_Thread_queue_Extract_fifo+0x70>          
    b338:	e3a03003 	mov	r3, #3	; 0x3                                  
    b33c:	e5843050 	str	r3, [r4, #80]                                 
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
    b340:	e129f000 	msr	CPSR_fc, r0                                   
    (void) _Watchdog_Remove( &the_thread->Timer );                    
    b344:	e2840048 	add	r0, r4, #72	; 0x48                            
    b348:	ebfff06b 	bl	74fc <_Watchdog_Remove>                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
    b34c:	e59f100c 	ldr	r1, [pc, #12]	; b360 <_Thread_queue_Extract_fifo+0x84>
    b350:	e1a00004 	mov	r0, r4                                        
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
    b354:	e8bd4010 	pop	{r4, lr}                                      
    b358:	eaffead0 	b	5ea0 <_Thread_Clear_state>                      
                                                                      

0000a364 <_Thread_queue_Extract_priority_helper>: void _Thread_queue_Extract_priority_helper( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, bool requeuing ) {
    a364:	e92d4070 	push	{r4, r5, r6, lr}                             
    a368:	e1a04001 	mov	r4, r1                                        
    a36c:	e20260ff 	and	r6, r2, #255	; 0xff                           
  Chain_Node     *new_first_node;                                     
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
                                                                      
  the_node = (Chain_Node *) the_thread;                               
  _ISR_Disable( level );                                              
    a370:	e10fc000 	mrs	ip, CPSR                                      
    a374:	e38c30c0 	orr	r3, ip, #192	; 0xc0                           
    a378:	e129f003 	msr	CPSR_fc, r3                                   
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
    a37c:	e59f30b4 	ldr	r3, [pc, #180]	; a438 <_Thread_queue_Extract_priority_helper+0xd4>
    a380:	e5912010 	ldr	r2, [r1, #16]                                 
    a384:	e0023003 	and	r3, r2, r3                                    
    a388:	e3530000 	cmp	r3, #0	; 0x0                                  
    a38c:	1a000001 	bne	a398 <_Thread_queue_Extract_priority_helper+0x34>
    _ISR_Enable( level );                                             
    a390:	e129f00c 	msr	CPSR_fc, ip                                   <== NOT EXECUTED
    a394:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
    a398:	e5911038 	ldr	r1, [r1, #56]                                 
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    a39c:	e284303c 	add	r3, r4, #60	; 0x3c                            
    a3a0:	e1510003 	cmp	r1, r3                                        
                                                                      
  /*                                                                  
   *  The thread was actually waiting on a thread queue so let's remove it.
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
    a3a4:	e894000c 	ldm	r4, {r2, r3}                                  
      new_first_thread->Wait.Block2n.last = last_node;                
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
    next_node->previous = previous_node;                              
    a3a8:	05823004 	streq	r3, [r2, #4]                                
                                                                      
      new_first_thread->Wait.Block2n.last = last_node;                
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
    a3ac:	05832000 	streq	r2, [r3]                                    
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    a3b0:	0a00000e 	beq	a3f0 <_Thread_queue_Extract_priority_helper+0x8c>
    new_first_node   = the_thread->Wait.Block2n.first;                
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = the_thread->Wait.Block2n.last;                 
    a3b4:	e5945040 	ldr	r5, [r4, #64]                                 
    new_second_node  = new_first_node->next;                          
    a3b8:	e5910000 	ldr	r0, [r1]                                      
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
    a3bc:	e5821004 	str	r1, [r2, #4]                                  
    new_first_node   = the_thread->Wait.Block2n.first;                
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = the_thread->Wait.Block2n.last;                 
    new_second_node  = new_first_node->next;                          
                                                                      
    previous_node->next      = new_first_node;                        
    a3c0:	e5831000 	str	r1, [r3]                                      
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
    a3c4:	e881000c 	stm	r1, {r2, r3}                                  
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
    a3c8:	e5942038 	ldr	r2, [r4, #56]                                 
    a3cc:	e5943040 	ldr	r3, [r4, #64]                                 
    a3d0:	e1520003 	cmp	r2, r3                                        
    a3d4:	0a000005 	beq	a3f0 <_Thread_queue_Extract_priority_helper+0x8c>
      new_second_node->previous =                                     
                _Chain_Head( &new_first_thread->Wait.Block2n );       
      new_first_thread->Wait.Block2n.first = new_second_node;         
                                                                      
      new_first_thread->Wait.Block2n.last = last_node;                
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
    a3d8:	e281203c 	add	r2, r1, #60	; 0x3c                            
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
                                        /* > two threads on 2-n */    
      new_second_node->previous =                                     
    a3dc:	e2813038 	add	r3, r1, #56	; 0x38                            
    a3e0:	e5803004 	str	r3, [r0, #4]                                  
                _Chain_Head( &new_first_thread->Wait.Block2n );       
      new_first_thread->Wait.Block2n.first = new_second_node;         
    a3e4:	e5810038 	str	r0, [r1, #56]                                 
                                                                      
      new_first_thread->Wait.Block2n.last = last_node;                
    a3e8:	e5815040 	str	r5, [r1, #64]                                 
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
    a3ec:	e5852000 	str	r2, [r5]                                      
                                                                      
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
    a3f0:	e3560000 	cmp	r6, #0	; 0x0                                  
    a3f4:	0a000001 	beq	a400 <_Thread_queue_Extract_priority_helper+0x9c>
    _ISR_Enable( level );                                             
    a3f8:	e129f00c 	msr	CPSR_fc, ip                                   
    a3fc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    return;                                                           
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    a400:	e5943050 	ldr	r3, [r4, #80]                                 
    a404:	e3530002 	cmp	r3, #2	; 0x2                                  
    a408:	0a000001 	beq	a414 <_Thread_queue_Extract_priority_helper+0xb0>
    _ISR_Enable( level );                                             
    a40c:	e129f00c 	msr	CPSR_fc, ip                                   
    a410:	ea000004 	b	a428 <_Thread_queue_Extract_priority_helper+0xc4>
    a414:	e3a03003 	mov	r3, #3	; 0x3                                  
    a418:	e5843050 	str	r3, [r4, #80]                                 
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
    a41c:	e129f00c 	msr	CPSR_fc, ip                                   
    (void) _Watchdog_Remove( &the_thread->Timer );                    
    a420:	e2840048 	add	r0, r4, #72	; 0x48                            
    a424:	ebfff434 	bl	74fc <_Watchdog_Remove>                        
    a428:	e59f100c 	ldr	r1, [pc, #12]	; a43c <_Thread_queue_Extract_priority_helper+0xd8>
    a42c:	e1a00004 	mov	r0, r4                                        
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
    a430:	e8bd4070 	pop	{r4, r5, r6, lr}                              
    a434:	eaffee99 	b	5ea0 <_Thread_Clear_state>                      
                                                                      

0000a440 <_Thread_queue_Process_timeout>: void _Thread_queue_Process_timeout( Thread_Control *the_thread ) { Thread_queue_Control *the_thread_queue = the_thread->Wait.queue;
    a440:	e5902044 	ldr	r2, [r0, #68]                                 
   *  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 &&
    a444:	e5921030 	ldr	r1, [r2, #48]                                 
    a448:	e3510000 	cmp	r1, #0	; 0x0                                  
    a44c:	0a000009 	beq	a478 <_Thread_queue_Process_timeout+0x38>     
    a450:	e59f3034 	ldr	r3, [pc, #52]	; a48c <_Thread_queue_Process_timeout+0x4c><== NOT EXECUTED
    a454:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    a458:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    a45c:	1a000005 	bne	a478 <_Thread_queue_Process_timeout+0x38>     <== NOT EXECUTED
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
    a460:	e3510003 	cmp	r1, #3	; 0x3                                  <== NOT EXECUTED
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
    a464:	1592303c 	ldrne	r3, [r2, #60]                               <== NOT EXECUTED
    a468:	15803034 	strne	r3, [r0, #52]                               <== NOT EXECUTED
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
    a46c:	13a03002 	movne	r3, #2	; 0x2                                <== NOT EXECUTED
    a470:	15823030 	strne	r3, [r2, #48]                               <== NOT EXECUTED
    a474:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
    a478:	e592303c 	ldr	r3, [r2, #60]                                 
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
    a47c:	e1a01000 	mov	r1, r0                                        
    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;
    a480:	e5803034 	str	r3, [r0, #52]                                 
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
    a484:	e5900044 	ldr	r0, [r0, #68]                                 
    a488:	eaffffaf 	b	a34c <_Thread_queue_Extract>                    
                                                                      

00008ddc <_Timespec_Divide_by_integer>: /* * For math simplicity just convert the timespec to nanoseconds * in a 64-bit integer. */ t = time->tv_sec;
    8ddc:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
  t *= TOD_NANOSECONDS_PER_SECOND;                                    
    8de0:	e59fc06c 	ldr	ip, [pc, #108]	; 8e54 <_Timespec_Divide_by_integer+0x78><== NOT EXECUTED
void _Timespec_Divide_by_integer(                                     
  const struct timespec *time,                                        
  uint32_t               iterations,                                  
  struct timespec       *result                                       
)                                                                     
{                                                                     
    8de4:	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;                                                  
    8de8:	e1a04fc3 	asr	r4, r3, #31                                   <== NOT EXECUTED
  t *= TOD_NANOSECONDS_PER_SECOND;                                    
    8dec:	e086539c 	umull	r5, r6, ip, r3                              <== NOT EXECUTED
    8df0:	e026649c 	mla	r6, ip, r4, r6                                <== NOT EXECUTED
  t += time->tv_nsec;                                                 
    8df4:	e5900004 	ldr	r0, [r0, #4]                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Divide to get nanoseconds per iteration                         
   */                                                                 
                                                                      
  t /= iterations;                                                    
    8df8:	e0957000 	adds	r7, r5, r0                                   <== NOT EXECUTED
    8dfc:	e0a68fc0 	adc	r8, r6, r0, asr #31                           <== NOT EXECUTED
    8e00:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
    8e04:	e3a04000 	mov	r4, #0	; 0x0                                  <== NOT EXECUTED
void _Timespec_Divide_by_integer(                                     
  const struct timespec *time,                                        
  uint32_t               iterations,                                  
  struct timespec       *result                                       
)                                                                     
{                                                                     
    8e08:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Divide to get nanoseconds per iteration                         
   */                                                                 
                                                                      
  t /= iterations;                                                    
    8e0c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    8e10:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
    8e14:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
    8e18:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
    8e1c:	eb0035d1 	bl	16568 <__udivdi3>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Put it back in the timespec result                              
   */                                                                 
                                                                      
  result->tv_sec  = t / TOD_NANOSECONDS_PER_SECOND;                   
    8e20:	e59f202c 	ldr	r2, [pc, #44]	; 8e54 <_Timespec_Divide_by_integer+0x78><== NOT EXECUTED
    8e24:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Divide to get nanoseconds per iteration                         
   */                                                                 
                                                                      
  t /= iterations;                                                    
    8e28:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    8e2c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Put it back in the timespec result                              
   */                                                                 
                                                                      
  result->tv_sec  = t / TOD_NANOSECONDS_PER_SECOND;                   
    8e30:	eb0035cc 	bl	16568 <__udivdi3>                              <== NOT EXECUTED
  result->tv_nsec = t % TOD_NANOSECONDS_PER_SECOND;                   
    8e34:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Put it back in the timespec result                              
   */                                                                 
                                                                      
  result->tv_sec  = t / TOD_NANOSECONDS_PER_SECOND;                   
    8e38:	e5860000 	str	r0, [r6]                                      <== NOT EXECUTED
  result->tv_nsec = t % TOD_NANOSECONDS_PER_SECOND;                   
    8e3c:	e59f2010 	ldr	r2, [pc, #16]	; 8e54 <_Timespec_Divide_by_integer+0x78><== NOT EXECUTED
    8e40:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    8e44:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    8e48:	eb00370e 	bl	16a88 <__umoddi3>                              <== NOT EXECUTED
    8e4c:	e5860004 	str	r0, [r6, #4]                                  <== NOT EXECUTED
}                                                                     
    8e50:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

00007108 <_User_extensions_Handler_initialization>: */ RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty( Chain_Control *the_chain ) { the_chain->first = _Chain_Tail(the_chain);
    7108:	e59f3080 	ldr	r3, [pc, #128]	; 7190 <_User_extensions_Handler_initialization+0x88>
                                                                      
void _User_extensions_Handler_initialization (                        
  uint32_t                number_of_extensions,                       
  User_extensions_Table  *initial_extensions                          
)                                                                     
{                                                                     
    710c:	e59f2080 	ldr	r2, [pc, #128]	; 7194 <_User_extensions_Handler_initialization+0x8c>
    7110:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
    7114:	e282c004 	add	ip, r2, #4	; 0x4                              
  the_chain->permanent_null = NULL;                                   
    7118:	e3a07000 	mov	r7, #0	; 0x0                                  
  uint32_t                 i;                                         
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    711c:	e2515000 	subs	r5, r1, #0	; 0x0                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    7120:	e2831004 	add	r1, r3, #4	; 0x4                              
    7124:	e5831000 	str	r1, [r3]                                      
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    7128:	e5833008 	str	r3, [r3, #8]                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    712c:	e582c000 	str	ip, [r2]                                      
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    7130:	e5822008 	str	r2, [r2, #8]                                  
                                                                      
void _User_extensions_Handler_initialization (                        
  uint32_t                number_of_extensions,                       
  User_extensions_Table  *initial_extensions                          
)                                                                     
{                                                                     
    7134:	e1a08000 	mov	r8, r0                                        
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
    7138:	e5837004 	str	r7, [r3, #4]                                  
    713c:	e5827004 	str	r7, [r2, #4]                                  
  uint32_t                 i;                                         
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    7140:	08bd81f0 	popeq	{r4, r5, r6, r7, r8, pc}                    
    extension = (User_extensions_Control *)                           
    7144:	e3a03034 	mov	r3, #52	; 0x34                                
    7148:	e0040093 	mul	r4, r3, r0                                    
    714c:	e1a00004 	mov	r0, r4                                        
    7150:	eb00013f 	bl	7654 <_Workspace_Allocate_or_fatal_error>      
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
    7154:	e1a02004 	mov	r2, r4                                        
    7158:	e1a01007 	mov	r1, r7                                        
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
    715c:	e1a06000 	mov	r6, r0                                        
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
    7160:	e1a04007 	mov	r4, r7                                        
    7164:	eb0012b4 	bl	bc3c <memset>                                  
    7168:	ea000000 	b	7170 <_User_extensions_Handler_initialization+0x68>
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
      _User_extensions_Add_set (extension, &initial_extensions[i]);   
    716c:	eb000d57 	bl	a6d0 <_User_extensions_Add_set>                
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
    7170:	e1540008 	cmp	r4, r8                                        
      _User_extensions_Add_set (extension, &initial_extensions[i]);   
    7174:	e1a00006 	mov	r0, r6                                        
    7178:	e1a01005 	mov	r1, r5                                        
      extension++;                                                    
    717c:	e2866034 	add	r6, r6, #52	; 0x34                            
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
    7180:	e2844001 	add	r4, r4, #1	; 0x1                              
    7184:	e2855020 	add	r5, r5, #32	; 0x20                            
    7188:	3afffff7 	bcc	716c <_User_extensions_Handler_initialization+0x64>
    718c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

00009460 <_User_extensions_Remove_set>: */ void _User_extensions_Remove_set ( User_extensions_Control *the_extension ) {
    9460:	e92d4010 	push	{r4, lr}                                     
    9464:	e1a04000 	mov	r4, r0                                        
  _Chain_Extract( &the_extension->Node );                             
    9468:	eb000afa 	bl	c058 <_Chain_Extract>                          
                                                                      
  /*                                                                  
   * If a switch handler is present, remove it.                       
   */                                                                 
                                                                      
  if ( the_extension->Callouts.thread_switch != NULL )                
    946c:	e5943024 	ldr	r3, [r4, #36]                                 
    9470:	e3530000 	cmp	r3, #0	; 0x0                                  
    9474:	08bd8010 	popeq	{r4, pc}                                    
    _Chain_Extract( &the_extension->Switch.Node );                    
    9478:	e2840008 	add	r0, r4, #8	; 0x8                              <== NOT EXECUTED
}                                                                     
    947c:	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 );                    
    9480:	ea000af4 	b	c058 <_Chain_Extract>                           <== NOT EXECUTED
                                                                      

00007198 <_User_extensions_Thread_begin>: */ void _User_extensions_Thread_begin ( Thread_Control *executing ) {
    7198:	e92d4070 	push	{r4, r5, r6, lr}                             
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
    719c:	e59f502c 	ldr	r5, [pc, #44]	; 71d0 <_User_extensions_Thread_begin+0x38>
 */                                                                   
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
    71a0:	e1a06000 	mov	r6, r0                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
    71a4:	e4954004 	ldr	r4, [r5], #4                                  
    71a8:	ea000004 	b	71c0 <_User_extensions_Thread_begin+0x28>       
        !_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_begin != NULL )               
    71ac:	e5943028 	ldr	r3, [r4, #40]                                 
    71b0:	e3530000 	cmp	r3, #0	; 0x0                                  
      (*the_extension->Callouts.thread_begin)( executing );           
    71b4:	11a0e00f 	movne	lr, pc                                      
    71b8:	112fff13 	bxne	r3                                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
    71bc:	e5944000 	ldr	r4, [r4]                                      
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
    71c0:	e1540005 	cmp	r4, r5                                        
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
    71c4:	e1a00006 	mov	r0, r6                                        
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
    71c8:	1afffff7 	bne	71ac <_User_extensions_Thread_begin+0x14>     
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
  }                                                                   
}                                                                     
    71cc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

000072bc <_User_extensions_Thread_delete>: ) { Chain_Node *the_node; User_extensions_Control *the_extension; for ( the_node = _User_extensions_List.last ;
    72bc:	e59f303c 	ldr	r3, [pc, #60]	; 7300 <_User_extensions_Thread_delete+0x44><== NOT EXECUTED
 */                                                                   
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
    72c0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
    72c4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
    72c8:	e1a07003 	mov	r7, r3                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
    72cc:	e5934008 	ldr	r4, [r3, #8]                                  <== NOT EXECUTED
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
      (*the_extension->Callouts.thread_delete)(                       
    72d0:	e59f602c 	ldr	r6, [pc, #44]	; 7304 <_User_extensions_Thread_delete+0x48><== NOT EXECUTED
    72d4:	ea000005 	b	72f0 <_User_extensions_Thread_delete+0x34>      <== NOT EXECUTED
        !_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_delete != NULL )              
    72d8:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    72dc:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
      (*the_extension->Callouts.thread_delete)(                       
    72e0:	15960000 	ldrne	r0, [r6]                                    <== NOT EXECUTED
    72e4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    72e8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
    72ec:	e5944004 	ldr	r4, [r4, #4]                                  <== NOT EXECUTED
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
    72f0:	e1540007 	cmp	r4, r7                                        <== NOT EXECUTED
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
      (*the_extension->Callouts.thread_delete)(                       
    72f4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
    72f8:	1afffff6 	bne	72d8 <_User_extensions_Thread_delete+0x1c>    <== NOT EXECUTED
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
    72fc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

000074a0 <_Watchdog_Handler_initialization>: * Output parameters: NONE */ void _Watchdog_Handler_initialization( void ) { _Watchdog_Sync_count = 0;
    74a0:	e59f3040 	ldr	r3, [pc, #64]	; 74e8 <_Watchdog_Handler_initialization+0x48>
    74a4:	e3a01000 	mov	r1, #0	; 0x0                                  
    74a8:	e5831000 	str	r1, [r3]                                      
  _Watchdog_Sync_level = 0;                                           
    74ac:	e59f3038 	ldr	r3, [pc, #56]	; 74ec <_Watchdog_Handler_initialization+0x4c>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    74b0:	e59f0038 	ldr	r0, [pc, #56]	; 74f0 <_Watchdog_Handler_initialization+0x50>
    74b4:	e59f2038 	ldr	r2, [pc, #56]	; 74f4 <_Watchdog_Handler_initialization+0x54>
    74b8:	e5831000 	str	r1, [r3]                                      
  _Watchdog_Ticks_since_boot = 0;                                     
    74bc:	e59f3034 	ldr	r3, [pc, #52]	; 74f8 <_Watchdog_Handler_initialization+0x58>
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _Watchdog_Handler_initialization( void )                         
{                                                                     
    74c0:	e92d4010 	push	{r4, lr}                                     
    74c4:	e280c004 	add	ip, r0, #4	; 0x4                              
    74c8:	e2824004 	add	r4, r2, #4	; 0x4                              
    74cc:	e580c000 	str	ip, [r0]                                      
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    74d0:	e5800008 	str	r0, [r0, #8]                                  
  _Watchdog_Sync_count = 0;                                           
  _Watchdog_Sync_level = 0;                                           
  _Watchdog_Ticks_since_boot = 0;                                     
    74d4:	e5831000 	str	r1, [r3]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    74d8:	e5824000 	str	r4, [r2]                                      
  the_chain->permanent_null = NULL;                                   
    74dc:	e9820006 	stmib	r2, {r1, r2}                                
    74e0:	e5801004 	str	r1, [r0, #4]                                  
                                                                      
  _Chain_Initialize_empty( &_Watchdog_Ticks_chain );                  
  _Chain_Initialize_empty( &_Watchdog_Seconds_chain );                
}                                                                     
    74e4:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

0000738c <_Watchdog_Insert>: Watchdog_Control *after; uint32_t insert_isr_nest_level; Watchdog_Interval delta_interval; insert_isr_nest_level = _ISR_Nest_level;
    738c:	e59f30fc 	ldr	r3, [pc, #252]	; 7490 <_Watchdog_Insert+0x104>
                                                                      
void _Watchdog_Insert(                                                
  Chain_Control         *header,                                      
  Watchdog_Control      *the_watchdog                                 
)                                                                     
{                                                                     
    7390:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
    7394:	e1a0c001 	mov	ip, r1                                        
    7398:	e1a07000 	mov	r7, r0                                        
  Watchdog_Control  *after;                                           
  uint32_t           insert_isr_nest_level;                           
  Watchdog_Interval  delta_interval;                                  
                                                                      
                                                                      
  insert_isr_nest_level   = _ISR_Nest_level;                          
    739c:	e5934000 	ldr	r4, [r3]                                      
                                                                      
  _ISR_Disable( level );                                              
    73a0:	e10f5000 	mrs	r5, CPSR                                      
    73a4:	e38530c0 	orr	r3, r5, #192	; 0xc0                           
    73a8:	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 ) {                   
    73ac:	e5913008 	ldr	r3, [r1, #8]                                  
    73b0:	e3530000 	cmp	r3, #0	; 0x0                                  
    73b4:	0a000001 	beq	73c0 <_Watchdog_Insert+0x34>                  
    _ISR_Enable( level );                                             
    73b8:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
    73bc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
    73c0:	e59f30cc 	ldr	r3, [pc, #204]	; 7494 <_Watchdog_Insert+0x108>
    73c4:	e5932000 	ldr	r2, [r3]                                      
    73c8:	e2822001 	add	r2, r2, #1	; 0x1                              
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
    73cc:	e59f60c4 	ldr	r6, [pc, #196]	; 7498 <_Watchdog_Insert+0x10c>
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
    73d0:	e5832000 	str	r2, [r3]                                      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
    73d4:	e3a03001 	mov	r3, #1	; 0x1                                  
    73d8:	e5813008 	str	r3, [r1, #8]                                  
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
    73dc:	e1a08006 	mov	r8, r6                                        
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
    73e0:	e59c000c 	ldr	r0, [ip, #12]                                 
   * cache *header!!                                                  
   *                                                                  
   *  Till Straumann, 7/2003 (gcc-3.2.2 -O4 on powerpc)               
   *                                                                  
   */                                                                 
  for ( after = (Watchdog_Control *) ((volatile Chain_Control *)header)->first ;
    73e4:	e5971000 	ldr	r1, [r7]                                      
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
    73e8:	e3500000 	cmp	r0, #0	; 0x0                                  
    73ec:	0a000014 	beq	7444 <_Watchdog_Insert+0xb8>                  
    73f0:	e5913000 	ldr	r3, [r1]                                      
    73f4:	e3530000 	cmp	r3, #0	; 0x0                                  
    73f8:	0a000011 	beq	7444 <_Watchdog_Insert+0xb8>                  
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
    73fc:	e5912010 	ldr	r2, [r1, #16]                                 
    7400:	e1500002 	cmp	r0, r2                                        
       after->delta_interval -= delta_interval;                       
    7404:	30603002 	rsbcc	r3, r0, r2                                  
    7408:	35813010 	strcc	r3, [r1, #16]                               
    740c:	3a00000c 	bcc	7444 <_Watchdog_Insert+0xb8>                  
      *  used around this flash point allowed interrupts to execute   
      *  which violated the design assumptions.  The critical section 
      *  mechanism used here WAS redesigned to address this.          
      */                                                              
                                                                      
     _ISR_Flash( level );                                             
    7410:	e10f3000 	mrs	r3, CPSR                                      
    7414:	e129f005 	msr	CPSR_fc, r5                                   
    7418:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
    741c:	e59c3008 	ldr	r3, [ip, #8]                                  
    7420:	e3530001 	cmp	r3, #1	; 0x1                                  
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
    7424:	e0620000 	rsb	r0, r2, r0                                    
      *  mechanism used here WAS redesigned to address this.          
      */                                                              
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
    7428:	1a000010 	bne	7470 <_Watchdog_Insert+0xe4>                  
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
    742c:	e5963000 	ldr	r3, [r6]                                      
    7430:	e1530004 	cmp	r3, r4                                        
       _Watchdog_Sync_level = insert_isr_nest_level;                  
    7434:	85884000 	strhi	r4, [r8]                                    
    7438:	8affffe8 	bhi	73e0 <_Watchdog_Insert+0x54>                  
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
    743c:	e5911000 	ldr	r1, [r1]                                      
    7440:	eaffffe8 	b	73e8 <_Watchdog_Insert+0x5c>                    
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
    7444:	e59f3050 	ldr	r3, [pc, #80]	; 749c <_Watchdog_Insert+0x110> 
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
    7448:	e5912004 	ldr	r2, [r1, #4]                                  
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
    744c:	e5933000 	ldr	r3, [r3]                                      
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
    7450:	e5921000 	ldr	r1, [r2]                                      
    7454:	e58c3014 	str	r3, [ip, #20]                                 
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
    7458:	e3a03002 	mov	r3, #2	; 0x2                                  
  after_node->next      = the_node;                                   
    745c:	e582c000 	str	ip, [r2]                                      
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
    7460:	e98c000c 	stmib	ip, {r2, r3}                                
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
    7464:	e58c0010 	str	r0, [ip, #16]                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
    7468:	e581c004 	str	ip, [r1, #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;                                
    746c:	e58c1000 	str	r1, [ip]                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
    7470:	e59f3020 	ldr	r3, [pc, #32]	; 7498 <_Watchdog_Insert+0x10c> 
  _Watchdog_Sync_count--;                                             
    7474:	e59f2018 	ldr	r2, [pc, #24]	; 7494 <_Watchdog_Insert+0x108> 
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
    7478:	e5834000 	str	r4, [r3]                                      
  _Watchdog_Sync_count--;                                             
    747c:	e5923000 	ldr	r3, [r2]                                      
    7480:	e2433001 	sub	r3, r3, #1	; 0x1                              
    7484:	e5823000 	str	r3, [r2]                                      
  _ISR_Enable( level );                                               
    7488:	e129f005 	msr	CPSR_fc, r5                                   
    748c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

0000767c <_Workspace_Handler_initialization>: */ void _Workspace_Handler_initialization( void *starting_address, size_t size ) {
    767c:	e92d4030 	push	{r4, r5, lr}                                 
  uint32_t    memory_available;                                       
                                                                      
  if ( !starting_address || !_Addresses_Is_aligned( starting_address ) )
    7680:	e2504000 	subs	r4, r0, #0	; 0x0                             
 */                                                                   
void _Workspace_Handler_initialization(                               
  void       *starting_address,                                       
  size_t      size                                                    
)                                                                     
{                                                                     
    7684:	e1a05001 	mov	r5, r1                                        
  uint32_t    memory_available;                                       
                                                                      
  if ( !starting_address || !_Addresses_Is_aligned( starting_address ) )
    7688:	0a000001 	beq	7694 <_Workspace_Handler_initialization+0x18> 
    768c:	e2141003 	ands	r1, r4, #3	; 0x3                             
    7690:	0a000003 	beq	76a4 <_Workspace_Handler_initialization+0x28> 
    _Internal_error_Occurred(                                         
    7694:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    7698:	e3a01001 	mov	r1, #1	; 0x1                                  <== NOT EXECUTED
    769c:	e3a02002 	mov	r2, #2	; 0x2                                  <== NOT EXECUTED
    76a0:	ea00000e 	b	76e0 <_Workspace_Handler_initialization+0x64>   <== NOT EXECUTED
      INTERNAL_ERROR_CORE,                                            
      TRUE,                                                           
      INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS                        
    );                                                                
                                                                      
  if ( _Configuration_Table->do_zero_of_workspace )                   
    76a4:	e59f3038 	ldr	r3, [pc, #56]	; 76e4 <_Workspace_Handler_initialization+0x68>
    76a8:	e5933000 	ldr	r3, [r3]                                      
    76ac:	e5d33028 	ldrb	r3, [r3, #40]                                
    76b0:	e3530000 	cmp	r3, #0	; 0x0                                  
   memset( starting_address, 0, size );                               
    76b4:	11a02005 	movne	r2, r5                                      
    76b8:	1b00115f 	blne	bc3c <memset>                                
                                                                      
  memory_available = _Heap_Initialize(                                
    76bc:	e1a01004 	mov	r1, r4                                        
    76c0:	e1a02005 	mov	r2, r5                                        
    76c4:	e59f001c 	ldr	r0, [pc, #28]	; 76e8 <_Workspace_Handler_initialization+0x6c>
    76c8:	e3a03004 	mov	r3, #4	; 0x4                                  
    76cc:	ebfff706 	bl	52ec <_Heap_Initialize>                        
    starting_address,                                                 
    size,                                                             
    CPU_HEAP_ALIGNMENT                                                
  );                                                                  
                                                                      
  if ( memory_available == 0 )                                        
    76d0:	e3500000 	cmp	r0, #0	; 0x0                                  
    76d4:	18bd8030 	popne	{r4, r5, pc}                                
    _Internal_error_Occurred(                                         
    76d8:	e3a01001 	mov	r1, #1	; 0x1                                  <== NOT EXECUTED
    76dc:	e3a02003 	mov	r2, #3	; 0x3                                  <== NOT EXECUTED
    76e0:	ebfff786 	bl	5500 <_Internal_error_Occurred>                <== NOT EXECUTED
                                                                      

00008588 <__assert>: void __assert( const char *file, int line, const char *failedexpr ) {
    8588:	e1a03002 	mov	r3, r2                                        <== NOT EXECUTED
  __assert_func (file, line, NULL, failedexpr);                       
    858c:	e3a02000 	mov	r2, #0	; 0x0                                  <== NOT EXECUTED
    8590:	eaffffe9 	b	853c <__assert_func>                            <== NOT EXECUTED
                                                                      

00013aa8 <_exit>: /* * If the toolset uses init/fini sections, then we need to * run the global destructors now. */ #if defined(__USE_INIT_FINI__) _fini();
   13aa8:	e1a04000 	mov	r4, r0                                        
   13aac:	eb000263 	bl	14440 <___DTOR_END__>                          
   *  We need to do the exit processing on the global reentrancy structure.
   *  This has already been done on the per task reentrancy structure 
   *  associated with this task.                                      
   */                                                                 
                                                                      
  libc_wrapup();                                                      
   13ab0:	ebffffe1 	bl	13a3c <libc_wrapup>                            
  rtems_shutdown_executive(status);                                   
   13ab4:	e1a00004 	mov	r0, r4                                        
   13ab8:	eb00003a 	bl	13ba8 <rtems_shutdown_executive>               
   13abc:	eafffffe 	b	13abc <_exit+0x14>                              <== NOT EXECUTED
                                                                      

000023a0 <_fcntl_r>: int fd, int cmd, int arg ) { return fcntl( fd, cmd, arg );
    23a0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    23a4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
    23a8:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
    23ac:	eaffff88 	b	21d4 <fcntl>                                    <== NOT EXECUTED
                                                                      

00016e6c <_getpid_r>: pid_t _getpid_r( struct _reent *ptr ) { return getpid(); }
   16e6c:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
   16e70:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

00008994 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) { return gettimeofday( tp, tzp );
    8994:	eaffffe6 	b	8934 <gettimeofday>                             <== NOT EXECUTED
                                                                      

00002a78 <_link_r>: struct _reent *ptr, const char *existing, const char *new ) { return link( existing, new );
    2a78:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    2a7c:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
    2a80:	eaffff73 	b	2854 <link>                                     <== NOT EXECUTED
                                                                      

00013b8c <_realloc_r>: struct _reent *ignored, void *ptr, size_t size ) { return realloc( ptr, size );
   13b8c:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
   13b90:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
   13b94:	ea000011 	b	13be0 <realloc>                                 <== NOT EXECUTED
                                                                      

00003888 <_stat_r>: struct _reent *ptr, const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
    3888:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    388c:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
    3890:	eaffffc8 	b	37b8 <stat>                                     <== NOT EXECUTED
                                                                      

00006888 <_unlink_r>: int _unlink_r( struct _reent *ptr, const char *path ) { return unlink( path );
    6888:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    688c:	eaffffaf 	b	6750 <unlink>                                   <== NOT EXECUTED
                                                                      

00003f7c <alphasort>: int alphasort( const void *d1, const void *d2 ) { return(strcmp((*(struct dirent **)d1)->d_name,
    3f7c:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
    3f80:	e5911000 	ldr	r1, [r1]                                      <== NOT EXECUTED
    3f84:	e280000c 	add	r0, r0, #12	; 0xc                             <== NOT EXECUTED
    3f88:	e281100c 	add	r1, r1, #12	; 0xc                             <== NOT EXECUTED
    3f8c:	ea002f5c 	b	fd04 <strcmp>                                   <== NOT EXECUTED
                                                                      

00009664 <chdir>: #include <rtems/seterr.h> int chdir( const char *pathname ) {
    9664:	e92d4010 	push	{r4, lr}                                     
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path(                            
    9668:	e3a01001 	mov	r1, #1	; 0x1                                  
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
    966c:	e24dd010 	sub	sp, sp, #16	; 0x10                            
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path(                            
    9670:	e1a0200d 	mov	r2, sp                                        
    9674:	e1a03001 	mov	r3, r1                                        
    9678:	ebffe085 	bl	1894 <rtems_filesystem_evaluate_path>          
    pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, true );                 
  if ( result != 0 )                                                  
    967c:	e3500000 	cmp	r0, #0	; 0x0                                  
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path(                            
    9680:	e1a0400d 	mov	r4, sp                                        
    pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, true );                 
  if ( result != 0 )                                                  
    9684:	1a00000b 	bne	96b8 <chdir+0x54>                             
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    9688:	e59d2008 	ldr	r2, [sp, #8]                                  
    968c:	e5923010 	ldr	r3, [r2, #16]                                 
    9690:	e3530000 	cmp	r3, #0	; 0x0                                  
    9694:	1a000009 	bne	96c0 <chdir+0x5c>                             
    rtems_filesystem_freenode( &loc );                                
    9698:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
    969c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    96a0:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    96a4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    96a8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    96ac:	eb000cfe 	bl	caac <__errno>                                 <== NOT EXECUTED
    96b0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    96b4:	e5803000 	str	r3, [r0]                                      
    96b8:	e3e00000 	mvn	r0, #0	; 0x0                                  
    96bc:	ea00001f 	b	9740 <chdir+0xdc>                               
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    96c0:	e1a0000d 	mov	r0, sp                                        
    96c4:	e1a0e00f 	mov	lr, pc                                        
    96c8:	e12fff13 	bx	r3                                             
    96cc:	e3500001 	cmp	r0, #1	; 0x1                                  
    96d0:	0a00000a 	beq	9700 <chdir+0x9c>                             
    rtems_filesystem_freenode( &loc );                                
    96d4:	e59d3008 	ldr	r3, [sp, #8]                                  
    96d8:	e3530000 	cmp	r3, #0	; 0x0                                  
    96dc:	0a000004 	beq	96f4 <chdir+0x90>                             
    96e0:	e593301c 	ldr	r3, [r3, #28]                                 
    96e4:	e3530000 	cmp	r3, #0	; 0x0                                  
    96e8:	11a0000d 	movne	r0, sp                                      
    96ec:	11a0e00f 	movne	lr, pc                                      
    96f0:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    96f4:	eb000cec 	bl	caac <__errno>                                 
    96f8:	e3a03014 	mov	r3, #20	; 0x14                                
    96fc:	eaffffec 	b	96b4 <chdir+0x50>                               
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
    9700:	e59f3040 	ldr	r3, [pc, #64]	; 9748 <chdir+0xe4>             
    9704:	e5930000 	ldr	r0, [r3]                                      
    9708:	e590200c 	ldr	r2, [r0, #12]                                 
    970c:	e3520000 	cmp	r2, #0	; 0x0                                  
    9710:	0a000004 	beq	9728 <chdir+0xc4>                             
    9714:	e592201c 	ldr	r2, [r2, #28]                                 
    9718:	e3520000 	cmp	r2, #0	; 0x0                                  
    971c:	12800004 	addne	r0, r0, #4	; 0x4                            
    9720:	11a0e00f 	movne	lr, pc                                      
    9724:	112fff12 	bxne	r2                                           
                                                                      
  rtems_filesystem_current = loc;                                     
    9728:	e59f3018 	ldr	r3, [pc, #24]	; 9748 <chdir+0xe4>             
    972c:	e593c000 	ldr	ip, [r3]                                      
    9730:	e89d000f 	ldm	sp, {r0, r1, r2, r3}                          
    9734:	e28cc004 	add	ip, ip, #4	; 0x4                              
    9738:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
    973c:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  return 0;                                                           
}                                                                     
    9740:	e28dd010 	add	sp, sp, #16	; 0x10                            
    9744:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00003144 <chmod>: int chmod( const char *path, mode_t mode ) {
    3144:	e92d4030 	push	{r4, r5, lr}                                 
    3148:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    314c:	e1a04001 	mov	r4, r1                                        
  int                              status;                            
  rtems_filesystem_location_info_t loc;                               
  int                              result;                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, 0, &loc, true );     
    3150:	e1a0200d 	mov	r2, sp                                        
    3154:	e3a01000 	mov	r1, #0	; 0x0                                  
    3158:	e3a03001 	mov	r3, #1	; 0x1                                  
    315c:	eb000083 	bl	3370 <rtems_filesystem_evaluate_path>          
  if ( status != 0 )                                                  
    3160:	e3500000 	cmp	r0, #0	; 0x0                                  
{                                                                     
  int                              status;                            
  rtems_filesystem_location_info_t loc;                               
  int                              result;                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, 0, &loc, true );     
    3164:	e1a0500d 	mov	r5, sp                                        
  if ( status != 0 )                                                  
    3168:	1a00000d 	bne	31a4 <chmod+0x60>                             
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
    316c:	e59d3004 	ldr	r3, [sp, #4]                                  
    3170:	e3530000 	cmp	r3, #0	; 0x0                                  
    3174:	1a00000c 	bne	31ac <chmod+0x68>                             
    rtems_filesystem_freenode( &loc );                                
    3178:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
    317c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    3180:	0a000004 	beq	3198 <chmod+0x54>                             <== NOT EXECUTED
    3184:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    3188:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    318c:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    3190:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    3194:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
    3198:	eb002f7a 	bl	ef88 <__errno>                                 <== NOT EXECUTED
    319c:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
    31a0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    31a4:	e3e04000 	mvn	r4, #0	; 0x0                                  
    31a8:	ea00001a 	b	3218 <chmod+0xd4>                               
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
    31ac:	e593301c 	ldr	r3, [r3, #28]                                 
    31b0:	e3530000 	cmp	r3, #0	; 0x0                                  
    31b4:	1a00000a 	bne	31e4 <chmod+0xa0>                             
    rtems_filesystem_freenode( &loc );                                
    31b8:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
    31bc:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    31c0:	0a000004 	beq	31d8 <chmod+0x94>                             <== NOT EXECUTED
    31c4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    31c8:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    31cc:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    31d0:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    31d4:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    31d8:	eb002f6a 	bl	ef88 <__errno>                                 <== NOT EXECUTED
    31dc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    31e0:	eaffffee 	b	31a0 <chmod+0x5c>                               <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
    31e4:	e1a01004 	mov	r1, r4                                        
    31e8:	e1a0000d 	mov	r0, sp                                        
    31ec:	e1a0e00f 	mov	lr, pc                                        
    31f0:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    31f4:	e59d3008 	ldr	r3, [sp, #8]                                  
    31f8:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
    31fc:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    3200:	0a000004 	beq	3218 <chmod+0xd4>                             
    3204:	e593301c 	ldr	r3, [r3, #28]                                 
    3208:	e3530000 	cmp	r3, #0	; 0x0                                  
    320c:	11a0000d 	movne	r0, sp                                      
    3210:	11a0e00f 	movne	lr, pc                                      
    3214:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    3218:	e1a00004 	mov	r0, r4                                        
    321c:	e28dd010 	add	sp, sp, #16	; 0x10                            
    3220:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00003224 <chown>: int chown( const char *path, uid_t owner, gid_t group ) {
    3224:	e92d4070 	push	{r4, r5, r6, lr}                             
    3228:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    322c:	e1a0c801 	lsl	ip, r1, #16                                   
    3230:	e1a0e802 	lsl	lr, r2, #16                                   
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, 0x00, &loc, true ) )     
    3234:	e3a01000 	mov	r1, #0	; 0x0                                  
    3238:	e1a0200d 	mov	r2, sp                                        
    323c:	e3a03001 	mov	r3, #1	; 0x1                                  
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
    3240:	e1a0482c 	lsr	r4, ip, #16                                   
    3244:	e1a0582e 	lsr	r5, lr, #16                                   
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, 0x00, &loc, true ) )     
    3248:	eb000048 	bl	3370 <rtems_filesystem_evaluate_path>          
    324c:	e3500000 	cmp	r0, #0	; 0x0                                  
    3250:	e1a0600d 	mov	r6, sp                                        
    3254:	1a00000b 	bne	3288 <chown+0x64>                             
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
    3258:	e59d3008 	ldr	r3, [sp, #8]                                  
    325c:	e593c018 	ldr	ip, [r3, #24]                                 
    3260:	e35c0000 	cmp	ip, #0	; 0x0                                  
    3264:	1a000009 	bne	3290 <chown+0x6c>                             
    rtems_filesystem_freenode( &loc );                                
    3268:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    326c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    3270:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    3274:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    3278:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    327c:	eb002f41 	bl	ef88 <__errno>                                 <== NOT EXECUTED
    3280:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    3284:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    3288:	e3e04000 	mvn	r4, #0	; 0x0                                  
    328c:	ea00000d 	b	32c8 <chown+0xa4>                               
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
    3290:	e1a01004 	mov	r1, r4                                        
    3294:	e1a02005 	mov	r2, r5                                        
    3298:	e1a0000d 	mov	r0, sp                                        
    329c:	e1a0e00f 	mov	lr, pc                                        
    32a0:	e12fff1c 	bx	ip                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    32a4:	e59d3008 	ldr	r3, [sp, #8]                                  
    32a8:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !loc.ops->chown_h ) {                                          
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
    32ac:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    32b0:	0a000004 	beq	32c8 <chown+0xa4>                             
    32b4:	e593301c 	ldr	r3, [r3, #28]                                 
    32b8:	e3530000 	cmp	r3, #0	; 0x0                                  
    32bc:	11a0000d 	movne	r0, sp                                      
    32c0:	11a0e00f 	movne	lr, pc                                      
    32c4:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    32c8:	e1a00004 	mov	r0, r4                                        
    32cc:	e28dd010 	add	sp, sp, #16	; 0x10                            
    32d0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00001674 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
    1674:	e92d4070 	push	{r4, r5, r6, lr}                             
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
    1678:	e59f60c4 	ldr	r6, [pc, #196]	; 1744 <chroot+0xd0>           
    167c:	e59f30c4 	ldr	r3, [pc, #196]	; 1748 <chroot+0xd4>           
    1680:	e5964000 	ldr	r4, [r6]                                      
    1684:	e1540003 	cmp	r4, r3                                        
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
    1688:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    168c:	e1a05000 	mov	r5, r0                                        
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
    1690:	1a000007 	bne	16b4 <chroot+0x40>                            
   rtems_libio_set_private_env(); /* try to set a new private env*/   
    1694:	eb00051d 	bl	2b10 <rtems_libio_set_private_env>             
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    1698:	e5963000 	ldr	r3, [r6]                                      
    169c:	e1530004 	cmp	r3, r4                                        
    16a0:	1a000003 	bne	16b4 <chroot+0x40>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    16a4:	eb002d00 	bl	caac <__errno>                                 <== NOT EXECUTED
    16a8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    16ac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    16b0:	ea000008 	b	16d8 <chroot+0x64>                              <== NOT EXECUTED
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
    16b4:	e1a00005 	mov	r0, r5                                        
    16b8:	eb001fe9 	bl	9664 <chdir>                                   
  if (result) {                                                       
    16bc:	e3500000 	cmp	r0, #0	; 0x0                                  
    16c0:	0a000006 	beq	16e0 <chroot+0x6c>                            
    rtems_set_errno_and_return_minus_one( errno );                    
    16c4:	eb002cf8 	bl	caac <__errno>                                 <== NOT EXECUTED
    16c8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    16cc:	eb002cf6 	bl	caac <__errno>                                 <== NOT EXECUTED
    16d0:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
    16d4:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    16d8:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    16dc:	ea000016 	b	173c <chroot+0xc8>                              <== NOT EXECUTED
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 0, &loc, 0)) {              
    16e0:	e1a01000 	mov	r1, r0                                        
    16e4:	e1a0200d 	mov	r2, sp                                        
    16e8:	e59f005c 	ldr	r0, [pc, #92]	; 174c <chroot+0xd8>            
    16ec:	e1a03001 	mov	r3, r1                                        
    16f0:	eb000067 	bl	1894 <rtems_filesystem_evaluate_path>          
    16f4:	e3500000 	cmp	r0, #0	; 0x0                                  
    16f8:	1afffff1 	bne	16c4 <chroot+0x50>                            
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
    16fc:	e59f3040 	ldr	r3, [pc, #64]	; 1744 <chroot+0xd0>            
    1700:	e5930000 	ldr	r0, [r3]                                      
    1704:	e590201c 	ldr	r2, [r0, #28]                                 
    1708:	e3520000 	cmp	r2, #0	; 0x0                                  
    170c:	0a000004 	beq	1724 <chroot+0xb0>                            
    1710:	e592201c 	ldr	r2, [r2, #28]                                 
    1714:	e3520000 	cmp	r2, #0	; 0x0                                  
    1718:	12800014 	addne	r0, r0, #20	; 0x14                          
    171c:	11a0e00f 	movne	lr, pc                                      
    1720:	112fff12 	bxne	r2                                           
  rtems_filesystem_root = loc;                                        
    1724:	e59f3018 	ldr	r3, [pc, #24]	; 1744 <chroot+0xd0>            
    1728:	e593c000 	ldr	ip, [r3]                                      
    172c:	e89d000f 	ldm	sp, {r0, r1, r2, r3}                          
    1730:	e28cc014 	add	ip, ip, #20	; 0x14                            
    1734:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
    1738:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  return 0;                                                           
}                                                                     
    173c:	e28dd010 	add	sp, sp, #16	; 0x10                            
    1740:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00002110 <closedir>: * close a directory. */ int closedir( DIR *dirp ) {
    2110:	e92d4030 	push	{r4, r5, lr}                                 
	int fd;                                                              
                                                                      
        if ( !dirp )                                                  
    2114:	e2505000 	subs	r5, r0, #0	; 0x0                             
    2118:	1a000004 	bne	2130 <closedir+0x20>                          
          rtems_set_errno_and_return_minus_one( EBADF );              
    211c:	eb002d65 	bl	d6b8 <__errno>                                 <== NOT EXECUTED
    2120:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
    2124:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
	dirp->dd_fd = -1;                                                    
	dirp->dd_loc = 0;                                                    
	(void)free((void *)dirp->dd_buf);                                    
	(void)free((void *)dirp);                                            
	return(close(fd));                                                   
}                                                                     
    2128:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    212c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
        if ( !dirp )                                                  
          rtems_set_errno_and_return_minus_one( EBADF );              
                                                                      
	fd = dirp->dd_fd;                                                    
	dirp->dd_fd = -1;                                                    
	dirp->dd_loc = 0;                                                    
    2130:	e3a03000 	mov	r3, #0	; 0x0                                  
    2134:	e5853004 	str	r3, [r5, #4]                                  
                                                                      
        if ( !dirp )                                                  
          rtems_set_errno_and_return_minus_one( EBADF );              
                                                                      
	fd = dirp->dd_fd;                                                    
	dirp->dd_fd = -1;                                                    
    2138:	e3e03000 	mvn	r3, #0	; 0x0                                  
	int fd;                                                              
                                                                      
        if ( !dirp )                                                  
          rtems_set_errno_and_return_minus_one( EBADF );              
                                                                      
	fd = dirp->dd_fd;                                                    
    213c:	e5954000 	ldr	r4, [r5]                                      
	dirp->dd_fd = -1;                                                    
	dirp->dd_loc = 0;                                                    
	(void)free((void *)dirp->dd_buf);                                    
    2140:	e595000c 	ldr	r0, [r5, #12]                                 
                                                                      
        if ( !dirp )                                                  
          rtems_set_errno_and_return_minus_one( EBADF );              
                                                                      
	fd = dirp->dd_fd;                                                    
	dirp->dd_fd = -1;                                                    
    2144:	e5853000 	str	r3, [r5]                                      
	dirp->dd_loc = 0;                                                    
	(void)free((void *)dirp->dd_buf);                                    
    2148:	eb0000a6 	bl	23e8 <free>                                    
	(void)free((void *)dirp);                                            
    214c:	e1a00005 	mov	r0, r5                                        
    2150:	eb0000a4 	bl	23e8 <free>                                    
	return(close(fd));                                                   
    2154:	e1a00004 	mov	r0, r4                                        
}                                                                     
    2158:	e8bd4030 	pop	{r4, r5, lr}                                  
	fd = dirp->dd_fd;                                                    
	dirp->dd_fd = -1;                                                    
	dirp->dd_loc = 0;                                                    
	(void)free((void *)dirp->dd_buf);                                    
	(void)free((void *)dirp);                                            
	return(close(fd));                                                   
    215c:	eaffffff 	b	2160 <close>                                    
                                                                      

0000a764 <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
    a764:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
    a768:	e24dd010 	sub	sp, sp, #16	; 0x10                            <== NOT EXECUTED
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
    a76c:	e88d0007 	stm	sp, {r0, r1, r2}                              <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
    a770:	e590302c 	ldr	r3, [r0, #44]                                 <== NOT EXECUTED
                                                                      
  status = rtems_io_control(                                          
    a774:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    a778:	e2830050 	add	r0, r3, #80	; 0x50                            <== NOT EXECUTED
    a77c:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    a780:	eb00023f 	bl	b084 <rtems_io_control>                        <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    a784:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
    a788:	059d000c 	ldreq	r0, [sp, #12]                               <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
    a78c:	1bffffe9 	blne	a738 <rtems_deviceio_errno>                  <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
    a790:	e28dd010 	add	sp, sp, #16	; 0x10                            <== NOT EXECUTED
    a794:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

0000a7ec <device_read>: ssize_t device_read( rtems_libio_t *iop, void *buffer, size_t count ) {
    a7ec:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
    a7f0:	e5903008 	ldr	r3, [r0, #8]                                  <== NOT EXECUTED
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
    a7f4:	e24dd018 	sub	sp, sp, #24	; 0x18                            <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
    a7f8:	e590c00c 	ldr	ip, [r0, #12]                                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
    a7fc:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
    a800:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
    a804:	e58d200c 	str	r2, [sp, #12]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
    a808:	e58d3014 	str	r3, [sp, #20]                                 <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
    a80c:	e58d1008 	str	r1, [sp, #8]                                  <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
    a810:	e58dc010 	str	ip, [sp, #16]                                 <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
    a814:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
    a818:	e590302c 	ldr	r3, [r0, #44]                                 <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
    a81c:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    a820:	e2830050 	add	r0, r3, #80	; 0x50                            <== NOT EXECUTED
    a824:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    a828:	eb00023d 	bl	b124 <rtems_io_read>                           <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    a82c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
    a830:	059d0014 	ldreq	r0, [sp, #20]                               <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
    a834:	1bffffbf 	blne	a738 <rtems_deviceio_errno>                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
    a838:	e28dd018 	add	sp, sp, #24	; 0x18                            <== NOT EXECUTED
    a83c:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

00002c38 <drainOutput>: drainOutput (struct rtems_termios_tty *tty) { rtems_interrupt_level level; rtems_status_code sc; if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {
    2c38:	e59030b4 	ldr	r3, [r0, #180]                                
    2c3c:	e3530000 	cmp	r3, #0	; 0x0                                  
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
    2c40:	e92d4030 	push	{r4, r5, lr}                                 
    2c44:	e1a04000 	mov	r4, r0                                        
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
    2c48:	08bd8030 	popeq	{r4, r5, pc}                                
		rtems_interrupt_disable (level);                                    
    2c4c:	e10f1000 	mrs	r1, CPSR                                      <== NOT EXECUTED
    2c50:	e38130c0 	orr	r3, r1, #192	; 0xc0                           <== NOT EXECUTED
    2c54:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
			tty->rawOutBufState = rob_wait;                                    
    2c58:	e3a05002 	mov	r5, #2	; 0x2                                  <== NOT EXECUTED
    2c5c:	ea00000a 	b	2c8c <drainOutput+0x54>                         <== NOT EXECUTED
    2c60:	e5845094 	str	r5, [r4, #148]                                <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
    2c64:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
    2c68:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    2c6c:	e594008c 	ldr	r0, [r4, #140]                                <== NOT EXECUTED
    2c70:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    2c74:	eb0005b1 	bl	4340 <rtems_semaphore_obtain>                  <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
    2c78:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
    2c7c:	1b000769 	blne	4a28 <rtems_fatal_error_occurred>            <== NOT EXECUTED
			rtems_interrupt_disable (level);                                   
    2c80:	e10f1000 	mrs	r1, CPSR                                      <== NOT EXECUTED
    2c84:	e38130c0 	orr	r3, r1, #192	; 0xc0                           <== NOT EXECUTED
    2c88:	e129f003 	msr	CPSR_fc, r3                                   <== 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) {                
    2c8c:	e5942084 	ldr	r2, [r4, #132]                                <== NOT EXECUTED
    2c90:	e5943080 	ldr	r3, [r4, #128]                                <== NOT EXECUTED
    2c94:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2c98:	1afffff0 	bne	2c60 <drainOutput+0x28>                       <== NOT EXECUTED
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
    2c9c:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    2ca0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

00001f90 <dup2>: int dup2( int fildes, int fildes2 ) {
    1f90:	e92d4070 	push	{r4, r5, r6, lr}                             
    1f94:	e24dd04c 	sub	sp, sp, #76	; 0x4c                            
    1f98:	e1a04001 	mov	r4, r1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
    1f9c:	e1a0100d 	mov	r1, sp                                        
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
    1fa0:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
    1fa4:	eb000189 	bl	25d0 <fstat>                                   
  if ( status == -1 )                                                 
    1fa8:	e3700001 	cmn	r0, #1	; 0x1                                  
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
    1fac:	e1a0600d 	mov	r6, sp                                        
  if ( status == -1 )                                                 
    1fb0:	0a000009 	beq	1fdc <dup2+0x4c>                              
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
    1fb4:	e1a0100d 	mov	r1, sp                                        
    1fb8:	e1a00004 	mov	r0, r4                                        
    1fbc:	eb000183 	bl	25d0 <fstat>                                   
  if ( status == -1 )                                                 
    1fc0:	e3700001 	cmn	r0, #1	; 0x1                                  
    1fc4:	0a000004 	beq	1fdc <dup2+0x4c>                              
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
    1fc8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    1fcc:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    1fd0:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    1fd4:	eb00007e 	bl	21d4 <fcntl>                                   <== NOT EXECUTED
    1fd8:	ea000000 	b	1fe0 <dup2+0x50>                                <== NOT EXECUTED
    1fdc:	e3e00000 	mvn	r0, #0	; 0x0                                  
}                                                                     
    1fe0:	e28dd04c 	add	sp, sp, #76	; 0x4c                            
    1fe4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000273c <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
    273c:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
    2740:	e591303c 	ldr	r3, [r1, #60]                                 <== NOT EXECUTED
    2744:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
    2748:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    274c:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
    2750:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
    2754:	0a000014 	beq	27ac <echo+0x70>                              <== NOT EXECUTED
    2758:	e59f305c 	ldr	r3, [pc, #92]	; 27bc <echo+0x80>              <== NOT EXECUTED
    275c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    2760:	e7d32000 	ldrb	r2, [r3, r0]                                 <== NOT EXECUTED
    2764:	e2503009 	subs	r3, r0, #9	; 0x9                             <== NOT EXECUTED
    2768:	13a03001 	movne	r3, #1	; 0x1                                <== NOT EXECUTED
    276c:	e01332a2 	ands	r3, r3, r2, lsr #5                           <== NOT EXECUTED
    2770:	0a00000d 	beq	27ac <echo+0x70>                              <== NOT EXECUTED
    2774:	e350000a 	cmp	r0, #10	; 0xa                                 <== NOT EXECUTED
    2778:	0a00000b 	beq	27ac <echo+0x70>                              <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
    277c:	e220c040 	eor	ip, r0, #64	; 0x40                            <== NOT EXECUTED
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
    2780:	e3a0305e 	mov	r3, #94	; 0x5e                                <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
    2784:	e28d0002 	add	r0, sp, #2	; 0x2                              <== NOT EXECUTED
    2788:	e3a01002 	mov	r1, #2	; 0x2                                  <== NOT EXECUTED
    278c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
    2790:	e5cd3002 	strb	r3, [sp, #2]                                 <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
    2794:	e5cdc003 	strb	ip, [sp, #3]                                 <== NOT EXECUTED
		rtems_termios_puts (echobuf, 2, tty);                               
    2798:	ebffff4e 	bl	24d8 <rtems_termios_puts>                      <== NOT EXECUTED
		tty->column += 2;                                                   
    279c:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
    27a0:	e2833002 	add	r3, r3, #2	; 0x2                              <== NOT EXECUTED
    27a4:	e5843028 	str	r3, [r4, #40]                                 <== NOT EXECUTED
    27a8:	ea000001 	b	27b4 <echo+0x78>                                <== NOT EXECUTED
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
    27ac:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    27b0:	ebffff8c 	bl	25e8 <oproc>                                   <== NOT EXECUTED
	}                                                                    
}                                                                     
    27b4:	e28dd004 	add	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    27b8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

000027c0 <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)
    27c0:	e5903020 	ldr	r3, [r0, #32]                                 <== NOT EXECUTED
    27c4:	e3530000 	cmp	r3, #0	; 0x0                                  <== 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)                   
{                                                                     
    27c8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
    27cc:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    27d0:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
	if (tty->ccount == 0)                                                
    27d4:	08bd80f0 	popeq	{r4, r5, r6, r7, pc}                        <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
    27d8:	e3510000 	cmp	r1, #0	; 0x0                                  <== NOT EXECUTED
    27dc:	0a000060 	beq	2964 <erase+0x1a4>                            <== NOT EXECUTED
		if (!(tty->termios.c_lflag & ECHO)) {                               
    27e0:	e590303c 	ldr	r3, [r0, #60]                                 <== NOT EXECUTED
    27e4:	e2132008 	ands	r2, r3, #8	; 0x8                             <== NOT EXECUTED
			tty->ccount = 0;                                                   
    27e8:	05802020 	streq	r2, [r0, #32]                               <== NOT EXECUTED
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
    27ec:	08bd80f0 	popeq	{r4, r5, r6, r7, pc}                        <== NOT EXECUTED
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
    27f0:	e2133010 	ands	r3, r3, #16	; 0x10                           <== NOT EXECUTED
    27f4:	1a00005a 	bne	2964 <erase+0x1a4>                            <== NOT EXECUTED
			tty->ccount = 0;                                                   
    27f8:	e5803020 	str	r3, [r0, #32]                                 <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
    27fc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2800:	e5d00044 	ldrb	r0, [r0, #68]                                <== NOT EXECUTED
    2804:	ebffffcc 	bl	273c <echo>                                    <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
    2808:	e594303c 	ldr	r3, [r4, #60]                                 <== NOT EXECUTED
    280c:	e3130020 	tst	r3, #32	; 0x20                                <== NOT EXECUTED
				echo ('\n', tty);                                                 
    2810:	11a01004 	movne	r1, r4                                      <== NOT EXECUTED
    2814:	13a0000a 	movne	r0, #10	; 0xa                               <== NOT EXECUTED
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
			tty->ccount = 0;                                                   
			echo (tty->termios.c_cc[VKILL], tty);                              
			if (tty->termios.c_lflag & ECHOK)                                  
    2818:	08bd80f0 	popeq	{r4, r5, r6, r7, pc}                        <== NOT EXECUTED
    281c:	ea00000c 	b	2854 <erase+0x94>                               <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
    2820:	e2431001 	sub	r1, r3, #1	; 0x1                              <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
    2824:	e594203c 	ldr	r2, [r4, #60]                                 <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
    2828:	e5841020 	str	r1, [r4, #32]                                 <== NOT EXECUTED
    282c:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
    2830:	e3120008 	tst	r2, #8	; 0x8                                  <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
    2834:	e7d35001 	ldrb	r5, [r3, r1]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
    2838:	0a000046 	beq	2958 <erase+0x198>                            <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
    283c:	e3560000 	cmp	r6, #0	; 0x0                                  <== NOT EXECUTED
    2840:	1a000005 	bne	285c <erase+0x9c>                             <== NOT EXECUTED
    2844:	e3120010 	tst	r2, #16	; 0x10                                <== NOT EXECUTED
    2848:	1a000003 	bne	285c <erase+0x9c>                             <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
    284c:	e5d40043 	ldrb	r0, [r4, #67]                                <== NOT EXECUTED
    2850:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
    2854:	e8bd40f0 	pop	{r4, r5, r6, r7, 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);                            
    2858:	eaffffb7 	b	273c <echo>                                     <== NOT EXECUTED
			}                                                                  
			else if (c == '\t') {                                              
    285c:	e3550009 	cmp	r5, #9	; 0x9                                  <== NOT EXECUTED
    2860:	1a00001f 	bne	28e4 <erase+0x124>                            <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
						if (tty->termios.c_lflag & ECHOCTL)                             
    2864:	e202cc02 	and	ip, r2, #512	; 0x200                          <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO) {                                  
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
				int col = tty->read_start_column;                                 
    2868:	e594502c 	ldr	r5, [r4, #44]                                 <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
    286c:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
    2870:	e3a02000 	mov	r2, #0	; 0x0                                  <== NOT EXECUTED
    2874:	ea00000c 	b	28ac <erase+0xec>                               <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
    2878:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
    287c:	e7d33002 	ldrb	r3, [r3, r2]                                 <== NOT EXECUTED
					if (c == '\t') {                                                 
    2880:	e3530009 	cmp	r3, #9	; 0x9                                  <== NOT EXECUTED
						col = (col | 7) + 1;                                            
    2884:	03853007 	orreq	r3, r5, #7	; 0x7                            <== NOT EXECUTED
    2888:	02835001 	addeq	r5, r3, #1	; 0x1                            <== NOT EXECUTED
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
    288c:	0a000005 	beq	28a8 <erase+0xe8>                             <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
    2890:	e7d03003 	ldrb	r3, [r0, r3]                                 <== NOT EXECUTED
    2894:	e3130020 	tst	r3, #32	; 0x20                                <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
							col += 2;                                                      
					}                                                                
					else {                                                           
						col++;                                                          
    2898:	02855001 	addeq	r5, r5, #1	; 0x1                            <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
    289c:	0a000001 	beq	28a8 <erase+0xe8>                             <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
    28a0:	e35c0000 	cmp	ip, #0	; 0x0                                  <== NOT EXECUTED
							col += 2;                                                      
    28a4:	12855002 	addne	r5, r5, #2	; 0x2                            <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
    28a8:	e2822001 	add	r2, r2, #1	; 0x1                              <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
    28ac:	e1520001 	cmp	r2, r1                                        <== NOT EXECUTED
    28b0:	1afffff0 	bne	2878 <erase+0xb8>                             <== NOT EXECUTED
    28b4:	ea000003 	b	28c8 <erase+0x108>                              <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
					rtems_termios_puts ("\b", 1, tty);                               
    28b8:	ebffff06 	bl	24d8 <rtems_termios_puts>                      <== NOT EXECUTED
					tty->column--;                                                   
    28bc:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
    28c0:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    28c4:	e5843028 	str	r3, [r4, #40]                                 <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
    28c8:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
    28cc:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
    28d0:	e59f00a0 	ldr	r0, [pc, #160]	; 2978 <erase+0x1b8>           <== NOT EXECUTED
    28d4:	e3a01001 	mov	r1, #1	; 0x1                                  <== NOT EXECUTED
    28d8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
    28dc:	cafffff5 	bgt	28b8 <erase+0xf8>                             <== NOT EXECUTED
    28e0:	ea00001c 	b	2958 <erase+0x198>                              <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
    28e4:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
    28e8:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
    28ec:	e3130020 	tst	r3, #32	; 0x20                                <== NOT EXECUTED
    28f0:	0a000009 	beq	291c <erase+0x15c>                            <== NOT EXECUTED
    28f4:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
    28f8:	0a000007 	beq	291c <erase+0x15c>                            <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
    28fc:	e59f0078 	ldr	r0, [pc, #120]	; 297c <erase+0x1bc>           <== NOT EXECUTED
    2900:	e3a01003 	mov	r1, #3	; 0x3                                  <== NOT EXECUTED
    2904:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    2908:	ebfffef2 	bl	24d8 <rtems_termios_puts>                      <== NOT EXECUTED
					if (tty->column)                                                 
    290c:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
    2910:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
						tty->column--;                                                  
    2914:	12433001 	subne	r3, r3, #1	; 0x1                            <== NOT EXECUTED
    2918:	15843028 	strne	r3, [r4, #40]                               <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
    291c:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
    2920:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
    2924:	e3130020 	tst	r3, #32	; 0x20                                <== NOT EXECUTED
    2928:	0a000002 	beq	2938 <erase+0x178>                            <== NOT EXECUTED
    292c:	e594303c 	ldr	r3, [r4, #60]                                 <== NOT EXECUTED
    2930:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
    2934:	0a000007 	beq	2958 <erase+0x198>                            <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
    2938:	e59f003c 	ldr	r0, [pc, #60]	; 297c <erase+0x1bc>            <== NOT EXECUTED
    293c:	e3a01003 	mov	r1, #3	; 0x3                                  <== NOT EXECUTED
    2940:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    2944:	ebfffee3 	bl	24d8 <rtems_termios_puts>                      <== NOT EXECUTED
					if (tty->column)                                                 
    2948:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
    294c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
						tty->column--;                                                  
    2950:	12433001 	subne	r3, r3, #1	; 0x1                            <== NOT EXECUTED
    2954:	15843028 	strne	r3, [r4, #40]                               <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
    2958:	e3560000 	cmp	r6, #0	; 0x0                                  <== NOT EXECUTED
    295c:	1a000001 	bne	2968 <erase+0x1a8>                            <== NOT EXECUTED
    2960:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
    2964:	e59f7014 	ldr	r7, [pc, #20]	; 2980 <erase+0x1c0>            <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
    2968:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    296c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2970:	1affffaa 	bne	2820 <erase+0x60>                             <== NOT EXECUTED
    2974:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

000021d4 <fcntl>: int fcntl( int fd, int cmd, ... ) {
    21d4:	e92d000e 	push	{r1, r2, r3}                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
    21d8:	e59f31b0 	ldr	r3, [pc, #432]	; 2390 <fcntl+0x1bc>           
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
    21dc:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
    21e0:	e593c000 	ldr	ip, [r3]                                      
    21e4:	e150000c 	cmp	r0, ip                                        
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
    21e8:	e59d9020 	ldr	r9, [sp, #32]                                 
    21ec:	e28d2024 	add	r2, sp, #36	; 0x24                            
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
    21f0:	2a000006 	bcs	2210 <fcntl+0x3c>                             
  iop = rtems_libio_iop( fd );                                        
    21f4:	e59f3198 	ldr	r3, [pc, #408]	; 2394 <fcntl+0x1c0>           
    21f8:	e5931000 	ldr	r1, [r3]                                      
    21fc:	e3a03034 	mov	r3, #52	; 0x34                                
    2200:	e02a1093 	mla	sl, r3, r0, r1                                
  rtems_libio_check_is_open(iop);                                     
    2204:	e59a000c 	ldr	r0, [sl, #12]                                 
    2208:	e3100c01 	tst	r0, #256	; 0x100                              
    220c:	1a000002 	bne	221c <fcntl+0x48>                             
    2210:	eb002d57 	bl	d774 <__errno>                                 <== NOT EXECUTED
    2214:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
    2218:	ea000047 	b	233c <fcntl+0x168>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    221c:	e3590009 	cmp	r9, #9	; 0x9                                  
    2220:	979ff109 	ldrls	pc, [pc, r9, lsl #2]                        
    2224:	ea000042 	b	2334 <fcntl+0x160>                              
    2228:	00002250 	.word	0x00002250                                  
    222c:	000022c0 	.word	0x000022c0                                  
    2230:	000022cc 	.word	0x000022cc                                  
    2234:	000022f0 	.word	0x000022f0                                  
    2238:	000022fc 	.word	0x000022fc                                  
    223c:	00002328 	.word	0x00002328                                  
    2240:	00002328 	.word	0x00002328                                  
    2244:	00002328 	.word	0x00002328                                  
    2248:	00002328 	.word	0x00002328                                  
    224c:	00002328 	.word	0x00002328                                  
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
    2250:	e5920000 	ldr	r0, [r2]                                      
      if ( fd2 )                                                      
    2254:	e3500000 	cmp	r0, #0	; 0x0                                  
    2258:	0a000004 	beq	2270 <fcntl+0x9c>                             
        diop = rtems_libio_iop( fd2 );                                
    225c:	e150000c 	cmp	r0, ip                                        <== NOT EXECUTED
    2260:	33a03034 	movcc	r3, #52	; 0x34                              <== NOT EXECUTED
    2264:	23a08000 	movcs	r8, #0	; 0x0                                <== NOT EXECUTED
    2268:	30281093 	mlacc	r8, r3, r0, r1                              <== NOT EXECUTED
    226c:	ea000002 	b	227c <fcntl+0xa8>                               <== NOT EXECUTED
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
    2270:	eb0001d7 	bl	29d4 <rtems_libio_allocate>                    
        if ( diop == 0 ) {                                            
    2274:	e2508000 	subs	r8, r0, #0	; 0x0                             
    2278:	0a00003f 	beq	237c <fcntl+0x1a8>                            
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
    227c:	e59f3110 	ldr	r3, [pc, #272]	; 2394 <fcntl+0x1c0>           
    2280:	e5934000 	ldr	r4, [r3]                                      
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
    2284:	e28a3010 	add	r3, sl, #16	; 0x10                            
    2288:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    228c:	e288c010 	add	ip, r8, #16	; 0x10                            
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
    2290:	e59a5030 	ldr	r5, [sl, #48]                                 
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
    2294:	e0644008 	rsb	r4, r4, r8                                    
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
    2298:	e59a602c 	ldr	r6, [sl, #44]                                 
      diop->flags      = iop->flags;                                  
    229c:	e59a700c 	ldr	r7, [sl, #12]                                 
      diop->pathinfo   = iop->pathinfo;                               
    22a0:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
      ret = (int) (diop - rtems_libio_iops);                          
    22a4:	e59f30ec 	ldr	r3, [pc, #236]	; 2398 <fcntl+0x1c4>           
    22a8:	e1a04144 	asr	r4, r4, #2                                    
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
    22ac:	e5885030 	str	r5, [r8, #48]                                 
      diop->file_info  = iop->file_info;                              
    22b0:	e588602c 	str	r6, [r8, #44]                                 
      diop->flags      = iop->flags;                                  
    22b4:	e588700c 	str	r7, [r8, #12]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
    22b8:	e0050493 	mul	r5, r3, r4                                    
    22bc:	ea000020 	b	2344 <fcntl+0x170>                              
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
    22c0:	e1a035a0 	lsr	r3, r0, #11                                   
    22c4:	e2035001 	and	r5, r3, #1	; 0x1                              
    22c8:	ea00001f 	b	234c <fcntl+0x178>                              
       *  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 ) )                                        
    22cc:	e5922000 	ldr	r2, [r2]                                      
    22d0:	e3520000 	cmp	r2, #0	; 0x0                                  
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
    22d4:	13803b02 	orrne	r3, r0, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
    22d8:	03c03b02 	biceq	r3, r0, #2048	; 0x800                       
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
    22dc:	158a300c 	strne	r3, [sl, #12]                               
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
    22e0:	058a300c 	streq	r3, [sl, #12]                               
    22e4:	01a05002 	moveq	r5, r2                                      
       *  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 ) )                                        
    22e8:	0a000017 	beq	234c <fcntl+0x178>                            
    22ec:	ea00000b 	b	2320 <fcntl+0x14c>                              
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
    22f0:	eb00014e 	bl	2830 <rtems_libio_to_fcntl_flags>              
    22f4:	e1a05000 	mov	r5, r0                                        
    22f8:	ea000011 	b	2344 <fcntl+0x170>                              
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
    22fc:	e5920000 	ldr	r0, [r2]                                      
    2300:	eb0001e6 	bl	2aa0 <rtems_libio_fcntl_flags>                 
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
    2304:	e59a300c 	ldr	r3, [sl, #12]                                 
    2308:	e59f208c 	ldr	r2, [pc, #140]	; 239c <fcntl+0x1c8>           
    230c:	e3c33c02 	bic	r3, r3, #512	; 0x200                          
    2310:	e0002002 	and	r2, r0, r2                                    
    2314:	e3c33001 	bic	r3, r3, #1	; 0x1                              
    2318:	e1822003 	orr	r2, r2, r3                                    
    231c:	e58a200c 	str	r2, [sl, #12]                                 
    2320:	e3a05000 	mov	r5, #0	; 0x0                                  
    2324:	ea000008 	b	234c <fcntl+0x178>                              
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
    2328:	eb002d11 	bl	d774 <__errno>                                 
    232c:	e3a03086 	mov	r3, #134	; 0x86                               
    2330:	ea000001 	b	233c <fcntl+0x168>                              
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
    2334:	eb002d0e 	bl	d774 <__errno>                                 
    2338:	e3a03016 	mov	r3, #22	; 0x16                                
    233c:	e5803000 	str	r3, [r0]                                      
    2340:	ea00000d 	b	237c <fcntl+0x1a8>                              
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    2344:	e3550000 	cmp	r5, #0	; 0x0                                  
    2348:	ba00000c 	blt	2380 <fcntl+0x1ac>                            
    if (iop->handlers->fcntl_h) {                                     
    234c:	e59a3030 	ldr	r3, [sl, #48]                                 
    2350:	e5933030 	ldr	r3, [r3, #48]                                 
    2354:	e3530000 	cmp	r3, #0	; 0x0                                  
    2358:	0a000008 	beq	2380 <fcntl+0x1ac>                            
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
    235c:	e1a00009 	mov	r0, r9                                        
    2360:	e1a0100a 	mov	r1, sl                                        
    2364:	e1a0e00f 	mov	lr, pc                                        
    2368:	e12fff13 	bx	r3                                             
      if (err) {                                                      
    236c:	e2504000 	subs	r4, r0, #0	; 0x0                             
    2370:	0a000002 	beq	2380 <fcntl+0x1ac>                            
        errno = err;                                                  
    2374:	eb002cfe 	bl	d774 <__errno>                                 <== NOT EXECUTED
    2378:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
    237c:	e3e05000 	mvn	r5, #0	; 0x0                                  
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
    2380:	e1a00005 	mov	r0, r5                                        
    2384:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
    2388:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    238c:	e12fff1e 	bx	lr                                             
                                                                      

000023b0 <fdatasync>: int fd ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
    23b0:	e59f3070 	ldr	r3, [pc, #112]	; 2428 <fdatasync+0x78>        
    23b4:	e5933000 	ldr	r3, [r3]                                      
    23b8:	e1500003 	cmp	r0, r3                                        
#include <rtems/seterr.h>                                             
                                                                      
int fdatasync(                                                        
  int     fd                                                          
)                                                                     
{                                                                     
    23bc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
    23c0:	e1a01000 	mov	r1, r0                                        
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
    23c4:	2a000008 	bcs	23ec <fdatasync+0x3c>                         
  iop = rtems_libio_iop( fd );                                        
    23c8:	e59f305c 	ldr	r3, [pc, #92]	; 242c <fdatasync+0x7c>         
    23cc:	e5932000 	ldr	r2, [r3]                                      
    23d0:	e3a03034 	mov	r3, #52	; 0x34                                
    23d4:	e0202193 	mla	r0, r3, r1, r2                                
  rtems_libio_check_is_open(iop);                                     
    23d8:	e590300c 	ldr	r3, [r0, #12]                                 
    23dc:	e3130c01 	tst	r3, #256	; 0x100                              
    23e0:	0a000001 	beq	23ec <fdatasync+0x3c>                         
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
    23e4:	e3130004 	tst	r3, #4	; 0x4                                  
    23e8:	1a000002 	bne	23f8 <fdatasync+0x48>                         
    23ec:	eb002ce0 	bl	d774 <__errno>                                 
    23f0:	e3a03009 	mov	r3, #9	; 0x9                                  
    23f4:	ea000005 	b	2410 <fdatasync+0x60>                           
                                                                      
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  if ( !iop->handlers->fdatasync_h )                                  
    23f8:	e5903030 	ldr	r3, [r0, #48]                                 
    23fc:	e593302c 	ldr	r3, [r3, #44]                                 
    2400:	e3530000 	cmp	r3, #0	; 0x0                                  
    2404:	1a000004 	bne	241c <fdatasync+0x6c>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    2408:	eb002cd9 	bl	d774 <__errno>                                 
    240c:	e3a03086 	mov	r3, #134	; 0x86                               
    2410:	e5803000 	str	r3, [r0]                                      
    2414:	e3e00000 	mvn	r0, #0	; 0x0                                  
    2418:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  return (*iop->handlers->fdatasync_h)( iop );                        
    241c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2420:	e12fff13 	bx	r3                                             <== NOT EXECUTED
}                                                                     
    2424:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

000056d4 <file_systems_below_this_mountpoint>: /* * Search the mount table for any mount entries referencing this * mount entry. */ for ( the_node = rtems_filesystem_mount_table_control.first;
    56d4:	e59fc030 	ldr	ip, [pc, #48]	; 570c <file_systems_below_this_mountpoint+0x38><== NOT EXECUTED
    56d8:	e49c0004 	ldr	r0, [ip], #4                                  <== NOT EXECUTED
    56dc:	ea000006 	b	56fc <file_systems_below_this_mountpoint+0x28>  <== NOT EXECUTED
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
    56e0:	e5902014 	ldr	r2, [r0, #20]                                 <== NOT EXECUTED
    56e4:	e591300c 	ldr	r3, [r1, #12]                                 <== NOT EXECUTED
    56e8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    56ec:	1a000001 	bne	56f8 <file_systems_below_this_mountpoint+0x24><== NOT EXECUTED
    56f0:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
    56f4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
    56f8:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
    56fc:	e150000c 	cmp	r0, ip                                        <== NOT EXECUTED
    5700:	1afffff6 	bne	56e0 <file_systems_below_this_mountpoint+0xc> <== NOT EXECUTED
    5704:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
        return true;                                                  
     }                                                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
    5708:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

00002430 <fpathconf>: { long return_value; rtems_libio_t *iop; rtems_filesystem_limits_and_options_t *the_limits; rtems_libio_check_fd(fd);
    2430:	e59f30f0 	ldr	r3, [pc, #240]	; 2528 <fpathconf+0xf8>        
    2434:	e5933000 	ldr	r3, [r3]                                      
    2438:	e1500003 	cmp	r0, r3                                        
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
    243c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
    2440:	2a000006 	bcs	2460 <fpathconf+0x30>                         
  iop = rtems_libio_iop(fd);                                          
    2444:	e59f30e0 	ldr	r3, [pc, #224]	; 252c <fpathconf+0xfc>        
    2448:	e5932000 	ldr	r2, [r3]                                      
    244c:	e3a03034 	mov	r3, #52	; 0x34                                
    2450:	e02c2093 	mla	ip, r3, r0, r2                                
  rtems_libio_check_is_open(iop);                                     
    2454:	e59c300c 	ldr	r3, [ip, #12]                                 
    2458:	e3130c01 	tst	r3, #256	; 0x100                              
    245c:	1a000004 	bne	2474 <fpathconf+0x44>                         
    2460:	eb002cc3 	bl	d774 <__errno>                                 
    2464:	e3a03009 	mov	r3, #9	; 0x9                                  
    2468:	e5803000 	str	r3, [r0]                                      
    246c:	e3e00000 	mvn	r0, #0	; 0x0                                  
    2470:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
    2474:	e59c001c 	ldr	r0, [ip, #28]                                 
                                                                      
  switch ( name ) {                                                   
    2478:	e351000b 	cmp	r1, #11	; 0xb                                 
    247c:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
    2480:	ea000023 	b	2514 <fpathconf+0xe4>                           
    2484:	000024b4 	.word	0x000024b4                                  
    2488:	000024bc 	.word	0x000024bc                                  
    248c:	000024c4 	.word	0x000024c4                                  
    2490:	000024cc 	.word	0x000024cc                                  
    2494:	000024d4 	.word	0x000024d4                                  
    2498:	000024dc 	.word	0x000024dc                                  
    249c:	000024e4 	.word	0x000024e4                                  
    24a0:	000024ec 	.word	0x000024ec                                  
    24a4:	000024f4 	.word	0x000024f4                                  
    24a8:	000024fc 	.word	0x000024fc                                  
    24ac:	00002504 	.word	0x00002504                                  
    24b0:	0000250c 	.word	0x0000250c                                  
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
    24b4:	e5900030 	ldr	r0, [r0, #48]                                 
    24b8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
    24bc:	e5900034 	ldr	r0, [r0, #52]                                 
    24c0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
    24c4:	e5900038 	ldr	r0, [r0, #56]                                 
    24c8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
    24cc:	e590003c 	ldr	r0, [r0, #60]                                 
    24d0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
    24d4:	e5900040 	ldr	r0, [r0, #64]                                 
    24d8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
    24dc:	e5900044 	ldr	r0, [r0, #68]                                 
    24e0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
    24e4:	e590004c 	ldr	r0, [r0, #76]                                 
    24e8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
    24ec:	e5900050 	ldr	r0, [r0, #80]                                 
    24f0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
    24f4:	e590005c 	ldr	r0, [r0, #92]                                 
    24f8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
    24fc:	e5900048 	ldr	r0, [r0, #72]                                 
    2500:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
    2504:	e5900054 	ldr	r0, [r0, #84]                                 
    2508:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
    250c:	e5900058 	ldr	r0, [r0, #88]                                 
    2510:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    2514:	eb002c96 	bl	d774 <__errno>                                 
    2518:	e3a03016 	mov	r3, #22	; 0x16                                
    251c:	e5803000 	str	r3, [r0]                                      
    2520:	e3e00000 	mvn	r0, #0	; 0x0                                  
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
    2524:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

00008794 <free>: void free( void *ptr ) { MSBUMP(free_calls, 1);
    8794:	e59f2084 	ldr	r2, [pc, #132]	; 8820 <free+0x8c>             
    8798:	e592300c 	ldr	r3, [r2, #12]                                 
    879c:	e92d4030 	push	{r4, r5, lr}                                 
    87a0:	e2833001 	add	r3, r3, #1	; 0x1                              
                                                                      
  if ( !ptr )                                                         
    87a4:	e2504000 	subs	r4, r0, #0	; 0x0                             
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
    87a8:	e582300c 	str	r3, [r2, #12]                                 
                                                                      
  if ( !ptr )                                                         
    87ac:	08bd8030 	popeq	{r4, r5, pc}                                
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
    87b0:	e59f306c 	ldr	r3, [pc, #108]	; 8824 <free+0x90>             
    87b4:	e5933000 	ldr	r3, [r3]                                      
    87b8:	e3530003 	cmp	r3, #3	; 0x3                                  
    87bc:	1a000005 	bne	87d8 <free+0x44>                              
    87c0:	eb000120 	bl	8c48 <malloc_is_system_state_OK>               
    87c4:	e3500000 	cmp	r0, #0	; 0x0                                  
    87c8:	1a000002 	bne	87d8 <free+0x44>                              
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
    87cc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap.begin,                                        
      RTEMS_Malloc_Heap.end                                           
    );                                                                
  }                                                                   
                                                                      
}                                                                     
    87d0:	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);                                      
    87d4:	ea00012e 	b	8c94 <malloc_deferred_free>                     <== NOT EXECUTED
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    87d8:	e59f3048 	ldr	r3, [pc, #72]	; 8828 <free+0x94>              
    87dc:	e5933000 	ldr	r3, [r3]                                      
    87e0:	e3530000 	cmp	r3, #0	; 0x0                                  
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
    87e4:	11a00004 	movne	r0, r4                                      
    87e8:	11a0e00f 	movne	lr, pc                                      
    87ec:	1593f008 	ldrne	pc, [r3, #8]                                
                                                                      
  if ( !_Protected_heap_Free( &RTEMS_Malloc_Heap, ptr ) ) {           
    87f0:	e59f5034 	ldr	r5, [pc, #52]	; 882c <free+0x98>              
    87f4:	e1a01004 	mov	r1, r4                                        
    87f8:	e1a00005 	mov	r0, r5                                        
    87fc:	eb000679 	bl	a1e8 <_Protected_heap_Free>                    
    8800:	e3500000 	cmp	r0, #0	; 0x0                                  
    8804:	18bd8030 	popne	{r4, r5, pc}                                
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
    8808:	e595301c 	ldr	r3, [r5, #28]                                 <== NOT EXECUTED
    880c:	e59f001c 	ldr	r0, [pc, #28]	; 8830 <free+0x9c>              <== NOT EXECUTED
    8810:	e5952018 	ldr	r2, [r5, #24]                                 <== NOT EXECUTED
    8814:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap.begin,                                        
      RTEMS_Malloc_Heap.end                                           
    );                                                                
  }                                                                   
                                                                      
}                                                                     
    8818:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( &RTEMS_Malloc_Heap, ptr ) ) {           
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
    881c:	eaffe5bc 	b	1f14 <printk>                                   <== NOT EXECUTED
                                                                      

00002a00 <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
    2a00:	e59f3058 	ldr	r3, [pc, #88]	; 2a60 <free_user_env+0x60>     <== NOT EXECUTED
    2a04:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
    2a08:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
    2a0c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
    2a10:	08bd8010 	popeq	{r4, pc}                                    <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
    2a14:	e590300c 	ldr	r3, [r0, #12]                                 <== NOT EXECUTED
    2a18:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2a1c:	0a000004 	beq	2a34 <free_user_env+0x34>                     <== NOT EXECUTED
    2a20:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    2a24:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2a28:	12800004 	addne	r0, r0, #4	; 0x4                            <== NOT EXECUTED
    2a2c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    2a30:	112fff13 	bxne	r3                                           <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
    2a34:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
    2a38:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2a3c:	0a000004 	beq	2a54 <free_user_env+0x54>                     <== NOT EXECUTED
    2a40:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    2a44:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2a48:	12840014 	addne	r0, r4, #20	; 0x14                          <== NOT EXECUTED
    2a4c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    2a50:	112fff13 	bxne	r3                                           <== NOT EXECUTED
		free(env);                                                          
    2a54:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
	}                                                                    
}                                                                     
    2a58:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
    2a5c:	eafffbdd 	b	19d8 <free>                                     <== NOT EXECUTED
                                                                      

00013860 <fstat>: int fstat( int fd, struct stat *sbuf ) {
   13860:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
   13864:	e2515000 	subs	r5, r1, #0	; 0x0                             
   13868:	1a000002 	bne	13878 <fstat+0x18>                            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   1386c:	ebffdee9 	bl	b418 <__errno>                                 
   13870:	e3a0300e 	mov	r3, #14	; 0xe                                 
   13874:	ea00001f 	b	138f8 <fstat+0x98>                              
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
   13878:	e59f3084 	ldr	r3, [pc, #132]	; 13904 <fstat+0xa4>           
   1387c:	e5933000 	ldr	r3, [r3]                                      
   13880:	e1500003 	cmp	r0, r3                                        
   13884:	2a000019 	bcs	138f0 <fstat+0x90>                            
   13888:	e59f3078 	ldr	r3, [pc, #120]	; 13908 <fstat+0xa8>           
   1388c:	e5932000 	ldr	r2, [r3]                                      
   13890:	e3a03034 	mov	r3, #52	; 0x34                                
   13894:	e0242093 	mla	r4, r3, r0, r2                                
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
   13898:	e594300c 	ldr	r3, [r4, #12]                                 
   1389c:	e3130c01 	tst	r3, #256	; 0x100                              
   138a0:	0a000012 	beq	138f0 <fstat+0x90>                            
                                                                      
  if ( !iop->handlers )                                               
   138a4:	e5943030 	ldr	r3, [r4, #48]                                 
   138a8:	e3530000 	cmp	r3, #0	; 0x0                                  
   138ac:	0a00000f 	beq	138f0 <fstat+0x90>                            
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fstat_h )                                      
   138b0:	e5933018 	ldr	r3, [r3, #24]                                 
   138b4:	e3530000 	cmp	r3, #0	; 0x0                                  
   138b8:	1a000002 	bne	138c8 <fstat+0x68>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   138bc:	ebffded5 	bl	b418 <__errno>                                 <== NOT EXECUTED
   138c0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   138c4:	ea00000b 	b	138f8 <fstat+0x98>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
   138c8:	e3a01000 	mov	r1, #0	; 0x0                                  
   138cc:	e3a0204c 	mov	r2, #76	; 0x4c                                
   138d0:	e1a00005 	mov	r0, r5                                        
   138d4:	ebffe0d8 	bl	bc3c <memset>                                  
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
   138d8:	e2840010 	add	r0, r4, #16	; 0x10                            
   138dc:	e1a01005 	mov	r1, r5                                        
   138e0:	e5943030 	ldr	r3, [r4, #48]                                 
   138e4:	e1a0e00f 	mov	lr, pc                                        
   138e8:	e593f018 	ldr	pc, [r3, #24]                                 
}                                                                     
   138ec:	e8bd8030 	pop	{r4, r5, pc}                                  
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
   138f0:	ebffdec8 	bl	b418 <__errno>                                 
   138f4:	e3a03009 	mov	r3, #9	; 0x9                                  
   138f8:	e5803000 	str	r3, [r0]                                      
   138fc:	e3e00000 	mvn	r0, #0	; 0x0                                  
   13900:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00002688 <fsync>: int fd ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
    2688:	e59f3070 	ldr	r3, [pc, #112]	; 2700 <fsync+0x78>            
    268c:	e5933000 	ldr	r3, [r3]                                      
    2690:	e1500003 	cmp	r0, r3                                        
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
    2694:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
    2698:	e1a01000 	mov	r1, r0                                        
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
    269c:	2a000009 	bcs	26c8 <fsync+0x40>                             
  iop = rtems_libio_iop( fd );                                        
    26a0:	e59f305c 	ldr	r3, [pc, #92]	; 2704 <fsync+0x7c>             
    26a4:	e5932000 	ldr	r2, [r3]                                      
    26a8:	e3a03034 	mov	r3, #52	; 0x34                                
    26ac:	e0202193 	mla	r0, r3, r1, r2                                
  rtems_libio_check_is_open(iop);                                     
    26b0:	e590300c 	ldr	r3, [r0, #12]                                 
    26b4:	e3130c01 	tst	r3, #256	; 0x100                              
    26b8:	0a000002 	beq	26c8 <fsync+0x40>                             
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    26bc:	e5903030 	ldr	r3, [r0, #48]                                 
    26c0:	e3530000 	cmp	r3, #0	; 0x0                                  
    26c4:	1a000002 	bne	26d4 <fsync+0x4c>                             
    rtems_set_errno_and_return_minus_one( EBADF );                    
    26c8:	eb002c29 	bl	d774 <__errno>                                 <== NOT EXECUTED
    26cc:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
    26d0:	ea000004 	b	26e8 <fsync+0x60>                               <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fsync_h )                                      
    26d4:	e5933028 	ldr	r3, [r3, #40]                                 
    26d8:	e3530000 	cmp	r3, #0	; 0x0                                  
    26dc:	1a000004 	bne	26f4 <fsync+0x6c>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    26e0:	eb002c23 	bl	d774 <__errno>                                 
    26e4:	e3a03086 	mov	r3, #134	; 0x86                               
    26e8:	e5803000 	str	r3, [r0]                                      
    26ec:	e3e00000 	mvn	r0, #0	; 0x0                                  
    26f0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
    26f4:	e1a0e00f 	mov	lr, pc                                        
    26f8:	e12fff13 	bx	r3                                             
}                                                                     
    26fc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

00008834 <ftruncate>: int ftruncate( int fd, off_t length ) {
    8834:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
    8838:	e59f30c4 	ldr	r3, [pc, #196]	; 8904 <ftruncate+0xd0>        
    883c:	e5933000 	ldr	r3, [r3]                                      
    8840:	e1500003 	cmp	r0, r3                                        
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
    8844:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    8848:	e1a05001 	mov	r5, r1                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
    884c:	2a000006 	bcs	886c <ftruncate+0x38>                         
  iop = rtems_libio_iop( fd );                                        
    8850:	e59f30b0 	ldr	r3, [pc, #176]	; 8908 <ftruncate+0xd4>        
    8854:	e5932000 	ldr	r2, [r3]                                      
    8858:	e3a03034 	mov	r3, #52	; 0x34                                
    885c:	e0242093 	mla	r4, r3, r0, r2                                
  rtems_libio_check_is_open(iop);                                     
    8860:	e594300c 	ldr	r3, [r4, #12]                                 
    8864:	e3130c01 	tst	r3, #256	; 0x100                              
    8868:	1a000002 	bne	8878 <ftruncate+0x44>                         
    886c:	eb000ae9 	bl	b418 <__errno>                                 <== NOT EXECUTED
    8870:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
    8874:	ea000019 	b	88e0 <ftruncate+0xac>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
    8878:	e2843010 	add	r3, r4, #16	; 0x10                            
    887c:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    8880:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
  if ( !loc.ops->node_type_h )                                        
    8884:	e5923010 	ldr	r3, [r2, #16]                                 
    8888:	e3530000 	cmp	r3, #0	; 0x0                                  
    888c:	0a000011 	beq	88d8 <ftruncate+0xa4>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    8890:	e1a0000d 	mov	r0, sp                                        
    8894:	e1a0e00f 	mov	lr, pc                                        
    8898:	e12fff13 	bx	r3                                             
    889c:	e3500001 	cmp	r0, #1	; 0x1                                  
    88a0:	1a000002 	bne	88b0 <ftruncate+0x7c>                         
    rtems_set_errno_and_return_minus_one( EISDIR );                   
    88a4:	eb000adb 	bl	b418 <__errno>                                 
    88a8:	e3a03015 	mov	r3, #21	; 0x15                                
    88ac:	ea00000b 	b	88e0 <ftruncate+0xac>                           
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
    88b0:	e594300c 	ldr	r3, [r4, #12]                                 
    88b4:	e3130004 	tst	r3, #4	; 0x4                                  
    88b8:	1a000002 	bne	88c8 <ftruncate+0x94>                         
    88bc:	eb000ad5 	bl	b418 <__errno>                                 <== NOT EXECUTED
    88c0:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    88c4:	ea000005 	b	88e0 <ftruncate+0xac>                           <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
    88c8:	e5943030 	ldr	r3, [r4, #48]                                 
    88cc:	e5933020 	ldr	r3, [r3, #32]                                 
    88d0:	e3530000 	cmp	r3, #0	; 0x0                                  
    88d4:	1a000004 	bne	88ec <ftruncate+0xb8>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    88d8:	eb000ace 	bl	b418 <__errno>                                 <== NOT EXECUTED
    88dc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    88e0:	e5803000 	str	r3, [r0]                                      
    88e4:	e3e00000 	mvn	r0, #0	; 0x0                                  
    88e8:	ea000003 	b	88fc <ftruncate+0xc8>                           
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
    88ec:	e1a00004 	mov	r0, r4                                        
    88f0:	e1a01005 	mov	r1, r5                                        
    88f4:	e1a0e00f 	mov	lr, pc                                        
    88f8:	e12fff13 	bx	r3                                             
}                                                                     
    88fc:	e28dd010 	add	sp, sp, #16	; 0x10                            
    8900:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000aab8 <getdents>: /* * Get the file control block structure associated with the file descriptor */ iop = rtems_libio_iop( dd_fd );
    aab8:	e59f30a0 	ldr	r3, [pc, #160]	; ab60 <getdents+0xa8>         
    aabc:	e5933000 	ldr	r3, [r3]                                      
    aac0:	e1500003 	cmp	r0, r3                                        
    aac4:	359f3098 	ldrcc	r3, [pc, #152]	; ab64 <getdents+0xac>       
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
    aac8:	e92d4070 	push	{r4, r5, r6, lr}                             
    aacc:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
    aad0:	35932000 	ldrcc	r2, [r3]                                    
    aad4:	33a03034 	movcc	r3, #52	; 0x34                              
    aad8:	30242093 	mlacc	r4, r3, r0, r2                              
    aadc:	23a04000 	movcs	r4, #0	; 0x0                                
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
    aae0:	e2843010 	add	r3, r4, #16	; 0x10                            
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
    aae4:	e1a05001 	mov	r5, r1                                        
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
    aae8:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
    aaec:	e24dd010 	sub	sp, sp, #16	; 0x10                            
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
    aaf0:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
  if ( !loc.ops->node_type_h )                                        
    aaf4:	e5923010 	ldr	r3, [r2, #16]                                 
    aaf8:	e3530000 	cmp	r3, #0	; 0x0                                  
    aafc:	0a00000d 	beq	ab38 <getdents+0x80>                          
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    ab00:	e1a0000d 	mov	r0, sp                                        
    ab04:	e1a0e00f 	mov	lr, pc                                        
    ab08:	e12fff13 	bx	r3                                             
    ab0c:	e3500001 	cmp	r0, #1	; 0x1                                  
    ab10:	0a000004 	beq	ab28 <getdents+0x70>                          
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    ab14:	eb000d60 	bl	e09c <__errno>                                 
    ab18:	e3a03014 	mov	r3, #20	; 0x14                                
    ab1c:	e5803000 	str	r3, [r0]                                      
    ab20:	e3e00000 	mvn	r0, #0	; 0x0                                  
    ab24:	ea00000b 	b	ab58 <getdents+0xa0>                            
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    ab28:	e5943030 	ldr	r3, [r4, #48]                                 
    ab2c:	e5933008 	ldr	r3, [r3, #8]                                  
    ab30:	e3530000 	cmp	r3, #0	; 0x0                                  
    ab34:	1a000002 	bne	ab44 <getdents+0x8c>                          
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    ab38:	eb000d57 	bl	e09c <__errno>                                 <== NOT EXECUTED
    ab3c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    ab40:	eafffff5 	b	ab1c <getdents+0x64>                            <== NOT EXECUTED
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
    ab44:	e1a00004 	mov	r0, r4                                        
    ab48:	e1a01005 	mov	r1, r5                                        
    ab4c:	e1a02006 	mov	r2, r6                                        
    ab50:	e1a0e00f 	mov	lr, pc                                        
    ab54:	e12fff13 	bx	r3                                             
}                                                                     
    ab58:	e28dd010 	add	sp, sp, #16	; 0x10                            
    ab5c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00008934 <gettimeofday>: int gettimeofday( struct timeval *tp, void * __tz ) {
    8934:	e92d4030 	push	{r4, r5, lr}                                 
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
    8938:	e2505000 	subs	r5, r0, #0	; 0x0                             
                                                                      
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz                                                         
)                                                                     
{                                                                     
    893c:	e24dd008 	sub	sp, sp, #8	; 0x8                              
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
    8940:	1a000004 	bne	8958 <gettimeofday+0x24>                      
    errno = EFAULT;                                                   
    8944:	eb000ab3 	bl	b418 <__errno>                                 <== NOT EXECUTED
    8948:	e3a0300e 	mov	r3, #14	; 0xe                                 <== NOT EXECUTED
    894c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    8950:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    8954:	ea00000c 	b	898c <gettimeofday+0x58>                        <== NOT EXECUTED
)                                                                     
{                                                                     
  ISR_Level level;                                                    
  struct timespec now;                                                
                                                                      
  _ISR_Disable(level);                                                
    8958:	e10f4000 	mrs	r4, CPSR                                      
    895c:	e38430c0 	orr	r3, r4, #192	; 0xc0                           
    8960:	e129f003 	msr	CPSR_fc, r3                                   
    _TOD_Get( &now );                                                 
    8964:	e1a0000d 	mov	r0, sp                                        
    8968:	ebfff210 	bl	51b0 <_TOD_Get>                                
  _ISR_Enable(level);                                                 
    896c:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
  time->tv_sec  = now.tv_sec;                                         
    8970:	e59d3000 	ldr	r3, [sp]                                      
    8974:	e5853000 	str	r3, [r5]                                      
  time->tv_usec = now.tv_nsec / TOD_NANOSECONDS_PER_MICROSECOND;      
    8978:	e59d0004 	ldr	r0, [sp, #4]                                  
    897c:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
    8980:	eb0025cf 	bl	120c4 <__aeabi_uidiv>                          
    8984:	e5850004 	str	r0, [r5, #4]                                  
    8988:	e3a00000 	mov	r0, #0	; 0x0                                  
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
    898c:	e28dd008 	add	sp, sp, #8	; 0x8                              
    8990:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000b904 <ioctl>: int ioctl( int fd, ioctl_command_t command, ... ) {
    b904:	e92d000e 	push	{r1, r2, r3}                                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
    b908:	e59f3080 	ldr	r3, [pc, #128]	; b990 <ioctl+0x8c>            
    b90c:	e5933000 	ldr	r3, [r3]                                      
    b910:	e1500003 	cmp	r0, r3                                        
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
    b914:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
    b918:	e1a01000 	mov	r1, r0                                        
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
    b91c:	2a00000a 	bcs	b94c <ioctl+0x48>                             
  iop = rtems_libio_iop( fd );                                        
    b920:	e59f306c 	ldr	r3, [pc, #108]	; b994 <ioctl+0x90>            
    b924:	e5932000 	ldr	r2, [r3]                                      
    b928:	e3a03034 	mov	r3, #52	; 0x34                                
    b92c:	e0202193 	mla	r0, r3, r1, r2                                
  rtems_libio_check_is_open(iop);                                     
    b930:	e590300c 	ldr	r3, [r0, #12]                                 
    b934:	e3130c01 	tst	r3, #256	; 0x100                              
    b938:	0a000003 	beq	b94c <ioctl+0x48>                             
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    b93c:	e5903030 	ldr	r3, [r0, #48]                                 
    b940:	e3530000 	cmp	r3, #0	; 0x0                                  
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
    b944:	e59d2008 	ldr	r2, [sp, #8]                                  
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    b948:	1a000002 	bne	b958 <ioctl+0x54>                             
    rtems_set_errno_and_return_minus_one( EBADF );                    
    b94c:	eb000c4e 	bl	ea8c <__errno>                                 <== NOT EXECUTED
    b950:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
    b954:	ea000004 	b	b96c <ioctl+0x68>                               <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
    b958:	e5933010 	ldr	r3, [r3, #16]                                 
    b95c:	e3530000 	cmp	r3, #0	; 0x0                                  
    b960:	1a000004 	bne	b978 <ioctl+0x74>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    b964:	eb000c48 	bl	ea8c <__errno>                                 <== NOT EXECUTED
    b968:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    b96c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    b970:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    b974:	ea000002 	b	b984 <ioctl+0x80>                               <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
    b978:	e59d1004 	ldr	r1, [sp, #4]                                  
    b97c:	e1a0e00f 	mov	lr, pc                                        
    b980:	e12fff13 	bx	r3                                             
                                                                      
  return rc;                                                          
}                                                                     
    b984:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    
    b988:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    b98c:	e12fff1e 	bx	lr                                             
                                                                      

00002984 <iproc>: * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) { if (tty->termios.c_iflag & ISTRIP)
    2984:	e5912030 	ldr	r2, [r1, #48]                                 <== NOT EXECUTED
    2988:	e3120020 	tst	r2, #32	; 0x20                                <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    298c:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    2990:	e20040ff 	and	r4, r0, #255	; 0xff                           <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
    2994:	1200407f 	andne	r4, r0, #127	; 0x7f                         <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
    2998:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    299c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
    29a0:	0a000006 	beq	29c0 <iproc+0x3c>                             <== NOT EXECUTED
		c = tolower (c);                                                    
    29a4:	e59f3164 	ldr	r3, [pc, #356]	; 2b10 <iproc+0x18c>           <== NOT EXECUTED
    29a8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    29ac:	e7d33004 	ldrb	r3, [r3, r4]                                 <== NOT EXECUTED
    29b0:	e3130001 	tst	r3, #1	; 0x1                                  <== NOT EXECUTED
    29b4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    29b8:	12840020 	addne	r0, r4, #32	; 0x20                          <== NOT EXECUTED
    29bc:	e20040ff 	and	r4, r0, #255	; 0xff                           <== NOT EXECUTED
	if (c == '\r') {                                                     
    29c0:	e354000d 	cmp	r4, #13	; 0xd                                 <== NOT EXECUTED
    29c4:	1a000005 	bne	29e0 <iproc+0x5c>                             <== NOT EXECUTED
		if (tty->termios.c_iflag & IGNCR)                                   
    29c8:	e3120080 	tst	r2, #128	; 0x80                               <== NOT EXECUTED
    29cc:	1a00004d 	bne	2b08 <iproc+0x184>                            <== NOT EXECUTED
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
    29d0:	e3120c01 	tst	r2, #256	; 0x100                              <== NOT EXECUTED
    29d4:	03a0400d 	moveq	r4, #13	; 0xd                               <== NOT EXECUTED
    29d8:	13a0400a 	movne	r4, #10	; 0xa                               <== NOT EXECUTED
    29dc:	ea000007 	b	2a00 <iproc+0x7c>                               <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
    29e0:	e354000a 	cmp	r4, #10	; 0xa                                 <== NOT EXECUTED
    29e4:	1a000003 	bne	29f8 <iproc+0x74>                             <== 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;                                       
    29e8:	e3120040 	tst	r2, #64	; 0x40                                <== NOT EXECUTED
    29ec:	03a0400a 	moveq	r4, #10	; 0xa                               <== NOT EXECUTED
    29f0:	13a0400d 	movne	r4, #13	; 0xd                               <== NOT EXECUTED
    29f4:	ea000001 	b	2a00 <iproc+0x7c>                               <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
    29f8:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    29fc:	0a00002f 	beq	2ac0 <iproc+0x13c>                            <== NOT EXECUTED
    2a00:	e595203c 	ldr	r2, [r5, #60]                                 <== NOT EXECUTED
    2a04:	e3120002 	tst	r2, #2	; 0x2                                  <== NOT EXECUTED
    2a08:	0a00002c 	beq	2ac0 <iproc+0x13c>                            <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
    2a0c:	e5d53043 	ldrb	r3, [r5, #67]                                <== NOT EXECUTED
    2a10:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
			erase (tty, 0);                                                    
    2a14:	01a00005 	moveq	r0, r5                                      <== NOT EXECUTED
    2a18:	03a01000 	moveq	r1, #0	; 0x0                                <== NOT EXECUTED
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
		if (c == tty->termios.c_cc[VERASE]) {                               
    2a1c:	0a000004 	beq	2a34 <iproc+0xb0>                             <== NOT EXECUTED
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
    2a20:	e5d53044 	ldrb	r3, [r5, #68]                                <== NOT EXECUTED
    2a24:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
    2a28:	1a000003 	bne	2a3c <iproc+0xb8>                             <== NOT EXECUTED
			erase (tty, 1);                                                    
    2a2c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    2a30:	e3a01001 	mov	r1, #1	; 0x1                                  <== NOT EXECUTED
    2a34:	ebffff61 	bl	27c0 <erase>                                   <== NOT EXECUTED
    2a38:	ea000030 	b	2b00 <iproc+0x17c>                              <== NOT EXECUTED
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
    2a3c:	e5d53045 	ldrb	r3, [r5, #69]                                <== NOT EXECUTED
    2a40:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
    2a44:	0a00001b 	beq	2ab8 <iproc+0x134>                            <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
    2a48:	e354000a 	cmp	r4, #10	; 0xa                                 <== NOT EXECUTED
    2a4c:	1a00000a 	bne	2a7c <iproc+0xf8>                             <== NOT EXECUTED
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
    2a50:	e3120048 	tst	r2, #72	; 0x48                                <== NOT EXECUTED
				echo (c, tty);                                                    
    2a54:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    2a58:	11a01005 	movne	r1, r5                                      <== NOT EXECUTED
    2a5c:	1bffff36 	blne	273c <echo>                                  <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
    2a60:	e285101c 	add	r1, r5, #28	; 0x1c                            <== NOT EXECUTED
    2a64:	e8910006 	ldm	r1, {r1, r2}                                  <== NOT EXECUTED
    2a68:	e2820001 	add	r0, r2, #1	; 0x1                              <== NOT EXECUTED
    2a6c:	e3a0300a 	mov	r3, #10	; 0xa                                 <== NOT EXECUTED
    2a70:	e7c13002 	strb	r3, [r1, r2]                                 <== NOT EXECUTED
    2a74:	e5850020 	str	r0, [r5, #32]                                 <== NOT EXECUTED
    2a78:	ea00000e 	b	2ab8 <iproc+0x134>                              <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if ((c == tty->termios.c_cc[VEOL])                             
    2a7c:	e5d5304c 	ldrb	r3, [r5, #76]                                <== NOT EXECUTED
    2a80:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
    2a84:	0a000002 	beq	2a94 <iproc+0x110>                            <== NOT EXECUTED
    2a88:	e5d53051 	ldrb	r3, [r5, #81]                                <== NOT EXECUTED
    2a8c:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
    2a90:	1a00000a 	bne	2ac0 <iproc+0x13c>                            <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
			if (tty->termios.c_lflag & ECHO)                                   
    2a94:	e3120008 	tst	r2, #8	; 0x8                                  <== NOT EXECUTED
				echo (c, tty);                                                    
    2a98:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    2a9c:	11a01005 	movne	r1, r5                                      <== NOT EXECUTED
    2aa0:	1bffff25 	blne	273c <echo>                                  <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
    2aa4:	e285201c 	add	r2, r5, #28	; 0x1c                            <== NOT EXECUTED
    2aa8:	e892000c 	ldm	r2, {r2, r3}                                  <== NOT EXECUTED
    2aac:	e2831001 	add	r1, r3, #1	; 0x1                              <== NOT EXECUTED
    2ab0:	e7c24003 	strb	r4, [r2, r3]                                 <== NOT EXECUTED
    2ab4:	e5851020 	str	r1, [r5, #32]                                 <== NOT EXECUTED
    2ab8:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
    2abc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
    2ac0:	e59f304c 	ldr	r3, [pc, #76]	; 2b14 <iproc+0x190>            <== NOT EXECUTED
    2ac4:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    2ac8:	e5952020 	ldr	r2, [r5, #32]                                 <== NOT EXECUTED
    2acc:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    2ad0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2ad4:	aa00000b 	bge	2b08 <iproc+0x184>                            <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
    2ad8:	e595303c 	ldr	r3, [r5, #60]                                 <== NOT EXECUTED
    2adc:	e3130008 	tst	r3, #8	; 0x8                                  <== NOT EXECUTED
			echo (c, tty);                                                     
    2ae0:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    2ae4:	11a01005 	movne	r1, r5                                      <== NOT EXECUTED
    2ae8:	1bffff13 	blne	273c <echo>                                  <== NOT EXECUTED
		tty->cbuf[tty->ccount++] = c;                                       
    2aec:	e285201c 	add	r2, r5, #28	; 0x1c                            <== NOT EXECUTED
    2af0:	e892000c 	ldm	r2, {r2, r3}                                  <== NOT EXECUTED
    2af4:	e2831001 	add	r1, r3, #1	; 0x1                              <== NOT EXECUTED
    2af8:	e7c24003 	strb	r4, [r2, r3]                                 <== NOT EXECUTED
    2afc:	e5851020 	str	r1, [r5, #32]                                 <== NOT EXECUTED
    2b00:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    2b04:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    2b08:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
    2b0c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

00017274 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
   17274:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
   17278:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
   1727c:	e1a04000 	mov	r4, r0                                        
   17280:	e1a06001 	mov	r6, r1                                        
   17284:	e1a05002 	mov	r5, r2                                        
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid != getpid() )                                              
   17288:	ebfffef5 	bl	16e64 <getpid>                                 
   1728c:	e1540000 	cmp	r4, r0                                        
   17290:	0a000002 	beq	172a0 <killinfo+0x2c>                         
    rtems_set_errno_and_return_minus_one( ESRCH );                    
   17294:	ebffd726 	bl	cf34 <__errno>                                 <== NOT EXECUTED
   17298:	e3a03003 	mov	r3, #3	; 0x3                                  <== NOT EXECUTED
   1729c:	ea000003 	b	172b0 <killinfo+0x3c>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
                                                                      
  if ( !sig )                                                         
   172a0:	e3560000 	cmp	r6, #0	; 0x0                                  
   172a4:	1a000004 	bne	172bc <killinfo+0x48>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   172a8:	ebffd721 	bl	cf34 <__errno>                                 <== NOT EXECUTED
   172ac:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
   172b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   172b4:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
   172b8:	ea000089 	b	174e4 <killinfo+0x270>                          <== NOT EXECUTED
                                                                      
  if ( !is_valid_signo(sig) )                                         
   172bc:	e2460001 	sub	r0, r6, #1	; 0x1                              
   172c0:	e350001f 	cmp	r0, #31	; 0x1f                                
   172c4:	8afffff7 	bhi	172a8 <killinfo+0x34>                         
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {        
   172c8:	e59f321c 	ldr	r3, [pc, #540]	; 174ec <killinfo+0x278>       
   172cc:	e3a0200c 	mov	r2, #12	; 0xc                                 
   172d0:	e0233692 	mla	r3, r2, r6, r3                                
   172d4:	e5933008 	ldr	r3, [r3, #8]                                  
   172d8:	e3530001 	cmp	r3, #1	; 0x1                                  
   172dc:	0a00007f 	beq	174e0 <killinfo+0x26c>                        
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
                                                                      
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
   172e0:	e3560004 	cmp	r6, #4	; 0x4                                  
   172e4:	13560008 	cmpne	r6, #8	; 0x8                                
   172e8:	0a000001 	beq	172f4 <killinfo+0x80>                         
   172ec:	e356000b 	cmp	r6, #11	; 0xb                                 
   172f0:	1a000003 	bne	17304 <killinfo+0x90>                         
      return pthread_kill( pthread_self(), sig );                     
   172f4:	eb000115 	bl	17750 <pthread_self>                           
   172f8:	e1a01006 	mov	r1, r6                                        
   172fc:	eb0000db 	bl	17670 <pthread_kill>                           
   17300:	ea000077 	b	174e4 <killinfo+0x270>                          
                                                                      
  mask = signo_to_mask( sig );                                        
   17304:	e3a03001 	mov	r3, #1	; 0x1                                  
   *  Build up a siginfo structure                                    
   */                                                                 
                                                                      
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
   17308:	e58d3004 	str	r3, [sp, #4]                                  
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
                                                                      
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
   1730c:	e58d6000 	str	r6, [sp]                                      
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
   17310:	e3550000 	cmp	r5, #0	; 0x0                                  
   */                                                                 
                                                                      
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
      return pthread_kill( pthread_self(), sig );                     
                                                                      
  mask = signo_to_mask( sig );                                        
   17314:	e1a07013 	lsl	r7, r3, r0                                    
   17318:	e59f21d0 	ldr	r2, [pc, #464]	; 174f0 <killinfo+0x27c>       
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
   1731c:	15953000 	ldrne	r3, [r5]                                    
   17320:	158d3008 	strne	r3, [sp, #8]                                
   17324:	e5923000 	ldr	r3, [r2]                                      
   17328:	e2833001 	add	r3, r3, #1	; 0x1                              
                                                                      
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
   1732c:	058d5008 	streq	r5, [sp, #8]                                
   17330:	e5823000 	str	r3, [r2]                                      
  /*                                                                  
   *  Is the currently executing thread interested?  If so then it will
   *  get it an execute it as soon as the dispatcher executes.        
   */                                                                 
                                                                      
  the_thread = _Thread_Executing;                                     
   17334:	e59f31b8 	ldr	r3, [pc, #440]	; 174f4 <killinfo+0x280>       
   17338:	e5930000 	ldr	r0, [r3]                                      
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
   1733c:	e5903108 	ldr	r3, [r0, #264]                                
   17340:	e59330c4 	ldr	r3, [r3, #196]                                
   17344:	e1d73003 	bics	r3, r7, r3                                   
   17348:	1a000046 	bne	17468 <killinfo+0x1f4>                        
    goto process_it;                                                  
   1734c:	e59f11a4 	ldr	r1, [pc, #420]	; 174f8 <killinfo+0x284>       
   */                                                                 
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
   17350:	e281e030 	add	lr, r1, #48	; 0x30                            
       index++ ) {                                                    
                                                                      
    the_chain = &_POSIX_signals_Wait_queue.Queues.Priority[ index ];  
                                                                      
    for ( the_node = the_chain->first ;                               
   17354:	e1a0c001 	mov	ip, r1                                        
   17358:	e49c2004 	ldr	r2, [ip], #4                                  
   1735c:	ea000008 	b	17384 <killinfo+0x110>                          
          the_node = the_node->next ) {                               
                                                                      
      the_thread = (Thread_Control *)the_node;                        
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ((the_thread->Wait.option & mask) || (~api->signals_blocked & mask)) {
   17360:	e5923030 	ldr	r3, [r2, #48]                                 
   17364:	e1170003 	tst	r7, r3                                        
                                                                      
    for ( the_node = the_chain->first ;                               
          !_Chain_Is_tail( the_chain, the_node ) ;                    
          the_node = the_node->next ) {                               
                                                                      
      the_thread = (Thread_Control *)the_node;                        
   17368:	e1a00002 	mov	r0, r2                                        
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   1736c:	e5923108 	ldr	r3, [r2, #264]                                
                                                                      
      if ((the_thread->Wait.option & mask) || (~api->signals_blocked & mask)) {
   17370:	1a00003c 	bne	17468 <killinfo+0x1f4>                        
   17374:	e59330c4 	ldr	r3, [r3, #196]                                <== NOT EXECUTED
   17378:	e1d73003 	bics	r3, r7, r3                                   <== NOT EXECUTED
   1737c:	1a000039 	bne	17468 <killinfo+0x1f4>                        <== NOT EXECUTED
                                                                      
    the_chain = &_POSIX_signals_Wait_queue.Queues.Priority[ index ];  
                                                                      
    for ( the_node = the_chain->first ;                               
          !_Chain_Is_tail( the_chain, the_node ) ;                    
          the_node = the_node->next ) {                               
   17380:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
       index++ ) {                                                    
                                                                      
    the_chain = &_POSIX_signals_Wait_queue.Queues.Priority[ index ];  
                                                                      
    for ( the_node = the_chain->first ;                               
          !_Chain_Is_tail( the_chain, the_node ) ;                    
   17384:	e152000c 	cmp	r2, ip                                        
   17388:	1afffff4 	bne	17360 <killinfo+0xec>                         
   1738c:	e281100c 	add	r1, r1, #12	; 0xc                             
   */                                                                 
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
   17390:	e151000e 	cmp	r1, lr                                        
   17394:	1affffee 	bne	17354 <killinfo+0xe0>                         
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
                                                                      
  interested_thread = NULL;                                           
  interested_priority = PRIORITY_MAXIMUM + 1;                         
   17398:	e59f315c 	ldr	r3, [pc, #348]	; 174fc <killinfo+0x288>       
   1739c:	e59f415c 	ldr	r4, [pc, #348]	; 17500 <killinfo+0x28c>       
   173a0:	e5d33000 	ldrb	r3, [r3]                                     
   173a4:	e3a00000 	mov	r0, #0	; 0x0                                  
   173a8:	e2835001 	add	r5, r3, #1	; 0x1                              
                                                                      
  for ( the_api = OBJECTS_CLASSIC_API;                                
        the_api <= OBJECTS_APIS_LAST;                                 
   173ac:	e284900c 	add	r9, r4, #12	; 0xc                             
        the_api++ ) {                                                 
                                                                      
    /*                                                                
     *  Thie can occur when no one is interested and ITRON is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
   173b0:	e5943008 	ldr	r3, [r4, #8]                                  
   173b4:	e3530000 	cmp	r3, #0	; 0x0                                  
   173b8:	0a000025 	beq	17454 <killinfo+0x1e0>                        
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
   173bc:	e5933004 	ldr	r3, [r3, #4]                                  
    /*                                                                
     *  This cannot happen in the current (as of Dec 2007) implementation
     *  of initialization but at some point, the object information   
     *  structure for a particular manager may not be installed.      
     */                                                               
    if ( !the_info )                                                  
   173c0:	e3530000 	cmp	r3, #0	; 0x0                                  
      continue;                                                       
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
   173c4:	1593a01c 	ldrne	sl, [r3, #28]                               
     *  structure for a particular manager may not be installed.      
     */                                                               
    if ( !the_info )                                                  
      continue;                                                       
                                                                      
    maximum = the_info->maximum;                                      
   173c8:	11d381b0 	ldrhne	r8, [r3, #16]                              
    object_table = the_info->local_table;                             
   173cc:	13a0e001 	movne	lr, #1	; 0x1                                
    /*                                                                
     *  This cannot happen in the current (as of Dec 2007) implementation
     *  of initialization but at some point, the object information   
     *  structure for a particular manager may not be installed.      
     */                                                               
    if ( !the_info )                                                  
   173d0:	1a00001d 	bne	1744c <killinfo+0x1d8>                        
   173d4:	ea00001e 	b	17454 <killinfo+0x1e0>                          <== NOT EXECUTED
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
      the_thread = (Thread_Control *) object_table[ index ];          
   173d8:	e79a210e 	ldr	r2, [sl, lr, lsl #2]                          
                                                                      
      if ( !the_thread )                                              
   173dc:	e3520000 	cmp	r2, #0	; 0x0                                  
   173e0:	0a000014 	beq	17438 <killinfo+0x1c4>                        
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
                                                                      
      if ( the_thread->current_priority > interested_priority )       
   173e4:	e592c014 	ldr	ip, [r2, #20]                                 
   173e8:	e15c0005 	cmp	ip, r5                                        
   173ec:	8a000011 	bhi	17438 <killinfo+0x1c4>                        
                                                                      
      /*                                                              
       *  If this thread is not interested, then go on to the next thread.
       */                                                             
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   173f0:	e5923108 	ldr	r3, [r2, #264]                                
                                                                      
      if ( !api || !_POSIX_signals_Is_interested( api, mask ) )       
   173f4:	e3530000 	cmp	r3, #0	; 0x0                                  
   173f8:	0a00000e 	beq	17438 <killinfo+0x1c4>                        
   173fc:	e59330c4 	ldr	r3, [r3, #196]                                
   17400:	e1d73003 	bics	r3, r7, r3                                   
   17404:	0a00000b 	beq	17438 <killinfo+0x1c4>                        
       *  Now we know the thread under connsideration is interested.  
       *  If the thread under consideration is of higher priority, then
       *  it becomes the interested thread.                           
       */                                                             
                                                                      
      if ( the_thread->current_priority < interested_priority ) {     
   17408:	e15c0005 	cmp	ip, r5                                        
   1740c:	3a00000b 	bcc	17440 <killinfo+0x1cc>                        
       *  Now the thread and the interested thread have the same priority.
       *  If the interested thread is ready, then we don't need to send it
       *  to a blocked thread.                                        
       */                                                             
                                                                      
      if ( _States_Is_ready( interested_thread->current_state ) )     
   17410:	e5901010 	ldr	r1, [r0, #16]                                 <== NOT EXECUTED
   17414:	e3510000 	cmp	r1, #0	; 0x0                                  <== NOT EXECUTED
   17418:	0a000006 	beq	17438 <killinfo+0x1c4>                        <== NOT EXECUTED
       *  Now the interested thread is blocked.                       
       *  If the thread we are considering is not, the it becomes the 
       *  interested thread.                                          
       */                                                             
                                                                      
      if ( _States_Is_ready( the_thread->current_state ) ) {          
   1741c:	e5923010 	ldr	r3, [r2, #16]                                 <== NOT EXECUTED
   17420:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
   17424:	0a000005 	beq	17440 <killinfo+0x1cc>                        <== NOT EXECUTED
       *  Now we know both threads are blocked.                       
       *  If the interested thread is interruptible, then just use it.
       */                                                             
                                                                      
      /* XXX need a new states macro */                               
      if ( interested_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL )
   17428:	e3110201 	tst	r1, #268435456	; 0x10000000                   <== NOT EXECUTED
   1742c:	1a000001 	bne	17438 <killinfo+0x1c4>                        <== NOT EXECUTED
       *  If the thread under consideration is interruptible by a signal,
       *  then it becomes the interested thread.                      
       */                                                             
                                                                      
      /* XXX need a new states macro */                               
      if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
   17430:	e3130201 	tst	r3, #268435456	; 0x10000000                   <== NOT EXECUTED
   17434:	1a000001 	bne	17440 <killinfo+0x1cc>                        <== NOT EXECUTED
   17438:	e1a0c005 	mov	ip, r5                                        
   1743c:	ea000000 	b	17444 <killinfo+0x1d0>                          
   17440:	e1a00002 	mov	r0, r2                                        
      continue;                                                       
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   17444:	e28ee001 	add	lr, lr, #1	; 0x1                              
   17448:	e1a0500c 	mov	r5, ip                                        
   1744c:	e15e0008 	cmp	lr, r8                                        
   17450:	9affffe0 	bls	173d8 <killinfo+0x164>                        
   17454:	e2844004 	add	r4, r4, #4	; 0x4                              
                                                                      
  interested_thread = NULL;                                           
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for ( the_api = OBJECTS_CLASSIC_API;                                
        the_api <= OBJECTS_APIS_LAST;                                 
   17458:	e1540009 	cmp	r4, r9                                        
   1745c:	1affffd3 	bne	173b0 <killinfo+0x13c>                        
        interested_priority = the_thread->current_priority;           
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested_thread ) {                                          
   17460:	e3500000 	cmp	r0, #0	; 0x0                                  
   17464:	0a000006 	beq	17484 <killinfo+0x210>                        
   *  evaluate the signals pending.                                   
   */                                                                 
                                                                      
process_it:                                                           
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
   17468:	e3a03001 	mov	r3, #1	; 0x1                                  
   1746c:	e5c03075 	strb	r3, [r0, #117]                               
  /*                                                                  
   *  Returns TRUE if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
                                                                      
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
   17470:	e1a01006 	mov	r1, r6                                        
   17474:	e1a0200d 	mov	r2, sp                                        
   17478:	eb000035 	bl	17554 <_POSIX_signals_Unblock_thread>          
   1747c:	e3500000 	cmp	r0, #0	; 0x0                                  
   17480:	1a000015 	bne	174dc <killinfo+0x268>                        
  /*                                                                  
   *  We may have woken up a thread but we definitely need to post the
   *  signal to the process wide information set.                     
   */                                                                 
                                                                      
  _POSIX_signals_Set_process_signals( mask );                         
   17484:	e1a00007 	mov	r0, r7                                        
   17488:	eb00001f 	bl	1750c <_POSIX_signals_Set_process_signals>     
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
   1748c:	e3a0300c 	mov	r3, #12	; 0xc                                 
   17490:	e0040693 	mul	r4, r3, r6                                    
   17494:	e59f3050 	ldr	r3, [pc, #80]	; 174ec <killinfo+0x278>        
   17498:	e7933004 	ldr	r3, [r3, r4]                                  
   1749c:	e3530002 	cmp	r3, #2	; 0x2                                  
   174a0:	1a00000d 	bne	174dc <killinfo+0x268>                        
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
   174a4:	e59f0058 	ldr	r0, [pc, #88]	; 17504 <killinfo+0x290>        
   174a8:	ebffd17a 	bl	ba98 <_Chain_Get>                              
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
   174ac:	e250c000 	subs	ip, r0, #0	; 0x0                             
   174b0:	1a000002 	bne	174c0 <killinfo+0x24c>                        
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
   174b4:	ebffd69e 	bl	cf34 <__errno>                                 <== NOT EXECUTED
   174b8:	e3a0300b 	mov	r3, #11	; 0xb                                 <== NOT EXECUTED
   174bc:	eaffff7b 	b	172b0 <killinfo+0x3c>                           <== NOT EXECUTED
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
   174c0:	e89d0007 	ldm	sp, {r0, r1, r2}                              
   174c4:	e28c3008 	add	r3, ip, #8	; 0x8                              
   174c8:	e8830007 	stm	r3, {r0, r1, r2}                              
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
   174cc:	e59f0034 	ldr	r0, [pc, #52]	; 17508 <killinfo+0x294>        
   174d0:	e1a0100c 	mov	r1, ip                                        
   174d4:	e0800004 	add	r0, r0, r4                                    
   174d8:	ebffbc0e 	bl	6518 <_Chain_Append>                           
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
   174dc:	ebffc1b3 	bl	7bb0 <_Thread_Enable_dispatch>                 
   174e0:	e3a00000 	mov	r0, #0	; 0x0                                  
  return 0;                                                           
}                                                                     
   174e4:	e28dd00c 	add	sp, sp, #12	; 0xc                             
   174e8:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

00002854 <link>: int link( const char *existing, const char *new ) {
    2854:	e92d4070 	push	{r4, r5, r6, lr}                             
    2858:	e24dd024 	sub	sp, sp, #36	; 0x24                            
    285c:	e1a04001 	mov	r4, r1                                        
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, 0, &existing_loc, true );
    2860:	e28d2010 	add	r2, sp, #16	; 0x10                            
    2864:	e3a01000 	mov	r1, #0	; 0x0                                  
    2868:	e3a03001 	mov	r3, #1	; 0x1                                  
    286c:	ebfffe8c 	bl	22a4 <rtems_filesystem_evaluate_path>          
  if ( result != 0 )                                                  
    2870:	e3500000 	cmp	r0, #0	; 0x0                                  
    2874:	1a000024 	bne	290c <link+0xb8>                              
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
    2878:	e5d43000 	ldrb	r3, [r4]                                     
    287c:	e353005c 	cmp	r3, #92	; 0x5c                                
    2880:	1353002f 	cmpne	r3, #47	; 0x2f                              
    2884:	13a0e000 	movne	lr, #0	; 0x0                                
    2888:	03a0e001 	moveq	lr, #1	; 0x1                                
    288c:	0a000001 	beq	2898 <link+0x44>                              
    2890:	e3530000 	cmp	r3, #0	; 0x0                                  
    2894:	1a000006 	bne	28b4 <link+0x60>                              
    2898:	e59f31d4 	ldr	r3, [pc, #468]	; 2a74 <link+0x220>            
    289c:	e5933000 	ldr	r3, [r3]                                      
    28a0:	e2833014 	add	r3, r3, #20	; 0x14                            
    28a4:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    28a8:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
    28ac:	e3a02001 	mov	r2, #1	; 0x1                                  
    28b0:	ea000005 	b	28cc <link+0x78>                                
    28b4:	e59f31b8 	ldr	r3, [pc, #440]	; 2a74 <link+0x220>            
    28b8:	e5933000 	ldr	r3, [r3]                                      
    28bc:	e2833004 	add	r3, r3, #4	; 0x4                              
    28c0:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    28c4:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
    28c8:	e1a0200e 	mov	r2, lr                                        
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
    28cc:	e59d3008 	ldr	r3, [sp, #8]                                  
    28d0:	e5933004 	ldr	r3, [r3, #4]                                  
    28d4:	e3530000 	cmp	r3, #0	; 0x0                                  
    28d8:	1a00000d 	bne	2914 <link+0xc0>                              
    rtems_filesystem_freenode( &existing_loc );                       
    28dc:	e59d3018 	ldr	r3, [sp, #24]                                 <== NOT EXECUTED
    28e0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    28e4:	0a000005 	beq	2900 <link+0xac>                              <== NOT EXECUTED
    28e8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    28ec:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    28f0:	0a000002 	beq	2900 <link+0xac>                              <== NOT EXECUTED
    28f4:	e28d0010 	add	r0, sp, #16	; 0x10                            <== NOT EXECUTED
    28f8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    28fc:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    2900:	eb002b6c 	bl	d6b8 <__errno>                                 <== NOT EXECUTED
    2904:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    2908:	e5803000 	str	r3, [r0]                                      
    290c:	e3e04000 	mvn	r4, #0	; 0x0                                  
    2910:	ea000054 	b	2a68 <link+0x214>                               
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
    2914:	e0840002 	add	r0, r4, r2                                    
    2918:	e1a0100d 	mov	r1, sp                                        
    291c:	e28d2020 	add	r2, sp, #32	; 0x20                            
    2920:	e1a0e00f 	mov	lr, pc                                        
    2924:	e12fff13 	bx	r3                                             
  if ( result != 0 ) {                                                
    2928:	e2504000 	subs	r4, r0, #0	; 0x0                             
  if ( !parent_loc.ops->evalformake_h ) {                             
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
    292c:	e1a0600d 	mov	r6, sp                                        
  if ( result != 0 ) {                                                
    2930:	0a00000a 	beq	2960 <link+0x10c>                             
    rtems_filesystem_freenode( &existing_loc );                       
    2934:	e59d3018 	ldr	r3, [sp, #24]                                 
    2938:	e3530000 	cmp	r3, #0	; 0x0                                  
    293c:	0a000004 	beq	2954 <link+0x100>                             
    2940:	e593301c 	ldr	r3, [r3, #28]                                 
    2944:	e3530000 	cmp	r3, #0	; 0x0                                  
    2948:	128d0010 	addne	r0, sp, #16	; 0x10                          
    294c:	11a0e00f 	movne	lr, pc                                      
    2950:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( result );                   
    2954:	eb002b57 	bl	d6b8 <__errno>                                 
    2958:	e5804000 	str	r4, [r0]                                      
    295c:	eaffffea 	b	290c <link+0xb8>                                
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
    2960:	e59d201c 	ldr	r2, [sp, #28]                                 
    2964:	e59d300c 	ldr	r3, [sp, #12]                                 
    2968:	e1530002 	cmp	r3, r2                                        
    296c:	0a000012 	beq	29bc <link+0x168>                             
    rtems_filesystem_freenode( &existing_loc );                       
    2970:	e59d3018 	ldr	r3, [sp, #24]                                 
    2974:	e3530000 	cmp	r3, #0	; 0x0                                  
    2978:	0a000004 	beq	2990 <link+0x13c>                             
    297c:	e593301c 	ldr	r3, [r3, #28]                                 
    2980:	e3530000 	cmp	r3, #0	; 0x0                                  
    2984:	128d0010 	addne	r0, sp, #16	; 0x10                          
    2988:	11a0e00f 	movne	lr, pc                                      
    298c:	112fff13 	bxne	r3                                           
    rtems_filesystem_freenode( &parent_loc );                         
    2990:	e59d3008 	ldr	r3, [sp, #8]                                  
    2994:	e3530000 	cmp	r3, #0	; 0x0                                  
    2998:	0a000004 	beq	29b0 <link+0x15c>                             
    299c:	e593301c 	ldr	r3, [r3, #28]                                 
    29a0:	e3530000 	cmp	r3, #0	; 0x0                                  
    29a4:	11a0000d 	movne	r0, sp                                      
    29a8:	11a0e00f 	movne	lr, pc                                      
    29ac:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EXDEV );                    
    29b0:	eb002b40 	bl	d6b8 <__errno>                                 
    29b4:	e3a03012 	mov	r3, #18	; 0x12                                
    29b8:	eaffffd2 	b	2908 <link+0xb4>                                
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
    29bc:	e59d3008 	ldr	r3, [sp, #8]                                  
    29c0:	e5933008 	ldr	r3, [r3, #8]                                  
    29c4:	e3530000 	cmp	r3, #0	; 0x0                                  
    29c8:	1a00000f 	bne	2a0c <link+0x1b8>                             
    rtems_filesystem_freenode( &existing_loc );                       
    29cc:	e59d3018 	ldr	r3, [sp, #24]                                 <== NOT EXECUTED
    29d0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    29d4:	0a000004 	beq	29ec <link+0x198>                             <== NOT EXECUTED
    29d8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    29dc:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    29e0:	128d0010 	addne	r0, sp, #16	; 0x10                          <== NOT EXECUTED
    29e4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    29e8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
    29ec:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
    29f0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    29f4:	0affffc1 	beq	2900 <link+0xac>                              <== NOT EXECUTED
    29f8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    29fc:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2a00:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    2a04:	1affffbb 	bne	28f8 <link+0xa4>                              <== NOT EXECUTED
    2a08:	eaffffbc 	b	2900 <link+0xac>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
    2a0c:	e28d5010 	add	r5, sp, #16	; 0x10                            
    2a10:	e1a0100d 	mov	r1, sp                                        
    2a14:	e1a00005 	mov	r0, r5                                        
    2a18:	e59d2020 	ldr	r2, [sp, #32]                                 
    2a1c:	e1a0e00f 	mov	lr, pc                                        
    2a20:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
    2a24:	e59d3018 	ldr	r3, [sp, #24]                                 
    2a28:	e3530000 	cmp	r3, #0	; 0x0                                  
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
    2a2c:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
    2a30:	0a000004 	beq	2a48 <link+0x1f4>                             
    2a34:	e593301c 	ldr	r3, [r3, #28]                                 
    2a38:	e3530000 	cmp	r3, #0	; 0x0                                  
    2a3c:	11a00005 	movne	r0, r5                                      
    2a40:	11a0e00f 	movne	lr, pc                                      
    2a44:	112fff13 	bxne	r3                                           
  rtems_filesystem_freenode( &parent_loc );                           
    2a48:	e59d3008 	ldr	r3, [sp, #8]                                  
    2a4c:	e3530000 	cmp	r3, #0	; 0x0                                  
    2a50:	0a000004 	beq	2a68 <link+0x214>                             
    2a54:	e593301c 	ldr	r3, [r3, #28]                                 
    2a58:	e3530000 	cmp	r3, #0	; 0x0                                  
    2a5c:	11a0000d 	movne	r0, sp                                      
    2a60:	11a0e00f 	movne	lr, pc                                      
    2a64:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    2a68:	e1a00004 	mov	r0, r4                                        
    2a6c:	e28dd024 	add	sp, sp, #36	; 0x24                            
    2a70:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00013950 <lseek>: { rtems_libio_t *iop; off_t old_offset; off_t status; rtems_libio_check_fd( fd );
   13950:	e59f30c4 	ldr	r3, [pc, #196]	; 13a1c <lseek+0xcc>           
   13954:	e5933000 	ldr	r3, [r3]                                      
   13958:	e1500003 	cmp	r0, r3                                        
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
   1395c:	e92d4030 	push	{r4, r5, lr}                                 
   13960:	e1a0c002 	mov	ip, r2                                        
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
   13964:	2a000006 	bcs	13984 <lseek+0x34>                            
  iop = rtems_libio_iop( fd );                                        
   13968:	e59f30b0 	ldr	r3, [pc, #176]	; 13a20 <lseek+0xd0>           
   1396c:	e5932000 	ldr	r2, [r3]                                      
   13970:	e3a03034 	mov	r3, #52	; 0x34                                
   13974:	e0242093 	mla	r4, r3, r0, r2                                
  rtems_libio_check_is_open(iop);                                     
   13978:	e594300c 	ldr	r3, [r4, #12]                                 
   1397c:	e3130c01 	tst	r3, #256	; 0x100                              
   13980:	1a000002 	bne	13990 <lseek+0x40>                            
   13984:	ebffdea3 	bl	b418 <__errno>                                 <== NOT EXECUTED
   13988:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
   1398c:	ea000017 	b	139f0 <lseek+0xa0>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
   13990:	e5943030 	ldr	r3, [r4, #48]                                 
   13994:	e5933014 	ldr	r3, [r3, #20]                                 
   13998:	e3530000 	cmp	r3, #0	; 0x0                                  
   1399c:	1a000002 	bne	139ac <lseek+0x5c>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   139a0:	ebffde9c 	bl	b418 <__errno>                                 <== NOT EXECUTED
   139a4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   139a8:	ea000010 	b	139f0 <lseek+0xa0>                              <== NOT EXECUTED
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
   139ac:	e35c0001 	cmp	ip, #1	; 0x1                                  
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
   139b0:	e5945008 	ldr	r5, [r4, #8]                                  
  switch ( whence ) {                                                 
   139b4:	0a000005 	beq	139d0 <lseek+0x80>                            
   139b8:	e35c0002 	cmp	ip, #2	; 0x2                                  
   139bc:	0a000005 	beq	139d8 <lseek+0x88>                            
   139c0:	e35c0000 	cmp	ip, #0	; 0x0                                  
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
   139c4:	05841008 	streq	r1, [r4, #8]                                
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
   139c8:	0a00000b 	beq	139fc <lseek+0xac>                            
   139cc:	ea000005 	b	139e8 <lseek+0x98>                              
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
   139d0:	e0813005 	add	r3, r1, r5                                    
   139d4:	ea000001 	b	139e0 <lseek+0x90>                              
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
   139d8:	e5943004 	ldr	r3, [r4, #4]                                  
   139dc:	e0813003 	add	r3, r1, r3                                    
   139e0:	e5843008 	str	r3, [r4, #8]                                  
   139e4:	ea000004 	b	139fc <lseek+0xac>                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   139e8:	ebffde8a 	bl	b418 <__errno>                                 
   139ec:	e3a03016 	mov	r3, #22	; 0x16                                
   139f0:	e5803000 	str	r3, [r0]                                      
   139f4:	e3e00000 	mvn	r0, #0	; 0x0                                  
   139f8:	e8bd8030 	pop	{r4, r5, pc}                                  
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
   139fc:	e1a0200c 	mov	r2, ip                                        
   13a00:	e5943030 	ldr	r3, [r4, #48]                                 
   13a04:	e1a00004 	mov	r0, r4                                        
   13a08:	e1a0e00f 	mov	lr, pc                                        
   13a0c:	e593f014 	ldr	pc, [r3, #20]                                 
  if ( status == (off_t) -1 )                                         
   13a10:	e3700001 	cmn	r0, #1	; 0x1                                  
    iop->offset = old_offset;                                         
   13a14:	05845008 	streq	r5, [r4, #8]                                
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
   13a18:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00008cc8 <malloc>: size_t size ) { void *return_this; MSBUMP(malloc_calls, 1);
    8cc8:	e59f20cc 	ldr	r2, [pc, #204]	; 8d9c <malloc+0xd4>           
    8ccc:	e5923004 	ldr	r3, [r2, #4]                                  
    8cd0:	e2833001 	add	r3, r3, #1	; 0x1                              
    8cd4:	e92d4030 	push	{r4, r5, lr}                                 
    8cd8:	e5823004 	str	r3, [r2, #4]                                  
    8cdc:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
    8ce0:	ebffffef 	bl	8ca4 <malloc_deferred_frees_process>           
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    8ce4:	e3550000 	cmp	r5, #0	; 0x0                                  
    8ce8:	0a000028 	beq	8d90 <malloc+0xc8>                            
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
    8cec:	e59f30ac 	ldr	r3, [pc, #172]	; 8da0 <malloc+0xd8>           
    8cf0:	e5933000 	ldr	r3, [r3]                                      
    8cf4:	e3530003 	cmp	r3, #3	; 0x3                                  
    8cf8:	1a000002 	bne	8d08 <malloc+0x40>                            
    8cfc:	ebffffd1 	bl	8c48 <malloc_is_system_state_OK>               
    8d00:	e3500000 	cmp	r0, #0	; 0x0                                  
    8d04:	0a000021 	beq	8d90 <malloc+0xc8>                            
   * Try to give a segment in the current heap if there is not        
   * enough space then try to grow the heap.                          
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( &RTEMS_Malloc_Heap, size ); 
    8d08:	e59f0094 	ldr	r0, [pc, #148]	; 8da4 <malloc+0xdc>           
    8d0c:	e1a01005 	mov	r1, r5                                        
    8d10:	eb000525 	bl	a1ac <_Protected_heap_Allocate>                
                                                                      
  if ( !return_this ) {                                               
    8d14:	e2504000 	subs	r4, r0, #0	; 0x0                             
    8d18:	1a00000d 	bne	8d54 <malloc+0x8c>                            
    if (rtems_malloc_sbrk_helpers)                                    
    8d1c:	e59f3084 	ldr	r3, [pc, #132]	; 8da8 <malloc+0xe0>           
    8d20:	e5933000 	ldr	r3, [r3]                                      
    8d24:	e3530000 	cmp	r3, #0	; 0x0                                  
    8d28:	0a000005 	beq	8d44 <malloc+0x7c>                            
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    8d2c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    8d30:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    8d34:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
    if ( !return_this ) {                                             
    8d38:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
      errno = ENOMEM;                                                 
      return (void *) 0;                                              
    8d3c:	11a04000 	movne	r4, r0                                      <== NOT EXECUTED
  return_this = _Protected_heap_Allocate( &RTEMS_Malloc_Heap, size ); 
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    if ( !return_this ) {                                             
    8d40:	1a000003 	bne	8d54 <malloc+0x8c>                            <== NOT EXECUTED
      errno = ENOMEM;                                                 
    8d44:	eb0009b3 	bl	b418 <__errno>                                 
    8d48:	e3a0300c 	mov	r3, #12	; 0xc                                 
    8d4c:	e5803000 	str	r3, [r0]                                      
    8d50:	ea00000f 	b	8d94 <malloc+0xcc>                              
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
    8d54:	e59f3050 	ldr	r3, [pc, #80]	; 8dac <malloc+0xe4>            
    8d58:	e5933000 	ldr	r3, [r3]                                      
    8d5c:	e3530000 	cmp	r3, #0	; 0x0                                  
    (*rtems_malloc_dirty_helper)( return_this, size );                
    8d60:	11a01005 	movne	r1, r5                                      
    8d64:	11a00004 	movne	r0, r4                                      
    8d68:	11a0e00f 	movne	lr, pc                                      
    8d6c:	112fff13 	bxne	r3                                           
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    8d70:	e59f3038 	ldr	r3, [pc, #56]	; 8db0 <malloc+0xe8>            
    8d74:	e5933000 	ldr	r3, [r3]                                      
    8d78:	e3530000 	cmp	r3, #0	; 0x0                                  
    8d7c:	0a000004 	beq	8d94 <malloc+0xcc>                            
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
    8d80:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    8d84:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    8d88:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
    8d8c:	ea000000 	b	8d94 <malloc+0xcc>                              <== NOT EXECUTED
    8d90:	e3a04000 	mov	r4, #0	; 0x0                                  
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
    8d94:	e1a00004 	mov	r0, r4                                        
    8d98:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00008c94 <malloc_deferred_free>: } void malloc_deferred_free( void *pointer ) {
    8c94:	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 );                               
    8c98:	e59f0000 	ldr	r0, [pc, #0]	; 8ca0 <malloc_deferred_free+0xc><== NOT EXECUTED
    8c9c:	eafff04e 	b	4ddc <_Chain_Append>                            <== NOT EXECUTED
                                                                      

00008ca4 <malloc_deferred_frees_process>: { rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list); } void malloc_deferred_frees_process(void) {
    8ca4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
    8ca8:	ea000000 	b	8cb0 <malloc_deferred_frees_process+0xc>        
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
    free(to_be_freed);                                                
    8cac:	ebfffeb8 	bl	8794 <free>                                    <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
    8cb0:	e59f000c 	ldr	r0, [pc, #12]	; 8cc4 <malloc_deferred_frees_process+0x20>
    8cb4:	eb000401 	bl	9cc0 <_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)
    8cb8:	e3500000 	cmp	r0, #0	; 0x0                                  
    8cbc:	1afffffa 	bne	8cac <malloc_deferred_frees_process+0x8>      
    free(to_be_freed);                                                
}                                                                     
    8cc0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

0000c3f8 <memfile_ftruncate>: int memfile_ftruncate( rtems_libio_t *iop, off_t length ) {
    c3f8:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
    c3fc:	e590402c 	ldr	r4, [r0, #44]                                 
   *  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 )                           
    c400:	e5943050 	ldr	r3, [r4, #80]                                 
    c404:	e1510003 	cmp	r1, r3                                        
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  off_t                 length                                        
)                                                                     
{                                                                     
    c408:	e24dd008 	sub	sp, sp, #8	; 0x8                              
   *  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 )                           
    c40c:	da000002 	ble	c41c <memfile_ftruncate+0x24>                 
    return IMFS_memfile_extend( the_jnode, length );                  
    c410:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    c414:	ebffffad 	bl	c2d0 <IMFS_memfile_extend>                     <== NOT EXECUTED
    c418:	ea000007 	b	c43c <memfile_ftruncate+0x44>                   <== NOT EXECUTED
   *  The in-memory files do not currently reclaim memory until the file is
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
                                                                      
  the_jnode->info.file.size = length;                                 
    c41c:	e5841050 	str	r1, [r4, #80]                                 
  iop->size = the_jnode->info.file.size;                              
    c420:	e5801004 	str	r1, [r0, #4]                                  
                                                                      
  IMFS_update_atime( the_jnode );                                     
    c424:	e1a0000d 	mov	r0, sp                                        
    c428:	e3a01000 	mov	r1, #0	; 0x0                                  
    c42c:	ebffd8b5 	bl	2708 <gettimeofday>                            
    c430:	e59d3000 	ldr	r3, [sp]                                      
    c434:	e5843040 	str	r3, [r4, #64]                                 
    c438:	e3a00000 	mov	r0, #0	; 0x0                                  
                                                                      
  return 0;                                                           
}                                                                     
    c43c:	e28dd008 	add	sp, sp, #8	; 0x8                              
    c440:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

0000c444 <memfile_lseek>: off_t memfile_lseek( rtems_libio_t *iop, off_t offset, int whence ) {
    c444:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
    c448:	e590402c 	ldr	r4, [r0, #44]                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    c44c:	e594304c 	ldr	r3, [r4, #76]                                 
    c450:	e3530006 	cmp	r3, #6	; 0x6                                  
off_t memfile_lseek(                                                  
  rtems_libio_t   *iop,                                               
  off_t            offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
    c454:	e1a05000 	mov	r5, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    c458:	1a000004 	bne	c470 <memfile_lseek+0x2c>                     
    if (iop->offset > the_jnode->info.linearfile.size)                
    c45c:	e5940050 	ldr	r0, [r4, #80]                                 <== NOT EXECUTED
    c460:	e5953008 	ldr	r3, [r5, #8]                                  <== NOT EXECUTED
    c464:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
    c468:	c5850008 	strgt	r0, [r5, #8]                                <== NOT EXECUTED
    c46c:	ea00000b 	b	c4a0 <memfile_lseek+0x5c>                       <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
    c470:	e1a00004 	mov	r0, r4                                        
    c474:	e5951008 	ldr	r1, [r5, #8]                                  
    c478:	ebffff94 	bl	c2d0 <IMFS_memfile_extend>                     
    c47c:	e3500000 	cmp	r0, #0	; 0x0                                  
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
    c480:	05943050 	ldreq	r3, [r4, #80]                               
    c484:	05853004 	streq	r3, [r5, #4]                                
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    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 ))                
    c488:	0a000004 	beq	c4a0 <memfile_lseek+0x5c>                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
    c48c:	eb0004b8 	bl	d774 <__errno>                                 <== NOT EXECUTED
    c490:	e3a0301c 	mov	r3, #28	; 0x1c                                <== NOT EXECUTED
    c494:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    c498:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    c49c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
    c4a0:	e5950008 	ldr	r0, [r5, #8]                                  
}                                                                     
    c4a4:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000c6f8 <memfile_open>: the_jnode = iop->file_info; /* * Perform 'copy on write' for linear files */ if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))
    c6f8:	e590300c 	ldr	r3, [r0, #12]                                 
    c6fc:	e3130f81 	tst	r3, #516	; 0x204                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
    c700:	e92d4030 	push	{r4, r5, lr}                                 
    c704:	e1a05000 	mov	r5, r0                                        
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
    c708:	e590402c 	ldr	r4, [r0, #44]                                 
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
    c70c:	0a000012 	beq	c75c <memfile_open+0x64>                      
    c710:	e594304c 	ldr	r3, [r4, #76]                                 
    c714:	e3530006 	cmp	r3, #6	; 0x6                                  
    c718:	1a00000f 	bne	c75c <memfile_open+0x64>                      
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    c71c:	e5940050 	ldr	r0, [r4, #80]                                 <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    c720:	e3a01000 	mov	r1, #0	; 0x0                                  <== 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;                               
    c724:	e3a03005 	mov	r3, #5	; 0x5                                  <== 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)                                                  
    c728:	e3500000 	cmp	r0, #0	; 0x0                                  <== 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;  
    c72c:	e5942054 	ldr	r2, [r4, #84]                                 <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    c730:	e584304c 	str	r3, [r4, #76]                                 <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    c734:	e5841050 	str	r1, [r4, #80]                                 <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    c738:	e5841058 	str	r1, [r4, #88]                                 <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
    c73c:	e584105c 	str	r1, [r4, #92]                                 <== NOT EXECUTED
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    c740:	e5841054 	str	r1, [r4, #84]                                 <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
    c744:	0a000004 	beq	c75c <memfile_open+0x64>                      <== NOT EXECUTED
    c748:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    c74c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    c750:	ebffff54 	bl	c4a8 <IMFS_memfile_write>                      <== NOT EXECUTED
    c754:	e3700001 	cmn	r0, #1	; 0x1                                  <== NOT EXECUTED
    c758:	08bd8030 	popeq	{r4, r5, pc}                                <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    c75c:	e595300c 	ldr	r3, [r5, #12]                                 
    c760:	e3130c02 	tst	r3, #512	; 0x200                              
    iop->offset = the_jnode->info.file.size;                          
    c764:	15943050 	ldrne	r3, [r4, #80]                               
    c768:	15853008 	strne	r3, [r5, #8]                                
                                                                      
  iop->size = the_jnode->info.file.size;                              
    c76c:	e5943050 	ldr	r3, [r4, #80]                                 
    c770:	e3a00000 	mov	r0, #0	; 0x0                                  
    c774:	e5853004 	str	r3, [r5, #4]                                  
  return 0;                                                           
}                                                                     
    c778:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

000015a4 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
    15a4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
    15a8:	e1a08001 	mov	r8, r1                                        
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT) {                                            
    15ac:	e2011a0f 	and	r1, r1, #61440	; 0xf000                       
    15b0:	e3510901 	cmp	r1, #16384	; 0x4000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
    15b4:	e24dd018 	sub	sp, sp, #24	; 0x18                            
    15b8:	e1a04000 	mov	r4, r0                                        
    15bc:	e1a06002 	mov	r6, r2                                        
    15c0:	e1a07003 	mov	r7, r3                                        
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT) {                                            
    15c4:	0a00000b 	beq	15f8 <mknod+0x54>                             
    15c8:	8a000003 	bhi	15dc <mknod+0x38>                             
    15cc:	e3510a01 	cmp	r1, #4096	; 0x1000                            
    15d0:	0a00000a 	beq	1600 <mknod+0x5c>                             
    15d4:	e3510a02 	cmp	r1, #8192	; 0x2000                            
    15d8:	ea000002 	b	15e8 <mknod+0x44>                               
    15dc:	e3510a06 	cmp	r1, #24576	; 0x6000                           
    15e0:	0a000004 	beq	15f8 <mknod+0x54>                             
    15e4:	e3510902 	cmp	r1, #32768	; 0x8000                           
    15e8:	0a000002 	beq	15f8 <mknod+0x54>                             
    case S_IFBLK:                                                     
    case S_IFREG:                                                     
    case S_IFIFO:                                                     
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    15ec:	eb002789 	bl	b418 <__errno>                                 <== NOT EXECUTED
    15f0:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    15f4:	ea000003 	b	1608 <mknod+0x64>                               <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( S_ISFIFO(mode) )                                               
    15f8:	e3510a01 	cmp	r1, #4096	; 0x1000                            
    15fc:	1a000004 	bne	1614 <mknod+0x70>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    1600:	eb002784 	bl	b418 <__errno>                                 
    1604:	e3a03086 	mov	r3, #134	; 0x86                               
    1608:	e5803000 	str	r3, [r0]                                      
    160c:	e3e04000 	mvn	r4, #0	; 0x0                                  
    1610:	ea00003d 	b	170c <mknod+0x168>                              
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
    1614:	e5d43000 	ldrb	r3, [r4]                                     
    1618:	e353005c 	cmp	r3, #92	; 0x5c                                
    161c:	1353002f 	cmpne	r3, #47	; 0x2f                              
    1620:	13a0e000 	movne	lr, #0	; 0x0                                
    1624:	03a0e001 	moveq	lr, #1	; 0x1                                
    1628:	0a000001 	beq	1634 <mknod+0x90>                             
    162c:	e3530000 	cmp	r3, #0	; 0x0                                  
    1630:	1a000007 	bne	1654 <mknod+0xb0>                             
    1634:	e59f30dc 	ldr	r3, [pc, #220]	; 1718 <mknod+0x174>           
    1638:	e5933000 	ldr	r3, [r3]                                      
    163c:	e2833014 	add	r3, r3, #20	; 0x14                            
    1640:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    1644:	e28dc004 	add	ip, sp, #4	; 0x4                              
    1648:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
    164c:	e3a02001 	mov	r2, #1	; 0x1                                  
    1650:	ea000006 	b	1670 <mknod+0xcc>                               
    1654:	e59f30bc 	ldr	r3, [pc, #188]	; 1718 <mknod+0x174>           
    1658:	e5933000 	ldr	r3, [r3]                                      
    165c:	e2833004 	add	r3, r3, #4	; 0x4                              
    1660:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    1664:	e28dc004 	add	ip, sp, #4	; 0x4                              
    1668:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
    166c:	e1a0200e 	mov	r2, lr                                        
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
    1670:	e59d300c 	ldr	r3, [sp, #12]                                 
    1674:	e5933004 	ldr	r3, [r3, #4]                                  
    1678:	e3530000 	cmp	r3, #0	; 0x0                                  
    167c:	0affffdf 	beq	1600 <mknod+0x5c>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
    1680:	e28d5004 	add	r5, sp, #4	; 0x4                              
    1684:	e0840002 	add	r0, r4, r2                                    
    1688:	e1a01005 	mov	r1, r5                                        
    168c:	e28d2014 	add	r2, sp, #20	; 0x14                            
    1690:	e1a0e00f 	mov	lr, pc                                        
    1694:	e12fff13 	bx	r3                                             
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
    1698:	e3500000 	cmp	r0, #0	; 0x0                                  
    169c:	1affffda 	bne	160c <mknod+0x68>                             
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
    16a0:	e59d300c 	ldr	r3, [sp, #12]                                 
    16a4:	e593c014 	ldr	ip, [r3, #20]                                 
    16a8:	e35c0000 	cmp	ip, #0	; 0x0                                  
    16ac:	1a000006 	bne	16cc <mknod+0x128>                            
    rtems_filesystem_freenode( &temp_loc );                           
    16b0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    16b4:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    16b8:	0affffd0 	beq	1600 <mknod+0x5c>                             <== NOT EXECUTED
    16bc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    16c0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    16c4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    16c8:	eaffffcc 	b	1600 <mknod+0x5c>                               <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
    16cc:	e1a03007 	mov	r3, r7                                        
    16d0:	e58d5000 	str	r5, [sp]                                      
    16d4:	e1a01008 	mov	r1, r8                                        
    16d8:	e1a02006 	mov	r2, r6                                        
    16dc:	e59d0014 	ldr	r0, [sp, #20]                                 
    16e0:	e1a0e00f 	mov	lr, pc                                        
    16e4:	e12fff1c 	bx	ip                                             
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
    16e8:	e59d300c 	ldr	r3, [sp, #12]                                 
    16ec:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
    16f0:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
    16f4:	0a000004 	beq	170c <mknod+0x168>                            
    16f8:	e593301c 	ldr	r3, [r3, #28]                                 
    16fc:	e3530000 	cmp	r3, #0	; 0x0                                  
    1700:	11a00005 	movne	r0, r5                                      
    1704:	11a0e00f 	movne	lr, pc                                      
    1708:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    170c:	e1a00004 	mov	r0, r4                                        
    1710:	e28dd018 	add	sp, sp, #24	; 0x18                            
    1714:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

00008de0 <mount>: const rtems_filesystem_operations_table *fs_ops, rtems_filesystem_options_t options, const char *device, const char *mount_point ) {
    8de0:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
    8de4:	e2519000 	subs	r9, r1, #0	; 0x0                             
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
    8de8:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    8dec:	e1a08000 	mov	r8, r0                                        
    8df0:	e1a07002 	mov	r7, r2                                        
    8df4:	e1a05003 	mov	r5, r3                                        
    8df8:	e59d6030 	ldr	r6, [sp, #48]                                 
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
    8dfc:	0a000001 	beq	8e08 <mount+0x28>                             
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
    8e00:	e3520001 	cmp	r2, #1	; 0x1                                  
    8e04:	9a000002 	bls	8e14 <mount+0x34>                             
       options != RTEMS_FILESYSTEM_READ_WRITE ) {                     
    errno = EINVAL;                                                   
    8e08:	eb000982 	bl	b418 <__errno>                                 
    8e0c:	e3a03016 	mov	r3, #22	; 0x16                                
    8e10:	ea000015 	b	8e6c <mount+0x8c>                               
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
    8e14:	e5994024 	ldr	r4, [r9, #36]                                 
    8e18:	e3540000 	cmp	r4, #0	; 0x0                                  
    8e1c:	1a000005 	bne	8e38 <mount+0x58>                             
    errno = ENOTSUP;                                                  
    8e20:	eb00097c 	bl	b418 <__errno>                                 <== NOT EXECUTED
    8e24:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    8e28:	e1a0a004 	mov	sl, r4                                        <== NOT EXECUTED
    8e2c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    8e30:	e1a05004 	mov	r5, r4                                        <== NOT EXECUTED
    8e34:	ea000064 	b	8fcc <mount+0x1ec>                              <== NOT EXECUTED
  /*                                                                  
   * Allocate a mount table entry                                     
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
    8e38:	e3530000 	cmp	r3, #0	; 0x0                                  
    8e3c:	03a00064 	moveq	r0, #100	; 0x64                             
    8e40:	0a000002 	beq	8e50 <mount+0x70>                             
     size += strlen( device ) + 1;                                    
    8e44:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
    8e48:	eb000ea8 	bl	c8f0 <strlen>                                  <== NOT EXECUTED
    8e4c:	e2800065 	add	r0, r0, #101	; 0x65                           <== NOT EXECUTED
   temp_mt_entry = malloc( size );                                    
    8e50:	ebffff9c 	bl	8cc8 <malloc>                                  
                                                                      
   if ( !temp_mt_entry ) {                                            
    8e54:	e3500000 	cmp	r0, #0	; 0x0                                  
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
    8e58:	e1a04000 	mov	r4, r0                                        
    8e5c:	e1a0a000 	mov	sl, r0                                        
                                                                      
   if ( !temp_mt_entry ) {                                            
    8e60:	1a000003 	bne	8e74 <mount+0x94>                             
     errno = ENOMEM;                                                  
    8e64:	eb00096b 	bl	b418 <__errno>                                 <== NOT EXECUTED
    8e68:	e3a0300c 	mov	r3, #12	; 0xc                                 <== NOT EXECUTED
    8e6c:	e5803000 	str	r3, [r0]                                      
    8e70:	ea000061 	b	8ffc <mount+0x21c>                              
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
    8e74:	e3550000 	cmp	r5, #0	; 0x0                                  
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
    8e78:	e5807028 	str	r7, [r0, #40]                                 
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
    8e7c:	e5840024 	str	r0, [r4, #36]                                 
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
   } else                                                             
     temp_mt_entry->dev = 0;                                          
    8e80:	05805060 	streq	r5, [r0, #96]                               
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
    8e84:	12803064 	addne	r3, r0, #100	; 0x64                         
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
    8e88:	11a00003 	movne	r0, r3                                      
    8e8c:	11a01005 	movne	r1, r5                                      
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
    8e90:	15843060 	strne	r3, [r4, #96]                               
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
    8e94:	1b000e67 	blne	c838 <strcpy>                                
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
    8e98:	e3560000 	cmp	r6, #0	; 0x0                                  
    8e9c:	0a00002c 	beq	8f54 <mount+0x174>                            
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
    8ea0:	e1a00006 	mov	r0, r6                                        
    8ea4:	e3a01007 	mov	r1, #7	; 0x7                                  
    8ea8:	e1a0200d 	mov	r2, sp                                        
    8eac:	e3a03001 	mov	r3, #1	; 0x1                                  
    8eb0:	ebffe110 	bl	12f8 <rtems_filesystem_evaluate_path>          
    8eb4:	e3700001 	cmn	r0, #1	; 0x1                                  
    8eb8:	0a000042 	beq	8fc8 <mount+0x1e8>                            
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
    8ebc:	e59d3008 	ldr	r3, [sp, #8]                                  
    8ec0:	e5933010 	ldr	r3, [r3, #16]                                 
    8ec4:	e3530000 	cmp	r3, #0	; 0x0                                  
    8ec8:	0a000017 	beq	8f2c <mount+0x14c>                            
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    8ecc:	e1a0000d 	mov	r0, sp                                        
    8ed0:	e1a0e00f 	mov	lr, pc                                        
    8ed4:	e12fff13 	bx	r3                                             
    8ed8:	e3500001 	cmp	r0, #1	; 0x1                                  
    8edc:	0a000004 	beq	8ef4 <mount+0x114>                            
      errno = ENOTDIR;                                                
    8ee0:	eb00094c 	bl	b418 <__errno>                                 
    8ee4:	e3a03014 	mov	r3, #20	; 0x14                                
    8ee8:	e5803000 	str	r3, [r0]                                      
    8eec:	e1a0500d 	mov	r5, sp                                        
    8ef0:	ea000035 	b	8fcc <mount+0x1ec>                              
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
    8ef4:	e59f1134 	ldr	r1, [pc, #308]	; 9030 <mount+0x250>           
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = (rtems_filesystem_mount_table_entry_t *) the_node;
     if ( the_mount_entry->mt_fs_root.node_access  == loc->node_access )
    8ef8:	e59d0000 	ldr	r0, [sp]                                      
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
    8efc:	e4912004 	ldr	r2, [r1], #4                                  
    8f00:	ea000003 	b	8f14 <mount+0x134>                              
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = (rtems_filesystem_mount_table_entry_t *) the_node;
     if ( the_mount_entry->mt_fs_root.node_access  == loc->node_access )
    8f04:	e5923018 	ldr	r3, [r2, #24]                                 
    8f08:	e1530000 	cmp	r3, r0                                        
    8f0c:	0a000003 	beq	8f20 <mount+0x140>                            
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
    8f10:	e5922000 	ldr	r2, [r2]                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
    8f14:	e1520001 	cmp	r2, r1                                        
    8f18:	1afffff9 	bne	8f04 <mount+0x124>                            
    8f1c:	ea000039 	b	9008 <mount+0x228>                              
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( Is_node_fs_root(  &loc ) ){                                  
      errno = EBUSY;                                                  
    8f20:	eb00093c 	bl	b418 <__errno>                                 
    8f24:	e3a03010 	mov	r3, #16	; 0x10                                
    8f28:	eaffffee 	b	8ee8 <mount+0x108>                              
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
      errno = ENOTSUP;                                                
    8f2c:	eb000939 	bl	b418 <__errno>                                 <== NOT EXECUTED
    8f30:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    8f34:	eaffffeb 	b	8ee8 <mount+0x108>                              <== NOT EXECUTED
      goto cleanup_and_bail;                                          
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( temp_mt_entry ) ) {                        
    8f38:	e1a00004 	mov	r0, r4                                        
    8f3c:	e1a0e00f 	mov	lr, pc                                        
    8f40:	e12fff11 	bx	r1                                             
    8f44:	e3500000 	cmp	r0, #0	; 0x0                                  
    8f48:	01a0500d 	moveq	r5, sp                                      
    8f4c:	0a000008 	beq	8f74 <mount+0x194>                            
    8f50:	eaffffe5 	b	8eec <mount+0x10c>                              <== NOT EXECUTED
     *  This is a mount of the base file system --> The               
     *  mt_point_node.node_access will be set to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
                                                                      
    temp_mt_entry->mt_fs_root.node_access = NULL;                     
    8f54:	e5846018 	str	r6, [r4, #24]                                 
    temp_mt_entry->mt_fs_root.handlers = NULL;                        
    8f58:	e584601c 	str	r6, [r4, #28]                                 
    temp_mt_entry->mt_fs_root.ops = NULL;                             
    8f5c:	e5846020 	str	r6, [r4, #32]                                 
                                                                      
    temp_mt_entry->mt_point_node.node_access = NULL;                  
    8f60:	e5846008 	str	r6, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = NULL;                     
    8f64:	e584600c 	str	r6, [r4, #12]                                 
    temp_mt_entry->mt_point_node.ops = NULL;                          
    8f68:	e5846010 	str	r6, [r4, #16]                                 
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
    8f6c:	e5846014 	str	r6, [r4, #20]                                 
    8f70:	e1a05006 	mov	r5, r6                                        
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
    8f74:	e1a00004 	mov	r0, r4                                        
    8f78:	e1a0e00f 	mov	lr, pc                                        
    8f7c:	e599f024 	ldr	pc, [r9, #36]                                 
    8f80:	e2506000 	subs	r6, r0, #0	; 0x0                             
    8f84:	0a000007 	beq	8fa8 <mount+0x1c8>                            
	/* try to undo the mount operation */                                
	if ( loc.ops->unmount_h ) {                                          
    8f88:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
    8f8c:	e5933028 	ldr	r3, [r3, #40]                                 <== NOT EXECUTED
    8f90:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    8f94:	0a00000c 	beq	8fcc <mount+0x1ec>                            <== NOT EXECUTED
		loc.ops->unmount_h( temp_mt_entry );                                
    8f98:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    8f9c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    8fa0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    8fa4:	ea000008 	b	8fcc <mount+0x1ec>                              <== 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 );                               
    8fa8:	e59f0080 	ldr	r0, [pc, #128]	; 9030 <mount+0x250>           
    8fac:	e1a01004 	mov	r1, r4                                        
    8fb0:	ebffef89 	bl	4ddc <_Chain_Append>                           
   */                                                                 
                                                                      
  rtems_chain_append( &rtems_filesystem_mount_table_control,          
                      &temp_mt_entry->Node );                         
                                                                      
  if ( mt_entry )                                                     
    8fb4:	e3580000 	cmp	r8, #0	; 0x0                                  
    8fb8:	01a00008 	moveq	r0, r8                                      
    *mt_entry = temp_mt_entry;                                        
    8fbc:	15884000 	strne	r4, [r8]                                    
    8fc0:	11a00006 	movne	r0, r6                                      
    8fc4:	ea00000d 	b	9000 <mount+0x220>                              
    8fc8:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
    8fcc:	e1a0000a 	mov	r0, sl                                        
    8fd0:	ebfffdef 	bl	8794 <free>                                    
                                                                      
  if ( loc_to_free )                                                  
    8fd4:	e3550000 	cmp	r5, #0	; 0x0                                  
    8fd8:	0a000007 	beq	8ffc <mount+0x21c>                            
    rtems_filesystem_freenode( loc_to_free );                         
    8fdc:	e5953008 	ldr	r3, [r5, #8]                                  
    8fe0:	e3530000 	cmp	r3, #0	; 0x0                                  
    8fe4:	0a000004 	beq	8ffc <mount+0x21c>                            
    8fe8:	e593301c 	ldr	r3, [r3, #28]                                 
    8fec:	e3530000 	cmp	r3, #0	; 0x0                                  
    8ff0:	11a00005 	movne	r0, r5                                      
    8ff4:	11a0e00f 	movne	lr, pc                                      
    8ff8:	112fff13 	bxne	r3                                           
    8ffc:	e3e00000 	mvn	r0, #0	; 0x0                                  
                                                                      
  return -1;                                                          
}                                                                     
    9000:	e28dd010 	add	sp, sp, #16	; 0x10                            
    9004:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    9008:	e99d000c 	ldmib	sp, {r2, r3}                                
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
    900c:	e5931020 	ldr	r1, [r3, #32]                                 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    9010:	e584200c 	str	r2, [r4, #12]                                 
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
    9014:	e59d200c 	ldr	r2, [sp, #12]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
    9018:	e3510000 	cmp	r1, #0	; 0x0                                  
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    901c:	e5840008 	str	r0, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
    9020:	e5842014 	str	r2, [r4, #20]                                 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    9024:	e5843010 	str	r3, [r4, #16]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
    9028:	1affffc2 	bne	8f38 <mount+0x158>                            
    902c:	eaffffbe 	b	8f2c <mount+0x14c>                              <== NOT EXECUTED
                                                                      

000095e4 <nanosleep>: int nanosleep( const struct timespec *rqtp, struct timespec *rmtp ) {
    95e4:	e92d4070 	push	{r4, r5, r6, lr}                             
    95e8:	e1a06001 	mov	r6, r1                                        
    95ec:	e1a04000 	mov	r4, r0                                        
  Watchdog_Interval  ticks;                                           
                                                                      
  if ( !_Timespec_Is_valid( rqtp ) )                                  
    95f0:	eb000573 	bl	abc4 <_Timespec_Is_valid>                      
    95f4:	e3500000 	cmp	r0, #0	; 0x0                                  
    95f8:	0a000005 	beq	9614 <nanosleep+0x30>                         
   *  Return EINVAL if the delay interval is negative.                
   *                                                                  
   *  NOTE:  This behavior is beyond the POSIX specification.         
   *         FSU and GNU/Linux pthreads shares this behavior.         
   */                                                                 
  if ( rqtp->tv_sec < 0 || rqtp->tv_nsec < 0 )                        
    95fc:	e5943000 	ldr	r3, [r4]                                      
    9600:	e3530000 	cmp	r3, #0	; 0x0                                  
    9604:	ba000002 	blt	9614 <nanosleep+0x30>                         
    9608:	e5943004 	ldr	r3, [r4, #4]                                  
    960c:	e3530000 	cmp	r3, #0	; 0x0                                  
    9610:	aa000002 	bge	9620 <nanosleep+0x3c>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    9614:	eb0008fc 	bl	ba0c <__errno>                                 
    9618:	e3a03016 	mov	r3, #22	; 0x16                                
    961c:	ea000031 	b	96e8 <nanosleep+0x104>                          
                                                                      
  ticks = _Timespec_To_ticks( rqtp );                                 
    9620:	e1a00004 	mov	r0, r4                                        
    9624:	eb000576 	bl	ac04 <_Timespec_To_ticks>                      
   *  A nanosleep for zero time is implemented as a yield.            
   *  This behavior is also beyond the POSIX specification but is     
   *  consistent with the RTEMS API and yields desirable behavior.    
   */                                                                 
                                                                      
  if ( !ticks ) {                                                     
    9628:	e2505000 	subs	r5, r0, #0	; 0x0                             
    962c:	e59f20c8 	ldr	r2, [pc, #200]	; 96fc <nanosleep+0x118>       
    9630:	1a00000a 	bne	9660 <nanosleep+0x7c>                         
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    9634:	e5923000 	ldr	r3, [r2]                                      
    9638:	e2833001 	add	r3, r3, #1	; 0x1                              
    963c:	e5823000 	str	r3, [r2]                                      
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
    9640:	ebfff75a 	bl	73b0 <_Thread_Yield_processor>                 
    _Thread_Enable_dispatch();                                        
    9644:	ebfff411 	bl	6690 <_Thread_Enable_dispatch>                 
    if ( rmtp ) {                                                     
    9648:	e3560000 	cmp	r6, #0	; 0x0                                  
       rmtp->tv_sec = 0;                                              
       rmtp->tv_nsec = 0;                                             
    964c:	15865004 	strne	r5, [r6, #4]                                
  if ( !ticks ) {                                                     
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
    _Thread_Enable_dispatch();                                        
    if ( rmtp ) {                                                     
       rmtp->tv_sec = 0;                                              
    9650:	15865000 	strne	r5, [r6]                                    
       rmtp->tv_nsec = 0;                                             
    9654:	11a00005 	movne	r0, r5                                      
                                                                      
  if ( !ticks ) {                                                     
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
    _Thread_Enable_dispatch();                                        
    if ( rmtp ) {                                                     
    9658:	18bd8070 	popne	{r4, r5, r6, pc}                            
    965c:	ea000024 	b	96f4 <nanosleep+0x110>                          <== NOT EXECUTED
    9660:	e5923000 	ldr	r3, [r2]                                      
    9664:	e2833001 	add	r3, r3, #1	; 0x1                              
    9668:	e5823000 	str	r3, [r2]                                      
                                                                      
  /*                                                                  
   *  Block for the desired amount of time                            
   */                                                                 
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
    966c:	e59f408c 	ldr	r4, [pc, #140]	; 9700 <nanosleep+0x11c>       
    9670:	e3a01281 	mov	r1, #268435464	; 0x10000008                   
    9674:	e5940000 	ldr	r0, [r4]                                      
    9678:	ebfff661 	bl	7004 <_Thread_Set_state>                       
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
    967c:	e5943000 	ldr	r3, [r4]                                      
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
    9680:	e59f207c 	ldr	r2, [pc, #124]	; 9704 <nanosleep+0x120>       
    9684:	e5931008 	ldr	r1, [r3, #8]                                  
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    9688:	e3a00000 	mov	r0, #0	; 0x0                                  
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
    968c:	e5831068 	str	r1, [r3, #104]                                
  the_watchdog->user_data = user_data;                                
    9690:	e583006c 	str	r0, [r3, #108]                                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    9694:	e5830050 	str	r0, [r3, #80]                                 
  the_watchdog->routine   = routine;                                  
    9698:	e5832064 	str	r2, [r3, #100]                                
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    969c:	e2831048 	add	r1, r3, #72	; 0x48                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
    96a0:	e5835054 	str	r5, [r3, #84]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    96a4:	e59f005c 	ldr	r0, [pc, #92]	; 9708 <nanosleep+0x124>        
    96a8:	ebfff85a 	bl	7818 <_Watchdog_Insert>                        
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );       
  _Thread_Enable_dispatch();                                          
    96ac:	ebfff3f7 	bl	6690 <_Thread_Enable_dispatch>                 
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
    96b0:	e3560000 	cmp	r6, #0	; 0x0                                  
    96b4:	0a00000e 	beq	96f4 <nanosleep+0x110>                        
    ticks -=                                                          
    96b8:	e5943000 	ldr	r3, [r4]                                      
    96bc:	e283205c 	add	r2, r3, #92	; 0x5c                            
    96c0:	e8920014 	ldm	r2, {r2, r4}                                  
    96c4:	e0424004 	sub	r4, r2, r4                                    
    96c8:	e0844005 	add	r4, r4, r5                                    
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
    96cc:	e1a01006 	mov	r1, r6                                        
    96d0:	e1a00004 	mov	r0, r4                                        
    96d4:	eb000528 	bl	ab7c <_Timespec_From_ticks>                    
                                                                      
    /*                                                                
     *  If there is time remaining, then we were interrupted by a signal.
     */                                                               
                                                                      
    if ( ticks )                                                      
    96d8:	e3540000 	cmp	r4, #0	; 0x0                                  
    96dc:	0a000004 	beq	96f4 <nanosleep+0x110>                        
      rtems_set_errno_and_return_minus_one( EINTR );                  
    96e0:	eb0008c9 	bl	ba0c <__errno>                                 
    96e4:	e3a03004 	mov	r3, #4	; 0x4                                  
    96e8:	e5803000 	str	r3, [r0]                                      
    96ec:	e3e00000 	mvn	r0, #0	; 0x0                                  
    96f0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    96f4:	e3a00000 	mov	r0, #0	; 0x0                                  
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
    96f8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

000017a8 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
    17a8:	e92d4010 	push	{r4, lr}                                     
    17ac:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
    17b0:	eb0027e5 	bl	b74c <fileno>                                  
    17b4:	e3500002 	cmp	r0, #2	; 0x2                                  
    17b8:	8a00000b 	bhi	17ec <newlib_free_buffers+0x44>               
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
    17bc:	e1d430bc 	ldrh	r3, [r4, #12]                                
    17c0:	e3130080 	tst	r3, #128	; 0x80                               
    17c4:	0a00000a 	beq	17f4 <newlib_free_buffers+0x4c>               
        free( fp->_bf._base );                                        
    17c8:	e5940010 	ldr	r0, [r4, #16]                                 
    17cc:	eb001bf0 	bl	8794 <free>                                    
        fp->_flags &= ~__SMBF;                                        
    17d0:	e1d430bc 	ldrh	r3, [r4, #12]                                
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
    17d4:	e3a02000 	mov	r2, #0	; 0x0                                  
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
    17d8:	e3c33080 	bic	r3, r3, #128	; 0x80                           
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
    17dc:	e5842010 	str	r2, [r4, #16]                                 
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
    17e0:	e1c430bc 	strh	r3, [r4, #12]                                
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
    17e4:	e5842000 	str	r2, [r4]                                      
    17e8:	ea000001 	b	17f4 <newlib_free_buffers+0x4c>                 
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
    17ec:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    17f0:	eb002759 	bl	b55c <fclose>                                  <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
    17f4:	e3a00000 	mov	r0, #0	; 0x0                                  
    17f8:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

000019ec <open>: int open( const char *pathname, int flags, ... ) {
    19ec:	e92d000e 	push	{r1, r2, r3}                                 
    19f0:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
    19f4:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    19f8:	e59da030 	ldr	sl, [sp, #48]                                 
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
    19fc:	e28a3001 	add	r3, sl, #1	; 0x1                              
  if ( ( status & _FREAD ) == _FREAD )                                
    1a00:	e2132001 	ands	r2, r3, #1	; 0x1                             
    1a04:	01a04002 	moveq	r4, r2                                      
    1a08:	13a04004 	movne	r4, #4	; 0x4                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
    1a0c:	e3130002 	tst	r3, #2	; 0x2                                  
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
    1a10:	13844002 	orrne	r4, r4, #2	; 0x2                            
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
    1a14:	e1a08000 	mov	r8, r0                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
    1a18:	e59d9034 	ldr	r9, [sp, #52]                                 
   *             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();                                       
    1a1c:	eb001c49 	bl	8b48 <rtems_libio_allocate>                    
  if ( iop == 0 ) {                                                   
    1a20:	e2507000 	subs	r7, r0, #0	; 0x0                             
    1a24:	03a06017 	moveq	r6, #23	; 0x17                              
    1a28:	0a00006b 	beq	1bdc <open+0x1f0>                             
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    1a2c:	e1a01004 	mov	r1, r4                                        
    1a30:	e1a00008 	mov	r0, r8                                        
    1a34:	e1a0200d 	mov	r2, sp                                        
    1a38:	e3a03001 	mov	r3, #1	; 0x1                                  
    1a3c:	ebfffe2d 	bl	12f8 <rtems_filesystem_evaluate_path>          
     pathname, eval_flags, &loc, true );                              
                                                                      
  if ( status == -1 ) {                                               
    1a40:	e3700001 	cmn	r0, #1	; 0x1                                  
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    1a44:	e1a0500d 	mov	r5, sp                                        
     pathname, eval_flags, &loc, true );                              
                                                                      
  if ( status == -1 ) {                                               
    1a48:	1a00001a 	bne	1ab8 <open+0xcc>                              
    if ( errno != ENOENT ) {                                          
    1a4c:	eb002671 	bl	b418 <__errno>                                 
    1a50:	e5900000 	ldr	r0, [r0]                                      
    1a54:	e3500002 	cmp	r0, #2	; 0x2                                  
    1a58:	1a00000a 	bne	1a88 <open+0x9c>                              
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
    1a5c:	e21a3c02 	ands	r3, sl, #512	; 0x200                         
    1a60:	01a06000 	moveq	r6, r0                                      
    1a64:	01a04003 	moveq	r4, r3                                      
    1a68:	0a00004e 	beq	1ba8 <open+0x1bc>                             
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    1a6c:	e1a00008 	mov	r0, r8                                        
    1a70:	e3891902 	orr	r1, r9, #32768	; 0x8000                       
    1a74:	e3a02000 	mov	r2, #0	; 0x0                                  
    1a78:	e3a03000 	mov	r3, #0	; 0x0                                  
    1a7c:	ebfffec8 	bl	15a4 <mknod>                                   
    if ( rc ) {                                                       
    1a80:	e2504000 	subs	r4, r0, #0	; 0x0                             
    1a84:	0a000002 	beq	1a94 <open+0xa8>                              
      rc = errno;                                                     
    1a88:	eb002662 	bl	b418 <__errno>                                 
    1a8c:	e5906000 	ldr	r6, [r0]                                      
    1a90:	ea000041 	b	1b9c <open+0x1b0>                               
      goto done;                                                      
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, 0x0, &loc, true );
    1a94:	e1a0200d 	mov	r2, sp                                        
    1a98:	e1a00008 	mov	r0, r8                                        
    1a9c:	e1a01004 	mov	r1, r4                                        
    1aa0:	e3a03001 	mov	r3, #1	; 0x1                                  
    1aa4:	ebfffe13 	bl	12f8 <rtems_filesystem_evaluate_path>          
    if ( status != 0 ) {   /* The file did not exist */               
    1aa8:	e3500000 	cmp	r0, #0	; 0x0                                  
    1aac:	13a0600d 	movne	r6, #13	; 0xd                               
    1ab0:	1a00003c 	bne	1ba8 <open+0x1bc>                             
    1ab4:	ea000004 	b	1acc <open+0xe0>                                
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    1ab8:	e20a3c0a 	and	r3, sl, #2560	; 0xa00                         
    1abc:	e3530c0a 	cmp	r3, #2560	; 0xa00                             
    1ac0:	01a0400d 	moveq	r4, sp                                      
    1ac4:	03a06011 	moveq	r6, #17	; 0x11                              
    1ac8:	0a000036 	beq	1ba8 <open+0x1bc>                             
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
    1acc:	e28d5010 	add	r5, sp, #16	; 0x10                            
    1ad0:	e5353010 	ldr	r3, [r5, #-16]!                               
    1ad4:	e587302c 	str	r3, [r7, #44]                                 
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
    1ad8:	e59d3004 	ldr	r3, [sp, #4]                                  
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
    1adc:	e1a0000a 	mov	r0, sl                                        
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
    1ae0:	e5873030 	str	r3, [r7, #48]                                 
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
    1ae4:	e597400c 	ldr	r4, [r7, #12]                                 
    1ae8:	eb001c49 	bl	8c14 <rtems_libio_fcntl_flags>                 
  iop->pathinfo   = loc;                                              
                                                                      
  if ( !iop->handlers->open_h ) {                                     
    1aec:	e5973030 	ldr	r3, [r7, #48]                                 
    1af0:	e5936000 	ldr	r6, [r3]                                      
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
    1af4:	e1804004 	orr	r4, r0, r4                                    
  iop->pathinfo   = loc;                                              
    1af8:	e895000f 	ldm	r5, {r0, r1, r2, r3}                          
    1afc:	e287c010 	add	ip, r7, #16	; 0x10                            
                                                                      
  if ( !iop->handlers->open_h ) {                                     
    1b00:	e3560000 	cmp	r6, #0	; 0x0                                  
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
    1b04:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
    1b08:	e587400c 	str	r4, [r7, #12]                                 
  iop->pathinfo   = loc;                                              
                                                                      
  if ( !iop->handlers->open_h ) {                                     
    1b0c:	0a000040 	beq	1c14 <open+0x228>                             
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
    1b10:	e1a01008 	mov	r1, r8                                        
    1b14:	e1a03009 	mov	r3, r9                                        
    1b18:	e1a00007 	mov	r0, r7                                        
    1b1c:	e1a0200a 	mov	r2, sl                                        
    1b20:	e1a0e00f 	mov	lr, pc                                        
    1b24:	e12fff16 	bx	r6                                             
  if ( rc )                                                           
    1b28:	e2506000 	subs	r6, r0, #0	; 0x0                             
    1b2c:	11a0400d 	movne	r4, sp                                      
    1b30:	1a00001c 	bne	1ba8 <open+0x1bc>                             
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    1b34:	e31a0b01 	tst	sl, #1024	; 0x400                             
    1b38:	0a00002b 	beq	1bec <open+0x200>                             
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    1b3c:	e59f30dc 	ldr	r3, [pc, #220]	; 1c20 <open+0x234>            
    1b40:	e5933000 	ldr	r3, [r3]                                      
    1b44:	e59f20d8 	ldr	r2, [pc, #216]	; 1c24 <open+0x238>            
    1b48:	e0633007 	rsb	r3, r3, r7                                    
    1b4c:	e1a03143 	asr	r3, r3, #2                                    
    1b50:	e1a01006 	mov	r1, r6                                        
    1b54:	e0000392 	mul	r0, r2, r3                                    
    1b58:	eb001b35 	bl	8834 <ftruncate>                               
    if ( rc ) {                                                       
    1b5c:	e2506000 	subs	r6, r0, #0	; 0x0                             
    1b60:	0a000021 	beq	1bec <open+0x200>                             
      if(errno) rc = errno;                                           
    1b64:	eb00262b 	bl	b418 <__errno>                                 <== NOT EXECUTED
    1b68:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
    1b6c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    1b70:	0a000001 	beq	1b7c <open+0x190>                             <== NOT EXECUTED
    1b74:	eb002627 	bl	b418 <__errno>                                 <== NOT EXECUTED
    1b78:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
    1b7c:	e59f309c 	ldr	r3, [pc, #156]	; 1c20 <open+0x234>            <== NOT EXECUTED
    1b80:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    1b84:	e59f2098 	ldr	r2, [pc, #152]	; 1c24 <open+0x238>            <== NOT EXECUTED
    1b88:	e0633007 	rsb	r3, r3, r7                                    <== NOT EXECUTED
    1b8c:	e1a03143 	asr	r3, r3, #2                                    <== NOT EXECUTED
    1b90:	e0000392 	mul	r0, r2, r3                                    <== NOT EXECUTED
    1b94:	eb001ad4 	bl	86ec <close>                                   <== NOT EXECUTED
    1b98:	e3a07000 	mov	r7, #0	; 0x0                                  <== NOT EXECUTED
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    1b9c:	e3560000 	cmp	r6, #0	; 0x0                                  
    1ba0:	0a000011 	beq	1bec <open+0x200>                             
    1ba4:	e3a04000 	mov	r4, #0	; 0x0                                  
    if ( iop )                                                        
    1ba8:	e3570000 	cmp	r7, #0	; 0x0                                  
      rtems_libio_free( iop );                                        
    1bac:	11a00007 	movne	r0, r7                                      
    1bb0:	1b001bcd 	blne	8aec <rtems_libio_free>                      
    if ( loc_to_free )                                                
    1bb4:	e3540000 	cmp	r4, #0	; 0x0                                  
    1bb8:	0a000007 	beq	1bdc <open+0x1f0>                             
      rtems_filesystem_freenode( loc_to_free );                       
    1bbc:	e5943008 	ldr	r3, [r4, #8]                                  
    1bc0:	e3530000 	cmp	r3, #0	; 0x0                                  
    1bc4:	0a000004 	beq	1bdc <open+0x1f0>                             
    1bc8:	e593301c 	ldr	r3, [r3, #28]                                 
    1bcc:	e3530000 	cmp	r3, #0	; 0x0                                  
    1bd0:	11a00004 	movne	r0, r4                                      
    1bd4:	11a0e00f 	movne	lr, pc                                      
    1bd8:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( rc );                       
    1bdc:	eb00260d 	bl	b418 <__errno>                                 
    1be0:	e5806000 	str	r6, [r0]                                      
    1be4:	e3e00000 	mvn	r0, #0	; 0x0                                  
    1be8:	ea000005 	b	1c04 <open+0x218>                               
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
    1bec:	e59f302c 	ldr	r3, [pc, #44]	; 1c20 <open+0x234>             
    1bf0:	e5933000 	ldr	r3, [r3]                                      
    1bf4:	e59f2028 	ldr	r2, [pc, #40]	; 1c24 <open+0x238>             
    1bf8:	e0633007 	rsb	r3, r3, r7                                    
    1bfc:	e1a03143 	asr	r3, r3, #2                                    
    1c00:	e0000392 	mul	r0, r2, r3                                    
}                                                                     
    1c04:	e28dd010 	add	sp, sp, #16	; 0x10                            
    1c08:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
    1c0c:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    1c10:	e12fff1e 	bx	lr                                             
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
    1c14:	e1a0400d 	mov	r4, sp                                        <== NOT EXECUTED
    1c18:	e3a06086 	mov	r6, #134	; 0x86                               <== NOT EXECUTED
    1c1c:	eaffffe1 	b	1ba8 <open+0x1bc>                               <== NOT EXECUTED
                                                                      

00001988 <open_dev_console>: int error_code = 'S' << 24 | 'T' << 16 | 'D' << 8; /* * Attempt to open /dev/console. */ if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {
    1988:	e3a01000 	mov	r1, #0	; 0x0                                  
/*                                                                    
 *  This is a replaceable stub                                        
 */                                                                   
                                                                      
void open_dev_console(void)                                           
{                                                                     
    198c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  int error_code = 'S' << 24 | 'T' << 16 | 'D' << 8;                  
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
    1990:	e59f0048 	ldr	r0, [pc, #72]	; 19e0 <open_dev_console+0x58>  
    1994:	e1a02001 	mov	r2, r1                                        
    1998:	eb000013 	bl	19ec <open>                                    
    199c:	e3700001 	cmn	r0, #1	; 0x1                                  
    19a0:	049df004 	popeq	{pc}		; (ldreq pc, [sp], #4)                
                                                                      
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    19a4:	e59f0034 	ldr	r0, [pc, #52]	; 19e0 <open_dev_console+0x58>  
    19a8:	e3a01001 	mov	r1, #1	; 0x1                                  
    19ac:	e3a02000 	mov	r2, #0	; 0x0                                  
    19b0:	eb00000d 	bl	19ec <open>                                    
    19b4:	e3700001 	cmn	r0, #1	; 0x1                                  
    rtems_fatal_error_occurred( error_code | '1' );                   
    19b8:	059f0024 	ldreq	r0, [pc, #36]	; 19e4 <open_dev_console+0x5c>
                                                                      
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    19bc:	0a000006 	beq	19dc <open_dev_console+0x54>                  
    rtems_fatal_error_occurred( error_code | '1' );                   
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    19c0:	e59f0018 	ldr	r0, [pc, #24]	; 19e0 <open_dev_console+0x58>  
    19c4:	e3a01001 	mov	r1, #1	; 0x1                                  
    19c8:	e3a02000 	mov	r2, #0	; 0x0                                  
    19cc:	eb000006 	bl	19ec <open>                                    
    19d0:	e3700001 	cmn	r0, #1	; 0x1                                  
    19d4:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    rtems_fatal_error_occurred( error_code | '2' );                   
    19d8:	e59f0008 	ldr	r0, [pc, #8]	; 19e8 <open_dev_console+0x60>   <== NOT EXECUTED
    19dc:	eb000c11 	bl	4a28 <rtems_fatal_error_occurred>              <== NOT EXECUTED
                                                                      

00003368 <opendir>: * open a directory. */ DIR * opendir( const char *name ) {
    3368:	e92d4030 	push	{r4, r5, lr}                                 
	register DIR *dirp;                                                  
	register int fd;                                                     
                                                                      
	if ((fd = open(name, 0)) == -1)                                      
    336c:	e3a01000 	mov	r1, #0	; 0x0                                  
    3370:	eb000021 	bl	33fc <open>                                    
    3374:	e3700001 	cmn	r0, #1	; 0x1                                  
    3378:	e1a05000 	mov	r5, r0                                        
    337c:	0a00000a 	beq	33ac <opendir+0x44>                           
		return NULL;                                                        
	if (fcntl(fd, F_SETFD, 1) == -1 ||                                   
    3380:	e3a01002 	mov	r1, #2	; 0x2                                  
    3384:	e3a02001 	mov	r2, #1	; 0x1                                  
    3388:	eb001c0e 	bl	a3c8 <fcntl>                                   
    338c:	e3700001 	cmn	r0, #1	; 0x1                                  
    3390:	0a000003 	beq	33a4 <opendir+0x3c>                           
    3394:	e3a00018 	mov	r0, #24	; 0x18                                
    3398:	ebfffe05 	bl	2bb4 <malloc>                                  
    339c:	e2504000 	subs	r4, r0, #0	; 0x0                             
    33a0:	1a000003 	bne	33b4 <opendir+0x4c>                           
	    (dirp = (DIR *)malloc(sizeof(DIR))) == NULL) {                   
		close (fd);                                                         
    33a4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    33a8:	ebfffb6c 	bl	2160 <close>                                   <== NOT EXECUTED
    33ac:	e3a04000 	mov	r4, #0	; 0x0                                  <== NOT EXECUTED
    33b0:	ea00000f 	b	33f4 <opendir+0x8c>                             <== NOT EXECUTED
	 * If CLSIZE is an exact multiple of DIRBLKSIZ, use a CLSIZE         
	 * buffer that it cluster boundary aligned.                          
	 * Hopefully this can be a big win someday by allowing page trades   
	 * to user space to be done by getdirentries()                       
	 */                                                                  
	dirp->dd_buf = malloc (512);                                         
    33b4:	e3a00c02 	mov	r0, #512	; 0x200                              
    33b8:	ebfffdfd 	bl	2bb4 <malloc>                                  
	dirp->dd_len = 512;                                                  
    33bc:	e3a03c02 	mov	r3, #512	; 0x200                              
                                                                      
	if (dirp->dd_buf == NULL) {                                          
    33c0:	e3500000 	cmp	r0, #0	; 0x0                                  
	 * If CLSIZE is an exact multiple of DIRBLKSIZ, use a CLSIZE         
	 * buffer that it cluster boundary aligned.                          
	 * Hopefully this can be a big win someday by allowing page trades   
	 * to user space to be done by getdirentries()                       
	 */                                                                  
	dirp->dd_buf = malloc (512);                                         
    33c4:	e1a02000 	mov	r2, r0                                        
	dirp->dd_len = 512;                                                  
    33c8:	e5843010 	str	r3, [r4, #16]                                 
	 * If CLSIZE is an exact multiple of DIRBLKSIZ, use a CLSIZE         
	 * buffer that it cluster boundary aligned.                          
	 * Hopefully this can be a big win someday by allowing page trades   
	 * to user space to be done by getdirentries()                       
	 */                                                                  
	dirp->dd_buf = malloc (512);                                         
    33cc:	e584000c 	str	r0, [r4, #12]                                 
	dirp->dd_len = 512;                                                  
                                                                      
	if (dirp->dd_buf == NULL) {                                          
    33d0:	1a000003 	bne	33e4 <opendir+0x7c>                           
		close (fd);                                                         
    33d4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    33d8:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
    33dc:	ebfffb5f 	bl	2160 <close>                                   <== NOT EXECUTED
    33e0:	ea000003 	b	33f4 <opendir+0x8c>                             <== NOT EXECUTED
		return NULL;                                                        
	}                                                                    
	dirp->dd_fd = fd;                                                    
	dirp->dd_loc = 0;                                                    
    33e4:	e3a03000 	mov	r3, #0	; 0x0                                  
                                                                      
	if (dirp->dd_buf == NULL) {                                          
		close (fd);                                                         
		return NULL;                                                        
	}                                                                    
	dirp->dd_fd = fd;                                                    
    33e8:	e5845000 	str	r5, [r4]                                      
	dirp->dd_loc = 0;                                                    
	dirp->dd_seek = 0;                                                   
    33ec:	e5843014 	str	r3, [r4, #20]                                 
	if (dirp->dd_buf == NULL) {                                          
		close (fd);                                                         
		return NULL;                                                        
	}                                                                    
	dirp->dd_fd = fd;                                                    
	dirp->dd_loc = 0;                                                    
    33f0:	e5843004 	str	r3, [r4, #4]                                  
	dirp->dd_seek = 0;                                                   
	/*                                                                   
	 * Set up seek point for rewinddir.                                  
	 */                                                                  
	return dirp;                                                         
}                                                                     
    33f4:	e1a00004 	mov	r0, r4                                        
    33f8:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

000025e8 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
    25e8:	e92d4010 	push	{r4, lr}                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
    25ec:	e5912034 	ldr	r2, [r1, #52]                                 
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    25f0:	e24dd004 	sub	sp, sp, #4	; 0x4                              
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
    25f4:	e3120001 	tst	r2, #1	; 0x1                                  
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    25f8:	e1a04001 	mov	r4, r1                                        
    25fc:	e5cd0000 	strb	r0, [sp]                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
    2600:	0a000044 	beq	2718 <oproc+0x130>                            
		switch (c) {                                                        
    2604:	e5dd1000 	ldrb	r1, [sp]                                     
    2608:	e2413008 	sub	r3, r1, #8	; 0x8                              
    260c:	e3530005 	cmp	r3, #5	; 0x5                                  
    2610:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
    2614:	ea00002d 	b	26d0 <oproc+0xe8>                               
    2618:	000026bc 	.word	0x000026bc                                  
    261c:	00002690 	.word	0x00002690                                  <== NOT EXECUTED
    2620:	00002630 	.word	0x00002630                                  <== NOT EXECUTED
    2624:	000026d0 	.word	0x000026d0                                  <== NOT EXECUTED
    2628:	000026d0 	.word	0x000026d0                                  <== NOT EXECUTED
    262c:	0000265c 	.word	0x0000265c                                  <== NOT EXECUTED
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
    2630:	e3120020 	tst	r2, #32	; 0x20                                
				tty->column = 0;                                                  
    2634:	13a03000 	movne	r3, #0	; 0x0                                
    2638:	15843028 	strne	r3, [r4, #40]                               
			if (tty->termios.c_oflag & ONLCR) {                                
    263c:	e5943034 	ldr	r3, [r4, #52]                                 
    2640:	e3130004 	tst	r3, #4	; 0x4                                  
    2644:	0a000033 	beq	2718 <oproc+0x130>                            
				rtems_termios_puts ("\r", 1, tty);                                
    2648:	e59f00e0 	ldr	r0, [pc, #224]	; 2730 <oproc+0x148>           
    264c:	e3a01001 	mov	r1, #1	; 0x1                                  
    2650:	e1a02004 	mov	r2, r4                                        
    2654:	ebffff9f 	bl	24d8 <rtems_termios_puts>                      
    2658:	ea00000a 	b	2688 <oproc+0xa0>                               
				tty->column = 0;                                                  
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
    265c:	e3120010 	tst	r2, #16	; 0x10                                <== NOT EXECUTED
    2660:	0a000002 	beq	2670 <oproc+0x88>                             <== NOT EXECUTED
    2664:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
    2668:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    266c:	0a00002d 	beq	2728 <oproc+0x140>                            <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
    2670:	e2123008 	ands	r3, r2, #8	; 0x8                             <== NOT EXECUTED
    2674:	0a000026 	beq	2714 <oproc+0x12c>                            <== NOT EXECUTED
				c = '\n';                                                         
    2678:	e3a0300a 	mov	r3, #10	; 0xa                                 <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
    267c:	e3120020 	tst	r2, #32	; 0x20                                <== NOT EXECUTED
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
				c = '\n';                                                         
    2680:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
    2684:	0a000023 	beq	2718 <oproc+0x130>                            <== NOT EXECUTED
					tty->column = 0;                                                 
    2688:	e3a03000 	mov	r3, #0	; 0x0                                  
    268c:	ea000020 	b	2714 <oproc+0x12c>                              
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
    2690:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
    2694:	e2022b06 	and	r2, r2, #6144	; 0x1800                        <== NOT EXECUTED
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
    2698:	e2031007 	and	r1, r3, #7	; 0x7                              <== NOT EXECUTED
    269c:	e2611008 	rsb	r1, r1, #8	; 0x8                              <== NOT EXECUTED
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
    26a0:	e3520b06 	cmp	r2, #6144	; 0x1800                            <== NOT EXECUTED
    26a4:	e0813003 	add	r3, r1, r3                                    <== NOT EXECUTED
    26a8:	1a000019 	bne	2714 <oproc+0x12c>                            <== NOT EXECUTED
				tty->column += i;                                                 
    26ac:	e5843028 	str	r3, [r4, #40]                                 <== NOT EXECUTED
				rtems_termios_puts ( "        ",  i, tty);                        
    26b0:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    26b4:	e59f0078 	ldr	r0, [pc, #120]	; 2734 <oproc+0x14c>           <== NOT EXECUTED
    26b8:	ea000019 	b	2724 <oproc+0x13c>                              <== NOT EXECUTED
			}                                                                  
			tty->column += i;                                                  
			break;                                                             
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
    26bc:	e5943028 	ldr	r3, [r4, #40]                                 <== NOT EXECUTED
    26c0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
				tty->column--;                                                    
    26c4:	c2433001 	subgt	r3, r3, #1	; 0x1                            <== NOT EXECUTED
			}                                                                  
			tty->column += i;                                                  
			break;                                                             
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
    26c8:	ca000011 	bgt	2714 <oproc+0x12c>                            <== NOT EXECUTED
    26cc:	ea000011 	b	2718 <oproc+0x130>                              <== NOT EXECUTED
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
    26d0:	e3120002 	tst	r2, #2	; 0x2                                  
    26d4:	0a000006 	beq	26f4 <oproc+0x10c>                            
				c = toupper(c);                                                   
    26d8:	e59f3058 	ldr	r3, [pc, #88]	; 2738 <oproc+0x150>            <== NOT EXECUTED
    26dc:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    26e0:	e7d33001 	ldrb	r3, [r3, r1]                                 <== NOT EXECUTED
    26e4:	e3130002 	tst	r3, #2	; 0x2                                  <== NOT EXECUTED
    26e8:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    26ec:	12412020 	subne	r2, r1, #32	; 0x20                          <== NOT EXECUTED
    26f0:	e5cd2000 	strb	r2, [sp]                                     <== NOT EXECUTED
			if (!iscntrl(c))                                                   
    26f4:	e59f303c 	ldr	r3, [pc, #60]	; 2738 <oproc+0x150>            
    26f8:	e5932000 	ldr	r2, [r3]                                      
    26fc:	e5dd3000 	ldrb	r3, [sp]                                     
    2700:	e7d23003 	ldrb	r3, [r2, r3]                                 
    2704:	e3130020 	tst	r3, #32	; 0x20                                
    2708:	1a000002 	bne	2718 <oproc+0x130>                            
				tty->column++;                                                    
    270c:	e5943028 	ldr	r3, [r4, #40]                                 
    2710:	e2833001 	add	r3, r3, #1	; 0x1                              
    2714:	e5843028 	str	r3, [r4, #40]                                 
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
    2718:	e1a02004 	mov	r2, r4                                        
    271c:	e1a0000d 	mov	r0, sp                                        
    2720:	e3a01001 	mov	r1, #1	; 0x1                                  
    2724:	ebffff6b 	bl	24d8 <rtems_termios_puts>                      
}                                                                     
    2728:	e28dd004 	add	sp, sp, #4	; 0x4                              
    272c:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00004c7c <pthread_cond_timedwait>: int pthread_cond_timedwait( pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime ) {
    4c7c:	e92d4030 	push	{r4, r5, lr}                                 
    4c80:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    4c84:	e1a04000 	mov	r4, r0                                        
    4c88:	e1a05001 	mov	r5, r1                                        
   *  So we check the abstime provided, and hold on to whether it     
   *  is valid or not.  If it isn't correct and in the future,        
   *  then we do a polling operation and convert the UNSATISFIED      
   *  status into the appropriate error.                              
   */                                                                 
  switch ( _POSIX_Absolute_timeout_to_ticks(abstime, &ticks) ) {      
    4c8c:	e1a00002 	mov	r0, r2                                        
    4c90:	e1a0100d 	mov	r1, sp                                        
    4c94:	eb000125 	bl	5130 <_POSIX_Absolute_timeout_to_ticks>        
    4c98:	e3500003 	cmp	r0, #3	; 0x3                                  
    4c9c:	979ff100 	ldrls	pc, [pc, r0, lsl #2]                        
    4ca0:	ea000008 	b	4cc8 <pthread_cond_timedwait+0x4c>              <== NOT EXECUTED
    4ca4:	00004cb4 	.word	0x00004cb4                                  <== NOT EXECUTED
    4ca8:	00004cbc 	.word	0x00004cbc                                  <== NOT EXECUTED
    4cac:	00004cbc 	.word	0x00004cbc                                  <== NOT EXECUTED
    4cb0:	00004cc4 	.word	0x00004cc4                                  <== NOT EXECUTED
    4cb4:	e3a00016 	mov	r0, #22	; 0x16                                
    4cb8:	ea000006 	b	4cd8 <pthread_cond_timedwait+0x5c>              
    4cbc:	e3a03001 	mov	r3, #1	; 0x1                                  
    4cc0:	ea000000 	b	4cc8 <pthread_cond_timedwait+0x4c>              
    4cc4:	e3a03000 	mov	r3, #0	; 0x0                                  
    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                         
      already_timedout = FALSE;                                       
      break;                                                          
  }                                                                   
                                                                      
  return _POSIX_Condition_variables_Wait_support(                     
    4cc8:	e1a00004 	mov	r0, r4                                        
    4ccc:	e1a01005 	mov	r1, r5                                        
    4cd0:	e59d2000 	ldr	r2, [sp]                                      
    4cd4:	eb000004 	bl	4cec <_POSIX_Condition_variables_Wait_support> 
    cond,                                                             
    mutex,                                                            
    ticks,                                                            
    already_timedout                                                  
  );                                                                  
}                                                                     
    4cd8:	e28dd004 	add	sp, sp, #4	; 0x4                              
    4cdc:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00005098 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
    5098:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  POSIX_API_Control                  *api;                            
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
                                                                      
  if ( !start_routine )                                               
    509c:	e3520000 	cmp	r2, #0	; 0x0                                  
  pthread_t              *thread,                                     
  const pthread_attr_t   *attr,                                       
  void                 *(*start_routine)( void * ),                   
  void                   *arg                                         
)                                                                     
{                                                                     
    50a0:	e24dd040 	sub	sp, sp, #64	; 0x40                            
    50a4:	e58d0024 	str	r0, [sp, #36]                                 
  POSIX_API_Control                  *api;                            
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
                                                                      
  if ( !start_routine )                                               
    50a8:	e58d2020 	str	r2, [sp, #32]                                 
  pthread_t              *thread,                                     
  const pthread_attr_t   *attr,                                       
  void                 *(*start_routine)( void * ),                   
  void                   *arg                                         
)                                                                     
{                                                                     
    50ac:	e58d301c 	str	r3, [sp, #28]                                 
  POSIX_API_Control                  *api;                            
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
                                                                      
  if ( !start_routine )                                               
    50b0:	03a0000e 	moveq	r0, #14	; 0xe                               
    50b4:	0a0000a1 	beq	5340 <pthread_create+0x2a8>                   
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
    50b8:	e59f3288 	ldr	r3, [pc, #648]	; 5348 <pthread_create+0x2b0>  
    50bc:	e3510000 	cmp	r1, #0	; 0x0                                  
    50c0:	11a06001 	movne	r6, r1                                      
    50c4:	01a06003 	moveq	r6, r3                                      
                                                                      
  if ( !the_attr->is_initialized )                                    
    50c8:	e5963000 	ldr	r3, [r6]                                      
    50cc:	e3530000 	cmp	r3, #0	; 0x0                                  
    50d0:	0a000099 	beq	533c <pthread_create+0x2a4>                   
   *  stack space if it is allowed to allocate it itself.             
   *                                                                  
   *  NOTE: If the user provides the stack we will let it drop below  
   *        twice the minimum.                                        
   */                                                                 
  if ( the_attr->stackaddr && !_Stack_Is_enough(the_attr->stacksize) )
    50d4:	e5963004 	ldr	r3, [r6, #4]                                  
    50d8:	e3530000 	cmp	r3, #0	; 0x0                                  
    50dc:	0a000004 	beq	50f4 <pthread_create+0x5c>                    
    50e0:	e59f3264 	ldr	r3, [pc, #612]	; 534c <pthread_create+0x2b4>  
    50e4:	e5932000 	ldr	r2, [r3]                                      
    50e8:	e5963008 	ldr	r3, [r6, #8]                                  
    50ec:	e1530002 	cmp	r3, r2                                        
    50f0:	3a000091 	bcc	533c <pthread_create+0x2a4>                   
   *  inherits scheduling attributes from the creating thread.   If it is
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
                                                                      
  switch ( the_attr->inheritsched ) {                                 
    50f4:	e5963010 	ldr	r3, [r6, #16]                                 
    50f8:	e3530001 	cmp	r3, #1	; 0x1                                  
    50fc:	0a000002 	beq	510c <pthread_create+0x74>                    
    5100:	e3530002 	cmp	r3, #2	; 0x2                                  
    5104:	1a00008c 	bne	533c <pthread_create+0x2a4>                   
    5108:	ea000007 	b	512c <pthread_create+0x94>                      
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
    510c:	e59f323c 	ldr	r3, [pc, #572]	; 5350 <pthread_create+0x2b8>  
    5110:	e5933000 	ldr	r3, [r3]                                      
    5114:	e5935108 	ldr	r5, [r3, #264]                                
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
    5118:	e2854080 	add	r4, r5, #128	; 0x80                           
    511c:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
    5120:	e28dc028 	add	ip, sp, #40	; 0x28                            
   */                                                                 
                                                                      
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
      schedpolicy = api->schedpolicy;                                 
    5124:	e595807c 	ldr	r8, [r5, #124]                                
    5128:	ea000003 	b	513c <pthread_create+0xa4>                      
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
    512c:	e2864018 	add	r4, r6, #24	; 0x18                            
    5130:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
    5134:	e5968014 	ldr	r8, [r6, #20]                                 
      schedparam  = the_attr->schedparam;                             
    5138:	e28dc028 	add	ip, sp, #40	; 0x28                            
    513c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    5140:	e8940003 	ldm	r4, {r0, r1}                                  
    5144:	e88c0003 	stm	ip, {r0, r1}                                  
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
                                                                      
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
    5148:	e596300c 	ldr	r3, [r6, #12]                                 
    514c:	e3530000 	cmp	r3, #0	; 0x0                                  
    5150:	13a00086 	movne	r0, #134	; 0x86                             
    5154:	1a000079 	bne	5340 <pthread_create+0x2a8>                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
                                                                      
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
    5158:	e59d9028 	ldr	r9, [sp, #40]                                 
    515c:	e2493001 	sub	r3, r9, #1	; 0x1                              
    5160:	e35300fd 	cmp	r3, #253	; 0xfd                               
    5164:	8a000074 	bhi	533c <pthread_create+0x2a4>                   
   */                                                                 
                                                                      
  budget_callout = NULL;                                              
  budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;                
                                                                      
  switch ( schedpolicy ) {                                            
    5168:	e3580003 	cmp	r8, #3	; 0x3                                  
    516c:	979ff108 	ldrls	pc, [pc, r8, lsl #2]                        
    5170:	ea000071 	b	533c <pthread_create+0x2a4>                     
    5174:	00005190 	.word	0x00005190                                  
    5178:	00005184 	.word	0x00005184                                  
    517c:	00005198 	.word	0x00005198                                  
    5180:	000051a4 	.word	0x000051a4                                  
    5184:	e3a04000 	mov	r4, #0	; 0x0                                  
    5188:	e1a05004 	mov	r5, r4                                        
    518c:	ea000012 	b	51dc <pthread_create+0x144>                     
    5190:	e3a04001 	mov	r4, #1	; 0x1                                  
    5194:	ea000000 	b	519c <pthread_create+0x104>                     
    5198:	e3a04002 	mov	r4, #2	; 0x2                                  <== NOT EXECUTED
    519c:	e3a05000 	mov	r5, #0	; 0x0                                  
    51a0:	ea00000d 	b	51dc <pthread_create+0x144>                     
                                                                      
    case SCHED_SPORADIC:                                              
      budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;        
      budget_callout = _POSIX_Threads_Sporadic_budget_callout;        
                                                                      
      if ( _Timespec_To_ticks( &schedparam.ss_replenish_period ) <    
    51a4:	e28d4028 	add	r4, sp, #40	; 0x28                            
    51a8:	e2840008 	add	r0, r4, #8	; 0x8                              
    51ac:	eb000fe6 	bl	914c <_Timespec_To_ticks>                      
    51b0:	e1a05000 	mov	r5, r0                                        
    51b4:	e2840010 	add	r0, r4, #16	; 0x10                            
    51b8:	eb000fe3 	bl	914c <_Timespec_To_ticks>                      
    51bc:	e1550000 	cmp	r5, r0                                        
    51c0:	3a00005d 	bcc	533c <pthread_create+0x2a4>                   
           _Timespec_To_ticks( &schedparam.ss_initial_budget ) )      
        return EINVAL;                                                
                                                                      
      if ( !_POSIX_Priority_Is_valid( schedparam.ss_low_priority ) )  
    51c4:	e59d302c 	ldr	r3, [sp, #44]                                 
    51c8:	e2433001 	sub	r3, r3, #1	; 0x1                              
    51cc:	e35300fd 	cmp	r3, #253	; 0xfd                               
    51d0:	8a000059 	bhi	533c <pthread_create+0x2a4>                   
    51d4:	e59f5178 	ldr	r5, [pc, #376]	; 5354 <pthread_create+0x2bc>  
    51d8:	e3a04003 	mov	r4, #3	; 0x3                                  
#endif                                                                
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
    51dc:	e59fa174 	ldr	sl, [pc, #372]	; 5358 <pthread_create+0x2c0>  
    51e0:	e59a0000 	ldr	r0, [sl]                                      
    51e4:	eb000695 	bl	6c40 <_API_Mutex_Lock>                         
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
    51e8:	e59f016c 	ldr	r0, [pc, #364]	; 535c <pthread_create+0x2c4>  
    51ec:	eb0008d8 	bl	7554 <_Objects_Allocate>                       
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
                                                                      
  the_thread = _POSIX_Threads_Allocate();                             
                                                                      
  if ( !the_thread ) {                                                
    51f0:	e2507000 	subs	r7, r0, #0	; 0x0                             
    51f4:	0a000018 	beq	525c <pthread_create+0x1c4>                   
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
                                                                      
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
    51f8:	e59f314c 	ldr	r3, [pc, #332]	; 534c <pthread_create+0x2b4>  
    51fc:	e5933000 	ldr	r3, [r3]                                      
    5200:	e3a0b001 	mov	fp, #1	; 0x1                                  
    5204:	e1a03b13 	lsl	r3, r3, fp                                    
    5208:	e26920ff 	rsb	r2, r9, #255	; 0xff                           
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
                                                                      
  name.name_p = NULL;   /* posix threads don't have a name by default */
    520c:	e3a09000 	mov	r9, #0	; 0x0                                  
  status = _Thread_Initialize(                                        
    5210:	e5961008 	ldr	r1, [r6, #8]                                  
    5214:	e58d2004 	str	r2, [sp, #4]                                  
    5218:	e58d400c 	str	r4, [sp, #12]                                 
    521c:	e58d5010 	str	r5, [sp, #16]                                 
    5220:	e58d9000 	str	r9, [sp]                                      
    5224:	e58db008 	str	fp, [sp, #8]                                  
    5228:	e58d9014 	str	r9, [sp, #20]                                 
    522c:	e58d9018 	str	r9, [sp, #24]                                 
    5230:	e1530001 	cmp	r3, r1                                        
    5234:	31a03001 	movcc	r3, r1                                      
    5238:	e59f011c 	ldr	r0, [pc, #284]	; 535c <pthread_create+0x2c4>  
    523c:	e1a01007 	mov	r1, r7                                        
    5240:	e5962004 	ldr	r2, [r6, #4]                                  
    5244:	eb000c37 	bl	8328 <_Thread_Initialize>                      
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
    5248:	e1500009 	cmp	r0, r9                                        
    524c:	1a000006 	bne	526c <pthread_create+0x1d4>                   
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
    5250:	e1a01007 	mov	r1, r7                                        
    5254:	e59f0100 	ldr	r0, [pc, #256]	; 535c <pthread_create+0x2c4>  
    5258:	eb00098c 	bl	7890 <_Objects_Free>                           
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
    525c:	e59a0000 	ldr	r0, [sl]                                      
    5260:	eb000692 	bl	6cb0 <_API_Mutex_Unlock>                       
    5264:	e3a0000b 	mov	r0, #11	; 0xb                                 
    5268:	ea000034 	b	5340 <pthread_create+0x2a8>                     
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
                                                                      
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
    526c:	e5975108 	ldr	r5, [r7, #264]                                
                                                                      
  api->Attributes  = *the_attr;                                       
    5270:	e1a0c006 	mov	ip, r6                                        
    5274:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    5278:	e1a0e005 	mov	lr, r5                                        
    527c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    5280:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    5284:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    5288:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    528c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    5290:	e89c0003 	ldm	ip, {r0, r1}                                  
    5294:	e88e0003 	stm	lr, {r0, r1}                                  
  api->detachstate = the_attr->detachstate;                           
    5298:	e5963034 	ldr	r3, [r6, #52]                                 
  api->schedpolicy = schedpolicy;                                     
    529c:	e585807c 	str	r8, [r5, #124]                                
                                                                      
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
    52a0:	e5853038 	str	r3, [r5, #56]                                 
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
    52a4:	e28de028 	add	lr, sp, #40	; 0x28                            
    52a8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    52ac:	e285c080 	add	ip, r5, #128	; 0x80                           
    52b0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    52b4:	e89e0003 	ldm	lr, {r0, r1}                                  
   *  first run.                                                      
   *                                                                  
   *  NOTE:  Since the thread starts with all unblocked, this is necessary.
   */                                                                 
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
    52b8:	e5c7b075 	strb	fp, [r7, #117]                               
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
    52bc:	e88c0003 	stm	ip, {r0, r1}                                  
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
                                                                      
  status = _Thread_Start(                                             
    52c0:	e59d2020 	ldr	r2, [sp, #32]                                 
    52c4:	e1a0100b 	mov	r1, fp                                        
    52c8:	e59d301c 	ldr	r3, [sp, #28]                                 
    52cc:	e1a00007 	mov	r0, r7                                        
    52d0:	e58d9000 	str	r9, [sp]                                      
    52d4:	eb000ef0 	bl	8e9c <_Thread_Start>                           
    start_routine,                                                    
    arg,                                                              
    0                     /* unused */                                
  );                                                                  
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    52d8:	e3580003 	cmp	r8, #3	; 0x3                                  
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
                                                                      
  status = _Thread_Start(                                             
    52dc:	e1a04000 	mov	r4, r0                                        
    start_routine,                                                    
    arg,                                                              
    0                     /* unused */                                
  );                                                                  
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    52e0:	1a000005 	bne	52fc <pthread_create+0x264>                   
    _Watchdog_Insert_ticks(                                           
    52e4:	e2850088 	add	r0, r5, #136	; 0x88                           
    52e8:	eb000f97 	bl	914c <_Timespec_To_ticks>                      
    52ec:	e285109c 	add	r1, r5, #156	; 0x9c                           
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
    52f0:	e58500a8 	str	r0, [r5, #168]                                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    52f4:	e59f0064 	ldr	r0, [pc, #100]	; 5360 <pthread_create+0x2c8>  
    52f8:	eb001082 	bl	9508 <_Watchdog_Insert>                        
   *                                                                  
   *  NOTE: This can only happen if someone slips in and touches the  
   *        thread while we are creating it.                          
   */                                                                 
                                                                      
  if ( !status ) {                                                    
    52fc:	e3540000 	cmp	r4, #0	; 0x0                                  
    5300:	e59f4050 	ldr	r4, [pc, #80]	; 5358 <pthread_create+0x2c0>   
    5304:	1a000005 	bne	5320 <pthread_create+0x288>                   
    5308:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
    530c:	e59f0048 	ldr	r0, [pc, #72]	; 535c <pthread_create+0x2c4>   <== NOT EXECUTED
    5310:	eb00095e 	bl	7890 <_Objects_Free>                           <== NOT EXECUTED
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
    5314:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
    5318:	eb000664 	bl	6cb0 <_API_Mutex_Unlock>                       <== NOT EXECUTED
    531c:	ea000006 	b	533c <pthread_create+0x2a4>                     <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
                                                                      
  *thread = the_thread->Object.id;                                    
    5320:	e5973008 	ldr	r3, [r7, #8]                                  
    5324:	e59d2024 	ldr	r2, [sp, #36]                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
    5328:	e5940000 	ldr	r0, [r4]                                      
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
                                                                      
  *thread = the_thread->Object.id;                                    
    532c:	e5823000 	str	r3, [r2]                                      
                                                                      
  _RTEMS_Unlock_allocator();                                          
    5330:	eb00065e 	bl	6cb0 <_API_Mutex_Unlock>                       
    5334:	e3a00000 	mov	r0, #0	; 0x0                                  
    5338:	ea000000 	b	5340 <pthread_create+0x2a8>                     
  return 0;                                                           
    533c:	e3a00016 	mov	r0, #22	; 0x16                                
}                                                                     
    5340:	e28dd040 	add	sp, sp, #64	; 0x40                            
    5344:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

0000857c <pthread_join>: int pthread_join( pthread_t thread, void **value_ptr ) {
    857c:	e92d4030 	push	{r4, r5, lr}                                 
    8580:	e24dd008 	sub	sp, sp, #8	; 0x8                              
    8584:	e1a05001 	mov	r5, r1                                        
  register Thread_Control *the_thread;                                
  POSIX_API_Control       *api;                                       
  Objects_Locations        location;                                  
  void                    *return_pointer;                            
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
    8588:	e28d1004 	add	r1, sp, #4	; 0x4                              
    858c:	eb000b15 	bl	b1e8 <_Thread_Get>                             
  switch ( location ) {                                               
    8590:	e59d4004 	ldr	r4, [sp, #4]                                  
    8594:	e3540000 	cmp	r4, #0	; 0x0                                  
  register Thread_Control *the_thread;                                
  POSIX_API_Control       *api;                                       
  Objects_Locations        location;                                  
  void                    *return_pointer;                            
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
    8598:	e1a01000 	mov	r1, r0                                        
  switch ( location ) {                                               
    859c:	13a00003 	movne	r0, #3	; 0x3                                
    85a0:	1a00001a 	bne	8610 <pthread_join+0x94>                      
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
    85a4:	e5910108 	ldr	r0, [r1, #264]                                <== NOT EXECUTED
                                                                      
      if ( api->detachstate == PTHREAD_CREATE_DETACHED ) {            
    85a8:	e5903038 	ldr	r3, [r0, #56]                                 <== NOT EXECUTED
    85ac:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    85b0:	1a000002 	bne	85c0 <pthread_join+0x44>                      <== NOT EXECUTED
        _Thread_Enable_dispatch();                                    
    85b4:	eb000b02 	bl	b1c4 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    85b8:	e3a00016 	mov	r0, #22	; 0x16                                <== NOT EXECUTED
    85bc:	ea000013 	b	8610 <pthread_join+0x94>                        <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
    85c0:	e59f3050 	ldr	r3, [pc, #80]	; 8618 <pthread_join+0x9c>      <== NOT EXECUTED
    85c4:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
        return EINVAL;                                                
      }                                                               
                                                                      
      if ( _Thread_Is_executing( the_thread ) ) {                     
    85c8:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
    85cc:	1a000002 	bne	85dc <pthread_join+0x60>                      <== NOT EXECUTED
        _Thread_Enable_dispatch();                                    
    85d0:	eb000afb 	bl	b1c4 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    85d4:	e3a0002d 	mov	r0, #45	; 0x2d                                <== NOT EXECUTED
    85d8:	ea00000c 	b	8610 <pthread_join+0x94>                        <== NOT EXECUTED
                                                                      
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;
    85dc:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
    85e0:	e580306c 	str	r3, [r0, #108]                                <== NOT EXECUTED
                                                                      
      /*                                                              
       *  Put ourself on the threads join list                        
       */                                                             
                                                                      
      _Thread_Executing->Wait.return_argument = &return_pointer;      
    85e4:	e582d028 	str	sp, [r2, #40]                                 <== NOT EXECUTED
                                                                      
      _Thread_queue_Enter_critical_section( &api->Join_List );        
                                                                      
      _Thread_queue_Enqueue( &api->Join_List, WATCHDOG_NO_TIMEOUT );  
    85e8:	e280003c 	add	r0, r0, #60	; 0x3c                            <== NOT EXECUTED
    85ec:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    85f0:	e59f2024 	ldr	r2, [pc, #36]	; 861c <pthread_join+0xa0>      <== NOT EXECUTED
    85f4:	eb000c2d 	bl	b6b0 <_Thread_queue_Enqueue_with_handler>      <== NOT EXECUTED
                                                                      
      _Thread_Enable_dispatch();                                      
    85f8:	eb000af1 	bl	b1c4 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
                                                                      
      if ( value_ptr )                                                
    85fc:	e3550000 	cmp	r5, #0	; 0x0                                  <== NOT EXECUTED
        *value_ptr = return_pointer;                                  
    8600:	159d3000 	ldrne	r3, [sp]                                    <== NOT EXECUTED
    8604:	15853000 	strne	r3, [r5]                                    <== NOT EXECUTED
                                                                      
      _Thread_queue_Enqueue( &api->Join_List, WATCHDOG_NO_TIMEOUT );  
                                                                      
      _Thread_Enable_dispatch();                                      
                                                                      
      if ( value_ptr )                                                
    8608:	01a00005 	moveq	r0, r5                                      <== NOT EXECUTED
        *value_ptr = return_pointer;                                  
    860c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
    8610:	e28dd008 	add	sp, sp, #8	; 0x8                              
    8614:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000410c <pthread_key_create>:
    410c:	e59f2100 	ldr	r2, [pc, #256]	; 4214 <pthread_key_create+0x108>
    4110:	e5923000 	ldr	r3, [r2]                                      
    4114:	e2833001 	add	r3, r3, #1	; 0x1                              
                                                                      
int pthread_key_create(                                               
  pthread_key_t  *key,                                                
  void          (*destructor)( void * )                               
)                                                                     
{                                                                     
    4118:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
    411c:	e5823000 	str	r3, [r2]                                      
    4120:	e1a08000 	mov	r8, r0                                        
    4124:	e1a04001 	mov	r4, r1                                        
 *  _POSIX_Keys_Allocate                                              
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) 
{                                                                     
  return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
    4128:	e59f00e8 	ldr	r0, [pc, #232]	; 4218 <pthread_key_create+0x10c>
    412c:	eb0008e0 	bl	64b4 <_Objects_Allocate>                       
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
    4130:	e2506000 	subs	r6, r0, #0	; 0x0                             
    4134:	1a000002 	bne	4144 <pthread_key_create+0x38>                
    _Thread_Enable_dispatch();                                        
    4138:	eb000c09 	bl	7164 <_Thread_Enable_dispatch>                 
    413c:	e3a0000b 	mov	r0, #11	; 0xb                                 
    4140:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
    4144:	e5864014 	str	r4, [r6, #20]                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
                                                                      
    if ( _Objects_Information_table[ the_api ] ) {                    
    4148:	e59fa0cc 	ldr	sl, [pc, #204]	; 421c <pthread_key_create+0x110>
  if ( !the_key ) {                                                   
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
    414c:	e1a07006 	mov	r7, r6                                        
    4150:	e3a05001 	mov	r5, #1	; 0x1                                  
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
                                                                      
    if ( _Objects_Information_table[ the_api ] ) {                    
    4154:	e79a3105 	ldr	r3, [sl, r5, lsl #2]                          
    4158:	e3530000 	cmp	r3, #0	; 0x0                                  
    415c:	0a00001a 	beq	41cc <pthread_key_create+0xc0>                
            INTERNAL_ERROR_CORE,                                      
            TRUE,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
    4160:	e5933004 	ldr	r3, [r3, #4]                                  
    4164:	e1d341b0 	ldrh	r4, [r3, #16]                                
    4168:	e2844001 	add	r4, r4, #1	; 0x1                              
    416c:	e1a04104 	lsl	r4, r4, #2                                    
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
    4170:	e1a00004 	mov	r0, r4                                        
    4174:	eb001131 	bl	8640 <_Workspace_Allocate>                     
      if ( !table ) {                                                 
    4178:	e2503000 	subs	r3, r0, #0	; 0x0                             
        _Thread_Enable_dispatch();                                    
        return ENOMEM;                                                
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
      memset( table, '\0', bytes_to_allocate );                       
    417c:	e1a02004 	mov	r2, r4                                        
    4180:	e3a01000 	mov	r1, #0	; 0x0                                  
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
    4184:	1a00000d 	bne	41c0 <pthread_key_create+0xb4>                
    4188:	e2853005 	add	r3, r5, #5	; 0x5                              
    418c:	e0864103 	add	r4, r6, r3, lsl #2                            
    4190:	ea000001 	b	419c <pthread_key_create+0x90>                  
        for ( --the_api;                                              
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
    4194:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
    4198:	eb001124 	bl	8630 <_Workspace_Free>                         <== NOT EXECUTED
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
              the_api >= 1;                                           
    419c:	e2555001 	subs	r5, r5, #1	; 0x1                             
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
    41a0:	e2444004 	sub	r4, r4, #4	; 0x4                              
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
              the_api >= 1;                                           
    41a4:	1afffffa 	bne	4194 <pthread_key_create+0x88>                
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
    41a8:	e59f0068 	ldr	r0, [pc, #104]	; 4218 <pthread_key_create+0x10c>
    41ac:	e1a01006 	mov	r1, r6                                        
    41b0:	eb00098e 	bl	67f0 <_Objects_Free>                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
                                                                      
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
    41b4:	eb000bea 	bl	7164 <_Thread_Enable_dispatch>                 
    41b8:	e3a0000c 	mov	r0, #12	; 0xc                                 
    41bc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
        return ENOMEM;                                                
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
    41c0:	e587301c 	str	r3, [r7, #28]                                 
      memset( table, '\0', bytes_to_allocate );                       
    41c4:	eb002235 	bl	caa0 <memset>                                  
    41c8:	ea000000 	b	41d0 <pthread_key_create+0xc4>                  
    } else {                                                          
      the_key->Values[ the_api ] = NULL;                              
    41cc:	e587301c 	str	r3, [r7, #28]                                 
   *  for.  [NOTE: Currently RTEMS Classic API tasks are always enabled.]
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
    41d0:	e2855001 	add	r5, r5, #1	; 0x1                              
   *  APIs are optional.  Thus there may be no ITRON tasks to have keys
   *  for.  [NOTE: Currently RTEMS Classic API tasks are always enabled.]
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
    41d4:	e3550005 	cmp	r5, #5	; 0x5                                  
        the_api++ ) {                                                 
    41d8:	e2877004 	add	r7, r7, #4	; 0x4                              
   *  APIs are optional.  Thus there may be no ITRON tasks to have keys
   *  for.  [NOTE: Currently RTEMS Classic API tasks are always enabled.]
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
    41dc:	1affffdc 	bne	4154 <pthread_key_create+0x48>                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    41e0:	e59f3030 	ldr	r3, [pc, #48]	; 4218 <pthread_key_create+0x10c>
    41e4:	e593201c 	ldr	r2, [r3, #28]                                 
    41e8:	e1d630b8 	ldrh	r3, [r6, #8]                                 
    41ec:	e5961008 	ldr	r1, [r6, #8]                                  
    41f0:	e7826103 	str	r6, [r2, r3, lsl #2]                          
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == FALSE */                       
  the_object->name.name_u32 = name;                                   
    41f4:	e3a04000 	mov	r4, #0	; 0x0                                  
    }                                                                 
                                                                      
                                                                      
  }                                                                   
                                                                      
  the_key->is_active = TRUE;                                          
    41f8:	e3a03001 	mov	r3, #1	; 0x1                                  
    41fc:	e586400c 	str	r4, [r6, #12]                                 
    4200:	e5c63010 	strb	r3, [r6, #16]                                
                                                                      
  _Objects_Open_u32( &_POSIX_Keys_Information, &the_key->Object, 0 ); 
                                                                      
  *key = the_key->Object.id;                                          
    4204:	e5881000 	str	r1, [r8]                                      
                                                                      
  _Thread_Enable_dispatch();                                          
    4208:	eb000bd5 	bl	7164 <_Thread_Enable_dispatch>                 
    420c:	e1a00004 	mov	r0, r4                                        
                                                                      
  return 0;                                                           
}                                                                     
    4210:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

00017670 <pthread_kill>: int pthread_kill( pthread_t thread, int sig ) {
   17670:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
   17674:	e2515000 	subs	r5, r1, #0	; 0x0                             
                                                                      
int pthread_kill(                                                     
  pthread_t   thread,                                                 
  int         sig                                                     
)                                                                     
{                                                                     
   17678:	e24dd004 	sub	sp, sp, #4	; 0x4                              
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
   1767c:	0a000002 	beq	1768c <pthread_kill+0x1c>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   17680:	e2458001 	sub	r8, r5, #1	; 0x1                              
   17684:	e358001f 	cmp	r8, #31	; 0x1f                                
   17688:	9a000002 	bls	17698 <pthread_kill+0x28>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   1768c:	ebffd628 	bl	cf34 <__errno>                                 
   17690:	e3a03016 	mov	r3, #22	; 0x16                                
   17694:	ea000025 	b	17730 <pthread_kill+0xc0>                       
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
   17698:	e1a0100d 	mov	r1, sp                                        
   1769c:	ebffc162 	bl	7c2c <_Thread_Get>                             
  switch ( location ) {                                               
   176a0:	e59d4000 	ldr	r4, [sp]                                      
   176a4:	e3540000 	cmp	r4, #0	; 0x0                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
   176a8:	e1a06000 	mov	r6, r0                                        
  switch ( location ) {                                               
   176ac:	1a00001d 	bne	17728 <pthread_kill+0xb8>                     
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
   176b0:	e59f3088 	ldr	r3, [pc, #136]	; 17740 <pthread_kill+0xd0>    
   176b4:	e3a0200c 	mov	r2, #12	; 0xc                                 
   176b8:	e0233592 	mla	r3, r2, r5, r3                                
   176bc:	e5933008 	ldr	r3, [r3, #8]                                  
   176c0:	e3530001 	cmp	r3, #1	; 0x1                                  
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  If sig == 0 then just validate arguments                    
       */                                                             
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   176c4:	e5902108 	ldr	r2, [r0, #264]                                
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
   176c8:	1a000002 	bne	176d8 <pthread_kill+0x68>                     
          _Thread_Enable_dispatch();                                  
   176cc:	ebffc137 	bl	7bb0 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
   176d0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   176d4:	ea000017 	b	17738 <pthread_kill+0xc8>                       <== NOT EXECUTED
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
   176d8:	e59230c8 	ldr	r3, [r2, #200]                                
   176dc:	e3a07001 	mov	r7, #1	; 0x1                                  
   176e0:	e1833817 	orr	r3, r3, r7, lsl r8                            
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
   176e4:	e1a01005 	mov	r1, r5                                        
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
   176e8:	e58230c8 	str	r3, [r2, #200]                                
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
   176ec:	e1a02004 	mov	r2, r4                                        
   176f0:	ebffff97 	bl	17554 <_POSIX_signals_Unblock_thread>          
                                                                      
        the_thread->do_post_task_switch_extension = true;             
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   176f4:	e59f3048 	ldr	r3, [pc, #72]	; 17744 <pthread_kill+0xd4>     
   176f8:	e5933000 	ldr	r3, [r3]                                      
   176fc:	e3530000 	cmp	r3, #0	; 0x0                                  
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
                                                                      
        the_thread->do_post_task_switch_extension = true;             
   17700:	e5c67075 	strb	r7, [r6, #117]                               
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   17704:	0a000004 	beq	1771c <pthread_kill+0xac>                     
   17708:	e59f3038 	ldr	r3, [pc, #56]	; 17748 <pthread_kill+0xd8>     
   1770c:	e5933000 	ldr	r3, [r3]                                      
   17710:	e1560003 	cmp	r6, r3                                        
          _ISR_Signals_to_thread_executing = TRUE;                    
   17714:	059f3030 	ldreq	r3, [pc, #48]	; 1774c <pthread_kill+0xdc>   
   17718:	05c37000 	strbeq	r7, [r3]                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
   1771c:	ebffc123 	bl	7bb0 <_Thread_Enable_dispatch>                 
   17720:	e3a00000 	mov	r0, #0	; 0x0                                  
   17724:	ea000003 	b	17738 <pthread_kill+0xc8>                       
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
   17728:	ebffd601 	bl	cf34 <__errno>                                 <== NOT EXECUTED
   1772c:	e3a03003 	mov	r3, #3	; 0x3                                  <== NOT EXECUTED
   17730:	e5803000 	str	r3, [r0]                                      
   17734:	e3e00000 	mvn	r0, #0	; 0x0                                  
}                                                                     
   17738:	e28dd004 	add	sp, sp, #4	; 0x4                              
   1773c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

00005778 <pthread_mutex_destroy>: */ int pthread_mutex_destroy( pthread_mutex_t *mutex ) {
    5778:	e92d4030 	push	{r4, r5, lr}                                 
    577c:	e24dd004 	sub	sp, sp, #4	; 0x4                              
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
    5780:	e1a0100d 	mov	r1, sp                                        
    5784:	eb000030 	bl	584c <_POSIX_Mutex_Get>                        
  switch ( location ) {                                               
    5788:	e59d5000 	ldr	r5, [sp]                                      
    578c:	e3550000 	cmp	r5, #0	; 0x0                                  
)                                                                     
{                                                                     
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
    5790:	e1a04000 	mov	r4, r0                                        
  switch ( location ) {                                               
    5794:	13a00016 	movne	r0, #22	; 0x16                              
    5798:	1a000011 	bne	57e4 <pthread_mutex_destroy+0x6c>             
       /*                                                             
        * XXX: There is an error for the mutex being locked           
        *  or being in use by a condition variable.                   
        */                                                            
                                                                      
      if ( _CORE_mutex_Is_locked( &the_mutex->Mutex ) ) {             
    579c:	e5943064 	ldr	r3, [r4, #100]                                
    57a0:	e3530000 	cmp	r3, #0	; 0x0                                  
    57a4:	1a000002 	bne	57b4 <pthread_mutex_destroy+0x3c>             
        _Thread_Enable_dispatch();                                    
    57a8:	eb000d1a 	bl	8c18 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    57ac:	e3a00010 	mov	r0, #16	; 0x10                                <== NOT EXECUTED
    57b0:	ea00000b 	b	57e4 <pthread_mutex_destroy+0x6c>               <== NOT EXECUTED
        return EBUSY;                                                 
      }                                                               
                                                                      
      _Objects_Close( &_POSIX_Mutex_Information, &the_mutex->Object );
    57b4:	e59f0030 	ldr	r0, [pc, #48]	; 57ec <pthread_mutex_destroy+0x74>
    57b8:	e1a01004 	mov	r1, r4                                        
    57bc:	eb000a0c 	bl	7ff4 <_Objects_Close>                          
                                                                      
      _CORE_mutex_Flush( &the_mutex->Mutex, NULL, EINVAL );           
    57c0:	e3a02016 	mov	r2, #22	; 0x16                                
    57c4:	e2840014 	add	r0, r4, #20	; 0x14                            
    57c8:	e1a01005 	mov	r1, r5                                        
    57cc:	eb0007ee 	bl	778c <_CORE_mutex_Flush>                       
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (                         
  POSIX_Mutex_Control *the_mutex                                      
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Mutex_Information, &the_mutex->Object );     
    57d0:	e59f0014 	ldr	r0, [pc, #20]	; 57ec <pthread_mutex_destroy+0x74>
    57d4:	e1a01004 	mov	r1, r4                                        
    57d8:	eb000ab1 	bl	82a4 <_Objects_Free>                           
                                                                      
      _POSIX_Mutex_Free( the_mutex );                                 
      _Thread_Enable_dispatch();                                      
    57dc:	eb000d0d 	bl	8c18 <_Thread_Enable_dispatch>                 
    57e0:	e1a00005 	mov	r0, r5                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
    57e4:	e28dd004 	add	sp, sp, #4	; 0x4                              
    57e8:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

000058a0 <pthread_mutex_getprioceiling>: int pthread_mutex_getprioceiling( pthread_mutex_t *mutex, int *prioceiling ) {
    58a0:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
                                                                      
  if ( !prioceiling )                                                 
    58a4:	e2515000 	subs	r5, r1, #0	; 0x0                             <== NOT EXECUTED
                                                                      
int pthread_mutex_getprioceiling(                                     
  pthread_mutex_t   *mutex,                                           
  int               *prioceiling                                      
)                                                                     
{                                                                     
    58a8:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
                                                                      
  if ( !prioceiling )                                                 
    58ac:	0a00000a 	beq	58dc <pthread_mutex_getprioceiling+0x3c>      <== NOT EXECUTED
    return EINVAL;                                                    
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
    58b0:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    58b4:	ebffffe4 	bl	584c <_POSIX_Mutex_Get>                        <== NOT EXECUTED
  switch ( location ) {                                               
    58b8:	e59d4000 	ldr	r4, [sp]                                      <== NOT EXECUTED
    58bc:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    58c0:	1a000005 	bne	58dc <pthread_mutex_getprioceiling+0x3c>      <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      *prioceiling = _POSIX_Priority_From_core(                       
    58c4:	e5903060 	ldr	r3, [r0, #96]                                 <== NOT EXECUTED
    58c8:	e26330ff 	rsb	r3, r3, #255	; 0xff                           <== NOT EXECUTED
    58cc:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
        the_mutex->Mutex.Attributes.priority_ceiling                  
      );                                                              
      _Thread_Enable_dispatch();                                      
    58d0:	eb000cd0 	bl	8c18 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    58d4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    58d8:	ea000000 	b	58e0 <pthread_mutex_getprioceiling+0x40>        <== NOT EXECUTED
      return 0;                                                       
    58dc:	e3a00016 	mov	r0, #22	; 0x16                                <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
    58e0:	e28dd004 	add	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    58e4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

000058e8 <pthread_mutex_init>: #if 0 register POSIX_Mutex_Control *mutex_in_use; Objects_Locations location; #endif if ( attr ) the_attr = attr;
    58e8:	e59f3120 	ldr	r3, [pc, #288]	; 5a10 <pthread_mutex_init+0x128>
    58ec:	e3510000 	cmp	r1, #0	; 0x0                                  
                                                                      
int pthread_mutex_init(                                               
  pthread_mutex_t           *mutex,                                   
  const pthread_mutexattr_t *attr                                     
)                                                                     
{                                                                     
    58f0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
#if 0                                                                 
  register POSIX_Mutex_Control *mutex_in_use;                         
  Objects_Locations             location;                             
#endif                                                                
                                                                      
  if ( attr ) the_attr = attr;                                        
    58f4:	11a04001 	movne	r4, r1                                      
    58f8:	01a04003 	moveq	r4, r3                                      
  else        the_attr = &_POSIX_Mutex_Default_attributes;            
                                                                      
  /* Check for NULL mutex */                                          
                                                                      
  if ( !mutex )                                                       
    58fc:	e2507000 	subs	r7, r0, #0	; 0x0                             
    5900:	0a000040 	beq	5a08 <pthread_mutex_init+0x120>               
        break;                                                        
    }                                                                 
  }                                                                   
#endif                                                                
                                                                      
  if ( !the_attr->is_initialized )                                    
    5904:	e5943000 	ldr	r3, [r4]                                      
    5908:	e3530000 	cmp	r3, #0	; 0x0                                  
    590c:	0a00003d 	beq	5a08 <pthread_mutex_init+0x120>               
                                                                      
  /*                                                                  
   *  XXX: Be careful about attributes when global!!!                 
   */                                                                 
                                                                      
  assert( the_attr->process_shared == PTHREAD_PROCESS_PRIVATE );      
    5910:	e5943004 	ldr	r3, [r4, #4]                                  
    5914:	e3530000 	cmp	r3, #0	; 0x0                                  
    5918:	159f00f4 	ldrne	r0, [pc, #244]	; 5a14 <pthread_mutex_init+0x12c>
    591c:	13a01068 	movne	r1, #104	; 0x68                             
    5920:	159f20f0 	ldrne	r2, [pc, #240]	; 5a18 <pthread_mutex_init+0x130>
    5924:	159f30f0 	ldrne	r3, [pc, #240]	; 5a1c <pthread_mutex_init+0x134>
    5928:	1bfff4c0 	blne	2c30 <__assert_func>                         
                                                                      
  /*                                                                  
   *  Determine the discipline of the mutex                           
   */                                                                 
                                                                      
  switch ( the_attr->protocol ) {                                     
    592c:	e594300c 	ldr	r3, [r4, #12]                                 
    5930:	e3530001 	cmp	r3, #1	; 0x1                                  
    5934:	0a000005 	beq	5950 <pthread_mutex_init+0x68>                
    5938:	e3530002 	cmp	r3, #2	; 0x2                                  
    593c:	0a000005 	beq	5958 <pthread_mutex_init+0x70>                
    5940:	e3530000 	cmp	r3, #0	; 0x0                                  
    5944:	01a06003 	moveq	r6, r3                                      
    5948:	0a000003 	beq	595c <pthread_mutex_init+0x74>                
    594c:	ea00002d 	b	5a08 <pthread_mutex_init+0x120>                 
    5950:	e3a06002 	mov	r6, #2	; 0x2                                  
    5954:	ea000000 	b	595c <pthread_mutex_init+0x74>                  
    5958:	e3a06003 	mov	r6, #3	; 0x3                                  
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
                                                                      
  if ( !_POSIX_Priority_Is_valid( the_attr->prio_ceiling ) )          
    595c:	e5943008 	ldr	r3, [r4, #8]                                  
    5960:	e2433001 	sub	r3, r3, #1	; 0x1                              
    5964:	e35300fd 	cmp	r3, #253	; 0xfd                               
    5968:	8a000026 	bhi	5a08 <pthread_mutex_init+0x120>               
    596c:	e59f20ac 	ldr	r2, [pc, #172]	; 5a20 <pthread_mutex_init+0x138>
    5970:	e5923000 	ldr	r3, [r2]                                      
    5974:	e2833001 	add	r3, r3, #1	; 0x1                              
    5978:	e5823000 	str	r3, [r2]                                      
 *  _POSIX_Mutex_Allocate                                             
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
{                                                                     
  return (POSIX_Mutex_Control *) _Objects_Allocate( &_POSIX_Mutex_Information );
    597c:	e59f00a0 	ldr	r0, [pc, #160]	; 5a24 <pthread_mutex_init+0x13c>
    5980:	eb000978 	bl	7f68 <_Objects_Allocate>                       
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_mutex = _POSIX_Mutex_Allocate();                                
                                                                      
  if ( !the_mutex ) {                                                 
    5984:	e2505000 	subs	r5, r0, #0	; 0x0                             
    5988:	1a000002 	bne	5998 <pthread_mutex_init+0xb0>                
    _Thread_Enable_dispatch();                                        
    598c:	eb000ca1 	bl	8c18 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    5990:	e3a0000b 	mov	r0, #11	; 0xb                                 <== NOT EXECUTED
    5994:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  the_mutex->process_shared = the_attr->process_shared;               
    5998:	e5943004 	ldr	r3, [r4, #4]                                  
    599c:	e5853010 	str	r3, [r5, #16]                                 
                                                                      
  the_mutex_attr = &the_mutex->Mutex.Attributes;                      
                                                                      
  if ( the_attr->recursive )                                          
    59a0:	e5943010 	ldr	r3, [r4, #16]                                 
    59a4:	e3530000 	cmp	r3, #0	; 0x0                                  
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    59a8:	13a03000 	movne	r3, #0	; 0x0                                
  else                                                                
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_IS_ERROR;
    59ac:	03a03001 	moveq	r3, #1	; 0x1                                
    59b0:	e5853054 	str	r3, [r5, #84]                                 
  the_mutex_attr->only_owner_release = TRUE;                          
  the_mutex_attr->priority_ceiling =                                  
    59b4:	e5943008 	ldr	r3, [r4, #8]                                  
                                                                      
  if ( the_attr->recursive )                                          
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  else                                                                
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_IS_ERROR;
  the_mutex_attr->only_owner_release = TRUE;                          
    59b8:	e3a01001 	mov	r1, #1	; 0x1                                  
  the_mutex_attr->priority_ceiling =                                  
    59bc:	e26330ff 	rsb	r3, r3, #255	; 0xff                           
                                                                      
  /*                                                                  
   *  Must be initialized to unlocked.                                
   */                                                                 
                                                                      
  _CORE_mutex_Initialize(                                             
    59c0:	e1a02001 	mov	r2, r1                                        
  if ( the_attr->recursive )                                          
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  else                                                                
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_IS_ERROR;
  the_mutex_attr->only_owner_release = TRUE;                          
  the_mutex_attr->priority_ceiling =                                  
    59c4:	e5853060 	str	r3, [r5, #96]                                 
                                                                      
  if ( the_attr->recursive )                                          
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  else                                                                
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_IS_ERROR;
  the_mutex_attr->only_owner_release = TRUE;                          
    59c8:	e5c51058 	strb	r1, [r5, #88]                                
  the_mutex_attr->priority_ceiling =                                  
    _POSIX_Priority_To_core( the_attr->prio_ceiling );                
  the_mutex_attr->discipline = the_discipline;                        
    59cc:	e585605c 	str	r6, [r5, #92]                                 
                                                                      
  /*                                                                  
   *  Must be initialized to unlocked.                                
   */                                                                 
                                                                      
  _CORE_mutex_Initialize(                                             
    59d0:	e2851054 	add	r1, r5, #84	; 0x54                            
    59d4:	e2850014 	add	r0, r5, #20	; 0x14                            
    59d8:	eb00076c 	bl	7790 <_CORE_mutex_Initialize>                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    59dc:	e59f3040 	ldr	r3, [pc, #64]	; 5a24 <pthread_mutex_init+0x13c>
    59e0:	e5951008 	ldr	r1, [r5, #8]                                  
    59e4:	e593201c 	ldr	r2, [r3, #28]                                 
    59e8:	e1d530b8 	ldrh	r3, [r5, #8]                                 
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == FALSE */                       
  the_object->name.name_u32 = name;                                   
    59ec:	e3a04000 	mov	r4, #0	; 0x0                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    59f0:	e7825103 	str	r5, [r2, r3, lsl #2]                          
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == FALSE */                       
  the_object->name.name_u32 = name;                                   
    59f4:	e585400c 	str	r4, [r5, #12]                                 
    CORE_MUTEX_UNLOCKED                                               
  );                                                                  
                                                                      
  _Objects_Open_u32( &_POSIX_Mutex_Information, &the_mutex->Object, 0 );
                                                                      
  *mutex = the_mutex->Object.id;                                      
    59f8:	e5871000 	str	r1, [r7]                                      
                                                                      
  _Thread_Enable_dispatch();                                          
    59fc:	eb000c85 	bl	8c18 <_Thread_Enable_dispatch>                 
    5a00:	e1a00004 	mov	r0, r4                                        
    5a04:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  return 0;                                                           
    5a08:	e3a00016 	mov	r0, #22	; 0x16                                
}                                                                     
    5a0c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

00005a9c <pthread_mutex_setprioceiling>: int pthread_mutex_setprioceiling( pthread_mutex_t *mutex, int prioceiling, int *old_ceiling ) {
    5a9c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
  Priority_Control              the_priority;                         
  int                           status;                               
                                                                      
  if ( !old_ceiling )                                                 
    5aa0:	e2527000 	subs	r7, r2, #0	; 0x0                             <== NOT EXECUTED
int pthread_mutex_setprioceiling(                                     
  pthread_mutex_t   *mutex,                                           
  int                prioceiling,                                     
  int               *old_ceiling                                      
)                                                                     
{                                                                     
    5aa4:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    5aa8:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
    5aac:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
  Priority_Control              the_priority;                         
  int                           status;                               
                                                                      
  if ( !old_ceiling )                                                 
    5ab0:	0a000016 	beq	5b10 <pthread_mutex_setprioceiling+0x74>      <== NOT EXECUTED
    return EINVAL;                                                    
                                                                      
  if ( !_POSIX_Priority_Is_valid( prioceiling ) )                     
    5ab4:	e2413001 	sub	r3, r1, #1	; 0x1                              <== NOT EXECUTED
    5ab8:	e35300fd 	cmp	r3, #253	; 0xfd                               <== NOT EXECUTED
    5abc:	8a000013 	bhi	5b10 <pthread_mutex_setprioceiling+0x74>      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Must acquire the mutex before we can change it's ceiling        
   */                                                                 
                                                                      
  status = pthread_mutex_lock( mutex );                               
    5ac0:	ebffffd8 	bl	5a28 <pthread_mutex_lock>                      <== NOT EXECUTED
  if ( status )                                                       
    5ac4:	e2504000 	subs	r4, r0, #0	; 0x0                             <== NOT EXECUTED
    5ac8:	1a000011 	bne	5b14 <pthread_mutex_setprioceiling+0x78>      <== NOT EXECUTED
    return status;                                                    
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
    5acc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    5ad0:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    5ad4:	ebffff5c 	bl	584c <_POSIX_Mutex_Get>                        <== NOT EXECUTED
  switch ( location ) {                                               
    5ad8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    5adc:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    5ae0:	1a00000a 	bne	5b10 <pthread_mutex_setprioceiling+0x74>      <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      *old_ceiling = _POSIX_Priority_From_core(                       
    5ae4:	e5903060 	ldr	r3, [r0, #96]                                 <== NOT EXECUTED
        the_mutex->Mutex.Attributes.priority_ceiling                  
      );                                                              
      the_mutex->Mutex.Attributes.priority_ceiling = the_priority;    
    5ae8:	e26620ff 	rsb	r2, r6, #255	; 0xff                           <== NOT EXECUTED
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *old_ceiling = _POSIX_Priority_From_core(                       
    5aec:	e26330ff 	rsb	r3, r3, #255	; 0xff                           <== NOT EXECUTED
        the_mutex->Mutex.Attributes.priority_ceiling                  
      );                                                              
      the_mutex->Mutex.Attributes.priority_ceiling = the_priority;    
      _CORE_mutex_Surrender(                                          
    5af0:	e5901008 	ldr	r1, [r0, #8]                                  <== NOT EXECUTED
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *old_ceiling = _POSIX_Priority_From_core(                       
    5af4:	e5873000 	str	r3, [r7]                                      <== NOT EXECUTED
        the_mutex->Mutex.Attributes.priority_ceiling                  
      );                                                              
      the_mutex->Mutex.Attributes.priority_ceiling = the_priority;    
    5af8:	e5802060 	str	r2, [r0, #96]                                 <== NOT EXECUTED
      _CORE_mutex_Surrender(                                          
    5afc:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    5b00:	e2800014 	add	r0, r0, #20	; 0x14                            <== NOT EXECUTED
    5b04:	eb000799 	bl	7970 <_CORE_mutex_Surrender>                   <== NOT EXECUTED
        &the_mutex->Mutex,                                            
        the_mutex->Object.id,                                         
        NULL                                                          
      );                                                              
      _Thread_Enable_dispatch();                                      
    5b08:	eb000c42 	bl	8c18 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    5b0c:	ea000000 	b	5b14 <pthread_mutex_setprioceiling+0x78>        <== NOT EXECUTED
      return 0;                                                       
    5b10:	e3a04016 	mov	r4, #22	; 0x16                                <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
    5b14:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    5b18:	e28dd004 	add	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    5b1c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

00005b20 <pthread_mutex_timedlock>: int pthread_mutex_timedlock( pthread_mutex_t *mutex, const struct timespec *abstime ) {
    5b20:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
    5b24:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    5b28:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
   *  So we check the abstime provided, and hold on to whether it     
   *  is valid or not.  If it isn't correct and in the future,        
   *  then we do a polling operation and convert the UNSATISFIED      
   *  status into the appropriate error.                              
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
    5b2c:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    5b30:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    5b34:	eb000022 	bl	5bc4 <_POSIX_Absolute_timeout_to_ticks>        <== NOT EXECUTED
  switch ( status ) {                                                 
    5b38:	e3500002 	cmp	r0, #2	; 0x2                                  <== NOT EXECUTED
    5b3c:	93a01000 	movls	r1, #0	; 0x0                                <== NOT EXECUTED
    5b40:	9a000002 	bls	5b50 <pthread_mutex_timedlock+0x30>           <== NOT EXECUTED
    5b44:	e3500003 	cmp	r0, #3	; 0x3                                  <== NOT EXECUTED
    5b48:	13a01000 	movne	r1, #0	; 0x0                                <== NOT EXECUTED
    5b4c:	03a01001 	moveq	r1, #1	; 0x1                                <== NOT EXECUTED
    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                         
      do_wait = TRUE;                                                 
      break;                                                          
  }                                                                   
                                                                      
  lock_status = _POSIX_Mutex_Lock_support(                            
    5b50:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    5b54:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
    5b58:	ebffffb5 	bl	5a34 <_POSIX_Mutex_Lock_support>               <== NOT EXECUTED
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
    5b5c:	e28dd004 	add	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    5b60:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

0000474c <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
    474c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
    4750:	e2507000 	subs	r7, r0, #0	; 0x0                             
                                                                      
int pthread_rwlock_init(                                              
  pthread_rwlock_t           *rwlock,                                 
  const pthread_rwlockattr_t *attr                                    
)                                                                     
{                                                                     
    4754:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
    4758:	0a000023 	beq	47ec <pthread_rwlock_init+0xa0>               
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    475c:	e3510000 	cmp	r1, #0	; 0x0                                  
    4760:	1a000003 	bne	4774 <pthread_rwlock_init+0x28>               
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
    4764:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    4768:	eb00028d 	bl	51a4 <pthread_rwlockattr_init>                 <== NOT EXECUTED
    476c:	e1a0400d 	mov	r4, sp                                        <== NOT EXECUTED
    4770:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
    4774:	e5913000 	ldr	r3, [r1]                                      
    4778:	e3530000 	cmp	r3, #0	; 0x0                                  
    477c:	0a00001a 	beq	47ec <pthread_rwlock_init+0xa0>               
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
    4780:	e5915004 	ldr	r5, [r1, #4]                                  
    4784:	e3550000 	cmp	r5, #0	; 0x0                                  
    4788:	1a000017 	bne	47ec <pthread_rwlock_init+0xa0>               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    478c:	e59f2064 	ldr	r2, [pc, #100]	; 47f8 <pthread_rwlock_init+0xac>
    4790:	e5923000 	ldr	r3, [r2]                                      
    4794:	e2833001 	add	r3, r3, #1	; 0x1                              
    4798:	e5823000 	str	r3, [r2]                                      
 *  This function allocates a RWLock control block from               
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
    479c:	e59f6058 	ldr	r6, [pc, #88]	; 47fc <pthread_rwlock_init+0xb0>
    47a0:	e1a00006 	mov	r0, r6                                        
    47a4:	eb0009f4 	bl	6f7c <_Objects_Allocate>                       
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
    47a8:	e2504000 	subs	r4, r0, #0	; 0x0                             
    47ac:	1a000002 	bne	47bc <pthread_rwlock_init+0x70>               
    _Thread_Enable_dispatch();                                        
    47b0:	eb000d1d 	bl	7c2c <_Thread_Enable_dispatch>                 
    47b4:	e3a0000b 	mov	r0, #11	; 0xb                                 
    47b8:	ea00000c 	b	47f0 <pthread_rwlock_init+0xa4>                 
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
    47bc:	e2840010 	add	r0, r4, #16	; 0x10                            
    47c0:	e28d1008 	add	r1, sp, #8	; 0x8                              
    47c4:	eb00081b 	bl	6838 <_CORE_RWLock_Initialize>                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    47c8:	e596301c 	ldr	r3, [r6, #28]                                 
    47cc:	e5941008 	ldr	r1, [r4, #8]                                  
    47d0:	e1d420b8 	ldrh	r2, [r4, #8]                                 
    47d4:	e7834102 	str	r4, [r3, r2, lsl #2]                          
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == FALSE */                       
  the_object->name.name_u32 = name;                                   
    47d8:	e584500c 	str	r5, [r4, #12]                                 
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
    47dc:	e5871000 	str	r1, [r7]                                      
                                                                      
  _Thread_Enable_dispatch();                                          
    47e0:	eb000d11 	bl	7c2c <_Thread_Enable_dispatch>                 
    47e4:	e1a00005 	mov	r0, r5                                        
    47e8:	ea000000 	b	47f0 <pthread_rwlock_init+0xa4>                 
  return 0;                                                           
    47ec:	e3a00016 	mov	r0, #22	; 0x16                                
}                                                                     
    47f0:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    47f4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

0000486c <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
    486c:	e92d4070 	push	{r4, r5, r6, lr}                             
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait;               
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    4870:	e2506000 	subs	r6, r0, #0	; 0x0                             
                                                                      
int pthread_rwlock_timedrdlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
    4874:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
    4878:	e1a00001 	mov	r0, r1                                        
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait;               
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    487c:	0a000027 	beq	4920 <pthread_rwlock_timedrdlock+0xb4>        
   *  So we check the abstime provided, and hold on to whether it     
   *  is valid or not.  If it isn't correct and in the future,        
   *  then we do a polling operation and convert the UNSATISFIED      
   *  status into the appropriate error.                              
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
    4880:	e28d1004 	add	r1, sp, #4	; 0x4                              
    4884:	eb0019b1 	bl	af50 <_POSIX_Absolute_timeout_to_ticks>        
  switch (status) {                                                   
    4888:	e3500002 	cmp	r0, #2	; 0x2                                  
   *  So we check the abstime provided, and hold on to whether it     
   *  is valid or not.  If it isn't correct and in the future,        
   *  then we do a polling operation and convert the UNSATISFIED      
   *  status into the appropriate error.                              
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
    488c:	e1a05000 	mov	r5, r0                                        
  switch (status) {                                                   
    4890:	93a04000 	movls	r4, #0	; 0x0                                
    4894:	9a000002 	bls	48a4 <pthread_rwlock_timedrdlock+0x38>        
    4898:	e3500003 	cmp	r0, #3	; 0x3                                  
    489c:	13a04000 	movne	r4, #0	; 0x0                                
    48a0:	03a04001 	moveq	r4, #1	; 0x1                                
    48a4:	e59f0080 	ldr	r0, [pc, #128]	; 492c <pthread_rwlock_timedrdlock+0xc0>
    48a8:	e5961000 	ldr	r1, [r6]                                      
    48ac:	e28d2008 	add	r2, sp, #8	; 0x8                              
    48b0:	eb000ad9 	bl	741c <_Objects_Get>                            
      do_wait = TRUE;                                                 
      break;                                                          
  }                                                                   
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
    48b4:	e59d3008 	ldr	r3, [sp, #8]                                  
    48b8:	e3530000 	cmp	r3, #0	; 0x0                                  
    48bc:	1a000017 	bne	4920 <pthread_rwlock_timedrdlock+0xb4>        
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
    48c0:	e58d3000 	str	r3, [sp]                                      
    48c4:	e2800010 	add	r0, r0, #16	; 0x10                            
    48c8:	e5961000 	ldr	r1, [r6]                                      
    48cc:	e1a02004 	mov	r2, r4                                        
    48d0:	e59d3004 	ldr	r3, [sp, #4]                                  
    48d4:	eb0007df 	bl	6858 <_CORE_RWLock_Obtain_for_reading>         
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
    48d8:	eb000cd3 	bl	7c2c <_Thread_Enable_dispatch>                 
      if ( !do_wait &&                                                
    48dc:	e3540000 	cmp	r4, #0	; 0x0                                  
    48e0:	1a000009 	bne	490c <pthread_rwlock_timedrdlock+0xa0>        
    48e4:	e59f3044 	ldr	r3, [pc, #68]	; 4930 <pthread_rwlock_timedrdlock+0xc4><== NOT EXECUTED
    48e8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    48ec:	e5933034 	ldr	r3, [r3, #52]                                 <== NOT EXECUTED
    48f0:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
    48f4:	1a000004 	bne	490c <pthread_rwlock_timedrdlock+0xa0>        <== NOT EXECUTED
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
    48f8:	e3550000 	cmp	r5, #0	; 0x0                                  <== NOT EXECUTED
    48fc:	0a000007 	beq	4920 <pthread_rwlock_timedrdlock+0xb4>        <== NOT EXECUTED
    4900:	e3550002 	cmp	r5, #2	; 0x2                                  <== NOT EXECUTED
    4904:	93a00074 	movls	r0, #116	; 0x74                             <== NOT EXECUTED
    4908:	9a000005 	bls	4924 <pthread_rwlock_timedrdlock+0xb8>        <== NOT EXECUTED
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
    490c:	e59f301c 	ldr	r3, [pc, #28]	; 4930 <pthread_rwlock_timedrdlock+0xc4>
    4910:	e5933000 	ldr	r3, [r3]                                      
    4914:	e5930034 	ldr	r0, [r3, #52]                                 
    4918:	eb000037 	bl	49fc <_POSIX_RWLock_Translate_core_RWLock_return_code>
    491c:	ea000000 	b	4924 <pthread_rwlock_timedrdlock+0xb8>          
    4920:	e3a00016 	mov	r0, #22	; 0x16                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
    4924:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    4928:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00004934 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
    4934:	e92d4070 	push	{r4, r5, r6, lr}                             
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait;               
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    4938:	e2506000 	subs	r6, r0, #0	; 0x0                             
                                                                      
int pthread_rwlock_timedwrlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
    493c:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
    4940:	e1a00001 	mov	r0, r1                                        
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait;               
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    4944:	0a000027 	beq	49e8 <pthread_rwlock_timedwrlock+0xb4>        
   *  So we check the abstime provided, and hold on to whether it     
   *  is valid or not.  If it isn't correct and in the future,        
   *  then we do a polling operation and convert the UNSATISFIED      
   *  status into the appropriate error.                              
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
    4948:	e28d1004 	add	r1, sp, #4	; 0x4                              
    494c:	eb00197f 	bl	af50 <_POSIX_Absolute_timeout_to_ticks>        
  switch (status) {                                                   
    4950:	e3500002 	cmp	r0, #2	; 0x2                                  
   *  So we check the abstime provided, and hold on to whether it     
   *  is valid or not.  If it isn't correct and in the future,        
   *  then we do a polling operation and convert the UNSATISFIED      
   *  status into the appropriate error.                              
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
    4954:	e1a05000 	mov	r5, r0                                        
  switch (status) {                                                   
    4958:	93a04000 	movls	r4, #0	; 0x0                                
    495c:	9a000002 	bls	496c <pthread_rwlock_timedwrlock+0x38>        
    4960:	e3500003 	cmp	r0, #3	; 0x3                                  
    4964:	13a04000 	movne	r4, #0	; 0x0                                
    4968:	03a04001 	moveq	r4, #1	; 0x1                                
    496c:	e59f0080 	ldr	r0, [pc, #128]	; 49f4 <pthread_rwlock_timedwrlock+0xc0>
    4970:	e5961000 	ldr	r1, [r6]                                      
    4974:	e28d2008 	add	r2, sp, #8	; 0x8                              
    4978:	eb000aa7 	bl	741c <_Objects_Get>                            
      do_wait = TRUE;                                                 
      break;                                                          
  }                                                                   
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
    497c:	e59d3008 	ldr	r3, [sp, #8]                                  
    4980:	e3530000 	cmp	r3, #0	; 0x0                                  
    4984:	1a000017 	bne	49e8 <pthread_rwlock_timedwrlock+0xb4>        
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
    4988:	e58d3000 	str	r3, [sp]                                      
    498c:	e2800010 	add	r0, r0, #16	; 0x10                            
    4990:	e5961000 	ldr	r1, [r6]                                      
    4994:	e1a02004 	mov	r2, r4                                        
    4998:	e59d3004 	ldr	r3, [sp, #4]                                  
    499c:	eb0007e2 	bl	692c <_CORE_RWLock_Obtain_for_writing>         
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
    49a0:	eb000ca1 	bl	7c2c <_Thread_Enable_dispatch>                 
      if ( !do_wait &&                                                
    49a4:	e3540000 	cmp	r4, #0	; 0x0                                  
    49a8:	1a000009 	bne	49d4 <pthread_rwlock_timedwrlock+0xa0>        
    49ac:	e59f3044 	ldr	r3, [pc, #68]	; 49f8 <pthread_rwlock_timedwrlock+0xc4><== NOT EXECUTED
    49b0:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    49b4:	e5933034 	ldr	r3, [r3, #52]                                 <== NOT EXECUTED
    49b8:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
    49bc:	1a000004 	bne	49d4 <pthread_rwlock_timedwrlock+0xa0>        <== NOT EXECUTED
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
    49c0:	e3550000 	cmp	r5, #0	; 0x0                                  <== NOT EXECUTED
    49c4:	0a000007 	beq	49e8 <pthread_rwlock_timedwrlock+0xb4>        <== NOT EXECUTED
    49c8:	e3550002 	cmp	r5, #2	; 0x2                                  <== NOT EXECUTED
    49cc:	93a00074 	movls	r0, #116	; 0x74                             <== NOT EXECUTED
    49d0:	9a000005 	bls	49ec <pthread_rwlock_timedwrlock+0xb8>        <== NOT EXECUTED
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
    49d4:	e59f301c 	ldr	r3, [pc, #28]	; 49f8 <pthread_rwlock_timedwrlock+0xc4>
    49d8:	e5933000 	ldr	r3, [r3]                                      
    49dc:	e5930034 	ldr	r0, [r3, #52]                                 
    49e0:	eb000005 	bl	49fc <_POSIX_RWLock_Translate_core_RWLock_return_code>
    49e4:	ea000000 	b	49ec <pthread_rwlock_timedwrlock+0xb8>          
    49e8:	e3a00016 	mov	r0, #22	; 0x16                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
    49ec:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    49f0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

0000430c <pthread_setcancelstate>: * Don't even think about deleting a resource from an ISR. * Besides this request is supposed to be for _Thread_Executing * and the ISR context is not a thread. */ if ( _ISR_Is_in_progress() )
    430c:	e59f30a4 	ldr	r3, [pc, #164]	; 43b8 <pthread_setcancelstate+0xac>
    4310:	e5933000 	ldr	r3, [r3]                                      
    4314:	e3530000 	cmp	r3, #0	; 0x0                                  
                                                                      
int pthread_setcancelstate(                                           
  int  state,                                                         
  int *oldstate                                                       
)                                                                     
{                                                                     
    4318:	e92d4010 	push	{r4, lr}                                     
    431c:	e1a0c001 	mov	ip, r1                                        
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
    4320:	13a00047 	movne	r0, #71	; 0x47                              
    4324:	18bd8010 	popne	{r4, pc}                                    
    return EPROTO;                                                    
                                                                      
  if ( !oldstate )                                                    
    4328:	e3510000 	cmp	r1, #0	; 0x0                                  
    432c:	0a00001f 	beq	43b0 <pthread_setcancelstate+0xa4>            
    return EINVAL;                                                    
                                                                      
  if ( state != PTHREAD_CANCEL_ENABLE && state != PTHREAD_CANCEL_DISABLE )
    4330:	e3500001 	cmp	r0, #1	; 0x1                                  
    4334:	8a00001d 	bhi	43b0 <pthread_setcancelstate+0xa4>            
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    4338:	e59f107c 	ldr	r1, [pc, #124]	; 43bc <pthread_setcancelstate+0xb0>
    return EINVAL;                                                    
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
    433c:	e59f207c 	ldr	r2, [pc, #124]	; 43c0 <pthread_setcancelstate+0xb4>
    4340:	e5913000 	ldr	r3, [r1]                                      
    4344:	e5922000 	ldr	r2, [r2]                                      
    4348:	e2833001 	add	r3, r3, #1	; 0x1                              
    434c:	e5813000 	str	r3, [r1]                                      
    4350:	e5922108 	ldr	r2, [r2, #264]                                
                                                                      
  _Thread_Disable_dispatch();                                         
    *oldstate = thread_support->cancelability_state;                  
    4354:	e59230cc 	ldr	r3, [r2, #204]                                
    thread_support->cancelability_state = state;                      
                                                                      
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
    4358:	e3500000 	cmp	r0, #0	; 0x0                                  
    return EINVAL;                                                    
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
  _Thread_Disable_dispatch();                                         
    *oldstate = thread_support->cancelability_state;                  
    435c:	e58c3000 	str	r3, [ip]                                      
    thread_support->cancelability_state = state;                      
    4360:	e58200cc 	str	r0, [r2, #204]                                
                                                                      
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
    4364:	1a000006 	bne	4384 <pthread_setcancelstate+0x78>            
    4368:	e59230d0 	ldr	r3, [r2, #208]                                
    436c:	e3530001 	cmp	r3, #1	; 0x1                                  
    4370:	1a000003 	bne	4384 <pthread_setcancelstate+0x78>            
    4374:	e59230d4 	ldr	r3, [r2, #212]                                <== NOT EXECUTED
    4378:	e2534000 	subs	r4, r3, #0	; 0x0                             <== NOT EXECUTED
    437c:	13a04001 	movne	r4, #1	; 0x1                                <== NOT EXECUTED
    4380:	ea000000 	b	4388 <pthread_setcancelstate+0x7c>              <== NOT EXECUTED
    4384:	e3a04000 	mov	r4, #0	; 0x0                                  
         thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
                                                                      
 _Thread_Enable_dispatch();                                           
    4388:	eb000a22 	bl	6c18 <_Thread_Enable_dispatch>                 
 if ( cancel )                                                        
    438c:	e3540000 	cmp	r4, #0	; 0x0                                  
    4390:	01a00004 	moveq	r0, r4                                      
    4394:	08bd8010 	popeq	{r4, pc}                                    
   _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );         
    4398:	e59f3020 	ldr	r3, [pc, #32]	; 43c0 <pthread_setcancelstate+0xb4><== NOT EXECUTED
    439c:	e3e01000 	mvn	r1, #0	; 0x0                                  <== NOT EXECUTED
    43a0:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    43a4:	ebfffed7 	bl	3f08 <_POSIX_Thread_Exit>                      <== NOT EXECUTED
    43a8:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    43ac:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    43b0:	e3a00016 	mov	r0, #22	; 0x16                                <== NOT EXECUTED
  return 0;                                                           
}                                                                     
    43b4:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

000043c4 <pthread_setcanceltype>: * Don't even think about deleting a resource from an ISR. * Besides this request is supposed to be for _Thread_Executing * and the ISR context is not a thread. */ if ( _ISR_Is_in_progress() )
    43c4:	e59f30a4 	ldr	r3, [pc, #164]	; 4470 <pthread_setcanceltype+0xac>
    43c8:	e5933000 	ldr	r3, [r3]                                      
    43cc:	e3530000 	cmp	r3, #0	; 0x0                                  
                                                                      
int pthread_setcanceltype(                                            
  int  type,                                                          
  int *oldtype                                                        
)                                                                     
{                                                                     
    43d0:	e92d4010 	push	{r4, lr}                                     
    43d4:	e1a0c001 	mov	ip, r1                                        
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
    43d8:	13a00047 	movne	r0, #71	; 0x47                              
    43dc:	18bd8010 	popne	{r4, pc}                                    
    return EPROTO;                                                    
                                                                      
  if ( !oldtype )                                                     
    43e0:	e3510000 	cmp	r1, #0	; 0x0                                  
    43e4:	0a00001f 	beq	4468 <pthread_setcanceltype+0xa4>             
    return EINVAL;                                                    
                                                                      
  if ( type != PTHREAD_CANCEL_DEFERRED && type != PTHREAD_CANCEL_ASYNCHRONOUS )
    43e8:	e3500001 	cmp	r0, #1	; 0x1                                  
    43ec:	8a00001d 	bhi	4468 <pthread_setcanceltype+0xa4>             
    43f0:	e59f107c 	ldr	r1, [pc, #124]	; 4474 <pthread_setcanceltype+0xb0>
    return EINVAL;                                                    
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
    43f4:	e59f207c 	ldr	r2, [pc, #124]	; 4478 <pthread_setcanceltype+0xb4>
    43f8:	e5913000 	ldr	r3, [r1]                                      
    43fc:	e5922000 	ldr	r2, [r2]                                      
    4400:	e2833001 	add	r3, r3, #1	; 0x1                              
    4404:	e5813000 	str	r3, [r1]                                      
    4408:	e5922108 	ldr	r2, [r2, #264]                                
                                                                      
  _Thread_Disable_dispatch();                                         
    *oldtype = thread_support->cancelability_type;                    
    440c:	e59230d0 	ldr	r3, [r2, #208]                                
    4410:	e58c3000 	str	r3, [ip]                                      
    thread_support->cancelability_type = type;                        
                                                                      
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
    4414:	e59230cc 	ldr	r3, [r2, #204]                                
    4418:	e3530000 	cmp	r3, #0	; 0x0                                  
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
  _Thread_Disable_dispatch();                                         
    *oldtype = thread_support->cancelability_type;                    
    thread_support->cancelability_type = type;                        
    441c:	e58200d0 	str	r0, [r2, #208]                                
                                                                      
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
    4420:	1a000005 	bne	443c <pthread_setcanceltype+0x78>             
    4424:	e3500001 	cmp	r0, #1	; 0x1                                  
    4428:	1a000003 	bne	443c <pthread_setcanceltype+0x78>             
    442c:	e59230d4 	ldr	r3, [r2, #212]                                
    4430:	e2534000 	subs	r4, r3, #0	; 0x0                             
    4434:	13a04001 	movne	r4, #1	; 0x1                                
    4438:	ea000000 	b	4440 <pthread_setcanceltype+0x7c>               
    443c:	e3a04000 	mov	r4, #0	; 0x0                                  
         thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
    4440:	eb0009f4 	bl	6c18 <_Thread_Enable_dispatch>                 
  if ( cancel )                                                       
    4444:	e3540000 	cmp	r4, #0	; 0x0                                  
    4448:	01a00004 	moveq	r0, r4                                      
    444c:	08bd8010 	popeq	{r4, pc}                                    
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
    4450:	e59f3020 	ldr	r3, [pc, #32]	; 4478 <pthread_setcanceltype+0xb4><== NOT EXECUTED
    4454:	e3e01000 	mvn	r1, #0	; 0x0                                  <== NOT EXECUTED
    4458:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    445c:	ebfffea9 	bl	3f08 <_POSIX_Thread_Exit>                      <== NOT EXECUTED
    4460:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    4464:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    4468:	e3a00016 	mov	r0, #22	; 0x16                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
    446c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

000063a0 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
    63a0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
                                                                      
  if ( !param )                                                       
    63a4:	e2526000 	subs	r6, r2, #0	; 0x0                             
int pthread_setschedparam(                                            
  pthread_t           thread,                                         
  int                 policy,                                         
  struct sched_param *param                                           
)                                                                     
{                                                                     
    63a8:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    63ac:	e1a05000 	mov	r5, r0                                        
    63b0:	e1a0a001 	mov	sl, r1                                        
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
                                                                      
  if ( !param )                                                       
    63b4:	0a000051 	beq	6500 <pthread_setschedparam+0x160>            
    return EINVAL;                                                    
                                                                      
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
    63b8:	e5963000 	ldr	r3, [r6]                                      
    63bc:	e2433001 	sub	r3, r3, #1	; 0x1                              
    63c0:	e35300fd 	cmp	r3, #253	; 0xfd                               
    63c4:	8a00004d 	bhi	6500 <pthread_setschedparam+0x160>            
    return EINVAL;                                                    
                                                                      
  budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;                
  budget_callout = NULL;                                              
                                                                      
  switch ( policy ) {                                                 
    63c8:	e3510003 	cmp	r1, #3	; 0x3                                  
    63cc:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
    63d0:	ea00004a 	b	6500 <pthread_setschedparam+0x160>              
    63d4:	000063f0 	.word	0x000063f0                                  
    63d8:	000063e4 	.word	0x000063e4                                  
    63dc:	000063f8 	.word	0x000063f8                                  
    63e0:	00006404 	.word	0x00006404                                  
    63e4:	e3a07000 	mov	r7, #0	; 0x0                                  
    63e8:	e1a08007 	mov	r8, r7                                        
    63ec:	ea000011 	b	6438 <pthread_setschedparam+0x98>               
    63f0:	e3a07001 	mov	r7, #1	; 0x1                                  
    63f4:	ea000000 	b	63fc <pthread_setschedparam+0x5c>               
    63f8:	e3a07002 	mov	r7, #2	; 0x2                                  
    63fc:	e3a08000 	mov	r8, #0	; 0x0                                  
    6400:	ea00000c 	b	6438 <pthread_setschedparam+0x98>               
                                                                      
    case SCHED_SPORADIC:                                              
      budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;        
      budget_callout = _POSIX_Threads_Sporadic_budget_callout;        
                                                                      
      if ( _Timespec_To_ticks( ¶m->ss_replenish_period ) <        
    6404:	e2860008 	add	r0, r6, #8	; 0x8                              
    6408:	eb000db9 	bl	9af4 <_Timespec_To_ticks>                      
    640c:	e1a04000 	mov	r4, r0                                        
    6410:	e2860010 	add	r0, r6, #16	; 0x10                            
    6414:	eb000db6 	bl	9af4 <_Timespec_To_ticks>                      
    6418:	e1540000 	cmp	r4, r0                                        
    641c:	3a000037 	bcc	6500 <pthread_setschedparam+0x160>            
           _Timespec_To_ticks( ¶m->ss_initial_budget ) )          
        return EINVAL;                                                
                                                                      
      if ( !_POSIX_Priority_Is_valid( param->ss_low_priority ) )      
    6420:	e5963004 	ldr	r3, [r6, #4]                                  
    6424:	e2433001 	sub	r3, r3, #1	; 0x1                              
    6428:	e35300fd 	cmp	r3, #253	; 0xfd                               
    642c:	8a000033 	bhi	6500 <pthread_setschedparam+0x160>            
    6430:	e59f80d4 	ldr	r8, [pc, #212]	; 650c <pthread_setschedparam+0x16c>
    6434:	e3a07003 	mov	r7, #3	; 0x3                                  
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get (             
  pthread_t          id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Thread_Control *)                                           
    6438:	e1a01005 	mov	r1, r5                                        
    643c:	e59f00cc 	ldr	r0, [pc, #204]	; 6510 <pthread_setschedparam+0x170>
    6440:	e1a0200d 	mov	r2, sp                                        
    6444:	eb0007ef 	bl	8408 <_Objects_Get>                            
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
                                                                      
  the_thread = _POSIX_Threads_Get( thread, &location );               
  switch ( location ) {                                               
    6448:	e59d3000 	ldr	r3, [sp]                                      
    644c:	e3530000 	cmp	r3, #0	; 0x0                                  
    6450:	e1a05000 	mov	r5, r0                                        
    6454:	13a00003 	movne	r0, #3	; 0x3                                
    6458:	1a000029 	bne	6504 <pthread_setschedparam+0x164>            
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
    645c:	e5954108 	ldr	r4, [r5, #264]                                
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
    6460:	e594307c 	ldr	r3, [r4, #124]                                
    6464:	e3530003 	cmp	r3, #3	; 0x3                                  
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
    6468:	0284009c 	addeq	r0, r4, #156	; 0x9c                         
    646c:	0b000eeb 	bleq	a020 <_Watchdog_Remove>                      
                                                                      
      api->schedpolicy = policy;                                      
    6470:	e584a07c 	str	sl, [r4, #124]                                
      api->schedparam  = *param;                                      
    6474:	e1a0e006 	mov	lr, r6                                        
    6478:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    647c:	e284c080 	add	ip, r4, #128	; 0x80                           
    6480:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    6484:	e89e0003 	ldm	lr, {r0, r1}                                  
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
    6488:	e35a0000 	cmp	sl, #0	; 0x0                                  
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
    648c:	e88c0003 	stm	ip, {r0, r1}                                  
      the_thread->budget_algorithm = budget_algorithm;                
    6490:	e585707c 	str	r7, [r5, #124]                                
      the_thread->budget_callout   = budget_callout;                  
    6494:	e5858080 	str	r8, [r5, #128]                                
                                                                      
      switch ( api->schedpolicy ) {                                   
    6498:	ba000015 	blt	64f4 <pthread_setschedparam+0x154>            
    649c:	e35a0002 	cmp	sl, #2	; 0x2                                  
    64a0:	da000002 	ble	64b0 <pthread_setschedparam+0x110>            
    64a4:	e35a0003 	cmp	sl, #3	; 0x3                                  
    64a8:	1a000011 	bne	64f4 <pthread_setschedparam+0x154>            
    64ac:	ea000009 	b	64d8 <pthread_setschedparam+0x138>              
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
    64b0:	e59f305c 	ldr	r3, [pc, #92]	; 6514 <pthread_setschedparam+0x174>
    64b4:	e5941080 	ldr	r1, [r4, #128]                                
    64b8:	e5933000 	ldr	r3, [r3]                                      
    64bc:	e26110ff 	rsb	r1, r1, #255	; 0xff                           
    64c0:	e5853078 	str	r3, [r5, #120]                                
                                                                      
          the_thread->real_priority =                                 
    64c4:	e5851018 	str	r1, [r5, #24]                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
    64c8:	e1a00005 	mov	r0, r5                                        
    64cc:	e3a02001 	mov	r2, #1	; 0x1                                  
    64d0:	eb000868 	bl	8678 <_Thread_Change_priority>                 
    64d4:	ea000006 	b	64f4 <pthread_setschedparam+0x154>              
             TRUE                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
    64d8:	e5943080 	ldr	r3, [r4, #128]                                
          _Watchdog_Remove( &api->Sporadic_timer );                   
    64dc:	e284009c 	add	r0, r4, #156	; 0x9c                           
             TRUE                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
    64e0:	e5843098 	str	r3, [r4, #152]                                
          _Watchdog_Remove( &api->Sporadic_timer );                   
    64e4:	eb000ecd 	bl	a020 <_Watchdog_Remove>                        
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
    64e8:	e1a01005 	mov	r1, r5                                        
    64ec:	e3a00000 	mov	r0, #0	; 0x0                                  
    64f0:	ebffff87 	bl	6314 <_POSIX_Threads_Sporadic_budget_TSR>      
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
    64f4:	eb0009c7 	bl	8c18 <_Thread_Enable_dispatch>                 
    64f8:	e3a00000 	mov	r0, #0	; 0x0                                  
    64fc:	ea000000 	b	6504 <pthread_setschedparam+0x164>              
      return 0;                                                       
    6500:	e3a00016 	mov	r0, #22	; 0x16                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
    6504:	e28dd004 	add	sp, sp, #4	; 0x4                              
    6508:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

00013ac0 <read>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
   13ac0:	e59f30ac 	ldr	r3, [pc, #172]	; 13b74 <read+0xb4>            
   13ac4:	e5933000 	ldr	r3, [r3]                                      
   13ac8:	e1500003 	cmp	r0, r3                                        
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
   13acc:	e92d4070 	push	{r4, r5, r6, lr}                             
   13ad0:	e1a0c000 	mov	ip, r0                                        
   13ad4:	e1a06001 	mov	r6, r1                                        
   13ad8:	e1a05002 	mov	r5, r2                                        
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   13adc:	2a000010 	bcs	13b24 <read+0x64>                             
  iop = rtems_libio_iop( fd );                                        
   13ae0:	e59f3090 	ldr	r3, [pc, #144]	; 13b78 <read+0xb8>            
   13ae4:	e5930000 	ldr	r0, [r3]                                      
   13ae8:	e3a03034 	mov	r3, #52	; 0x34                                
   13aec:	e0240c93 	mla	r4, r3, ip, r0                                
  rtems_libio_check_is_open( iop );                                   
   13af0:	e594300c 	ldr	r3, [r4, #12]                                 
   13af4:	e3130c01 	tst	r3, #256	; 0x100                              
   13af8:	0a000009 	beq	13b24 <read+0x64>                             
  rtems_libio_check_buffer( buffer );                                 
   13afc:	e3510000 	cmp	r1, #0	; 0x0                                  
   13b00:	1a000002 	bne	13b10 <read+0x50>                             
   13b04:	ebffde43 	bl	b418 <__errno>                                 <== NOT EXECUTED
   13b08:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
   13b0c:	ea00000d 	b	13b48 <read+0x88>                               <== NOT EXECUTED
  rtems_libio_check_count( count );                                   
   13b10:	e3520000 	cmp	r2, #0	; 0x0                                  
   13b14:	01a00002 	moveq	r0, r2                                      
   13b18:	08bd8070 	popeq	{r4, r5, r6, pc}                            
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
   13b1c:	e3130002 	tst	r3, #2	; 0x2                                  
   13b20:	1a000002 	bne	13b30 <read+0x70>                             
   13b24:	ebffde3b 	bl	b418 <__errno>                                 <== NOT EXECUTED
   13b28:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
   13b2c:	ea000005 	b	13b48 <read+0x88>                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
   13b30:	e5943030 	ldr	r3, [r4, #48]                                 
   13b34:	e5933008 	ldr	r3, [r3, #8]                                  
   13b38:	e3530000 	cmp	r3, #0	; 0x0                                  
   13b3c:	1a000004 	bne	13b54 <read+0x94>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   13b40:	ebffde34 	bl	b418 <__errno>                                 <== NOT EXECUTED
   13b44:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   13b48:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   13b4c:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
   13b50:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
   13b54:	e1a00004 	mov	r0, r4                                        
   13b58:	e1a0e00f 	mov	lr, pc                                        
   13b5c:	e12fff13 	bx	r3                                             
                                                                      
  if ( rc > 0 )                                                       
   13b60:	e3500000 	cmp	r0, #0	; 0x0                                  
    iop->offset += rc;                                                
   13b64:	c5943008 	ldrgt	r3, [r4, #8]                                
   13b68:	c0833000 	addgt	r3, r3, r0                                  
   13b6c:	c5843008 	strgt	r3, [r4, #8]                                
                                                                      
  return rc;                                                          
}                                                                     
   13b70:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

000047b8 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
    47b8:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    47bc:	e2514000 	subs	r4, r1, #0	; 0x0                             
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
    47c0:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    47c4:	e1a06002 	mov	r6, r2                                        
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    47c8:	1a000002 	bne	47d8 <readlink+0x20>                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    47cc:	eb0029ed 	bl	ef88 <__errno>                                 <== NOT EXECUTED
    47d0:	e3a0300e 	mov	r3, #14	; 0xe                                 <== NOT EXECUTED
    47d4:	ea000025 	b	4870 <readlink+0xb8>                            <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, 0, &loc, false );
    47d8:	e3a01000 	mov	r1, #0	; 0x0                                  
    47dc:	e1a0200d 	mov	r2, sp                                        
    47e0:	e1a03001 	mov	r3, r1                                        
    47e4:	ebfffae1 	bl	3370 <rtems_filesystem_evaluate_path>          
  if ( result != 0 )                                                  
    47e8:	e3500000 	cmp	r0, #0	; 0x0                                  
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, 0, &loc, false );
    47ec:	e1a0500d 	mov	r5, sp                                        
  if ( result != 0 )                                                  
    47f0:	1a00001f 	bne	4874 <readlink+0xbc>                          
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    47f4:	e59d2008 	ldr	r2, [sp, #8]                                  
    47f8:	e5923010 	ldr	r3, [r2, #16]                                 
    47fc:	e3530000 	cmp	r3, #0	; 0x0                                  
    rtems_filesystem_freenode( &loc );                                
    4800:	0592301c 	ldreq	r3, [r2, #28]                               
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, 0, &loc, false );
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    4804:	0a000013 	beq	4858 <readlink+0xa0>                          
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    4808:	e1a0000d 	mov	r0, sp                                        
    480c:	e1a0e00f 	mov	lr, pc                                        
    4810:	e12fff13 	bx	r3                                             
    4814:	e3500004 	cmp	r0, #4	; 0x4                                  
    4818:	e59d3008 	ldr	r3, [sp, #8]                                  
    481c:	0a000009 	beq	4848 <readlink+0x90>                          
    rtems_filesystem_freenode( &loc );                                
    4820:	e3530000 	cmp	r3, #0	; 0x0                                  
    4824:	0a000004 	beq	483c <readlink+0x84>                          
    4828:	e593301c 	ldr	r3, [r3, #28]                                 
    482c:	e3530000 	cmp	r3, #0	; 0x0                                  
    4830:	11a0000d 	movne	r0, sp                                      
    4834:	11a0e00f 	movne	lr, pc                                      
    4838:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    483c:	eb0029d1 	bl	ef88 <__errno>                                 
    4840:	e3a03016 	mov	r3, #22	; 0x16                                
    4844:	ea000009 	b	4870 <readlink+0xb8>                            
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
    4848:	e593c03c 	ldr	ip, [r3, #60]                                 
    484c:	e35c0000 	cmp	ip, #0	; 0x0                                  
    4850:	1a000009 	bne	487c <readlink+0xc4>                          
    rtems_filesystem_freenode( &loc );                                
    4854:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    4858:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    485c:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    4860:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    4864:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    4868:	eb0029c6 	bl	ef88 <__errno>                                 <== NOT EXECUTED
    486c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    4870:	e5803000 	str	r3, [r0]                                      
    4874:	e3e04000 	mvn	r4, #0	; 0x0                                  
    4878:	ea00000d 	b	48b4 <readlink+0xfc>                            
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
    487c:	e1a01004 	mov	r1, r4                                        
    4880:	e1a02006 	mov	r2, r6                                        
    4884:	e1a0000d 	mov	r0, sp                                        
    4888:	e1a0e00f 	mov	lr, pc                                        
    488c:	e12fff1c 	bx	ip                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    4890:	e59d3008 	ldr	r3, [sp, #8]                                  
    4894:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
    4898:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    489c:	0a000004 	beq	48b4 <readlink+0xfc>                          
    48a0:	e593301c 	ldr	r3, [r3, #28]                                 
    48a4:	e3530000 	cmp	r3, #0	; 0x0                                  
    48a8:	11a0000d 	movne	r0, sp                                      
    48ac:	11a0e00f 	movne	lr, pc                                      
    48b0:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    48b4:	e1a00004 	mov	r0, r4                                        
    48b8:	e28dd010 	add	sp, sp, #16	; 0x10                            
    48bc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00013be0 <realloc>: { size_t old_size; char *new_area; size_t resize; MSBUMP(realloc_calls, 1);
   13be0:	e92d4070 	push	{r4, r5, r6, lr}                             
   13be4:	e59fc108 	ldr	ip, [pc, #264]	; 13cf4 <realloc+0x114>        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
   13be8:	e59f3108 	ldr	r3, [pc, #264]	; 13cf8 <realloc+0x118>        
   13bec:	e5932000 	ldr	r2, [r3]                                      
{                                                                     
  size_t  old_size;                                                   
  char   *new_area;                                                   
  size_t  resize;                                                     
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   13bf0:	e59c3010 	ldr	r3, [ip, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
   13bf4:	e3520003 	cmp	r2, #3	; 0x3                                  
{                                                                     
  size_t  old_size;                                                   
  char   *new_area;                                                   
  size_t  resize;                                                     
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   13bf8:	e2833001 	add	r3, r3, #1	; 0x1                              
   13bfc:	e24dd004 	sub	sp, sp, #4	; 0x4                              
   13c00:	e58c3010 	str	r3, [ip, #16]                                 
   13c04:	e1a04000 	mov	r4, r0                                        
   13c08:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
   13c0c:	1a000007 	bne	13c30 <realloc+0x50>                          
    if (_Thread_Dispatch_disable_level > 0)                           
   13c10:	e59f30e4 	ldr	r3, [pc, #228]	; 13cfc <realloc+0x11c>        
   13c14:	e5933000 	ldr	r3, [r3]                                      
   13c18:	e3530000 	cmp	r3, #0	; 0x0                                  
   13c1c:	1a000030 	bne	13ce4 <realloc+0x104>                         
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
   13c20:	e59f30d8 	ldr	r3, [pc, #216]	; 13d00 <realloc+0x120>        
   13c24:	e5933000 	ldr	r3, [r3]                                      
   13c28:	e3530000 	cmp	r3, #0	; 0x0                                  
   13c2c:	1a00002c 	bne	13ce4 <realloc+0x104>                         
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
   13c30:	e3540000 	cmp	r4, #0	; 0x0                                  
   13c34:	1a000003 	bne	13c48 <realloc+0x68>                          
    return malloc( size );                                            
   13c38:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   13c3c:	ebffd421 	bl	8cc8 <malloc>                                  <== NOT EXECUTED
   13c40:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
   13c44:	ea000027 	b	13ce8 <realloc+0x108>                           <== NOT EXECUTED
                                                                      
  if ( !size ) {                                                      
   13c48:	e3550000 	cmp	r5, #0	; 0x0                                  
   13c4c:	1a000003 	bne	13c60 <realloc+0x80>                          
    free( ptr );                                                      
   13c50:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   13c54:	ebffd2ce 	bl	8794 <free>                                    <== NOT EXECUTED
   13c58:	e1a04005 	mov	r4, r5                                        <== NOT EXECUTED
   13c5c:	ea000021 	b	13ce8 <realloc+0x108>                           <== NOT EXECUTED
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(&RTEMS_Malloc_Heap, ptr, &old_size) ) {
   13c60:	e59f009c 	ldr	r0, [pc, #156]	; 13d04 <realloc+0x124>        
   13c64:	e1a01004 	mov	r1, r4                                        
   13c68:	e1a0200d 	mov	r2, sp                                        
   13c6c:	eb000054 	bl	13dc4 <_Protected_heap_Get_block_size>         
   13c70:	e2506000 	subs	r6, r0, #0	; 0x0                             
   13c74:	1a000003 	bne	13c88 <realloc+0xa8>                          
    errno = EINVAL;                                                   
   13c78:	ebffdde6 	bl	b418 <__errno>                                 
   13c7c:	e3a03016 	mov	r3, #22	; 0x16                                
   13c80:	e5803000 	str	r3, [r0]                                      
   13c84:	ea000014 	b	13cdc <realloc+0xfc>                            
  #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)                          
    if (rtems_malloc_boundary_helpers)                                
      resize += (*rtems_malloc_boundary_helpers->overhead)();         
  #endif                                                              
                                                                      
  if ( _Protected_heap_Resize_block( &RTEMS_Malloc_Heap, ptr, resize ) ) {
   13c88:	e59f0074 	ldr	r0, [pc, #116]	; 13d04 <realloc+0x124>        
   13c8c:	e1a01004 	mov	r1, r4                                        
   13c90:	e1a02005 	mov	r2, r5                                        
   13c94:	eb00005b 	bl	13e08 <_Protected_heap_Resize_block>           
   13c98:	e3500000 	cmp	r0, #0	; 0x0                                  
   13c9c:	1a000011 	bne	13ce8 <realloc+0x108>                         
   *  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 );                                          
   13ca0:	e1a00005 	mov	r0, r5                                        
   13ca4:	ebffd407 	bl	8cc8 <malloc>                                  
                                                                      
  MSBUMP(malloc_calls, -1);   /* subtract off the malloc */           
   13ca8:	e59f2044 	ldr	r2, [pc, #68]	; 13cf4 <realloc+0x114>         
   13cac:	e5923004 	ldr	r3, [r2, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
   13cb0:	e2506000 	subs	r6, r0, #0	; 0x0                             
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, -1);   /* subtract off the malloc */           
   13cb4:	e2433001 	sub	r3, r3, #1	; 0x1                              
   13cb8:	e5823004 	str	r3, [r2, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
   13cbc:	0a000008 	beq	13ce4 <realloc+0x104>                         
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
   13cc0:	e59d2000 	ldr	r2, [sp]                                      
   13cc4:	e1a01004 	mov	r1, r4                                        
   13cc8:	e1550002 	cmp	r5, r2                                        
   13ccc:	31a02005 	movcc	r2, r5                                      
   13cd0:	ebffdf9a 	bl	bb40 <memcpy>                                  
  free( ptr );                                                        
   13cd4:	e1a00004 	mov	r0, r4                                        
   13cd8:	ebffd2ad 	bl	8794 <free>                                    
   13cdc:	e1a04006 	mov	r4, r6                                        
   13ce0:	ea000000 	b	13ce8 <realloc+0x108>                           
                                                                      
  return new_area;                                                    
   13ce4:	e3a04000 	mov	r4, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
}                                                                     
   13ce8:	e1a00004 	mov	r0, r4                                        
   13cec:	e28dd004 	add	sp, sp, #4	; 0x4                              
   13cf0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00004964 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
    4964:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, 0, &loc, false );
    4968:	e3a01000 	mov	r1, #0	; 0x0                                  
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
    496c:	e24dd010 	sub	sp, sp, #16	; 0x10                            
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, 0, &loc, false );
    4970:	e1a0200d 	mov	r2, sp                                        
    4974:	e1a03001 	mov	r3, r1                                        
    4978:	ebfffa92 	bl	33c8 <rtems_filesystem_evaluate_path>          
  if ( result != 0 )                                                  
    497c:	e3500000 	cmp	r0, #0	; 0x0                                  
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, 0, &loc, false );
    4980:	e1a0500d 	mov	r5, sp                                        
  if ( result != 0 )                                                  
    4984:	1a00003f 	bne	4a88 <rmdir+0x124>                            
     return -1;                                                       
                                                                      
  result = rtems_filesystem_evaluate_parent(RTEMS_LIBIO_PERMS_WRITE, &loc );
    4988:	e2800002 	add	r0, r0, #2	; 0x2                              
    498c:	e1a0100d 	mov	r1, sp                                        
    4990:	ebfffa65 	bl	332c <rtems_filesystem_evaluate_parent>        
  if (result != 0) {                                                  
    4994:	e3500000 	cmp	r0, #0	; 0x0                                  
    4998:	e59d3008 	ldr	r3, [sp, #8]                                  
    499c:	0a000008 	beq	49c4 <rmdir+0x60>                             
    rtems_filesystem_freenode( &loc );                                
    49a0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    49a4:	0a000037 	beq	4a88 <rmdir+0x124>                            <== NOT EXECUTED
    49a8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    49ac:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    49b0:	0a000034 	beq	4a88 <rmdir+0x124>                            <== NOT EXECUTED
    49b4:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    49b8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    49bc:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    49c0:	ea000030 	b	4a88 <rmdir+0x124>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    49c4:	e5932010 	ldr	r2, [r3, #16]                                 
    49c8:	e3520000 	cmp	r2, #0	; 0x0                                  
    49cc:	0a000016 	beq	4a2c <rmdir+0xc8>                             
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
    49d0:	e1a0000d 	mov	r0, sp                                        
    49d4:	e1a0e00f 	mov	lr, pc                                        
    49d8:	e12fff12 	bx	r2                                             
    49dc:	e3500001 	cmp	r0, #1	; 0x1                                  
    49e0:	0a00000a 	beq	4a10 <rmdir+0xac>                             
    rtems_filesystem_freenode( &loc );                                
    49e4:	e59d3008 	ldr	r3, [sp, #8]                                  
    49e8:	e3530000 	cmp	r3, #0	; 0x0                                  
    49ec:	0a000004 	beq	4a04 <rmdir+0xa0>                             
    49f0:	e593301c 	ldr	r3, [r3, #28]                                 
    49f4:	e3530000 	cmp	r3, #0	; 0x0                                  
    49f8:	11a0000d 	movne	r0, sp                                      
    49fc:	11a0e00f 	movne	lr, pc                                      
    4a00:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    4a04:	eb002820 	bl	ea8c <__errno>                                 
    4a08:	e3a03014 	mov	r3, #20	; 0x14                                
    4a0c:	ea00000d 	b	4a48 <rmdir+0xe4>                               
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
    4a10:	e59d3004 	ldr	r3, [sp, #4]                                  
    4a14:	e5933034 	ldr	r3, [r3, #52]                                 
    4a18:	e3530000 	cmp	r3, #0	; 0x0                                  
    4a1c:	1a00000b 	bne	4a50 <rmdir+0xec>                             
    rtems_filesystem_freenode( &loc );                                
    4a20:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
    4a24:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    4a28:	0a000004 	beq	4a40 <rmdir+0xdc>                             <== NOT EXECUTED
    4a2c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    4a30:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    4a34:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    4a38:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    4a3c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    4a40:	eb002811 	bl	ea8c <__errno>                                 <== NOT EXECUTED
    4a44:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    4a48:	e5803000 	str	r3, [r0]                                      
    4a4c:	ea00000d 	b	4a88 <rmdir+0x124>                              
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &loc );                         
    4a50:	e1a0000d 	mov	r0, sp                                        
    4a54:	e1a0e00f 	mov	lr, pc                                        
    4a58:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    4a5c:	e59d3008 	ldr	r3, [sp, #8]                                  
    4a60:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !loc.handlers->rmnod_h ){                                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &loc );                         
    4a64:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    4a68:	0a000007 	beq	4a8c <rmdir+0x128>                            
    4a6c:	e593301c 	ldr	r3, [r3, #28]                                 
    4a70:	e3530000 	cmp	r3, #0	; 0x0                                  
    4a74:	0a000004 	beq	4a8c <rmdir+0x128>                            
    4a78:	e1a0000d 	mov	r0, sp                                        
    4a7c:	e1a0e00f 	mov	lr, pc                                        
    4a80:	e12fff13 	bx	r3                                             
    4a84:	ea000000 	b	4a8c <rmdir+0x128>                              
    4a88:	e3e04000 	mvn	r4, #0	; 0x0                                  
                                                                      
  return result;                                                      
}                                                                     
    4a8c:	e1a00004 	mov	r0, r4                                        
    4a90:	e28dd010 	add	sp, sp, #16	; 0x10                            
    4a94:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000c81c <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; }
    c81c:	e59f0000 	ldr	r0, [pc, #0]	; c824 <rtems_assoc_name_bad+0x8><== NOT EXECUTED
    c820:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

0000a2e4 <rtems_assoc_name_by_local>: const char *rtems_assoc_name_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
    a2e4:	e92d4010 	push	{r4, lr}                                     
    a2e8:	e1a04001 	mov	r4, r1                                        
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
    a2ec:	eb000006 	bl	a30c <rtems_assoc_ptr_by_local>                
  if (nap)                                                            
    a2f0:	e3500000 	cmp	r0, #0	; 0x0                                  
    a2f4:	0a000001 	beq	a300 <rtems_assoc_name_by_local+0x1c>         
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
    a2f8:	e5900000 	ldr	r0, [r0]                                      
    a2fc:	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);                           
    a300:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
    a304:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
    a308:	ea000943 	b	c81c <rtems_assoc_name_bad>                     <== NOT EXECUTED
                                                                      

0000ab68 <rtems_assoc_remote_by_local>: uint32_t rtems_assoc_remote_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
    ab68:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
    ab6c:	eb0001fc 	bl	b364 <rtems_assoc_ptr_by_local>                <== NOT EXECUTED
  if (nap)                                                            
    ab70:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    return nap->remote_value;                                         
    ab74:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
    ab78:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

00003ac8 <rtems_clock_get>: rtems_status_code rtems_clock_get( rtems_clock_get_options option, void *time_buffer ) {
    3ac8:	e92d4010 	push	{r4, lr}                                     
  if ( !time_buffer )                                                 
    3acc:	e2514000 	subs	r4, r1, #0	; 0x0                             
    3ad0:	03a00009 	moveq	r0, #9	; 0x9                                
    3ad4:	08bd8010 	popeq	{r4, pc}                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  switch ( option ) {                                                 
    3ad8:	e3500004 	cmp	r0, #4	; 0x4                                  
    3adc:	979ff100 	ldrls	pc, [pc, r0, lsl #2]                        
    3ae0:	ea000004 	b	3af8 <rtems_clock_get+0x30>                     
    3ae4:	00003b00 	.word	0x00003b00                                  
    3ae8:	00003b0c 	.word	0x00003b0c                                  
    3aec:	00003b18 	.word	0x00003b18                                  <== NOT EXECUTED
    3af0:	00003b20 	.word	0x00003b20                                  <== NOT EXECUTED
    3af4:	00003b30 	.word	0x00003b30                                  <== NOT EXECUTED
    3af8:	e3a0000a 	mov	r0, #10	; 0xa                                 
    3afc:	e8bd8010 	pop	{r4, pc}                                      
    case RTEMS_CLOCK_GET_TOD:                                         
      return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer ); 
    3b00:	e1a00004 	mov	r0, r4                                        
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
    3b04:	e8bd4010 	pop	{r4, lr}                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  switch ( option ) {                                                 
    case RTEMS_CLOCK_GET_TOD:                                         
      return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer ); 
    3b08:	ea000025 	b	3ba4 <rtems_clock_get_tod>                      
                                                                      
    case RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH:                         
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
    3b0c:	e1a00004 	mov	r0, r4                                        
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
    3b10:	e8bd4010 	pop	{r4, lr}                                      
  switch ( option ) {                                                 
    case RTEMS_CLOCK_GET_TOD:                                         
      return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer ); 
                                                                      
    case RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH:                         
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
    3b14:	ea000008 	b	3b3c <rtems_clock_get_seconds_since_epoch>      
                                                                      
    case RTEMS_CLOCK_GET_TICKS_SINCE_BOOT: {                          
      rtems_interval *interval = (rtems_interval *)time_buffer;       
                                                                      
      *interval = rtems_clock_get_ticks_since_boot();                 
    3b18:	eb00001d 	bl	3b94 <rtems_clock_get_ticks_since_boot>        
    3b1c:	ea000000 	b	3b24 <rtems_clock_get+0x5c>                     
      return RTEMS_SUCCESSFUL;                                        
    }                                                                 
    case RTEMS_CLOCK_GET_TICKS_PER_SECOND: {                          
      rtems_interval *interval = (rtems_interval *)time_buffer;       
                                                                      
      *interval = rtems_clock_get_ticks_per_second();                 
    3b20:	eb000013 	bl	3b74 <rtems_clock_get_ticks_per_second>        
    3b24:	e5840000 	str	r0, [r4]                                      
    3b28:	e3a00000 	mov	r0, #0	; 0x0                                  
    3b2c:	e8bd8010 	pop	{r4, pc}                                      
      return RTEMS_SUCCESSFUL;                                        
    }                                                                 
    case RTEMS_CLOCK_GET_TIME_VALUE:                                  
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
    3b30:	e1a00004 	mov	r0, r4                                        
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
    3b34:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
      *interval = rtems_clock_get_ticks_per_second();                 
      return RTEMS_SUCCESSFUL;                                        
    }                                                                 
    case RTEMS_CLOCK_GET_TIME_VALUE:                                  
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
    3b38:	ea00004b 	b	3c6c <rtems_clock_get_tod_timeval>              
                                                                      

00003b74 <rtems_clock_get_ticks_per_second>: #include <rtems/score/thread.h> #include <rtems/score/tod.h> #include <rtems/score/watchdog.h> rtems_interval rtems_clock_get_ticks_per_second(void) {
    3b74:	e59f3010 	ldr	r3, [pc, #16]	; 3b8c <rtems_clock_get_ticks_per_second+0x18><== NOT EXECUTED
    3b78:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
    3b7c:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
    3b80:	e59f0008 	ldr	r0, [pc, #8]	; 3b90 <rtems_clock_get_ticks_per_second+0x1c><== NOT EXECUTED
    3b84:	eb00394e 	bl	120c4 <__aeabi_uidiv>                          <== NOT EXECUTED
  return TOD_MICROSECONDS_PER_SECOND / _TOD_Microseconds_per_tick;    
}                                                                     
    3b88:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

00001f8c <rtems_cpu_usage_report_with_plugin>: void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
    1f8c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    struct timespec    uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
    1f90:	e251a000 	subs	sl, r1, #0	; 0x0                             
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
    1f94:	e24dd040 	sub	sp, sp, #64	; 0x40                            
    1f98:	e1a08000 	mov	r8, r0                                        
    struct timespec    uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
    1f9c:	0a000058 	beq	2104 <rtems_cpu_usage_report_with_plugin+0x178>
   *  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.          
   */                                                                 
  #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS                 
    _TOD_Get_uptime( &uptime );                                       
    1fa0:	e28d4030 	add	r4, sp, #48	; 0x30                            
    1fa4:	e1a00004 	mov	r0, r4                                        
    _Timespec_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
    1fa8:	e28d5028 	add	r5, sp, #40	; 0x28                            
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS                 
    _TOD_Get_uptime( &uptime );                                       
    1fac:	eb001269 	bl	6958 <_TOD_Get_uptime>                         
    _Timespec_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
    1fb0:	e1a01004 	mov	r1, r4                                        
    1fb4:	e1a02005 	mov	r2, r5                                        
    1fb8:	e59f014c 	ldr	r0, [pc, #332]	; 210c <rtems_cpu_usage_report_with_plugin+0x180>
    1fbc:	eb001b57 	bl	8d20 <_Timespec_Subtract>                      
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)( context, "CPU Usage by thread\n"                          
    1fc0:	e1a00008 	mov	r0, r8                                        
    1fc4:	e59f1144 	ldr	r1, [pc, #324]	; 2110 <rtems_cpu_usage_report_with_plugin+0x184>
    1fc8:	e1a0e00f 	mov	lr, pc                                        
    1fcc:	e12fff1a 	bx	sl                                             
    1fd0:	e59f613c 	ldr	r6, [pc, #316]	; 2114 <rtems_cpu_usage_report_with_plugin+0x188>
            _Timespec_Subtract(                                       
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timespec_Add_to( &ran, &used );                          
          };                                                          
          _Timespec_Divide( &ran, &total, &ival, &fval );             
    1fd4:	e28db020 	add	fp, sp, #32	; 0x20                            
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
    1fd8:	e5963004 	ldr	r3, [r6, #4]                                  
    1fdc:	e3530000 	cmp	r3, #0	; 0x0                                  
    1fe0:	0a00003a 	beq	20d0 <rtems_cpu_usage_report_with_plugin+0x144>
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    1fe4:	e5937004 	ldr	r7, [r3, #4]                                  
    if ( information ) {                                              
    1fe8:	e3570000 	cmp	r7, #0	; 0x0                                  
    1fec:	13a05001 	movne	r5, #1	; 0x1                                
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            struct timespec used;                                     
            _Timespec_Subtract(                                       
    1ff0:	128d9018 	addne	r9, sp, #24	; 0x18                          
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
    1ff4:	1a000030 	bne	20bc <rtems_cpu_usage_report_with_plugin+0x130>
    1ff8:	ea000034 	b	20d0 <rtems_cpu_usage_report_with_plugin+0x144> <== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
    1ffc:	e597301c 	ldr	r3, [r7, #28]                                 
    2000:	e7934105 	ldr	r4, [r3, r5, lsl #2]                          
                                                                      
        if ( !the_thread )                                            
    2004:	e3540000 	cmp	r4, #0	; 0x0                                  
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    2008:	e2855001 	add	r5, r5, #1	; 0x1                              
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
    200c:	0a00002a 	beq	20bc <rtems_cpu_usage_report_with_plugin+0x130>
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
    2010:	e5940008 	ldr	r0, [r4, #8]                                  
    2014:	eb000d63 	bl	55a8 <rtems_object_get_name>                   
                                                                      
        (*print)(                                                     
    2018:	e28d300b 	add	r3, sp, #11	; 0xb                             
    201c:	e5942008 	ldr	r2, [r4, #8]                                  
    2020:	e1a00008 	mov	r0, r8                                        
    2024:	e59f10ec 	ldr	r1, [pc, #236]	; 2118 <rtems_cpu_usage_report_with_plugin+0x18c>
    2028:	e1a0e00f 	mov	lr, pc                                        
    202c:	e12fff1a 	bx	sl                                             
        #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS           
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
    2030:	e5942088 	ldr	r2, [r4, #136]                                
    2034:	e5943084 	ldr	r3, [r4, #132]                                
    2038:	e58d2024 	str	r2, [sp, #36]                                 
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
    203c:	e59f20d8 	ldr	r2, [pc, #216]	; 211c <rtems_cpu_usage_report_with_plugin+0x190>
        #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS           
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
    2040:	e58d3020 	str	r3, [sp, #32]                                 
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
    2044:	e5923000 	ldr	r3, [r2]                                      
    2048:	e5942008 	ldr	r2, [r4, #8]                                  
    204c:	e5933008 	ldr	r3, [r3, #8]                                  
    2050:	e1530002 	cmp	r3, r2                                        
    2054:	1a000006 	bne	2074 <rtems_cpu_usage_report_with_plugin+0xe8>
            struct timespec used;                                     
            _Timespec_Subtract(                                       
    2058:	e59f00c0 	ldr	r0, [pc, #192]	; 2120 <rtems_cpu_usage_report_with_plugin+0x194>
    205c:	e28d1030 	add	r1, sp, #48	; 0x30                            
    2060:	e1a02009 	mov	r2, r9                                        
    2064:	eb001b2d 	bl	8d20 <_Timespec_Subtract>                      
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timespec_Add_to( &ran, &used );                          
    2068:	e1a0000b 	mov	r0, fp                                        
    206c:	e1a01009 	mov	r1, r9                                        
    2070:	eb001aeb 	bl	8c24 <_Timespec_Add_to>                        
          };                                                          
          _Timespec_Divide( &ran, &total, &ival, &fval );             
    2074:	e28d203c 	add	r2, sp, #60	; 0x3c                            
    2078:	e28d3038 	add	r3, sp, #56	; 0x38                            
    207c:	e1a0000b 	mov	r0, fp                                        
    2080:	e28d1028 	add	r1, sp, #40	; 0x28                            
    2084:	eb001aff 	bl	8c88 <_Timespec_Divide>                        
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
    2088:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
    208c:	e59d0024 	ldr	r0, [sp, #36]                                 
    2090:	eb004d5e 	bl	15610 <__aeabi_uidiv>                          
    2094:	e59d203c 	ldr	r2, [sp, #60]                                 
    2098:	e58d2000 	str	r2, [sp]                                      
    209c:	e59d2038 	ldr	r2, [sp, #56]                                 
    20a0:	e1a03000 	mov	r3, r0                                        
    20a4:	e58d2004 	str	r2, [sp, #4]                                  
    20a8:	e1a00008 	mov	r0, r8                                        
    20ac:	e59f1070 	ldr	r1, [pc, #112]	; 2124 <rtems_cpu_usage_report_with_plugin+0x198>
    20b0:	e59d2020 	ldr	r2, [sp, #32]                                 
    20b4:	e1a0e00f 	mov	lr, pc                                        
    20b8:	e12fff1a 	bx	sl                                             
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    20bc:	e1d731b0 	ldrh	r3, [r7, #16]                                
    20c0:	e1550003 	cmp	r5, r3                                        
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
    20c4:	e3a0100d 	mov	r1, #13	; 0xd                                 
    20c8:	e28d200b 	add	r2, sp, #11	; 0xb                             
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    20cc:	9affffca 	bls	1ffc <rtems_cpu_usage_report_with_plugin+0x70>
     "   ID            NAME         TICKS   PERCENT\n"                
  #endif                                                              
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
    20d0:	e59f3050 	ldr	r3, [pc, #80]	; 2128 <rtems_cpu_usage_report_with_plugin+0x19c>
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    20d4:	e2866004 	add	r6, r6, #4	; 0x4                              
     "   ID            NAME         TICKS   PERCENT\n"                
  #endif                                                              
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
    20d8:	e1560003 	cmp	r6, r3                                        
    20dc:	1affffbd 	bne	1fd8 <rtems_cpu_usage_report_with_plugin+0x4c>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS                 
    (*print)( context, "Time since last CPU Usage reset %" PRId32     
    20e0:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
    20e4:	e59d002c 	ldr	r0, [sp, #44]                                 
    20e8:	eb004d48 	bl	15610 <__aeabi_uidiv>                          
    20ec:	e59f1038 	ldr	r1, [pc, #56]	; 212c <rtems_cpu_usage_report_with_plugin+0x1a0>
    20f0:	e1a03000 	mov	r3, r0                                        
    20f4:	e59d2028 	ldr	r2, [sp, #40]                                 
    20f8:	e1a00008 	mov	r0, r8                                        
    20fc:	e1a0e00f 	mov	lr, pc                                        
    2100:	e12fff1a 	bx	sl                                             
      "Ticks since last reset = %" PRId32 "\n",                       
      _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset      
    );                                                                
    (*print)( context, "Total Units = %" PRId32 "\n", total_units );  
  #endif                                                              
}                                                                     
    2104:	e28dd040 	add	sp, sp, #64	; 0x40                            
    2108:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

00009c18 <rtems_debug_disable>: void rtems_debug_disable ( rtems_debug_control to_be_disabled ) { _Debug_Level &= ~to_be_disabled;
    9c18:	e59f200c 	ldr	r2, [pc, #12]	; 9c2c <rtems_debug_disable+0x14><== NOT EXECUTED
    9c1c:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
    9c20:	e1c33000 	bic	r3, r3, r0                                    <== NOT EXECUTED
    9c24:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
}                                                                     
    9c28:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

0000a738 <rtems_deviceio_errno>: { 0, 0, 0 }, }; static int rtems_deviceio_errno(rtems_status_code code) {
    a738:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
    a73c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t) code)))
    a740:	e59f0018 	ldr	r0, [pc, #24]	; a760 <rtems_deviceio_errno+0x28><== NOT EXECUTED
    a744:	eb000107 	bl	ab68 <rtems_assoc_remote_by_local>             <== NOT EXECUTED
    a748:	e2504000 	subs	r4, r0, #0	; 0x0                             <== NOT EXECUTED
    a74c:	0a000001 	beq	a758 <rtems_deviceio_errno+0x20>              <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
    a750:	eb000330 	bl	b418 <__errno>                                 <== NOT EXECUTED
    a754:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
    a758:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    a75c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

00002498 <rtems_error>: int rtems_error( int error_flag, const char *printf_format, ... ) {
    2498:	e92d000e 	push	{r1, r2, r3}                                 <== NOT EXECUTED
    249c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
    24a0:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
    24a4:	e28d2008 	add	r2, sp, #8	; 0x8                              <== NOT EXECUTED
    24a8:	ebffff85 	bl	22c4 <rtems_verror>                            <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
    24ac:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
    24b0:	e28dd00c 	add	sp, sp, #12	; 0xc                             <== NOT EXECUTED
    24b4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

0000125c <rtems_filesystem_evaluate_parent>: int rtems_filesystem_evaluate_parent( int flags, rtems_filesystem_location_info_t *pathloc ) {
    125c:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_filesystem_location_info_t  parent;                           
  int                               result;                           
                                                                      
  if ( !pathloc )                                                     
    1260:	e3510000 	cmp	r1, #0	; 0x0                                  
                                                                      
int rtems_filesystem_evaluate_parent(                                 
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
    1264:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    1268:	e1a0e000 	mov	lr, r0                                        
  rtems_filesystem_location_info_t  parent;                           
  int                               result;                           
                                                                      
  if ( !pathloc )                                                     
    126c:	1a000002 	bne	127c <rtems_filesystem_evaluate_parent+0x20>  
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
    1270:	eb002868 	bl	b418 <__errno>                                 <== NOT EXECUTED
    1274:	e3a03005 	mov	r3, #5	; 0x5                                  <== NOT EXECUTED
    1278:	ea000005 	b	1294 <rtems_filesystem_evaluate_parent+0x38>    <== NOT EXECUTED
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
    127c:	e5913008 	ldr	r3, [r1, #8]                                  
    1280:	e593c000 	ldr	ip, [r3]                                      
    1284:	e35c0000 	cmp	ip, #0	; 0x0                                  
    1288:	1a000004 	bne	12a0 <rtems_filesystem_evaluate_parent+0x44>  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    128c:	eb002861 	bl	b418 <__errno>                                 <== NOT EXECUTED
    1290:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1294:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1298:	e3e04000 	mvn	r4, #0	; 0x0                                  <== NOT EXECUTED
    129c:	ea000011 	b	12e8 <rtems_filesystem_evaluate_parent+0x8c>    <== NOT EXECUTED
                                                                      
  parent = *pathloc;                                                  
    12a0:	e891000f 	ldm	r1, {r0, r1, r2, r3}                          
    12a4:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
  result = (*pathloc->ops->evalpath_h)( "..", flags, &parent );       
    12a8:	e1a0100e 	mov	r1, lr                                        
    12ac:	e59f0040 	ldr	r0, [pc, #64]	; 12f4 <rtems_filesystem_evaluate_parent+0x98>
    12b0:	e1a0200d 	mov	r2, sp                                        
    12b4:	e1a0e00f 	mov	lr, pc                                        
    12b8:	e12fff1c 	bx	ip                                             
  if (result != 0){                                                   
    12bc:	e2504000 	subs	r4, r0, #0	; 0x0                             
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  parent = *pathloc;                                                  
    12c0:	e1a0500d 	mov	r5, sp                                        
  result = (*pathloc->ops->evalpath_h)( "..", flags, &parent );       
  if (result != 0){                                                   
    12c4:	1afffff3 	bne	1298 <rtems_filesystem_evaluate_parent+0x3c>  
    return -1;                                                        
  }                                                                   
  rtems_filesystem_freenode( &parent );                               
    12c8:	e59d3008 	ldr	r3, [sp, #8]                                  
    12cc:	e3530000 	cmp	r3, #0	; 0x0                                  
    12d0:	0a000004 	beq	12e8 <rtems_filesystem_evaluate_parent+0x8c>  
    12d4:	e593301c 	ldr	r3, [r3, #28]                                 
    12d8:	e3530000 	cmp	r3, #0	; 0x0                                  
    12dc:	11a0000d 	movne	r0, sp                                      
    12e0:	11a0e00f 	movne	lr, pc                                      
    12e4:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    12e8:	e1a00004 	mov	r0, r4                                        
    12ec:	e28dd010 	add	sp, sp, #16	; 0x10                            
    12f0:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

000012f8 <rtems_filesystem_evaluate_path>: const char *pathname, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
    12f8:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    12fc:	e250e000 	subs	lr, r0, #0	; 0x0                             
  const char                        *pathname,                        
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
    1300:	e1a06001 	mov	r6, r1                                        
    1304:	e1a04002 	mov	r4, r2                                        
    1308:	e1a05003 	mov	r5, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    130c:	1a000002 	bne	131c <rtems_filesystem_evaluate_path+0x24>    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    1310:	eb002840 	bl	b418 <__errno>                                 
    1314:	e3a0300e 	mov	r3, #14	; 0xe                                 
    1318:	ea00003e 	b	1418 <rtems_filesystem_evaluate_path+0x120>     
                                                                      
  if ( !pathloc )                                                     
    131c:	e3520000 	cmp	r2, #0	; 0x0                                  
    1320:	1a000002 	bne	1330 <rtems_filesystem_evaluate_path+0x38>    
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
    1324:	eb00283b 	bl	b418 <__errno>                                 <== NOT EXECUTED
    1328:	e3a03005 	mov	r3, #5	; 0x5                                  <== NOT EXECUTED
    132c:	ea000039 	b	1418 <rtems_filesystem_evaluate_path+0x120>     <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
    1330:	e5de3000 	ldrb	r3, [lr]                                     
    1334:	e353005c 	cmp	r3, #92	; 0x5c                                
    1338:	1353002f 	cmpne	r3, #47	; 0x2f                              
    133c:	13a0c000 	movne	ip, #0	; 0x0                                
    1340:	03a0c001 	moveq	ip, #1	; 0x1                                
    1344:	0a000001 	beq	1350 <rtems_filesystem_evaluate_path+0x58>    
    1348:	e3530000 	cmp	r3, #0	; 0x0                                  
    134c:	1a000006 	bne	136c <rtems_filesystem_evaluate_path+0x74>    
    1350:	e59f30e0 	ldr	r3, [pc, #224]	; 1438 <rtems_filesystem_evaluate_path+0x140>
    1354:	e5933000 	ldr	r3, [r3]                                      
    1358:	e2833014 	add	r3, r3, #20	; 0x14                            
    135c:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    1360:	e884000f 	stm	r4, {r0, r1, r2, r3}                          
    1364:	e3a02001 	mov	r2, #1	; 0x1                                  
    1368:	ea000005 	b	1384 <rtems_filesystem_evaluate_path+0x8c>      
    136c:	e59f30c4 	ldr	r3, [pc, #196]	; 1438 <rtems_filesystem_evaluate_path+0x140>
    1370:	e5933000 	ldr	r3, [r3]                                      
    1374:	e2833004 	add	r3, r3, #4	; 0x4                              
    1378:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    137c:	e884000f 	stm	r4, {r0, r1, r2, r3}                          
    1380:	e1a0200c 	mov	r2, ip                                        
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
    1384:	e5943008 	ldr	r3, [r4, #8]                                  
    1388:	e5933000 	ldr	r3, [r3]                                      
    138c:	e3530000 	cmp	r3, #0	; 0x0                                  
    1390:	0a00001e 	beq	1410 <rtems_filesystem_evaluate_path+0x118>   
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( &pathname[i], flags, pathloc );
    1394:	e08e0002 	add	r0, lr, r2                                    
    1398:	e1a01006 	mov	r1, r6                                        
    139c:	e1a02004 	mov	r2, r4                                        
    13a0:	e1a0e00f 	mov	lr, pc                                        
    13a4:	e12fff13 	bx	r3                                             
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
    13a8:	e2703001 	rsbs	r3, r0, #1	; 0x1                             
    13ac:	33a03000 	movcc	r3, #0	; 0x0                                
    13b0:	e3550000 	cmp	r5, #0	; 0x0                                  
    13b4:	03a03000 	moveq	r3, #0	; 0x0                                
    13b8:	e3530000 	cmp	r3, #0	; 0x0                                  
    13bc:	08bd8070 	popeq	{r4, r5, r6, pc}                            
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
    13c0:	e5943008 	ldr	r3, [r4, #8]                                  
    13c4:	e5932010 	ldr	r2, [r3, #16]                                 
    13c8:	e3520000 	cmp	r2, #0	; 0x0                                  
    13cc:	0a00000a 	beq	13fc <rtems_filesystem_evaluate_path+0x104>   
      rtems_filesystem_freenode( pathloc );                           
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
    13d0:	e1a00004 	mov	r0, r4                                        
    13d4:	e1a0e00f 	mov	lr, pc                                        
    13d8:	e12fff12 	bx	r2                                             
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
    13dc:	e2400003 	sub	r0, r0, #3	; 0x3                              
    13e0:	e3500001 	cmp	r0, #1	; 0x1                                  
    13e4:	83a00000 	movhi	r0, #0	; 0x0                                
    13e8:	88bd8070 	pophi	{r4, r5, r6, pc}                            
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
    13ec:	e5943008 	ldr	r3, [r4, #8]                                  
    13f0:	e5932034 	ldr	r2, [r3, #52]                                 
    13f4:	e3520000 	cmp	r2, #0	; 0x0                                  
    13f8:	1a000009 	bne	1424 <rtems_filesystem_evaluate_path+0x12c>   
          rtems_filesystem_freenode( pathloc );                       
    13fc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    1400:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    1404:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    1408:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    140c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
    1410:	eb002800 	bl	b418 <__errno>                                 <== NOT EXECUTED
    1414:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1418:	e5803000 	str	r3, [r0]                                      
    141c:	e3e00000 	mvn	r0, #0	; 0x0                                  
    1420:	e8bd8070 	pop	{r4, r5, r6, pc}                              
         *    pathloc will be passed up (and eventually released).    
         *    Hence, the (valid) originial node that we submit to     
         *    eval_link_h() should be released by the handler.        
         */                                                           
                                                                      
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
    1424:	e1a00004 	mov	r0, r4                                        
    1428:	e1a01006 	mov	r1, r6                                        
    142c:	e1a0e00f 	mov	lr, pc                                        
    1430:	e12fff12 	bx	r2                                             
                                                                      
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
    1434:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00008594 <rtems_filesystem_initialize>: * configuration is a single instantiation of the IMFS or miniIMFS with * a single "/dev" directory in it. */ void rtems_filesystem_initialize( void ) {
    8594:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
    8598:	e59f50dc 	ldr	r5, [pc, #220]	; 867c <rtems_filesystem_initialize+0xe8>
    859c:	e5952000 	ldr	r2, [r5]                                      
    85a0:	e3a03012 	mov	r3, #18	; 0x12                                
    85a4:	e5823024 	str	r3, [r2, #36]                                 
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
    85a8:	e24dd018 	sub	sp, sp, #24	; 0x18                            
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
                                                                      
                                                                      
  init_fs_mount_table();                                              
    85ac:	eb000204 	bl	8dc4 <init_fs_mount_table>                     
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    85b0:	e59f30c8 	ldr	r3, [pc, #200]	; 8680 <rtems_filesystem_initialize+0xec>
    85b4:	e5933000 	ldr	r3, [r3]                                      
    85b8:	e3530000 	cmp	r3, #0	; 0x0                                  
    rtems_fatal_error_occurred( 0xABCD0001 );                         
    85bc:	059f00c0 	ldreq	r0, [pc, #192]	; 8684 <rtems_filesystem_initialize+0xf0>
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    85c0:	0a000009 	beq	85ec <rtems_filesystem_initialize+0x58>       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
    85c4:	e59f30bc 	ldr	r3, [pc, #188]	; 8688 <rtems_filesystem_initialize+0xf4>
    85c8:	e5932000 	ldr	r2, [r3]                                      
                                                                      
  status = mount(                                                     
    85cc:	e592300c 	ldr	r3, [r2, #12]                                 
    85d0:	e58d3000 	str	r3, [sp]                                      
    85d4:	e28d0014 	add	r0, sp, #20	; 0x14                            
    85d8:	e892000e 	ldm	r2, {r1, r2, r3}                              
    85dc:	eb0001ff 	bl	8de0 <mount>                                   
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    85e0:	e3700001 	cmn	r0, #1	; 0x1                                  
    85e4:	1a000001 	bne	85f0 <rtems_filesystem_initialize+0x5c>       
    rtems_fatal_error_occurred( 0xABCD0002 );                         
    85e8:	e59f009c 	ldr	r0, [pc, #156]	; 868c <rtems_filesystem_initialize+0xf8><== NOT EXECUTED
    85ec:	ebfff10d 	bl	4a28 <rtems_fatal_error_occurred>              <== NOT EXECUTED
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
    85f0:	e59d3014 	ldr	r3, [sp, #20]                                 
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
    85f4:	e595e000 	ldr	lr, [r5]                                      
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
    85f8:	e2833018 	add	r3, r3, #24	; 0x18                            
    85fc:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    8600:	e28ec014 	add	ip, lr, #20	; 0x14                            
    8604:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 0, &loc, 0);                    
    8608:	e28d4004 	add	r4, sp, #4	; 0x4                              
    860c:	e3a01000 	mov	r1, #0	; 0x0                                  
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
    8610:	e3a03000 	mov	r3, #0	; 0x0                                  
    8614:	e1ce32b8 	strh	r3, [lr, #40]                                
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 0, &loc, 0);                    
    8618:	e1a02004 	mov	r2, r4                                        
    861c:	e1a03001 	mov	r3, r1                                        
    8620:	e59f0068 	ldr	r0, [pc, #104]	; 8690 <rtems_filesystem_initialize+0xfc>
    8624:	ebffe333 	bl	12f8 <rtems_filesystem_evaluate_path>          
  rtems_filesystem_root        = loc;                                 
    8628:	e595c000 	ldr	ip, [r5]                                      
    862c:	e894000f 	ldm	r4, {r0, r1, r2, r3}                          
    8630:	e28cc014 	add	ip, ip, #20	; 0x14                            
    8634:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 0, &loc, 0);                    
    8638:	e3a01000 	mov	r1, #0	; 0x0                                  
    863c:	e1a02004 	mov	r2, r4                                        
    8640:	e1a03001 	mov	r3, r1                                        
    8644:	e59f0044 	ldr	r0, [pc, #68]	; 8690 <rtems_filesystem_initialize+0xfc>
    8648:	ebffe32a 	bl	12f8 <rtems_filesystem_evaluate_path>          
  rtems_filesystem_current     = loc;                                 
    864c:	e595c000 	ldr	ip, [r5]                                      
    8650:	e894000f 	ldm	r4, {r0, r1, r2, r3}                          
    8654:	e28cc004 	add	ip, ip, #4	; 0x4                              
    8658:	e88c000f 	stm	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);                                      
    865c:	e59f0030 	ldr	r0, [pc, #48]	; 8694 <rtems_filesystem_initialize+0x100>
    8660:	e59f1030 	ldr	r1, [pc, #48]	; 8698 <rtems_filesystem_initialize+0x104>
    8664:	eb0001d2 	bl	8db4 <mkdir>                                   
  if ( status != 0 )                                                  
    8668:	e3500000 	cmp	r0, #0	; 0x0                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
    866c:	159f0028 	ldrne	r0, [pc, #40]	; 869c <rtems_filesystem_initialize+0x108>
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    8670:	1affffdd 	bne	85ec <rtems_filesystem_initialize+0x58>       
   *  before device drivers are initialized.  So we return via a base 
   *  filesystem image and nothing auto-mounted at this point.        
   */                                                                 
                                                                      
#endif                                                                
}                                                                     
    8674:	e28dd018 	add	sp, sp, #24	; 0x18                            
    8678:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

000056bc <rtems_filesystem_nodes_equal>: ); bool rtems_filesystem_nodes_equal( const rtems_filesystem_location_info_t *loc1, const rtems_filesystem_location_info_t *loc2 ){
    56bc:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
    56c0:	e5910000 	ldr	r0, [r1]                                      <== NOT EXECUTED
  return ( loc1->node_access == loc2->node_access );                  
}                                                                     
    56c4:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
    56c8:	13a00000 	movne	r0, #0	; 0x0                                <== NOT EXECUTED
    56cc:	03a00001 	moveq	r0, #1	; 0x1                                <== NOT EXECUTED
    56d0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

0000112c <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
    112c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
    1130:	e24dd010 	sub	sp, sp, #16	; 0x10                            <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, 0x00, &loc, true );  
    1134:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    1138:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
    113c:	e1a05001 	mov	r5, 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( name, 0x00, &loc, true );  
    1140:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
    1144:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, 0x00, &loc, true );  
    1148:	eb00006a 	bl	12f8 <rtems_filesystem_evaluate_path>          <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    114c:	e59d2008 	ldr	r2, [sp, #8]                                  <== NOT EXECUTED
    1150:	e5923010 	ldr	r3, [r2, #16]                                 <== NOT EXECUTED
    1154:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, 0x00, &loc, true );  
    1158:	e1a0800d 	mov	r8, sp                                        <== NOT EXECUTED
    115c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
    1160:	e59d6000 	ldr	r6, [sp]                                      <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    1164:	1a000009 	bne	1190 <rtems_io_lookup_name+0x64>              <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    1168:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
    116c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    1170:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    1174:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    1178:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    117c:	eb0028a5 	bl	b418 <__errno>                                 <== NOT EXECUTED
    1180:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1184:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1188:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    118c:	ea000026 	b	122c <rtems_io_lookup_name+0x100>               <== NOT EXECUTED
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
    1190:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    1194:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1198:	e12fff13 	bx	r3                                             <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    119c:	e3500002 	cmp	r0, #2	; 0x2                                  <== NOT EXECUTED
    11a0:	03540000 	cmpeq	r4, #0	; 0x0                                <== NOT EXECUTED
    11a4:	03a0a000 	moveq	sl, #0	; 0x0                                <== NOT EXECUTED
    11a8:	13a0a001 	movne	sl, #1	; 0x1                                <== NOT EXECUTED
    11ac:	e59d4008 	ldr	r4, [sp, #8]                                  <== NOT EXECUTED
    11b0:	0a000008 	beq	11d8 <rtems_io_lookup_name+0xac>              <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    11b4:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    11b8:	0a000018 	beq	1220 <rtems_io_lookup_name+0xf4>              <== NOT EXECUTED
    11bc:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
    11c0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    11c4:	0a000015 	beq	1220 <rtems_io_lookup_name+0xf4>              <== NOT EXECUTED
    11c8:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    11cc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    11d0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    11d4:	ea000011 	b	1220 <rtems_io_lookup_name+0xf4>                <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
    11d8:	e5857000 	str	r7, [r5]                                      <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
    11dc:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    11e0:	eb002dc2 	bl	c8f0 <strlen>                                  <== NOT EXECUTED
    11e4:	e5850004 	str	r0, [r5, #4]                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
    11e8:	e5963050 	ldr	r3, [r6, #80]                                 <== NOT EXECUTED
    11ec:	e5853008 	str	r3, [r5, #8]                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
    11f0:	e5963054 	ldr	r3, [r6, #84]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    11f4:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
    11f8:	e585300c 	str	r3, [r5, #12]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    11fc:	0a000009 	beq	1228 <rtems_io_lookup_name+0xfc>              <== NOT EXECUTED
    1200:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
    1204:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    1208:	0a000006 	beq	1228 <rtems_io_lookup_name+0xfc>              <== NOT EXECUTED
    120c:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    1210:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1214:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    1218:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
    121c:	ea000002 	b	122c <rtems_io_lookup_name+0x100>               <== NOT EXECUTED
    1220:	e3a0000d 	mov	r0, #13	; 0xd                                 <== NOT EXECUTED
    1224:	ea000000 	b	122c <rtems_io_lookup_name+0x100>               <== NOT EXECUTED
    1228:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
#endif                                                                
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
    122c:	e28dd010 	add	sp, sp, #16	; 0x10                            <== NOT EXECUTED
    1230:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

00001234 <rtems_io_register_name>: rtems_status_code rtems_io_register_name( const char *device_name, rtems_device_major_number major, rtems_device_minor_number minor ) {
    1234:	e1a03002 	mov	r3, r2                                        
    1238:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
#if !defined(RTEMS_UNIX)                                              
  int    status;                                                      
  dev_t  dev;                                                         
                                                                      
  dev = rtems_filesystem_make_dev_t( major, minor );                  
  status = mknod( device_name, 0777 | S_IFCHR, dev );                 
    123c:	e1a02001 	mov	r2, r1                                        
    1240:	e59f1010 	ldr	r1, [pc, #16]	; 1258 <rtems_io_register_name+0x24>
    1244:	eb0000d6 	bl	15a4 <mknod>                                   
  if ( status )                                                       
    return RTEMS_TOO_MANY;                                            
                                                                      
#endif                                                                
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
    1248:	e3500000 	cmp	r0, #0	; 0x0                                  
    124c:	13a00005 	movne	r0, #5	; 0x5                                
    1250:	03a00000 	moveq	r0, #0	; 0x0                                
    1254:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

00006d8c <rtems_iterate_over_all_threads>: #include <rtems/system.h> #include <rtems/score/thread.h> void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) {
    6d8c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    6d90:	e2507000 	subs	r7, r0, #0	; 0x0                             
    6d94:	08bd81f0 	popeq	{r4, r5, r6, r7, r8, pc}                    
    return;                                                           
    6d98:	e59f6054 	ldr	r6, [pc, #84]	; 6df4 <rtems_iterate_over_all_threads+0x68>
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
    6d9c:	e2868010 	add	r8, r6, #16	; 0x10                            
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
    6da0:	e5963004 	ldr	r3, [r6, #4]                                  
    6da4:	e3530000 	cmp	r3, #0	; 0x0                                  
    6da8:	0a00000d 	beq	6de4 <rtems_iterate_over_all_threads+0x58>    
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    6dac:	e5935004 	ldr	r5, [r3, #4]                                  
    if ( information ) {                                              
    6db0:	e3550000 	cmp	r5, #0	; 0x0                                  
    6db4:	13a04001 	movne	r4, #1	; 0x1                                
    6db8:	1a000006 	bne	6dd8 <rtems_iterate_over_all_threads+0x4c>    
    6dbc:	ea000008 	b	6de4 <rtems_iterate_over_all_threads+0x58>      <== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
    6dc0:	e595301c 	ldr	r3, [r5, #28]                                 
    6dc4:	e7933104 	ldr	r3, [r3, r4, lsl #2]                          
                                                                      
        if ( !the_thread )                                            
    6dc8:	e2530000 	subs	r0, r3, #0	; 0x0                             
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    6dcc:	e2844001 	add	r4, r4, #1	; 0x1                              
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        (*routine)(the_thread);                                       
    6dd0:	11a0e00f 	movne	lr, pc                                      
    6dd4:	112fff17 	bxne	r7                                           
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    6dd8:	e1d531b0 	ldrh	r3, [r5, #16]                                
    6ddc:	e1540003 	cmp	r4, r3                                        
    6de0:	9afffff6 	bls	6dc0 <rtems_iterate_over_all_threads+0x34>    
    6de4:	e2866004 	add	r6, r6, #4	; 0x4                              
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
    6de8:	e1560008 	cmp	r6, r8                                        
    6dec:	1affffeb 	bne	6da0 <rtems_iterate_over_all_threads+0x14>    
    6df0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

0000143c <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
    143c:	e92d4010 	push	{r4, lr}                                     
    rtems_status_code rc;                                             
    int i;                                                            
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    1440:	e59f4098 	ldr	r4, [pc, #152]	; 14e0 <rtems_libio_init+0xa4> 
    1444:	e5940000 	ldr	r0, [r4]                                      
    1448:	e3500000 	cmp	r0, #0	; 0x0                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
    144c:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    rtems_status_code rc;                                             
    int i;                                                            
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    1450:	0a000015 	beq	14ac <rtems_libio_init+0x70>                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
    1454:	e3a01034 	mov	r1, #52	; 0x34                                
    1458:	eb001c90 	bl	86a0 <calloc>                                  
    145c:	e59f3080 	ldr	r3, [pc, #128]	; 14e4 <rtems_libio_init+0xa8> 
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
    1460:	e3500000 	cmp	r0, #0	; 0x0                                  
    int i;                                                            
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
    1464:	e5830000 	str	r0, [r3]                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
    1468:	0280001a 	addeq	r0, r0, #26	; 0x1a                          
                                                                      
    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)                                 
    146c:	0a000017 	beq	14d0 <rtems_libio_init+0x94>                  
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
    1470:	e59f3070 	ldr	r3, [pc, #112]	; 14e8 <rtems_libio_init+0xac> 
	for (i = 0 ; i < (rtems_libio_number_iops - 1) ; i++, iop++)         
    1474:	e5942000 	ldr	r2, [r4]                                      
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
    1478:	e5830000 	str	r0, [r3]                                      
	for (i = 0 ; i < (rtems_libio_number_iops - 1) ; i++, iop++)         
    147c:	e3a01000 	mov	r1, #0	; 0x0                                  
    1480:	e1a03000 	mov	r3, r0                                        
    1484:	ea000000 	b	148c <rtems_libio_init+0x50>                    
		iop->data1 = iop + 1;                                               
    1488:	e503300c 	str	r3, [r3, #-12]                                
    148c:	e2811001 	add	r1, r1, #1	; 0x1                              
                                                    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 < (rtems_libio_number_iops - 1) ; i++, iop++)         
    1490:	e1510002 	cmp	r1, r2                                        
		iop->data1 = iop + 1;                                               
    1494:	e2833034 	add	r3, r3, #52	; 0x34                            
                                                    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 < (rtems_libio_number_iops - 1) ; i++, iop++)         
    1498:	1afffffa 	bne	1488 <rtems_libio_init+0x4c>                  
		iop->data1 = iop + 1;                                               
	iop->data1 = NULL;                                                   
    149c:	e3a03034 	mov	r3, #52	; 0x34                                
    14a0:	e0220193 	mla	r2, r3, r1, r0                                
    14a4:	e3a03000 	mov	r3, #0	; 0x0                                  
    14a8:	e502300c 	str	r3, [r2, #-12]                                
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
    14ac:	e59fc038 	ldr	ip, [pc, #56]	; 14ec <rtems_libio_init+0xb0>  
    14b0:	e59f0038 	ldr	r0, [pc, #56]	; 14f0 <rtems_libio_init+0xb4>  
    14b4:	e3a01001 	mov	r1, #1	; 0x1                                  
    14b8:	e3a02054 	mov	r2, #84	; 0x54                                
    14bc:	e3a03000 	mov	r3, #0	; 0x0                                  
    14c0:	e58dc000 	str	ip, [sp]                                      
    14c4:	eb000b04 	bl	40dc <rtems_semaphore_create>                  
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    14c8:	e3500000 	cmp	r0, #0	; 0x0                                  
    14cc:	0a000000 	beq	14d4 <rtems_libio_init+0x98>                  
    rtems_fatal_error_occurred( rc );                                 
    14d0:	eb000d54 	bl	4a28 <rtems_fatal_error_occurred>              <== NOT EXECUTED
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  rtems_filesystem_initialize();                                      
}                                                                     
    14d4:	e28dd004 	add	sp, sp, #4	; 0x4                              
    14d8:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  rtems_filesystem_initialize();                                      
    14dc:	ea001c2c 	b	8594 <rtems_filesystem_initialize>              
                                                                      

00008a68 <rtems_libio_is_open_files_in_fs>: { rtems_libio_t *iop; int result = 0; int i; rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
    8a68:	e59f3070 	ldr	r3, [pc, #112]	; 8ae0 <rtems_libio_is_open_files_in_fs+0x78><== NOT EXECUTED
    8a6c:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    8a70:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
 */                                                                   
                                                                      
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
    8a74:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
    8a78:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
  int                i;                                               
                                                                      
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
    8a7c:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    8a80:	ebffee2e 	bl	4340 <rtems_semaphore_obtain>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
    8a84:	e59f3058 	ldr	r3, [pc, #88]	; 8ae4 <rtems_libio_is_open_files_in_fs+0x7c><== NOT EXECUTED
    8a88:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
    8a8c:	e59f3054 	ldr	r3, [pc, #84]	; 8ae8 <rtems_libio_is_open_files_in_fs+0x80><== NOT EXECUTED
    8a90:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    8a94:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    8a98:	ea000007 	b	8abc <rtems_libio_is_open_files_in_fs+0x54>     <== NOT EXECUTED
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
    8a9c:	e592300c 	ldr	r3, [r2, #12]                                 <== NOT EXECUTED
    8aa0:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
    8aa4:	0a000003 	beq	8ab8 <rtems_libio_is_open_files_in_fs+0x50>   <== NOT EXECUTED
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
    8aa8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
    8aac:	e1530004 	cmp	r3, r4                                        <== NOT EXECUTED
    8ab0:	03a04001 	moveq	r4, #1	; 0x1                                <== NOT EXECUTED
    8ab4:	0a000004 	beq	8acc <rtems_libio_is_open_files_in_fs+0x64>   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
    8ab8:	e2822034 	add	r2, r2, #52	; 0x34                            <== NOT EXECUTED
    8abc:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
    8ac0:	e2811001 	add	r1, r1, #1	; 0x1                              <== NOT EXECUTED
    8ac4:	3afffff4 	bcc	8a9c <rtems_libio_is_open_files_in_fs+0x34>   <== NOT EXECUTED
    8ac8:	e3a04000 	mov	r4, #0	; 0x0                                  <== NOT EXECUTED
          break;                                                      
       }                                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_semaphore_release( rtems_libio_semaphore );                   
    8acc:	e59f300c 	ldr	r3, [pc, #12]	; 8ae0 <rtems_libio_is_open_files_in_fs+0x78><== NOT EXECUTED
    8ad0:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    8ad4:	ebffee5f 	bl	4458 <rtems_semaphore_release>                 <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
    8ad8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    8adc:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

00002b10 <rtems_libio_set_private_env>: rtems_filesystem_freenode( &env->root_directory); free(env); } } rtems_status_code rtems_libio_set_private_env(void) {
    2b10:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
    2b14:	e3a00000 	mov	r0, #0	; 0x0                                  
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
    2b18:	e24dd014 	sub	sp, sp, #20	; 0x14                            
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
    2b1c:	e1a01000 	mov	r1, r0                                        
    2b20:	e28d2010 	add	r2, sp, #16	; 0x10                            
    2b24:	eb000a4b 	bl	5458 <rtems_task_ident>                        
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
    2b28:	e2507000 	subs	r7, r0, #0	; 0x0                             
    2b2c:	1a00003b 	bne	2c20 <rtems_libio_set_private_env+0x110>      
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
    2b30:	e59f60f4 	ldr	r6, [pc, #244]	; 2c2c <rtems_libio_set_private_env+0x11c>
    2b34:	e59f30f4 	ldr	r3, [pc, #244]	; 2c30 <rtems_libio_set_private_env+0x120>
    2b38:	e5962000 	ldr	r2, [r6]                                      
    2b3c:	e1520003 	cmp	r2, r3                                        
    2b40:	1a00000f 	bne	2b84 <rtems_libio_set_private_env+0x74>       
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
    2b44:	e2800040 	add	r0, r0, #64	; 0x40                            
    2b48:	ebfffd09 	bl	1f74 <malloc>                                  
   if (!tmp)                                                          
    2b4c:	e2505000 	subs	r5, r0, #0	; 0x0                             
    2b50:	03a0701a 	moveq	r7, #26	; 0x1a                              
    2b54:	0a000031 	beq	2c20 <rtems_libio_set_private_env+0x110>      
                                                                      
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
    2b58:	e1a00007 	mov	r0, r7                                        
    2b5c:	e1a01006 	mov	r1, r6                                        
    2b60:	e59f20cc 	ldr	r2, [pc, #204]	; 2c34 <rtems_libio_set_private_env+0x124>
    2b64:	eb000a93 	bl	55b8 <rtems_task_variable_add>                 
   if (sc != RTEMS_SUCCESSFUL) {                                      
    2b68:	e2504000 	subs	r4, r0, #0	; 0x0                             
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
    2b6c:	05865000 	streq	r5, [r6]                                    
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
   if (sc != RTEMS_SUCCESSFUL) {                                      
    2b70:	0a000003 	beq	2b84 <rtems_libio_set_private_env+0x74>       
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
    2b74:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    2b78:	ebfffb96 	bl	19d8 <free>                                    <== NOT EXECUTED
    2b7c:	e1a07004 	mov	r7, r4                                        <== NOT EXECUTED
    2b80:	ea000026 	b	2c20 <rtems_libio_set_private_env+0x110>        <== NOT EXECUTED
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
    2b84:	e59f50a0 	ldr	r5, [pc, #160]	; 2c2c <rtems_libio_set_private_env+0x11c>
    2b88:	e59f30a0 	ldr	r3, [pc, #160]	; 2c30 <rtems_libio_set_private_env+0x120>
    2b8c:	e5954000 	ldr	r4, [r5]                                      
    2b90:	e1a0c003 	mov	ip, r3                                        
    2b94:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    2b98:	e1a0e004 	mov	lr, r4                                        
    2b9c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    2ba0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    2ba4:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    2ba8:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    2bac:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    2bb0:	e89c000f 	ldm	ip, {r0, r1, r2, r3}                          
    2bb4:	e88e000f 	stm	lr, {r0, r1, r2, r3}                          
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
    2bb8:	e59d3010 	ldr	r3, [sp, #16]                                 
    2bbc:	e4843014 	str	r3, [r4], #20                                 
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
    2bc0:	e59f3070 	ldr	r3, [pc, #112]	; 2c38 <rtems_libio_set_private_env+0x128>
    2bc4:	e5933000 	ldr	r3, [r3]                                      
    2bc8:	e2833018 	add	r3, r3, #24	; 0x18                            
    2bcc:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    2bd0:	e884000f 	stm	r4, {r0, r1, r2, r3}                          
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 0, &loc, 0);                    
    2bd4:	e3a01000 	mov	r1, #0	; 0x0                                  
    2bd8:	e1a0200d 	mov	r2, sp                                        
    2bdc:	e1a03001 	mov	r3, r1                                        
    2be0:	e59f0054 	ldr	r0, [pc, #84]	; 2c3c <rtems_libio_set_private_env+0x12c>
    2be4:	ebfffb2a 	bl	1894 <rtems_filesystem_evaluate_path>          
  rtems_filesystem_root    = loc;                                     
    2be8:	e595c000 	ldr	ip, [r5]                                      
    2bec:	e89d000f 	ldm	sp, {r0, r1, r2, r3}                          
    2bf0:	e28cc014 	add	ip, ip, #20	; 0x14                            
    2bf4:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
  rtems_filesystem_evaluate_path("/", 0, &loc, 0);                    
    2bf8:	e3a01000 	mov	r1, #0	; 0x0                                  
    2bfc:	e1a0200d 	mov	r2, sp                                        
    2c00:	e1a03001 	mov	r3, r1                                        
    2c04:	e59f0030 	ldr	r0, [pc, #48]	; 2c3c <rtems_libio_set_private_env+0x12c>
    2c08:	ebfffb21 	bl	1894 <rtems_filesystem_evaluate_path>          
  rtems_filesystem_current = loc;                                     
    2c0c:	e595c000 	ldr	ip, [r5]                                      
    2c10:	e89d000f 	ldm	sp, {r0, r1, r2, r3}                          
    2c14:	e28cc004 	add	ip, ip, #4	; 0x4                              
    2c18:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 0, &loc, 0);                    
    2c1c:	e1a0400d 	mov	r4, sp                                        
  rtems_filesystem_root    = loc;                                     
  rtems_filesystem_evaluate_path("/", 0, &loc, 0);                    
  rtems_filesystem_current = loc;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
    2c20:	e1a00007 	mov	r0, r7                                        
    2c24:	e28dd014 	add	sp, sp, #20	; 0x14                            
    2c28:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

00002a64 <rtems_libio_share_private_env>: * b) mutex access to rtems_filesystem_current, rtems_filesytem_root * while changing any of those (chdir(), chroot()). */ #ifndef HAVE_USERENV_REFCNT rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
    2a64:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    2a68:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    2a6c:	e24dd008 	sub	sp, sp, #8	; 0x8                              <== NOT EXECUTED
  rtems_status_code  sc;                                              
  rtems_user_env_t * shared_user_env;                                 
  rtems_id           current_task_id;                                 
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,¤t_task_id);                 
    2a70:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    2a74:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    2a78:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    2a7c:	eb000a75 	bl	5458 <rtems_task_ident>                        <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
    2a80:	e2501000 	subs	r1, r0, #0	; 0x0                             <== NOT EXECUTED
    2a84:	1a00001b 	bne	2af8 <rtems_libio_share_private_env+0x94>     <== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
    2a88:	e59f1074 	ldr	r1, [pc, #116]	; 2b04 <rtems_libio_share_private_env+0xa0><== NOT EXECUTED
    2a8c:	e5914000 	ldr	r4, [r1]                                      <== NOT EXECUTED
    2a90:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    2a94:	e5942000 	ldr	r2, [r4]                                      <== NOT EXECUTED
    2a98:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2a9c:	1a000004 	bne	2ab4 <rtems_libio_share_private_env+0x50>     <== NOT EXECUTED
   /* kill the current user env & task_var*/                          
	rtems_user_env_t 	*tmp = rtems_current_user_env;                     
   sc = rtems_task_variable_delete(RTEMS_SELF,(void*)&rtems_current_user_env);
    2aa0:	eb000aef 	bl	5664 <rtems_task_variable_delete>              <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
    2aa4:	e2501000 	subs	r1, r0, #0	; 0x0                             <== NOT EXECUTED
    2aa8:	1a000012 	bne	2af8 <rtems_libio_share_private_env+0x94>     <== NOT EXECUTED
   free_user_env(tmp);                                                
    2aac:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    2ab0:	ebffffd2 	bl	2a00 <free_user_env>                           <== NOT EXECUTED
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
    2ab4:	e59f4048 	ldr	r4, [pc, #72]	; 2b04 <rtems_libio_share_private_env+0xa0><== NOT EXECUTED
    2ab8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    2abc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2ac0:	e28d2004 	add	r2, sp, #4	; 0x4                              <== NOT EXECUTED
    2ac4:	eb000b06 	bl	56e4 <rtems_task_variable_get>                 <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
    2ac8:	e2501000 	subs	r1, r0, #0	; 0x0                             <== NOT EXECUTED
    2acc:	1a000006 	bne	2aec <rtems_libio_share_private_env+0x88>     <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
    2ad0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2ad4:	e59f202c 	ldr	r2, [pc, #44]	; 2b08 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
    2ad8:	eb000ab6 	bl	55b8 <rtems_task_variable_add>                 <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
    2adc:	e2501000 	subs	r1, r0, #0	; 0x0                             <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
    2ae0:	059d3004 	ldreq	r3, [sp, #4]                                <== NOT EXECUTED
    2ae4:	05843000 	streq	r3, [r4]                                    <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
  if (sc != RTEMS_SUCCESSFUL)                                         
    2ae8:	0a000002 	beq	2af8 <rtems_libio_share_private_env+0x94>     <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
    2aec:	e59f2018 	ldr	r2, [pc, #24]	; 2b0c <rtems_libio_share_private_env+0xa8><== NOT EXECUTED
    2af0:	e59f300c 	ldr	r3, [pc, #12]	; 2b04 <rtems_libio_share_private_env+0xa0><== NOT EXECUTED
    2af4:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
  return sc;                                                          
}                                                                     
    2af8:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    2afc:	e28dd008 	add	sp, sp, #8	; 0x8                              <== NOT EXECUTED
    2b00:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

00002474 <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
    2474:	e92d000f 	push	{r0, r1, r2, r3}                             <== NOT EXECUTED
    2478:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
    247c:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
    2480:	e28d2008 	add	r2, sp, #8	; 0x8                              <== NOT EXECUTED
    2484:	e3a00202 	mov	r0, #536870912	; 0x20000000                   <== NOT EXECUTED
    2488:	ebffff8d 	bl	22c4 <rtems_verror>                            <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
    248c:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
    2490:	e28dd010 	add	sp, sp, #16	; 0x10                            <== NOT EXECUTED
    2494:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

0000b6f0 <rtems_rate_monotonic_get_statistics>: rtems_status_code rtems_rate_monotonic_get_statistics( Objects_Id id, rtems_rate_monotonic_period_statistics *statistics ) {
    b6f0:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  if ( !statistics )                                                  
    b6f4:	e2514000 	subs	r4, r1, #0	; 0x0                             <== NOT EXECUTED
                                                                      
rtems_status_code rtems_rate_monotonic_get_statistics(                
  Objects_Id                               id,                        
  rtems_rate_monotonic_period_statistics  *statistics                 
)                                                                     
{                                                                     
    b6f8:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  if ( !statistics )                                                  
    b6fc:	03a00009 	moveq	r0, #9	; 0x9                                <== NOT EXECUTED
    b700:	0a000013 	beq	b754 <rtems_rate_monotonic_get_statistics+0x64><== NOT EXECUTED
    b704:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    b708:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    b70c:	e59f0048 	ldr	r0, [pc, #72]	; b75c <rtems_rate_monotonic_get_statistics+0x6c><== NOT EXECUTED
    b710:	ebffef97 	bl	7574 <_Objects_Get>                            <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
    b714:	e59d5000 	ldr	r5, [sp]                                      <== NOT EXECUTED
    b718:	e3550000 	cmp	r5, #0	; 0x0                                  <== NOT EXECUTED
    b71c:	13a00004 	movne	r0, #4	; 0x4                                <== NOT EXECUTED
    b720:	1a00000b 	bne	b754 <rtems_rate_monotonic_get_statistics+0x64><== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      *statistics = the_period->Statistics;                           
    b724:	e280c054 	add	ip, r0, #84	; 0x54                            <== NOT EXECUTED
    b728:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    b72c:	e1a0e004 	mov	lr, r4                                        <== NOT EXECUTED
    b730:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    b734:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    b738:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    b73c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    b740:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    b744:	e89c0003 	ldm	ip, {r0, r1}                                  <== NOT EXECUTED
    b748:	e88e0003 	stm	lr, {r0, r1}                                  <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
    b74c:	ebfff1ae 	bl	7e0c <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    b750:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
    b754:	e28dd004 	add	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    b758:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

0000b760 <rtems_rate_monotonic_get_status>: rtems_status_code rtems_rate_monotonic_get_status( Objects_Id id, rtems_rate_monotonic_period_status *status ) {
    b760:	e92d4070 	push	{r4, r5, r6, lr}                             
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  if ( !status )                                                      
    b764:	e2515000 	subs	r5, r1, #0	; 0x0                             
                                                                      
rtems_status_code rtems_rate_monotonic_get_status(                    
  Objects_Id                           id,                            
  rtems_rate_monotonic_period_status  *status                         
)                                                                     
{                                                                     
    b768:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  if ( !status )                                                      
    b76c:	03a00009 	moveq	r0, #9	; 0x9                                
    b770:	0a000021 	beq	b7fc <rtems_rate_monotonic_get_status+0x9c>   
    b774:	e1a01000 	mov	r1, r0                                        
    b778:	e28d2008 	add	r2, sp, #8	; 0x8                              
    b77c:	e59f0080 	ldr	r0, [pc, #128]	; b804 <rtems_rate_monotonic_get_status+0xa4>
    b780:	ebffef7b 	bl	7574 <_Objects_Get>                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
    b784:	e59d3008 	ldr	r3, [sp, #8]                                  
    b788:	e3530000 	cmp	r3, #0	; 0x0                                  
    b78c:	e1a06000 	mov	r6, r0                                        
    b790:	13a00004 	movne	r0, #4	; 0x4                                
    b794:	1a000018 	bne	b7fc <rtems_rate_monotonic_get_status+0x9c>   
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = ((the_period->owner) ? the_period->owner->Object.id : 0);
    b798:	e5963050 	ldr	r3, [r6, #80]                                 <== NOT EXECUTED
    b79c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    b7a0:	01a02003 	moveq	r2, r3                                      <== NOT EXECUTED
    b7a4:	15932008 	ldrne	r2, [r3, #8]                                <== NOT EXECUTED
      status->state = the_period->state;                              
    b7a8:	e5963038 	ldr	r3, [r6, #56]                                 <== NOT EXECUTED
                                                                      
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
    b7ac:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = ((the_period->owner) ? the_period->owner->Object.id : 0);
    b7b0:	e885000c 	stm	r5, {r2, r3}                                  <== NOT EXECUTED
        #else                                                         
          status->since_last_period = 0;                              
        #endif                                                        
        #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS           
          status->executed_since_last_period.tv_sec = 0;              
          status->executed_since_last_period.tv_nsec = 0;             
    b7b4:	05853014 	streq	r3, [r5, #20]                               <== NOT EXECUTED
      status->owner = ((the_period->owner) ? the_period->owner->Object.id : 0);
      status->state = the_period->state;                              
                                                                      
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
        #ifdef RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS      
          status->since_last_period.tv_sec = 0;                       
    b7b8:	05853008 	streq	r3, [r5, #8]                                <== NOT EXECUTED
          status->since_last_period.tv_nsec = 0;                      
    b7bc:	0585300c 	streq	r3, [r5, #12]                               <== NOT EXECUTED
        #else                                                         
          status->since_last_period = 0;                              
        #endif                                                        
        #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS           
          status->executed_since_last_period.tv_sec = 0;              
    b7c0:	05853010 	streq	r3, [r5, #16]                               <== NOT EXECUTED
    b7c4:	0a00000a 	beq	b7f4 <rtems_rate_monotonic_get_status+0x94>   <== NOT EXECUTED
         *  This lets them share one single invocation of _TOD_Get_uptime().
         */                                                           
        #if defined(RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS) || \
            defined(RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS)     
          struct timespec uptime;                                     
          _TOD_Get_uptime( &uptime );                                 
    b7c8:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    b7cc:	ebffed10 	bl	6c14 <_TOD_Get_uptime>                         <== NOT EXECUTED
        #endif                                                        
                                                                      
        #ifdef RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS      
          _Timespec_Subtract(                                         
    b7d0:	e2860044 	add	r0, r6, #68	; 0x44                            <== NOT EXECUTED
    b7d4:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    b7d8:	e2852008 	add	r2, r5, #8	; 0x8                              <== NOT EXECUTED
    b7dc:	ebfff5b7 	bl	8ec0 <_Timespec_Subtract>                      <== NOT EXECUTED
          status->since_last_period =                                 
            _Watchdog_Ticks_since_boot - the_period->time_at_period;  
        #endif                                                        
                                                                      
        #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS           
          _Timespec_Subtract(                                         
    b7e0:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    b7e4:	e2852010 	add	r2, r5, #16	; 0x10                            <== NOT EXECUTED
    b7e8:	e59f0018 	ldr	r0, [pc, #24]	; b808 <rtems_rate_monotonic_get_status+0xa8><== NOT EXECUTED
         *  This lets them share one single invocation of _TOD_Get_uptime().
         */                                                           
        #if defined(RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS) || \
            defined(RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS)     
          struct timespec uptime;                                     
          _TOD_Get_uptime( &uptime );                                 
    b7ec:	e1a0400d 	mov	r4, sp                                        <== NOT EXECUTED
          status->since_last_period =                                 
            _Watchdog_Ticks_since_boot - the_period->time_at_period;  
        #endif                                                        
                                                                      
        #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS           
          _Timespec_Subtract(                                         
    b7f0:	ebfff5b2 	bl	8ec0 <_Timespec_Subtract>                      <== NOT EXECUTED
            the_period->owner->cpu_time_used -                        
            the_period->owner_executed_at_period;                     
        #endif                                                        
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
    b7f4:	ebfff184 	bl	7e0c <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    b7f8:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
    b7fc:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    b800:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

000057d0 <rtems_rate_monotonic_report_statistics>: void rtems_rate_monotonic_report_statistics( void ) { rtems_rate_monotonic_report_statistics_with_plugin( NULL, printk_plugin );
    57d0:	e59f1004 	ldr	r1, [pc, #4]	; 57dc <rtems_rate_monotonic_report_statistics+0xc><== NOT EXECUTED
    57d4:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    57d8:	eaffff79 	b	55c4 <rtems_rate_monotonic_report_statistics_with_plugin><== NOT EXECUTED
                                                                      

000055c4 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
    55c4:	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 )                                                       
    55c8:	e2515000 	subs	r5, r1, #0	; 0x0                             <== NOT EXECUTED
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
    55cc:	e24dd070 	sub	sp, sp, #112	; 0x70                           <== NOT EXECUTED
    55d0:	e1a06000 	mov	r6, 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 )                                                       
    55d4:	0a000071 	beq	57a0 <rtems_rate_monotonic_report_statistics_with_plugin+0x1dc><== NOT EXECUTED
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
    55d8:	e59f11c8 	ldr	r1, [pc, #456]	; 57a8 <rtems_rate_monotonic_report_statistics_with_plugin+0x1e4><== NOT EXECUTED
    55dc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    55e0:	e12fff15 	bx	r5                                             <== NOT EXECUTED
#if defined(RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS)             
  (*print)( context, "--- CPU times are in seconds ---\n" );          
    55e4:	e59f11c0 	ldr	r1, [pc, #448]	; 57ac <rtems_rate_monotonic_report_statistics_with_plugin+0x1e8><== NOT EXECUTED
    55e8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    55ec:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    55f0:	e12fff15 	bx	r5                                             <== NOT EXECUTED
#endif                                                                
#if defined(RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS)        
  (*print)( context, "--- Wall times are in seconds ---\n" );         
    55f4:	e59f11b4 	ldr	r1, [pc, #436]	; 57b0 <rtems_rate_monotonic_report_statistics_with_plugin+0x1ec><== NOT EXECUTED
    55f8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    55fc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    5600:	e12fff15 	bx	r5                                             <== NOT EXECUTED
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
    5604:	e59f11a8 	ldr	r1, [pc, #424]	; 57b4 <rtems_rate_monotonic_report_statistics_with_plugin+0x1f0><== NOT EXECUTED
    5608:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    560c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    5610:	e12fff15 	bx	r5                                             <== NOT EXECUTED
       #ifdef RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS       
          "      "                                                    
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
    5614:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    5618:	e59f1198 	ldr	r1, [pc, #408]	; 57b8 <rtems_rate_monotonic_report_statistics_with_plugin+0x1f4><== NOT EXECUTED
    561c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    5620:	e12fff15 	bx	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 ;                   
    5624:	e59f3190 	ldr	r3, [pc, #400]	; 57bc <rtems_rate_monotonic_report_statistics_with_plugin+0x1f8><== NOT EXECUTED
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    5628:	e28d8010 	add	r8, sp, #16	; 0x10                            <== 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 ;                   
    562c:	e5937008 	ldr	r7, [r3, #8]                                  <== NOT EXECUTED
     */                                                               
    {                                                                 
    #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS               
      struct timespec   cpu_average;                                  
                                                                      
      _Timespec_Divide_by_integer(                                    
    5630:	e2889018 	add	r9, r8, #24	; 0x18                            <== NOT EXECUTED
    5634:	e28db060 	add	fp, sp, #96	; 0x60                            <== NOT EXECUTED
     *  print Wall time part of statistics                            
     */                                                               
    {                                                                 
    #ifdef RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS          
      struct timespec  wall_average;                                  
      _Timespec_Divide_by_integer(                                    
    5638:	e288a030 	add	sl, r8, #48	; 0x30                            <== NOT EXECUTED
    563c:	ea000051 	b	5788 <rtems_rate_monotonic_report_statistics_with_plugin+0x1c4><== NOT EXECUTED
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    5640:	eb00182a 	bl	b6f0 <rtems_rate_monotonic_get_statistics>     <== NOT EXECUTED
    if ( status != RTEMS_SUCCESSFUL )                                 
    5644:	e2504000 	subs	r4, r0, #0	; 0x0                             <== NOT EXECUTED
    5648:	1a00004d 	bne	5784 <rtems_rate_monotonic_report_statistics_with_plugin+0x1c0><== NOT EXECUTED
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
    564c:	e28d1048 	add	r1, sp, #72	; 0x48                            <== NOT EXECUTED
    5650:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    5654:	eb001841 	bl	b760 <rtems_rate_monotonic_get_status>         <== NOT EXECUTED
        continue;                                                     
    #endif                                                            
                                                                      
    name[ 0 ] = '\0';                                                 
                                                                      
    if ( the_status.owner ) {                                         
    5658:	e59d0048 	ldr	r0, [sp, #72]                                 <== NOT EXECUTED
    565c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    name[ 0 ] = '\0';                                                 
    5660:	e5cd406b 	strb	r4, [sp, #107]                               <== NOT EXECUTED
                                                                      
    if ( the_status.owner ) {                                         
      rtems_object_get_name( the_status.owner, sizeof(name), name );  
    5664:	128d206b 	addne	r2, sp, #107	; 0x6b                         <== NOT EXECUTED
    5668:	13a01005 	movne	r1, #5	; 0x5                                <== NOT EXECUTED
    566c:	1b0000b4 	blne	5944 <rtems_object_get_name>                 <== NOT EXECUTED
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
                                                                      
    (*print)( context,                                                
    5670:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    5674:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    5678:	e59d3014 	ldr	r3, [sp, #20]                                 <== NOT EXECUTED
    567c:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
    5680:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
    5684:	e59f1134 	ldr	r1, [pc, #308]	; 57c0 <rtems_rate_monotonic_report_statistics_with_plugin+0x1fc><== NOT EXECUTED
    5688:	e28d306b 	add	r3, sp, #107	; 0x6b                           <== NOT EXECUTED
    568c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    5690:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    5694:	e12fff15 	bx	r5                                             <== NOT EXECUTED
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
                                                                      
    if (the_stats.count == 0) {                                       
    5698:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    569c:	e2531000 	subs	r1, r3, #0	; 0x0                             <== NOT EXECUTED
     */                                                               
    {                                                                 
    #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS               
      struct timespec   cpu_average;                                  
                                                                      
      _Timespec_Divide_by_integer(                                    
    56a0:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
    56a4:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
                                                                      
    if (the_stats.count == 0) {                                       
    56a8:	1a000004 	bne	56c0 <rtems_rate_monotonic_report_statistics_with_plugin+0xfc><== NOT EXECUTED
      (*print)( context, "\n" );                                      
    56ac:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    56b0:	e59f110c 	ldr	r1, [pc, #268]	; 57c4 <rtems_rate_monotonic_report_statistics_with_plugin+0x200><== NOT EXECUTED
    56b4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    56b8:	e12fff15 	bx	r5                                             <== NOT EXECUTED
    56bc:	ea000030 	b	5784 <rtems_rate_monotonic_report_statistics_with_plugin+0x1c0><== NOT EXECUTED
     */                                                               
    {                                                                 
    #ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS               
      struct timespec   cpu_average;                                  
                                                                      
      _Timespec_Divide_by_integer(                                    
    56c0:	eb000dc5 	bl	8ddc <_Timespec_Divide_by_integer>             <== NOT EXECUTED
         &the_stats.total_cpu_time,                                   
         the_stats.count,                                             
         &cpu_average                                                 
      );                                                              
      (*print)( context,                                              
    56c4:	e59d001c 	ldr	r0, [sp, #28]                                 <== NOT EXECUTED
    56c8:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
    56cc:	eb0040a4 	bl	15964 <__aeabi_idiv>                           <== NOT EXECUTED
    56d0:	e59d3020 	ldr	r3, [sp, #32]                                 <== NOT EXECUTED
    56d4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    56d8:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
    56dc:	e59d0024 	ldr	r0, [sp, #36]                                 <== NOT EXECUTED
    56e0:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    56e4:	eb00409e 	bl	15964 <__aeabi_idiv>                           <== NOT EXECUTED
    56e8:	e59d3060 	ldr	r3, [sp, #96]                                 <== NOT EXECUTED
    56ec:	e58d0004 	str	r0, [sp, #4]                                  <== NOT EXECUTED
    56f0:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
    56f4:	e59d0064 	ldr	r0, [sp, #100]                                <== NOT EXECUTED
    56f8:	e58d3008 	str	r3, [sp, #8]                                  <== NOT EXECUTED
    56fc:	eb004098 	bl	15964 <__aeabi_idiv>                           <== NOT EXECUTED
    5700:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
    5704:	e58d000c 	str	r0, [sp, #12]                                 <== NOT EXECUTED
    5708:	e59f10b8 	ldr	r1, [pc, #184]	; 57c8 <rtems_rate_monotonic_report_statistics_with_plugin+0x204><== NOT EXECUTED
    570c:	e59d2018 	ldr	r2, [sp, #24]                                 <== NOT EXECUTED
    5710:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    5714:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    5718:	e12fff15 	bx	r5                                             <== NOT EXECUTED
     *  print Wall time part of statistics                            
     */                                                               
    {                                                                 
    #ifdef RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS          
      struct timespec  wall_average;                                  
      _Timespec_Divide_by_integer(                                    
    571c:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
    5720:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
    5724:	e59d1010 	ldr	r1, [sp, #16]                                 <== NOT EXECUTED
    5728:	eb000dab 	bl	8ddc <_Timespec_Divide_by_integer>             <== NOT EXECUTED
         &the_stats.total_wall_time,                                  
         the_stats.count,                                             
         &wall_average                                                
      );                                                              
      (*print)( context,                                              
    572c:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
    5730:	e59d0034 	ldr	r0, [sp, #52]                                 <== NOT EXECUTED
    5734:	eb00408a 	bl	15964 <__aeabi_idiv>                           <== NOT EXECUTED
    5738:	e59d3038 	ldr	r3, [sp, #56]                                 <== NOT EXECUTED
    573c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    5740:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
    5744:	e59d003c 	ldr	r0, [sp, #60]                                 <== NOT EXECUTED
    5748:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    574c:	eb004084 	bl	15964 <__aeabi_idiv>                           <== NOT EXECUTED
    5750:	e59d3060 	ldr	r3, [sp, #96]                                 <== NOT EXECUTED
    5754:	e58d0004 	str	r0, [sp, #4]                                  <== NOT EXECUTED
    5758:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
    575c:	e59d0064 	ldr	r0, [sp, #100]                                <== NOT EXECUTED
    5760:	e58d3008 	str	r3, [sp, #8]                                  <== NOT EXECUTED
    5764:	eb00407e 	bl	15964 <__aeabi_idiv>                           <== NOT EXECUTED
    5768:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
    576c:	e58d000c 	str	r0, [sp, #12]                                 <== NOT EXECUTED
    5770:	e59f1054 	ldr	r1, [pc, #84]	; 57cc <rtems_rate_monotonic_report_statistics_with_plugin+0x208><== NOT EXECUTED
    5774:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    5778:	e59d2030 	ldr	r2, [sp, #48]                                 <== NOT EXECUTED
    577c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    5780:	e12fff15 	bx	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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    5784:	e2877001 	add	r7, r7, #1	; 0x1                              <== 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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
    5788:	e59f202c 	ldr	r2, [pc, #44]	; 57bc <rtems_rate_monotonic_report_statistics_with_plugin+0x1f8><== NOT EXECUTED
    578c:	e592300c 	ldr	r3, [r2, #12]                                 <== NOT EXECUTED
    5790:	e1570003 	cmp	r7, r3                                        <== NOT EXECUTED
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    5794:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    5798:	e1a01008 	mov	r1, r8                                        <== 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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
    579c:	9affffa7 	bls	5640 <rtems_rate_monotonic_report_statistics_with_plugin+0x7c><== NOT EXECUTED
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
    57a0:	e28dd070 	add	sp, sp, #112	; 0x70                           <== NOT EXECUTED
    57a4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      

000057e0 <rtems_rate_monotonic_reset_all_statistics>:
    57e0:	e59f303c 	ldr	r3, [pc, #60]	; 5824 <rtems_rate_monotonic_reset_all_statistics+0x44><== NOT EXECUTED
    57e4:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
    57e8:	e2822001 	add	r2, r2, #1	; 0x1                              <== NOT EXECUTED
                                                                      
/*                                                                    
 *  rtems_rate_monotonic_reset_all_statistics                         
 */                                                                   
void rtems_rate_monotonic_reset_all_statistics( void )                
{                                                                     
    57ec:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    57f0:	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 ;                 
    57f4:	e59f302c 	ldr	r3, [pc, #44]	; 5828 <rtems_rate_monotonic_reset_all_statistics+0x48><== NOT EXECUTED
          id <= _Rate_monotonic_Information.maximum_id ;              
    57f8:	e1a05003 	mov	r5, 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 ;                 
    57fc:	e5934008 	ldr	r4, [r3, #8]                                  <== NOT EXECUTED
    5800:	ea000000 	b	5808 <rtems_rate_monotonic_reset_all_statistics+0x28><== NOT EXECUTED
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      status = rtems_rate_monotonic_reset_statistics( id );           
    5804:	eb000008 	bl	582c <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 ;                 
          id <= _Rate_monotonic_Information.maximum_id ;              
    5808:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
    580c:	e1540003 	cmp	r4, r3                                        <== NOT EXECUTED
          id++ ) {                                                    
      status = rtems_rate_monotonic_reset_statistics( id );           
    5810:	e1a00004 	mov	r0, r4                                        <== 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 ;                 
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
    5814:	e2844001 	add	r4, r4, #1	; 0x1                              <== 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 ;                 
          id <= _Rate_monotonic_Information.maximum_id ;              
    5818:	9afffff9 	bls	5804 <rtems_rate_monotonic_reset_all_statistics+0x24><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
}                                                                     
    581c:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
    5820:	ea000979 	b	7e0c <_Thread_Enable_dispatch>                  <== NOT EXECUTED
                                                                      

0000582c <rtems_rate_monotonic_reset_statistics>: */ rtems_status_code rtems_rate_monotonic_reset_statistics( Objects_Id id ) {
    582c:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    5830:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    5834:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    5838:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    583c:	e59f0048 	ldr	r0, [pc, #72]	; 588c <rtems_rate_monotonic_reset_statistics+0x60><== NOT EXECUTED
    5840:	eb00074b 	bl	7574 <_Objects_Get>                            <== NOT EXECUTED
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
    5844:	e59d5000 	ldr	r5, [sp]                                      <== NOT EXECUTED
    5848:	e3550000 	cmp	r5, #0	; 0x0                                  <== NOT EXECUTED
    584c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    5850:	13a00004 	movne	r0, #4	; 0x4                                <== NOT EXECUTED
    5854:	1a00000a 	bne	5884 <rtems_rate_monotonic_reset_statistics+0x58><== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      _Rate_monotonic_Reset_statistics( the_period );                 
    5858:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    585c:	e3a02038 	mov	r2, #56	; 0x38                                <== NOT EXECUTED
    5860:	e2840054 	add	r0, r4, #84	; 0x54                            <== NOT EXECUTED
    5864:	eb002074 	bl	da3c <memset>                                  <== NOT EXECUTED
    5868:	e3e03102 	mvn	r3, #-2147483648	; 0x80000000                 <== NOT EXECUTED
    586c:	e5843078 	str	r3, [r4, #120]                                <== NOT EXECUTED
    5870:	e584305c 	str	r3, [r4, #92]                                 <== NOT EXECUTED
    5874:	e5843060 	str	r3, [r4, #96]                                 <== NOT EXECUTED
    5878:	e5843074 	str	r3, [r4, #116]                                <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
    587c:	eb000962 	bl	7e0c <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    5880:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
    5884:	e28dd004 	add	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    5888:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

0000f63c <rtems_region_extend>: rtems_status_code rtems_region_extend( Objects_Id id, void *starting_address, uint32_t length ) {
    f63c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  Heap_Extend_status  heap_status;                                    
  Objects_Locations   location;                                       
  rtems_status_code   return_status = RTEMS_INTERNAL_ERROR;           
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
    f640:	e2517000 	subs	r7, r1, #0	; 0x0                             
rtems_status_code rtems_region_extend(                                
  Objects_Id          id,                                             
  void               *starting_address,                               
  uint32_t            length                                          
)                                                                     
{                                                                     
    f644:	e1a04000 	mov	r4, r0                                        
    f648:	e24dd008 	sub	sp, sp, #8	; 0x8                              
    f64c:	e1a06002 	mov	r6, r2                                        
  Heap_Extend_status  heap_status;                                    
  Objects_Locations   location;                                       
  rtems_status_code   return_status = RTEMS_INTERNAL_ERROR;           
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
    f650:	03a04009 	moveq	r4, #9	; 0x9                                
    f654:	0a000029 	beq	f700 <rtems_region_extend+0xc4>               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
    f658:	e59f30ac 	ldr	r3, [pc, #172]	; f70c <rtems_region_extend+0xd0>
    f65c:	e5930000 	ldr	r0, [r3]                                      
    f660:	eb0008ec 	bl	11a18 <_API_Mutex_Lock>                        
RTEMS_INLINE_ROUTINE Region_Control *_Region_Get (                    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Region_Control *)                                           
    f664:	e1a01004 	mov	r1, r4                                        
    f668:	e59f00a0 	ldr	r0, [pc, #160]	; f710 <rtems_region_extend+0xd4>
    f66c:	e1a0200d 	mov	r2, sp                                        
    f670:	eb000f65 	bl	1340c <_Objects_Get_no_protection>             
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
    f674:	e59d5000 	ldr	r5, [sp]                                      
    f678:	e3550000 	cmp	r5, #0	; 0x0                                  
    f67c:	e1a04000 	mov	r4, r0                                        
    f680:	0a000003 	beq	f694 <rtems_region_extend+0x58>               
    f684:	e3550001 	cmp	r5, #1	; 0x1                                  
    f688:	03a04004 	moveq	r4, #4	; 0x4                                
    f68c:	1a000017 	bne	f6f0 <rtems_region_extend+0xb4>               
    f690:	ea000017 	b	f6f4 <rtems_region_extend+0xb8>                 
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        heap_status = _Heap_Extend(                                   
    f694:	e1a01007 	mov	r1, r7                                        
    f698:	e1a02006 	mov	r2, r6                                        
    f69c:	e2800068 	add	r0, r0, #104	; 0x68                           
    f6a0:	e28d3004 	add	r3, sp, #4	; 0x4                              
    f6a4:	eb000bd5 	bl	12600 <_Heap_Extend>                           
          starting_address,                                           
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        switch ( heap_status ) {                                      
    f6a8:	e3500001 	cmp	r0, #1	; 0x1                                  
    f6ac:	03a04009 	moveq	r4, #9	; 0x9                                
    f6b0:	0a00000f 	beq	f6f4 <rtems_region_extend+0xb8>               
    f6b4:	3a000002 	bcc	f6c4 <rtems_region_extend+0x88>               
    f6b8:	e3500002 	cmp	r0, #2	; 0x2                                  
    f6bc:	1a00000b 	bne	f6f0 <rtems_region_extend+0xb4>               
    f6c0:	ea000008 	b	f6e8 <rtems_region_extend+0xac>                 
          case HEAP_EXTEND_SUCCESSFUL:                                
            the_region->length                += amount_extended;     
    f6c4:	e59d1004 	ldr	r1, [sp, #4]                                  
    f6c8:	e5942054 	ldr	r2, [r4, #84]                                 
            the_region->maximum_segment_size  += amount_extended;     
    f6cc:	e594305c 	ldr	r3, [r4, #92]                                 
          &amount_extended                                            
        );                                                            
                                                                      
        switch ( heap_status ) {                                      
          case HEAP_EXTEND_SUCCESSFUL:                                
            the_region->length                += amount_extended;     
    f6d0:	e0822001 	add	r2, r2, r1                                    
            the_region->maximum_segment_size  += amount_extended;     
    f6d4:	e0833001 	add	r3, r3, r1                                    
    f6d8:	e584305c 	str	r3, [r4, #92]                                 
          &amount_extended                                            
        );                                                            
                                                                      
        switch ( heap_status ) {                                      
          case HEAP_EXTEND_SUCCESSFUL:                                
            the_region->length                += amount_extended;     
    f6dc:	e5842054 	str	r2, [r4, #84]                                 
            the_region->maximum_segment_size  += amount_extended;     
    f6e0:	e1a04005 	mov	r4, r5                                        
    f6e4:	ea000002 	b	f6f4 <rtems_region_extend+0xb8>                 
            return_status = RTEMS_SUCCESSFUL;                         
            break;                                                    
    f6e8:	e3a04018 	mov	r4, #24	; 0x18                                
    f6ec:	ea000000 	b	f6f4 <rtems_region_extend+0xb8>                 
    f6f0:	e3a04019 	mov	r4, #25	; 0x19                                <== NOT EXECUTED
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
    f6f4:	e59f3010 	ldr	r3, [pc, #16]	; f70c <rtems_region_extend+0xd0>
    f6f8:	e5930000 	ldr	r0, [r3]                                      
    f6fc:	eb0008e1 	bl	11a88 <_API_Mutex_Unlock>                      
  return return_status;                                               
}                                                                     
    f700:	e1a00004 	mov	r0, r4                                        
    f704:	e28dd008 	add	sp, sp, #8	; 0x8                              
    f708:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

0000fa38 <rtems_region_resize_segment>: Objects_Id id, void *segment, size_t size, size_t *old_size ) {
    fa38:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  uint32_t                 osize;                                     
  rtems_status_code        return_status = RTEMS_INTERNAL_ERROR;      
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
    fa3c:	e253a000 	subs	sl, r3, #0	; 0x0                             
  Objects_Id  id,                                                     
  void       *segment,                                                
  size_t      size,                                                   
  size_t     *old_size                                                
)                                                                     
{                                                                     
    fa40:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    fa44:	e1a04000 	mov	r4, r0                                        
    fa48:	e1a06001 	mov	r6, r1                                        
    fa4c:	e1a07002 	mov	r7, r2                                        
  uint32_t                 osize;                                     
  rtems_status_code        return_status = RTEMS_INTERNAL_ERROR;      
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
    fa50:	0a000029 	beq	fafc <rtems_region_resize_segment+0xc4>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
    fa54:	e59f80b0 	ldr	r8, [pc, #176]	; fb0c <rtems_region_resize_segment+0xd4>
    fa58:	e5980000 	ldr	r0, [r8]                                      
    fa5c:	eb0007ed 	bl	11a18 <_API_Mutex_Lock>                        
    fa60:	e1a01004 	mov	r1, r4                                        
    fa64:	e59f00a4 	ldr	r0, [pc, #164]	; fb10 <rtems_region_resize_segment+0xd8>
    fa68:	e28d2008 	add	r2, sp, #8	; 0x8                              
    fa6c:	eb000e66 	bl	1340c <_Objects_Get_no_protection>             
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
    fa70:	e59d3008 	ldr	r3, [sp, #8]                                  
    fa74:	e3530000 	cmp	r3, #0	; 0x0                                  
    fa78:	e1a05000 	mov	r5, r0                                        
    fa7c:	0a000005 	beq	fa98 <rtems_region_resize_segment+0x60>       
    fa80:	e3530001 	cmp	r3, #1	; 0x1                                  
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
    fa84:	e5980000 	ldr	r0, [r8]                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
    fa88:	03a04004 	moveq	r4, #4	; 0x4                                
    fa8c:	13a04019 	movne	r4, #25	; 0x19                              
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
    fa90:	eb0007fc 	bl	11a88 <_API_Mutex_Unlock>                      
    fa94:	ea000019 	b	fb00 <rtems_region_resize_segment+0xc8>         
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        _Region_Debug_Walk( the_region, 7 );                          
                                                                      
        status = _Heap_Resize_block(                                  
    fa98:	e28d3004 	add	r3, sp, #4	; 0x4                              
    fa9c:	e28dc00c 	add	ip, sp, #12	; 0xc                             
    faa0:	e1a01006 	mov	r1, r6                                        
    faa4:	e1a02007 	mov	r2, r7                                        
    faa8:	e2800068 	add	r0, r0, #104	; 0x68                           
    faac:	e58dc000 	str	ip, [sp]                                      
    fab0:	eb000c50 	bl	12bf8 <_Heap_Resize_block>                     
          segment,                                                    
          (uint32_t) size,                                            
          &osize,                                                     
          &avail_size                                                 
        );                                                            
        *old_size = (uint32_t) osize;                                 
    fab4:	e59d3004 	ldr	r3, [sp, #4]                                  
                                                                      
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL && avail_size > 0 )     
    fab8:	e2504000 	subs	r4, r0, #0	; 0x0                             
          segment,                                                    
          (uint32_t) size,                                            
          &osize,                                                     
          &avail_size                                                 
        );                                                            
        *old_size = (uint32_t) osize;                                 
    fabc:	e58a3000 	str	r3, [sl]                                      
                                                                      
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL && avail_size > 0 )     
    fac0:	1a000005 	bne	fadc <rtems_region_resize_segment+0xa4>       
    fac4:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
    fac8:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    facc:	0a000002 	beq	fadc <rtems_region_resize_segment+0xa4>       <== NOT EXECUTED
          _Region_Process_queue( the_region );    /* unlocks allocator */
    fad0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    fad4:	eb001f65 	bl	17870 <_Region_Process_queue>                  <== NOT EXECUTED
    fad8:	ea000008 	b	fb00 <rtems_region_resize_segment+0xc8>         <== NOT EXECUTED
        else                                                          
          _RTEMS_Unlock_allocator();                                  
    fadc:	e59f3028 	ldr	r3, [pc, #40]	; fb0c <rtems_region_resize_segment+0xd4>
    fae0:	e5930000 	ldr	r0, [r3]                                      
    fae4:	eb0007e7 	bl	11a88 <_API_Mutex_Unlock>                      
                                                                      
        return                                                        
    fae8:	e3540000 	cmp	r4, #0	; 0x0                                  
    faec:	0a000003 	beq	fb00 <rtems_region_resize_segment+0xc8>       
    faf0:	e3540001 	cmp	r4, #1	; 0x1                                  
    faf4:	0284400c 	addeq	r4, r4, #12	; 0xc                           
    faf8:	0a000000 	beq	fb00 <rtems_region_resize_segment+0xc8>       
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
    fafc:	e3a04009 	mov	r4, #9	; 0x9                                  
}                                                                     
    fb00:	e1a00004 	mov	r0, r4                                        
    fb04:	e28dd010 	add	sp, sp, #16	; 0x10                            
    fb08:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

000040dc <rtems_semaphore_create>: uint32_t count, rtems_attribute attribute_set, rtems_task_priority priority_ceiling, rtems_id *id ) {
    40dc:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  register Semaphore_Control *the_semaphore;                          
  CORE_mutex_Attributes       the_mutex_attributes;                   
  CORE_semaphore_Attributes   the_semaphore_attributes;               
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    40e0:	e250a000 	subs	sl, r0, #0	; 0x0                             
  uint32_t             count,                                         
  rtems_attribute      attribute_set,                                 
  rtems_task_priority  priority_ceiling,                              
  rtems_id            *id                                             
)                                                                     
{                                                                     
    40e4:	e24dd018 	sub	sp, sp, #24	; 0x18                            
    40e8:	e1a07001 	mov	r7, r1                                        
    40ec:	e1a04002 	mov	r4, r2                                        
    40f0:	e1a08003 	mov	r8, r3                                        
    40f4:	e59d9038 	ldr	r9, [sp, #56]                                 
  register Semaphore_Control *the_semaphore;                          
  CORE_mutex_Attributes       the_mutex_attributes;                   
  CORE_semaphore_Attributes   the_semaphore_attributes;               
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    40f8:	02800003 	addeq	r0, r0, #3	; 0x3                            
    40fc:	0a000062 	beq	428c <rtems_semaphore_create+0x1b0>           
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    4100:	e3590000 	cmp	r9, #0	; 0x0                                  
    4104:	03a00009 	moveq	r0, #9	; 0x9                                
    4108:	0a00005f 	beq	428c <rtems_semaphore_create+0x1b0>           
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  } else                                                              
#endif                                                                
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) ||            
    410c:	e21220c0 	ands	r2, r2, #192	; 0xc0                          
    4110:	0a000008 	beq	4138 <rtems_semaphore_create+0x5c>            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_binary_semaphore(            
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
  return ((attribute_set & RTEMS_SEMAPHORE_CLASS) == RTEMS_BINARY_SEMAPHORE);
    4114:	e2043030 	and	r3, r4, #48	; 0x30                            
              _Attributes_Is_priority_ceiling( attribute_set ) ) {    
                                                                      
    if ( ! ( (_Attributes_Is_binary_semaphore( attribute_set ) ||     
    4118:	e3530010 	cmp	r3, #16	; 0x10                                
    411c:	0a000001 	beq	4128 <rtems_semaphore_create+0x4c>            
    4120:	e3530020 	cmp	r3, #32	; 0x20                                
    4124:	1a000057 	bne	4288 <rtems_semaphore_create+0x1ac>           
    4128:	e3140004 	tst	r4, #4	; 0x4                                  
    412c:	0a000055 	beq	4288 <rtems_semaphore_create+0x1ac>           
             _Attributes_Is_priority( attribute_set ) ) )             
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  }                                                                   
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
    4130:	e35200c0 	cmp	r2, #192	; 0xc0                               
    4134:	0a000053 	beq	4288 <rtems_semaphore_create+0x1ac>           
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
    4138:	e2146030 	ands	r6, r4, #48	; 0x30                           
    413c:	0a000002 	beq	414c <rtems_semaphore_create+0x70>            
    4140:	e3570001 	cmp	r7, #1	; 0x1                                  
    4144:	83a0000a 	movhi	r0, #10	; 0xa                               
    4148:	8a00004f 	bhi	428c <rtems_semaphore_create+0x1b0>           
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    414c:	e59f2140 	ldr	r2, [pc, #320]	; 4294 <rtems_semaphore_create+0x1b8>
    4150:	e5923000 	ldr	r3, [r2]                                      
    4154:	e2833001 	add	r3, r3, #1	; 0x1                              
    4158:	e5823000 	str	r3, [r2]                                      
 *  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 );
    415c:	e59f0134 	ldr	r0, [pc, #308]	; 4298 <rtems_semaphore_create+0x1bc>
    4160:	eb000500 	bl	5568 <_Objects_Allocate>                       
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_semaphore = _Semaphore_Allocate();                              
                                                                      
  if ( !the_semaphore ) {                                             
    4164:	e2505000 	subs	r5, r0, #0	; 0x0                             
    4168:	1a000002 	bne	4178 <rtems_semaphore_create+0x9c>            
    _Thread_Enable_dispatch();                                        
    416c:	eb00084b 	bl	62a0 <_Thread_Enable_dispatch>                 
    4170:	e3a00005 	mov	r0, #5	; 0x5                                  
    4174:	ea000044 	b	428c <rtems_semaphore_create+0x1b0>             
   *  If it is not a counting semaphore, then it is either a          
   *  simple binary semaphore or a more powerful mutex style binary   
   *  semaphore.                                                      
   */                                                                 
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) ) {        
    4178:	e3560000 	cmp	r6, #0	; 0x0                                  
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_semaphore->attribute_set = attribute_set;                       
    417c:	e5854010 	str	r4, [r5, #16]                                 
   *  If it is not a counting semaphore, then it is either a          
   *  simple binary semaphore or a more powerful mutex style binary   
   *  semaphore.                                                      
   */                                                                 
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) ) {        
    4180:	0a000029 	beq	422c <rtems_semaphore_create+0x150>           
    CORE_mutex_Status mutex_status;                                   
                                                                      
    if ( _Attributes_Is_inherit_priority( attribute_set ) )           
    4184:	e3140040 	tst	r4, #64	; 0x40                                
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
    4188:	13a03002 	movne	r3, #2	; 0x2                                
   */                                                                 
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) ) {        
    CORE_mutex_Status mutex_status;                                   
                                                                      
    if ( _Attributes_Is_inherit_priority( attribute_set ) )           
    418c:	1a000004 	bne	41a4 <rtems_semaphore_create+0xc8>            
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
    else if ( _Attributes_Is_priority_ceiling( attribute_set ) )      
    4190:	e3140080 	tst	r4, #128	; 0x80                               
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
    4194:	13a03003 	movne	r3, #3	; 0x3                                
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) ) {        
    CORE_mutex_Status mutex_status;                                   
                                                                      
    if ( _Attributes_Is_inherit_priority( attribute_set ) )           
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
    else if ( _Attributes_Is_priority_ceiling( attribute_set ) )      
    4198:	1a000001 	bne	41a4 <rtems_semaphore_create+0xc8>            
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
    else if ( _Attributes_Is_priority( attribute_set ) )              
    419c:	e2143004 	ands	r3, r4, #4	; 0x4                             
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;
    41a0:	13a03001 	movne	r3, #1	; 0x1                                
    else                                                              
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_FIFO;  
                                                                      
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
    41a4:	e3560010 	cmp	r6, #16	; 0x10                                
    else if ( _Attributes_Is_priority_ceiling( attribute_set ) )      
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
    else if ( _Attributes_Is_priority( attribute_set ) )              
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;
    else                                                              
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_FIFO;  
    41a8:	e58d3008 	str	r3, [sp, #8]                                  
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
          the_mutex_attributes.only_owner_release = TRUE;             
          break;                                                      
      }                                                               
    } else {                                                          
      the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;
    41ac:	13a03002 	movne	r3, #2	; 0x2                                
    41b0:	158d3000 	strne	r3, [sp]                                    
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;
    else                                                              
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_FIFO;  
                                                                      
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
    41b4:	1a00000b 	bne	41e8 <rtems_semaphore_create+0x10c>           
      the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
                                                                      
      switch ( the_mutex_attributes.discipline ) {                    
    41b8:	e59d2008 	ldr	r2, [sp, #8]                                  
    else                                                              
      the_mutex_attributes.discipline = CORE_MUTEX_DISCIPLINES_FIFO;  
                                                                      
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
      the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    41bc:	e3a03000 	mov	r3, #0	; 0x0                                  
    41c0:	e58d3000 	str	r3, [sp]                                      
                                                                      
      switch ( the_mutex_attributes.discipline ) {                    
    41c4:	e3520003 	cmp	r2, #3	; 0x3                                  
    41c8:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
    41cc:	ea000007 	b	41f0 <rtems_semaphore_create+0x114>             <== NOT EXECUTED
    41d0:	000041e8 	.word	0x000041e8                                  <== NOT EXECUTED
    41d4:	000041e8 	.word	0x000041e8                                  <== NOT EXECUTED
    41d8:	000041e0 	.word	0x000041e0                                  <== NOT EXECUTED
    41dc:	000041e0 	.word	0x000041e0                                  <== NOT EXECUTED
        case CORE_MUTEX_DISCIPLINES_PRIORITY:                         
          the_mutex_attributes.only_owner_release = FALSE;            
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
          the_mutex_attributes.only_owner_release = TRUE;             
    41e0:	e3a03001 	mov	r3, #1	; 0x1                                  
    41e4:	ea000000 	b	41ec <rtems_semaphore_create+0x110>             
          break;                                                      
      }                                                               
    } else {                                                          
      the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;
      the_mutex_attributes.only_owner_release = FALSE;                
    41e8:	e3a03000 	mov	r3, #0	; 0x0                                  
    41ec:	e5cd3004 	strb	r3, [sp, #4]                                 
    }                                                                 
                                                                      
    the_mutex_attributes.priority_ceiling = priority_ceiling;         
                                                                      
    mutex_status = _CORE_mutex_Initialize(                            
    41f0:	e3570001 	cmp	r7, #1	; 0x1                                  
    41f4:	13a02000 	movne	r2, #0	; 0x0                                
    41f8:	03a02001 	moveq	r2, #1	; 0x1                                
    41fc:	e2850014 	add	r0, r5, #20	; 0x14                            
    4200:	e1a0100d 	mov	r1, sp                                        
    } else {                                                          
      the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;
      the_mutex_attributes.only_owner_release = FALSE;                
    }                                                                 
                                                                      
    the_mutex_attributes.priority_ceiling = priority_ceiling;         
    4204:	e58d800c 	str	r8, [sp, #12]                                 
                                                                      
    mutex_status = _CORE_mutex_Initialize(                            
    4208:	eb0002ff 	bl	4e0c <_CORE_mutex_Initialize>                  
      &the_semaphore->Core_control.mutex,                             
      &the_mutex_attributes,                                          
      (count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED          
     );                                                               
                                                                      
     if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {      
    420c:	e3500006 	cmp	r0, #6	; 0x6                                  
    4210:	1a000012 	bne	4260 <rtems_semaphore_create+0x184>           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
    4214:	e59f007c 	ldr	r0, [pc, #124]	; 4298 <rtems_semaphore_create+0x1bc><== NOT EXECUTED
    4218:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    421c:	eb0005a0 	bl	58a4 <_Objects_Free>                           <== NOT EXECUTED
       _Semaphore_Free( the_semaphore );                              
       _Thread_Enable_dispatch();                                     
    4220:	eb00081e 	bl	62a0 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    4224:	e3a00013 	mov	r0, #19	; 0x13                                <== NOT EXECUTED
    4228:	ea000017 	b	428c <rtems_semaphore_create+0x1b0>             <== NOT EXECUTED
       return RTEMS_INVALID_PRIORITY;                                 
     }                                                                
  } else {                                                            
    if ( _Attributes_Is_priority( attribute_set ) )                   
    422c:	e3140004 	tst	r4, #4	; 0x4                                  
      the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
    4230:	13a03001 	movne	r3, #1	; 0x1                                
                                                                      
    /*                                                                
     *  The following are just to make Purify happy.                  
     */                                                               
                                                                      
    the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    4234:	e3a0c000 	mov	ip, #0	; 0x0                                  
       _Thread_Enable_dispatch();                                     
       return RTEMS_INVALID_PRIORITY;                                 
     }                                                                
  } else {                                                            
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
    4238:	158d3014 	strne	r3, [sp, #20]                               
     */                                                               
                                                                      
    the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    the_mutex_attributes.priority_ceiling = PRIORITY_MINIMUM;         
                                                                      
    _CORE_semaphore_Initialize(                                       
    423c:	e1a02007 	mov	r2, r7                                        
                                                                      
    /*                                                                
     *  This effectively disables limit checking.                     
     */                                                               
                                                                      
    the_semaphore_attributes.maximum_count = 0xFFFFFFFF;              
    4240:	e3e03000 	mvn	r3, #0	; 0x0                                  
     */                                                               
                                                                      
    the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    the_mutex_attributes.priority_ceiling = PRIORITY_MINIMUM;         
                                                                      
    _CORE_semaphore_Initialize(                                       
    4244:	e2850014 	add	r0, r5, #20	; 0x14                            
    4248:	e28d1010 	add	r1, sp, #16	; 0x10                            
     }                                                                
  } else {                                                            
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
    else                                                              
      the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
    424c:	058d6014 	streq	r6, [sp, #20]                               
                                                                      
    /*                                                                
     *  This effectively disables limit checking.                     
     */                                                               
                                                                      
    the_semaphore_attributes.maximum_count = 0xFFFFFFFF;              
    4250:	e58d3010 	str	r3, [sp, #16]                                 
    /*                                                                
     *  The following are just to make Purify happy.                  
     */                                                               
                                                                      
    the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    the_mutex_attributes.priority_ceiling = PRIORITY_MINIMUM;         
    4254:	e58dc00c 	str	ip, [sp, #12]                                 
                                                                      
    /*                                                                
     *  The following are just to make Purify happy.                  
     */                                                               
                                                                      
    the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
    4258:	e58dc000 	str	ip, [sp]                                      
    the_mutex_attributes.priority_ceiling = PRIORITY_MINIMUM;         
                                                                      
    _CORE_semaphore_Initialize(                                       
    425c:	eb0003b7 	bl	5140 <_CORE_semaphore_Initialize>              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    4260:	e59f3030 	ldr	r3, [pc, #48]	; 4298 <rtems_semaphore_create+0x1bc>
    4264:	e5952008 	ldr	r2, [r5, #8]                                  
    4268:	e593101c 	ldr	r1, [r3, #28]                                 
    426c:	e1d530b8 	ldrh	r3, [r5, #8]                                 
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
    4270:	e585a00c 	str	sl, [r5, #12]                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
    4274:	e7815103 	str	r5, [r1, r3, lsl #2]                          
    &_Semaphore_Information,                                          
    &the_semaphore->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_semaphore->Object.id;                                     
    4278:	e5892000 	str	r2, [r9]                                      
      the_semaphore->Object.id,                                       
      name,                                                           
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
    427c:	eb000807 	bl	62a0 <_Thread_Enable_dispatch>                 
    4280:	e3a00000 	mov	r0, #0	; 0x0                                  
    4284:	ea000000 	b	428c <rtems_semaphore_create+0x1b0>             
  return RTEMS_SUCCESSFUL;                                            
    4288:	e3a0000b 	mov	r0, #11	; 0xb                                 
}                                                                     
    428c:	e28dd018 	add	sp, sp, #24	; 0x18                            
    4290:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      

0000fe18 <rtems_semaphore_flush>: #endif rtems_status_code rtems_semaphore_flush( rtems_id id ) {
    fe18:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
    fe1c:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    fe20:	e1a01000 	mov	r1, r0                                        
RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    fe24:	e1a0200d 	mov	r2, sp                                        
    fe28:	e59f0048 	ldr	r0, [pc, #72]	; fe78 <rtems_semaphore_flush+0x60>
    fe2c:	eb000d87 	bl	13450 <_Objects_Get>                           
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
    fe30:	e59d2000 	ldr	r2, [sp]                                      
    fe34:	e3520000 	cmp	r2, #0	; 0x0                                  
    fe38:	13a00004 	movne	r0, #4	; 0x4                                
    fe3c:	1a00000b 	bne	fe70 <rtems_semaphore_flush+0x58>             
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
    fe40:	e5903010 	ldr	r3, [r0, #16]                                 
    fe44:	e2131030 	ands	r1, r3, #48	; 0x30                           
    fe48:	e2800014 	add	r0, r0, #20	; 0x14                            
    fe4c:	0a000003 	beq	fe60 <rtems_semaphore_flush+0x48>             
        _CORE_mutex_Flush(                                            
    fe50:	e1a01002 	mov	r1, r2                                        
    fe54:	e3a02001 	mov	r2, #1	; 0x1                                  
    fe58:	eb000851 	bl	11fa4 <_CORE_mutex_Flush>                      
    fe5c:	ea000001 	b	fe68 <rtems_semaphore_flush+0x50>               
          &the_semaphore->Core_control.mutex,                         
          SEND_OBJECT_WAS_DELETED,                                    
          CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT                        
        );                                                            
      } else {                                                        
        _CORE_semaphore_Flush(                                        
    fe60:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    fe64:	eb00091b 	bl	122d8 <_CORE_semaphore_Flush>                  <== NOT EXECUTED
          &the_semaphore->Core_control.semaphore,                     
          SEND_OBJECT_WAS_DELETED,                                    
          CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT                    
        );                                                            
      }                                                               
      _Thread_Enable_dispatch();                                      
    fe68:	eb000f9e 	bl	13ce8 <_Thread_Enable_dispatch>                
    fe6c:	e3a00000 	mov	r0, #0	; 0x0                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
    fe70:	e28dd004 	add	sp, sp, #4	; 0x4                              
    fe74:	e8bd8000 	pop	{pc}                                          
                                                                      

00013ba8 <rtems_shutdown_executive>: */ void rtems_shutdown_executive( uint32_t result ) {
   13ba8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  if ( _System_state_Current != SYSTEM_STATE_SHUTDOWN ) {             
   13bac:	e59f2024 	ldr	r2, [pc, #36]	; 13bd8 <rtems_shutdown_executive+0x30>
   13bb0:	e5923000 	ldr	r3, [r2]                                      
   13bb4:	e3530004 	cmp	r3, #4	; 0x4                                  
 */                                                                   
                                                                      
void rtems_shutdown_executive(                                        
   uint32_t   result                                                  
)                                                                     
{                                                                     
   13bb8:	e24dd030 	sub	sp, sp, #48	; 0x30                            
   13bbc:	13a03004 	movne	r3, #4	; 0x4                                
  Context_Control *context_p = &context_area;                         
                                                                      
  if ( _System_state_Is_up(_System_state_Get ()) )                    
    context_p = &_Thread_Executing->Registers;                        
                                                                      
  _Context_Switch( context_p, &_Thread_BSP_context );                 
   13bc0:	11a0000d 	movne	r0, sp                                      
   13bc4:	159f1010 	ldrne	r1, [pc, #16]	; 13bdc <rtems_shutdown_executive+0x34>
   13bc8:	15823000 	strne	r3, [r2]                                    
   13bcc:	1bffcec6 	blne	76ec <_CPU_Context_switch>                   
  if ( _System_state_Current != SYSTEM_STATE_SHUTDOWN ) {             
    _System_state_Set( SYSTEM_STATE_SHUTDOWN );                       
    _Thread_Stop_multitasking();                                      
  }                                                                   
}                                                                     
   13bd0:	e28dd030 	add	sp, sp, #48	; 0x30                            <== NOT EXECUTED
   13bd4:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

00001bfc <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) { Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack;
    1bfc:	e59f3084 	ldr	r3, [pc, #132]	; 1c88 <rtems_stack_checker_is_blown+0x8c><== NOT EXECUTED
    1c00:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
    1c04:	e1a0c00d 	mov	ip, sp                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  void *sp = __builtin_frame_address(0);                              
                                                                      
  #if defined(__GNUC__)                                               
    if ( sp < the_stack->area ) {                                     
    1c08:	e59300c8 	ldr	r0, [r3, #200]                                <== NOT EXECUTED
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
    1c0c:	e92dd810 	push	{r4, fp, ip, lr, pc}                         <== NOT EXECUTED
    1c10:	e24cb004 	sub	fp, ip, #4	; 0x4                              <== NOT EXECUTED
)                                                                     
{                                                                     
  void *sp = __builtin_frame_address(0);                              
                                                                      
  #if defined(__GNUC__)                                               
    if ( sp < the_stack->area ) {                                     
    1c14:	e15b0000 	cmp	fp, r0                                        <== NOT EXECUTED
    1c18:	33a04000 	movcc	r4, #0	; 0x0                                <== NOT EXECUTED
    1c1c:	3a000004 	bcc	1c34 <rtems_stack_checker_is_blown+0x38>      <== NOT EXECUTED
    1c20:	e59330c4 	ldr	r3, [r3, #196]                                <== NOT EXECUTED
    1c24:	e0803003 	add	r3, r0, r3                                    <== NOT EXECUTED
    1c28:	e15b0003 	cmp	fp, r3                                        <== NOT EXECUTED
    1c2c:	83a04000 	movhi	r4, #0	; 0x0                                <== NOT EXECUTED
    1c30:	93a04001 	movls	r4, #1	; 0x1                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
    1c34:	e59f3050 	ldr	r3, [pc, #80]	; 1c8c <rtems_stack_checker_is_blown+0x90><== NOT EXECUTED
    1c38:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    1c3c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    1c40:	03a01001 	moveq	r1, #1	; 0x1                                <== NOT EXECUTED
    1c44:	0a000005 	beq	1c60 <rtems_stack_checker_is_blown+0x64>      <== NOT EXECUTED
    pattern_ok = (!memcmp(                                            
    1c48:	e59f1040 	ldr	r1, [pc, #64]	; 1c90 <rtems_stack_checker_is_blown+0x94><== NOT EXECUTED
    1c4c:	e2800008 	add	r0, r0, #8	; 0x8                              <== NOT EXECUTED
    1c50:	e3a02010 	mov	r2, #16	; 0x10                                <== NOT EXECUTED
    1c54:	eb002cc0 	bl	cf5c <memcmp>                                  <== NOT EXECUTED
    1c58:	e2701001 	rsbs	r1, r0, #1	; 0x1                             <== NOT EXECUTED
    1c5c:	33a01000 	movcc	r1, #0	; 0x0                                <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
    1c60:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    1c64:	0a000002 	beq	1c74 <rtems_stack_checker_is_blown+0x78>      <== NOT EXECUTED
    1c68:	e3510000 	cmp	r1, #0	; 0x0                                  <== NOT EXECUTED
    1c6c:	13a00000 	movne	r0, #0	; 0x0                                <== NOT EXECUTED
    1c70:	189da810 	ldmne	sp, {r4, fp, sp, pc}                        <== NOT EXECUTED
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
    1c74:	e59f300c 	ldr	r3, [pc, #12]	; 1c88 <rtems_stack_checker_is_blown+0x8c><== NOT EXECUTED
    1c78:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    1c7c:	ebffffc4 	bl	1b94 <Stack_check_report_blown_task>           <== NOT EXECUTED
    1c80:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
  return true;                                                        
}                                                                     
    1c84:	e89da810 	ldm	sp, {r4, fp, sp, pc}                          <== NOT EXECUTED
                                                                      

00001b84 <rtems_stack_checker_report_usage>: void rtems_stack_checker_report_usage( void ) { rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
    1b84:	e59f1004 	ldr	r1, [pc, #4]	; 1b90 <rtems_stack_checker_report_usage+0xc><== NOT EXECUTED
    1b88:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    1b8c:	eaffffe1 	b	1b18 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
                                                                      

00001b18 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
    1b18:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
  print_context = context;                                            
    1b1c:	e59f704c 	ldr	r7, [pc, #76]	; 1b70 <rtems_stack_checker_report_usage_with_plugin+0x58><== NOT EXECUTED
  print_handler = print;                                              
    1b20:	e59f604c 	ldr	r6, [pc, #76]	; 1b74 <rtems_stack_checker_report_usage_with_plugin+0x5c><== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
    1b24:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
    1b28:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
    1b2c:	e5861000 	str	r1, [r6]                                      <== NOT EXECUTED
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
  print_context = context;                                            
    1b30:	e5870000 	str	r0, [r7]                                      <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
    1b34:	e59f103c 	ldr	r1, [pc, #60]	; 1b78 <rtems_stack_checker_report_usage_with_plugin+0x60><== NOT EXECUTED
    1b38:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1b3c:	e12fff14 	bx	r4                                             <== NOT EXECUTED
  (*print)( context,                                                  
    1b40:	e59f1034 	ldr	r1, [pc, #52]	; 1b7c <rtems_stack_checker_report_usage_with_plugin+0x64><== NOT EXECUTED
    1b44:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    1b48:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1b4c:	e12fff14 	bx	r4                                             <== 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 );   
    1b50:	e59f0028 	ldr	r0, [pc, #40]	; 1b80 <rtems_stack_checker_report_usage_with_plugin+0x68><== NOT EXECUTED
    1b54:	eb0012cd 	bl	6690 <rtems_iterate_over_all_threads>          <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
    1b58:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    1b5c:	ebffff96 	bl	19bc <Stack_check_Dump_threads_usage>          <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
    1b60:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
  print_handler = NULL;                                               
    1b64:	e5863000 	str	r3, [r6]                                      <== NOT EXECUTED
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
                                                                      
  print_context = NULL;                                               
    1b68:	e5873000 	str	r3, [r7]                                      <== NOT EXECUTED
  print_handler = NULL;                                               
                                                                      
}                                                                     
    1b6c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

000022b4 <rtems_status_text>: const char * rtems_status_text( rtems_status_code status ) {
    22b4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    return rtems_assoc_name_by_local(rtems_status_assoc, status);     
    22b8:	e59f0000 	ldr	r0, [pc, #0]	; 22c0 <rtems_status_text+0xc>   <== NOT EXECUTED
    22bc:	ea002008 	b	a2e4 <rtems_assoc_name_by_local>                <== NOT EXECUTED
                                                                      

000055b8 <rtems_task_variable_add>: rtems_status_code rtems_task_variable_add( rtems_id tid, void **ptr, void (*dtor)(void *) ) {
    55b8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
    55bc:	e2516000 	subs	r6, r1, #0	; 0x0                             
rtems_status_code rtems_task_variable_add(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void (*dtor)(void *)                                                
)                                                                     
{                                                                     
    55c0:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    55c4:	e1a07002 	mov	r7, r2                                        
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
    55c8:	03a00009 	moveq	r0, #9	; 0x9                                
    55cc:	0a000022 	beq	565c <rtems_task_variable_add+0xa4>           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
    55d0:	e1a0100d 	mov	r1, sp                                        
    55d4:	eb000726 	bl	7274 <_Thread_Get>                             
  switch (location) {                                                 
    55d8:	e59d3000 	ldr	r3, [sp]                                      
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
    55dc:	e1a05000 	mov	r5, r0                                        
  switch (location) {                                                 
    55e0:	e3530000 	cmp	r3, #0	; 0x0                                  
    55e4:	13a00004 	movne	r0, #4	; 0x4                                
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
    55e8:	05954114 	ldreq	r4, [r5, #276]                              
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
    55ec:	0a000008 	beq	5614 <rtems_task_variable_add+0x5c>           
    55f0:	ea000019 	b	565c <rtems_task_variable_add+0xa4>             <== NOT EXECUTED
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
    55f4:	e5943004 	ldr	r3, [r4, #4]                                  
    55f8:	e1530006 	cmp	r3, r6                                        
    55fc:	1a000003 	bne	5610 <rtems_task_variable_add+0x58>           
          tvp->dtor = dtor;                                           
    5600:	e5847010 	str	r7, [r4, #16]                                 
          _Thread_Enable_dispatch();                                  
    5604:	eb000711 	bl	7250 <_Thread_Enable_dispatch>                 
    5608:	e3a00000 	mov	r0, #0	; 0x0                                  
    560c:	ea000012 	b	565c <rtems_task_variable_add+0xa4>             
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
    5610:	e5944000 	ldr	r4, [r4]                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
    5614:	e3540000 	cmp	r4, #0	; 0x0                                  
    5618:	1afffff5 	bne	55f4 <rtems_task_variable_add+0x3c>           
      }                                                               
                                                                      
      /*                                                              
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
    561c:	e3a00014 	mov	r0, #20	; 0x14                                
    5620:	eb000ba8 	bl	84c8 <_Workspace_Allocate>                     
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
    5624:	e3500000 	cmp	r0, #0	; 0x0                                  
    5628:	1a000002 	bne	5638 <rtems_task_variable_add+0x80>           
        _Thread_Enable_dispatch();                                    
    562c:	eb000707 	bl	7250 <_Thread_Enable_dispatch>                 
    5630:	e3a0001a 	mov	r0, #26	; 0x1a                                
    5634:	ea000008 	b	565c <rtems_task_variable_add+0xa4>             
      }                                                               
      new->gval = *ptr;                                               
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
    5638:	e5952114 	ldr	r2, [r5, #276]                                
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
    563c:	e5963000 	ldr	r3, [r6]                                      
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
      the_thread->task_variables = new;                               
    5640:	e5850114 	str	r0, [r5, #276]                                
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
    5644:	e5803008 	str	r3, [r0, #8]                                  
      new->ptr = ptr;                                                 
    5648:	e5806004 	str	r6, [r0, #4]                                  
      new->dtor = dtor;                                               
    564c:	e5807010 	str	r7, [r0, #16]                                 
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
    5650:	e5802000 	str	r2, [r0]                                      
      the_thread->task_variables = new;                               
      _Thread_Enable_dispatch();                                      
    5654:	eb0006fd 	bl	7250 <_Thread_Enable_dispatch>                 
    5658:	e1a00004 	mov	r0, r4                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
    565c:	e28dd004 	add	sp, sp, #4	; 0x4                              
    5660:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

00005664 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
    5664:	e92d4010 	push	{r4, lr}                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    5668:	e2514000 	subs	r4, r1, #0	; 0x0                             
                                                                      
rtems_status_code rtems_task_variable_delete(                         
  rtems_id  tid,                                                      
  void    **ptr                                                       
)                                                                     
{                                                                     
    566c:	e24dd004 	sub	sp, sp, #4	; 0x4                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    5670:	0a000018 	beq	56d8 <rtems_task_variable_delete+0x74>        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
    5674:	e1a0100d 	mov	r1, sp                                        
    5678:	eb0006fd 	bl	7274 <_Thread_Get>                             
  switch (location) {                                                 
    567c:	e59d3000 	ldr	r3, [sp]                                      
    5680:	e3530000 	cmp	r3, #0	; 0x0                                  
    5684:	13a00004 	movne	r0, #4	; 0x4                                
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
    5688:	01a02003 	moveq	r2, r3                                      
    568c:	05901114 	ldreq	r1, [r0, #276]                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
    5690:	0a00000d 	beq	56cc <rtems_task_variable_delete+0x68>        
    5694:	ea000010 	b	56dc <rtems_task_variable_delete+0x78>          <== NOT EXECUTED
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
    5698:	e5913004 	ldr	r3, [r1, #4]                                  
    569c:	e1530004 	cmp	r3, r4                                        
    56a0:	1a000007 	bne	56c4 <rtems_task_variable_delete+0x60>        
    56a4:	e5913000 	ldr	r3, [r1]                                      
          if (prev)                                                   
    56a8:	e3520000 	cmp	r2, #0	; 0x0                                  
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
    56ac:	05803114 	streq	r3, [r0, #276]                              
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
    56b0:	15823000 	strne	r3, [r2]                                    
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
    56b4:	eb000028 	bl	575c <_RTEMS_Tasks_Invoke_task_variable_dtor>  
          _Thread_Enable_dispatch();                                  
    56b8:	eb0006e4 	bl	7250 <_Thread_Enable_dispatch>                 
    56bc:	e3a00000 	mov	r0, #0	; 0x0                                  
    56c0:	ea000005 	b	56dc <rtems_task_variable_delete+0x78>          
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
    56c4:	e1a02001 	mov	r2, r1                                        
    56c8:	e5911000 	ldr	r1, [r1]                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
    56cc:	e3510000 	cmp	r1, #0	; 0x0                                  
    56d0:	1afffff0 	bne	5698 <rtems_task_variable_delete+0x34>        
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
    56d4:	eb0006dd 	bl	7250 <_Thread_Enable_dispatch>                 
    56d8:	e3a00009 	mov	r0, #9	; 0x9                                  
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
    56dc:	e28dd004 	add	sp, sp, #4	; 0x4                              
    56e0:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

000056e4 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
    56e4:	e92d4030 	push	{r4, r5, lr}                                 
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
    56e8:	e2515000 	subs	r5, r1, #0	; 0x0                             
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
    56ec:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    56f0:	e1a04002 	mov	r4, r2                                        
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
    56f4:	0a000015 	beq	5750 <rtems_task_variable_get+0x6c>           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
    56f8:	e3520000 	cmp	r2, #0	; 0x0                                  
    56fc:	0a000013 	beq	5750 <rtems_task_variable_get+0x6c>           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
    5700:	e1a0100d 	mov	r1, sp                                        
    5704:	eb0006da 	bl	7274 <_Thread_Get>                             
  switch (location) {                                                 
    5708:	e59d3000 	ldr	r3, [sp]                                      
    570c:	e3530000 	cmp	r3, #0	; 0x0                                  
    5710:	13a00004 	movne	r0, #4	; 0x4                                
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
    5714:	05900114 	ldreq	r0, [r0, #276]                              
                                                                      
  if ( !result )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
    5718:	0a000009 	beq	5744 <rtems_task_variable_get+0x60>           
    571c:	ea00000c 	b	5754 <rtems_task_variable_get+0x70>             <== NOT EXECUTED
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
    5720:	e5903004 	ldr	r3, [r0, #4]                                  
    5724:	e1530005 	cmp	r3, r5                                        
    5728:	1a000004 	bne	5740 <rtems_task_variable_get+0x5c>           
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
    572c:	e590300c 	ldr	r3, [r0, #12]                                 
    5730:	e5843000 	str	r3, [r4]                                      
          _Thread_Enable_dispatch();                                  
    5734:	eb0006c5 	bl	7250 <_Thread_Enable_dispatch>                 
    5738:	e3a00000 	mov	r0, #0	; 0x0                                  
    573c:	ea000004 	b	5754 <rtems_task_variable_get+0x70>             
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
    5740:	e5900000 	ldr	r0, [r0]                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
    5744:	e3500000 	cmp	r0, #0	; 0x0                                  
    5748:	1afffff4 	bne	5720 <rtems_task_variable_get+0x3c>           
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
    574c:	eb0006bf 	bl	7250 <_Thread_Enable_dispatch>                 
      return RTEMS_INVALID_ADDRESS;                                   
    5750:	e3a00009 	mov	r0, #9	; 0x9                                  
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
    5754:	e28dd004 	add	sp, sp, #4	; 0x4                              
    5758:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00001f78 <rtems_termios_bufsize>: int cbufsize, int raw_input, int raw_output ) { rtems_termios_cbufsize = cbufsize;
    1f78:	e59f3018 	ldr	r3, [pc, #24]	; 1f98 <rtems_termios_bufsize+0x20><== NOT EXECUTED
    1f7c:	e5830000 	str	r0, [r3]                                      <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
    1f80:	e59f3014 	ldr	r3, [pc, #20]	; 1f9c <rtems_termios_bufsize+0x24><== NOT EXECUTED
    1f84:	e5831000 	str	r1, [r3]                                      <== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
    1f88:	e59f3010 	ldr	r3, [pc, #16]	; 1fa0 <rtems_termios_bufsize+0x28><== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
    1f8c:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
  rtems_termios_raw_input_size  = raw_input;                          
  rtems_termios_raw_output_size = raw_output;                         
    1f90:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
    1f94:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

0000340c <rtems_termios_close>: { rtems_libio_open_close_args_t *args = arg; struct rtems_termios_tty *tty = args->iop->data1; rtems_status_code sc; sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    340c:	e59f316c 	ldr	r3, [pc, #364]	; 3580 <rtems_termios_close+0x174>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
    3410:	e590c000 	ldr	ip, [r0]                                      
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3414:	e3a01000 	mov	r1, #0	; 0x0                                  
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
    3418:	e92d4030 	push	{r4, r5, lr}                                 
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    341c:	e1a02001 	mov	r2, r1                                        
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
    3420:	e1a05000 	mov	r5, r0                                        
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3424:	e5930000 	ldr	r0, [r3]                                      
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
    3428:	e59c4028 	ldr	r4, [ip, #40]                                 
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    342c:	eb0003c3 	bl	4340 <rtems_semaphore_obtain>                  
	if (sc != RTEMS_SUCCESSFUL)                                          
    3430:	e3500000 	cmp	r0, #0	; 0x0                                  
    3434:	1a00001d 	bne	34b0 <rtems_termios_close+0xa4>               
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
    3438:	e5943008 	ldr	r3, [r4, #8]                                  
    343c:	e2433001 	sub	r3, r3, #1	; 0x1                              
    3440:	e3530000 	cmp	r3, #0	; 0x0                                  
    3444:	e5843008 	str	r3, [r4, #8]                                  
    3448:	1a000047 	bne	356c <rtems_termios_close+0x160>              
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
    344c:	e59420cc 	ldr	r2, [r4, #204]                                
    3450:	e59f312c 	ldr	r3, [pc, #300]	; 3584 <rtems_termios_close+0x178>
    3454:	e0833282 	add	r3, r3, r2, lsl #5                            
    3458:	e5933004 	ldr	r3, [r3, #4]                                  
    345c:	e3530000 	cmp	r3, #0	; 0x0                                  
    3460:	0a000003 	beq	3474 <rtems_termios_close+0x68>               
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
    3464:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3468:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    346c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    3470:	ea000001 	b	347c <rtems_termios_close+0x70>                 <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
		        drainOutput (tty);                                          
    3474:	e1a00004 	mov	r0, r4                                        
    3478:	ebfffdee 	bl	2c38 <drainOutput>                             
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
    347c:	e59430b4 	ldr	r3, [r4, #180]                                
    3480:	e3530002 	cmp	r3, #2	; 0x2                                  
    3484:	1a00000a 	bne	34b4 <rtems_termios_close+0xa8>               
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
    3488:	e59400c4 	ldr	r0, [r4, #196]                                <== NOT EXECUTED
    348c:	e3a01001 	mov	r1, #1	; 0x1                                  <== NOT EXECUTED
    3490:	eb000280 	bl	3e98 <rtems_event_send>                        <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
    3494:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    3498:	1a000004 	bne	34b0 <rtems_termios_close+0xa4>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
    349c:	e59400c8 	ldr	r0, [r4, #200]                                <== NOT EXECUTED
    34a0:	e3a01001 	mov	r1, #1	; 0x1                                  <== NOT EXECUTED
    34a4:	eb00027b 	bl	3e98 <rtems_event_send>                        <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
    34a8:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    34ac:	0a000000 	beq	34b4 <rtems_termios_close+0xa8>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
    34b0:	eb00055c 	bl	4a28 <rtems_fatal_error_occurred>              <== NOT EXECUTED
		}                                                                   
		if (tty->device.lastClose)                                          
    34b4:	e594309c 	ldr	r3, [r4, #156]                                
    34b8:	e3530000 	cmp	r3, #0	; 0x0                                  
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
    34bc:	11a02005 	movne	r2, r5                                      
    34c0:	1284000c 	addne	r0, r4, #12	; 0xc                           
    34c4:	18900003 	ldmne	r0, {r0, r1}                                
    34c8:	11a0e00f 	movne	lr, pc                                      
    34cc:	112fff13 	bxne	r3                                           
		if (tty->forw == NULL) {                                            
    34d0:	e8940006 	ldm	r4, {r1, r2}                                  
    34d4:	e3510000 	cmp	r1, #0	; 0x0                                  
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
    34d8:	15812004 	strne	r2, [r1, #4]                                
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
		if (tty->forw == NULL) {                                            
    34dc:	1a000003 	bne	34f0 <rtems_termios_close+0xe4>               
			rtems_termios_ttyTail = tty->back;                                 
    34e0:	e59f30a0 	ldr	r3, [pc, #160]	; 3588 <rtems_termios_close+0x17c>
			if ( rtems_termios_ttyTail != NULL ) {                             
    34e4:	e3520000 	cmp	r2, #0	; 0x0                                  
				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;                                 
    34e8:	e5832000 	str	r2, [r3]                                      
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
    34ec:	15821000 	strne	r1, [r2]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
    34f0:	e5941004 	ldr	r1, [r4, #4]                                  
    34f4:	e5942000 	ldr	r2, [r4]                                      
    34f8:	e3510000 	cmp	r1, #0	; 0x0                                  
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
    34fc:	15812000 	strne	r2, [r1]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
    3500:	1a000003 	bne	3514 <rtems_termios_close+0x108>              
			rtems_termios_ttyHead = tty->forw;                                 
    3504:	e59f3080 	ldr	r3, [pc, #128]	; 358c <rtems_termios_close+0x180>
			if ( rtems_termios_ttyHead != NULL ) {                             
    3508:	e3520000 	cmp	r2, #0	; 0x0                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
    350c:	e5832000 	str	r2, [r3]                                      
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
    3510:	15821004 	strne	r1, [r2, #4]                                
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
    3514:	e5940014 	ldr	r0, [r4, #20]                                 
    3518:	eb00035f 	bl	429c <rtems_semaphore_delete>                  
		rtems_semaphore_delete (tty->osem);                                 
    351c:	e5940018 	ldr	r0, [r4, #24]                                 
    3520:	eb00035d 	bl	429c <rtems_semaphore_delete>                  
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
    3524:	e594008c 	ldr	r0, [r4, #140]                                
    3528:	eb00035b 	bl	429c <rtems_semaphore_delete>                  
		if ((tty->device.pollRead == NULL) ||                               
    352c:	e59430a0 	ldr	r3, [r4, #160]                                
    3530:	e3530000 	cmp	r3, #0	; 0x0                                  
    3534:	0a000002 	beq	3544 <rtems_termios_close+0x138>              
    3538:	e59430b4 	ldr	r3, [r4, #180]                                
    353c:	e3530002 	cmp	r3, #2	; 0x2                                  
    3540:	1a000001 	bne	354c <rtems_termios_close+0x140>              
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
    3544:	e5940068 	ldr	r0, [r4, #104]                                <== NOT EXECUTED
    3548:	eb000353 	bl	429c <rtems_semaphore_delete>                  <== NOT EXECUTED
		free (tty->rawInBuf.theBuf);                                        
    354c:	e5940058 	ldr	r0, [r4, #88]                                 
    3550:	eb00148f 	bl	8794 <free>                                    
		free (tty->rawOutBuf.theBuf);                                       
    3554:	e594007c 	ldr	r0, [r4, #124]                                
    3558:	eb00148d 	bl	8794 <free>                                    
		free (tty->cbuf);                                                   
    355c:	e594001c 	ldr	r0, [r4, #28]                                 
    3560:	eb00148b 	bl	8794 <free>                                    
		free (tty);                                                         
    3564:	e1a00004 	mov	r0, r4                                        
    3568:	eb001489 	bl	8794 <free>                                    
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
    356c:	e59f300c 	ldr	r3, [pc, #12]	; 3580 <rtems_termios_close+0x174>
    3570:	e5930000 	ldr	r0, [r3]                                      
    3574:	eb0003b7 	bl	4458 <rtems_semaphore_release>                 
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
    3578:	e3a00000 	mov	r0, #0	; 0x0                                  
    357c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

0000219c <rtems_termios_dequeue_characters>: rtems_status_code sc; /* * sum up character count already sent */ tty->t_dqlen += len;
    219c:	e5903090 	ldr	r3, [r0, #144]                                <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
    21a0:	e590c0b4 	ldr	ip, [r0, #180]                                <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
    21a4:	e0833001 	add	r3, r3, r1                                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
    21a8:	e35c0002 	cmp	ip, #2	; 0x2                                  <== NOT EXECUTED
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
    21ac:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
    21b0:	e5803090 	str	r3, [r0, #144]                                <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
    21b4:	1a000005 	bne	21d0 <rtems_termios_dequeue_characters+0x34>  <== NOT EXECUTED
		/*                                                                  
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
    21b8:	e59000c8 	ldr	r0, [r0, #200]                                <== NOT EXECUTED
    21bc:	e1a0100c 	mov	r1, ip                                        <== NOT EXECUTED
    21c0:	eb000734 	bl	3e98 <rtems_event_send>                        <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
    21c4:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    21c8:	0a00000c 	beq	2200 <rtems_termios_dequeue_characters+0x64>  <== NOT EXECUTED
			rtems_fatal_error_occurred (sc);                                   
    21cc:	eb000a15 	bl	4a28 <rtems_fatal_error_occurred>              <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
    21d0:	e59030cc 	ldr	r3, [r0, #204]                                <== NOT EXECUTED
    21d4:	e3530005 	cmp	r3, #5	; 0x5                                  <== NOT EXECUTED
    21d8:	1a000006 	bne	21f8 <rtems_termios_dequeue_characters+0x5c>  <== NOT EXECUTED
		/*                                                                  
		 * call any line discipline start function                          
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_start != NULL) {            
    21dc:	e59f3024 	ldr	r3, [pc, #36]	; 2208 <rtems_termios_dequeue_characters+0x6c><== NOT EXECUTED
    21e0:	e59330b4 	ldr	r3, [r3, #180]                                <== NOT EXECUTED
    21e4:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    21e8:	0a000004 	beq	2200 <rtems_termios_dequeue_characters+0x64>  <== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
    21ec:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    21f0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    21f4:	ea000001 	b	2200 <rtems_termios_dequeue_characters+0x64>    <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
    21f8:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
		}                                                                   
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
    21fc:	eaffff6b 	b	1fb0 <rtems_termios_refill_transmitter>         <== NOT EXECUTED
	}                                                                    
}                                                                     
    2200:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    2204:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

0000220c <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) {
    220c:	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) {              
    2210:	e59fc2b8 	ldr	ip, [pc, #696]	; 24d0 <rtems_termios_enqueue_raw_characters+0x2c4><== NOT EXECUTED
    2214:	e59030cc 	ldr	r3, [r0, #204]                                <== NOT EXECUTED
    2218:	e08c3283 	add	r3, ip, r3, lsl #5                            <== 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) 
{                                                                     
    221c:	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) {              
    2220:	e5930010 	ldr	r0, [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) 
{                                                                     
    2224:	e24dd00c 	sub	sp, sp, #12	; 0xc                             <== 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) {              
    2228:	e3500000 	cmp	r0, #0	; 0x0                                  <== 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) 
{                                                                     
    222c:	e58d1000 	str	r1, [sp]                                      <== NOT EXECUTED
    2230:	e1a08002 	mov	r8, r2                                        <== NOT EXECUTED
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
    2234:	11a0600c 	movne	r6, ip                                      <== 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) {              
    2238:	13a05000 	movne	r5, #0	; 0x0                                <== NOT EXECUTED
    223c:	1a00000d 	bne	2278 <rtems_termios_enqueue_raw_characters+0x6c><== 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,                              
    2240:	e284204a 	add	r2, r4, #74	; 0x4a                            <== 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);      
    2244:	e2843030 	add	r3, r4, #48	; 0x30                            <== NOT EXECUTED
    2248:	e1a05000 	mov	r5, r0                                        <== 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,                              
    224c:	e98d000c 	stmib	sp, {r2, r3}                                <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
    2250:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
    2254:	e1a09000 	mov	r9, r0                                        <== NOT EXECUTED
    2258:	ea000090 	b	24a0 <rtems_termios_enqueue_raw_characters+0x294><== NOT EXECUTED
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
    225c:	e59430cc 	ldr	r3, [r4, #204]                                <== NOT EXECUTED
    2260:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
    2264:	e0863283 	add	r3, r6, r3, lsl #5                            <== NOT EXECUTED
    2268:	e7d20005 	ldrb	r0, [r2, r5]                                 <== NOT EXECUTED
    226c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2270:	e593f010 	ldr	pc, [r3, #16]                                 <== NOT EXECUTED
    2274:	e2855001 	add	r5, r5, #1	; 0x1                              <== 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--) {                                                    
    2278:	e2588001 	subs	r8, r8, #1	; 0x1                             <== NOT EXECUTED
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
    227c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
    2280:	2afffff5 	bcs	225c <rtems_termios_enqueue_raw_characters+0x50><== NOT EXECUTED
	  }                                                                  
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
    2284:	e59450e4 	ldr	r5, [r4, #228]                                <== NOT EXECUTED
    2288:	e3550000 	cmp	r5, #0	; 0x0                                  <== NOT EXECUTED
    228c:	1a00008b 	bne	24c0 <rtems_termios_enqueue_raw_characters+0x2b4><== NOT EXECUTED
    2290:	e59430dc 	ldr	r3, [r4, #220]                                <== NOT EXECUTED
    2294:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2298:	0a000088 	beq	24c0 <rtems_termios_enqueue_raw_characters+0x2b4><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
    229c:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
    22a0:	e59410e0 	ldr	r1, [r4, #224]                                <== NOT EXECUTED
    22a4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    22a8:	e12fff13 	bx	r3                                             <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    22ac:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
    22b0:	e58430e4 	str	r3, [r4, #228]                                <== NOT EXECUTED
    22b4:	ea000082 	b	24c4 <rtems_termios_enqueue_raw_characters+0x2b8><== NOT EXECUTED
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
    22b8:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    22bc:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
    22c0:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    22c4:	e7d37009 	ldrb	r7, [r3, r9]                                 <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
    22c8:	0a00000f 	beq	230c <rtems_termios_enqueue_raw_characters+0x100><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
    22cc:	e5d4204a 	ldrb	r2, [r4, #74]                                <== NOT EXECUTED
    22d0:	e1520007 	cmp	r2, r7                                        <== NOT EXECUTED
    22d4:	e5d43049 	ldrb	r3, [r4, #73]                                <== NOT EXECUTED
    22d8:	1a000005 	bne	22f4 <rtems_termios_enqueue_raw_characters+0xe8><== NOT EXECUTED
	      if (c == tty->termios.c_cc[VSTART]) {                          
    22dc:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
    22e0:	059430b8 	ldreq	r3, [r4, #184]                              <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
    22e4:	159430b8 	ldrne	r3, [r4, #184]                              <== 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;                       
    22e8:	02233010 	eoreq	r3, r3, #16	; 0x10                          <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
    22ec:	13833010 	orrne	r3, r3, #16	; 0x10                          <== NOT EXECUTED
    22f0:	ea000003 	b	2304 <rtems_termios_enqueue_raw_characters+0xf8><== NOT EXECUTED
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
    22f4:	e1530007 	cmp	r3, r7                                        <== NOT EXECUTED
    22f8:	1a000003 	bne	230c <rtems_termios_enqueue_raw_characters+0x100><== NOT EXECUTED
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
    22fc:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    2300:	e3c33010 	bic	r3, r3, #16	; 0x10                            <== NOT EXECUTED
    2304:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
    2308:	ea000001 	b	2314 <rtems_termios_enqueue_raw_characters+0x108><== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
    230c:	e35a0000 	cmp	sl, #0	; 0x0                                  <== NOT EXECUTED
    2310:	0a000016 	beq	2370 <rtems_termios_enqueue_raw_characters+0x164><== NOT EXECUTED
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
    2314:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    2318:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
    231c:	e3530020 	cmp	r3, #32	; 0x20                                <== NOT EXECUTED
    2320:	1a000010 	bne	2368 <rtems_termios_enqueue_raw_characters+0x15c><== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
    2324:	e10f6000 	mrs	r6, CPSR                                      <== NOT EXECUTED
    2328:	e38630c0 	orr	r3, r6, #192	; 0xc0                           <== NOT EXECUTED
    232c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
    2330:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
    2334:	e5942094 	ldr	r2, [r4, #148]                                <== 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;                                   
    2338:	e3c33020 	bic	r3, r3, #32	; 0x20                            <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
    233c:	e3520000 	cmp	r2, #0	; 0x0                                  <== 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;                                   
    2340:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
    2344:	0a000006 	beq	2364 <rtems_termios_enqueue_raw_characters+0x158><== NOT EXECUTED
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
    2348:	e5943084 	ldr	r3, [r4, #132]                                <== NOT EXECUTED
    234c:	e594107c 	ldr	r1, [r4, #124]                                <== NOT EXECUTED
    2350:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2354:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
    2358:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    235c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2360:	e594f0a4 	ldr	pc, [r4, #164]                                <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
	      }                                                              
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
    2364:	e129f006 	msr	CPSR_fc, r6                                   <== NOT EXECUTED
    2368:	e3a0a001 	mov	sl, #1	; 0x1                                  <== NOT EXECUTED
    236c:	ea00004a 	b	249c <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
    2370:	e5940060 	ldr	r0, [r4, #96]                                 <== NOT EXECUTED
    2374:	e5941064 	ldr	r1, [r4, #100]                                <== NOT EXECUTED
    2378:	e2800001 	add	r0, r0, #1	; 0x1                              <== NOT EXECUTED
    237c:	eb003f94 	bl	121d4 <__umodsi3>                              <== NOT EXECUTED
    2380:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
    2384:	e10fb000 	mrs	fp, CPSR                                      <== NOT EXECUTED
    2388:	e38b30c0 	orr	r3, fp, #192	; 0xc0                           <== NOT EXECUTED
    238c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
    2390:	e594305c 	ldr	r3, [r4, #92]                                 <== NOT EXECUTED
    2394:	e5940064 	ldr	r0, [r4, #100]                                <== NOT EXECUTED
    2398:	e0630000 	rsb	r0, r3, r0                                    <== NOT EXECUTED
    239c:	e5941064 	ldr	r1, [r4, #100]                                <== NOT EXECUTED
    23a0:	e0800006 	add	r0, r0, r6                                    <== NOT EXECUTED
    23a4:	eb003f8a 	bl	121d4 <__umodsi3>                              <== NOT EXECUTED
    23a8:	e59430c0 	ldr	r3, [r4, #192]                                <== NOT EXECUTED
    23ac:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    23b0:	9a000025 	bls	244c <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
    23b4:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    23b8:	e3130001 	tst	r3, #1	; 0x1                                  <== NOT EXECUTED
    23bc:	1a000022 	bne	244c <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
    23c0:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    23c4:	e3833001 	orr	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    23c8:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
    23cc:	e59f3100 	ldr	r3, [pc, #256]	; 24d4 <rtems_termios_enqueue_raw_characters+0x2c8><== NOT EXECUTED
    23d0:	e59420b8 	ldr	r2, [r4, #184]                                <== NOT EXECUTED
    23d4:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
    23d8:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
    23dc:	1a00000e 	bne	241c <rtems_termios_enqueue_raw_characters+0x210><== NOT EXECUTED
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
    23e0:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    23e4:	e3130020 	tst	r3, #32	; 0x20                                <== NOT EXECUTED
    23e8:	1a000002 	bne	23f8 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
    23ec:	e5943094 	ldr	r3, [r4, #148]                                <== NOT EXECUTED
    23f0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    23f4:	1a000014 	bne	244c <rtems_termios_enqueue_raw_characters+0x240><== 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;                                 
    23f8:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    23fc:	e3833002 	orr	r3, r3, #2	; 0x2                              <== NOT EXECUTED
    2400:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
    2404:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2408:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
    240c:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    2410:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2414:	e594f0a4 	ldr	pc, [r4, #164]                                <== NOT EXECUTED
    2418:	ea00000b 	b	244c <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
    241c:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    2420:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
    2424:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
    2428:	1a000007 	bne	244c <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
    242c:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
    2430:	e59420ac 	ldr	r2, [r4, #172]                                <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
    2434:	e3833004 	orr	r3, r3, #4	; 0x4                              <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
    2438:	e3520000 	cmp	r2, #0	; 0x0                                  <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
    243c:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
		      tty->device.stopRemoteTx(tty->minor);                         
    2440:	15940010 	ldrne	r0, [r4, #16]                               <== NOT EXECUTED
    2444:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    2448:	112fff12 	bxne	r2                                           <== NOT EXECUTED
		    }                                                               
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
    244c:	e129f00b 	msr	CPSR_fc, fp                                   <== NOT EXECUTED
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
    2450:	e594305c 	ldr	r3, [r4, #92]                                 <== NOT EXECUTED
    2454:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
		        dropped++;                                                  
    2458:	02855001 	addeq	r5, r5, #1	; 0x1                            <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
    245c:	0a00000e 	beq	249c <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
    2460:	e5943058 	ldr	r3, [r4, #88]                                 <== NOT EXECUTED
    2464:	e7c37006 	strb	r7, [r3, r6]                                 <== 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 )) {  
    2468:	e59430e4 	ldr	r3, [r4, #228]                                <== NOT EXECUTED
    246c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
		        tty->rawInBuf.Tail = newTail;                               
    2470:	e5846060 	str	r6, [r4, #96]                                 <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
    2474:	1a000008 	bne	249c <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
    2478:	e59430dc 	ldr	r3, [r4, #220]                                <== NOT EXECUTED
    247c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2480:	0a000005 	beq	249c <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
    2484:	e59d0008 	ldr	r0, [sp, #8]                                  <== NOT EXECUTED
    2488:	e59410e0 	ldr	r1, [r4, #224]                                <== NOT EXECUTED
    248c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2490:	e12fff13 	bx	r3                                             <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
    2494:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    2498:	e58420e4 	str	r2, [r4, #228]                                <== NOT EXECUTED
    249c:	e2899001 	add	r9, r9, #1	; 0x1                              <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
    24a0:	e2588001 	subs	r8, r8, #1	; 0x1                             <== NOT EXECUTED
    24a4:	2affff83 	bcs	22b8 <rtems_termios_enqueue_raw_characters+0xac><== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
    24a8:	e5943078 	ldr	r3, [r4, #120]                                <== NOT EXECUTED
    24ac:	e0833005 	add	r3, r3, r5                                    <== NOT EXECUTED
    24b0:	e5843078 	str	r3, [r4, #120]                                <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
    24b4:	e5940068 	ldr	r0, [r4, #104]                                <== NOT EXECUTED
    24b8:	eb0007e6 	bl	4458 <rtems_semaphore_release>                 <== NOT EXECUTED
    24bc:	ea000000 	b	24c4 <rtems_termios_enqueue_raw_characters+0x2b8><== NOT EXECUTED
	return dropped;                                                      
    24c0:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
}                                                                     
    24c4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    24c8:	e28dd00c 	add	sp, sp, #12	; 0xc                             <== NOT EXECUTED
    24cc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      

00003048 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
    3048:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
    304c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
    3050:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
    3054:	e5935028 	ldr	r5, [r3, #40]                                 <== NOT EXECUTED
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
    3058:	e580100c 	str	r1, [r0, #12]                                 <== NOT EXECUTED
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
    305c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    3060:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3064:	e5950018 	ldr	r0, [r5, #24]                                 <== NOT EXECUTED
    3068:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
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; 
    306c:	e5964008 	ldr	r4, [r6, #8]                                  <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3070:	eb0004b2 	bl	4340 <rtems_semaphore_obtain>                  <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL) {                                        
    3074:	e2508000 	subs	r8, r0, #0	; 0x0                             <== NOT EXECUTED
    3078:	1a0000dc 	bne	33f0 <rtems_termios_ioctl+0x3a8>              <== NOT EXECUTED
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
    307c:	e5962004 	ldr	r2, [r6, #4]                                  <== NOT EXECUTED
    3080:	e3520004 	cmp	r2, #4	; 0x4                                  <== NOT EXECUTED
    3084:	0a0000ad 	beq	3340 <rtems_termios_ioctl+0x2f8>              <== NOT EXECUTED
    3088:	8a000005 	bhi	30a4 <rtems_termios_ioctl+0x5c>               <== NOT EXECUTED
    308c:	e3520002 	cmp	r2, #2	; 0x2                                  <== NOT EXECUTED
    3090:	0a000026 	beq	3130 <rtems_termios_ioctl+0xe8>               <== NOT EXECUTED
    3094:	8a0000a2 	bhi	3324 <rtems_termios_ioctl+0x2dc>              <== NOT EXECUTED
    3098:	e3520001 	cmp	r2, #1	; 0x1                                  <== NOT EXECUTED
    309c:	1a00000d 	bne	30d8 <rtems_termios_ioctl+0x90>               <== NOT EXECUTED
    30a0:	ea000018 	b	3108 <rtems_termios_ioctl+0xc0>                 <== NOT EXECUTED
    30a4:	e59f3354 	ldr	r3, [pc, #852]	; 3400 <rtems_termios_ioctl+0x3b8><== NOT EXECUTED
    30a8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    30ac:	0a0000c2 	beq	33bc <rtems_termios_ioctl+0x374>              <== NOT EXECUTED
    30b0:	8a000002 	bhi	30c0 <rtems_termios_ioctl+0x78>               <== NOT EXECUTED
    30b4:	e3520005 	cmp	r2, #5	; 0x5                                  <== NOT EXECUTED
    30b8:	1a000006 	bne	30d8 <rtems_termios_ioctl+0x90>               <== NOT EXECUTED
    30bc:	ea00009b 	b	3330 <rtems_termios_ioctl+0x2e8>                <== NOT EXECUTED
    30c0:	e59f333c 	ldr	r3, [pc, #828]	; 3404 <rtems_termios_ioctl+0x3bc><== NOT EXECUTED
    30c4:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    30c8:	0a0000b8 	beq	33b0 <rtems_termios_ioctl+0x368>              <== NOT EXECUTED
    30cc:	e2833105 	add	r3, r3, #1073741825	; 0x40000001              <== NOT EXECUTED
    30d0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    30d4:	0a00009d 	beq	3350 <rtems_termios_ioctl+0x308>              <== NOT EXECUTED
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
    30d8:	e59520cc 	ldr	r2, [r5, #204]                                <== NOT EXECUTED
    30dc:	e59f3324 	ldr	r3, [pc, #804]	; 3408 <rtems_termios_ioctl+0x3c0><== NOT EXECUTED
    30e0:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
    30e4:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
    30e8:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    30ec:	03a0800a 	moveq	r8, #10	; 0xa                               <== NOT EXECUTED
    30f0:	0a0000bc 	beq	33e8 <rtems_termios_ioctl+0x3a0>              <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
    30f4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    30f8:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    30fc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    3100:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    3104:	ea0000a7 	b	33a8 <rtems_termios_ioctl+0x360>                <== NOT EXECUTED
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
    3108:	e5964008 	ldr	r4, [r6, #8]                                  <== NOT EXECUTED
    310c:	e285c030 	add	ip, r5, #48	; 0x30                            <== NOT EXECUTED
    3110:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    3114:	e1a0e004 	mov	lr, r4                                        <== NOT EXECUTED
    3118:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    311c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    3120:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    3124:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
    3128:	e58e3000 	str	r3, [lr]                                      <== NOT EXECUTED
    312c:	ea0000ad 	b	33e8 <rtems_termios_ioctl+0x3a0>                <== NOT EXECUTED
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
    3130:	e5963008 	ldr	r3, [r6, #8]                                  <== NOT EXECUTED
    3134:	e1a0e003 	mov	lr, r3                                        <== NOT EXECUTED
    3138:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    313c:	e285c030 	add	ip, r5, #48	; 0x30                            <== NOT EXECUTED
    3140:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
    3144:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
    3148:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
    314c:	e59530b8 	ldr	r3, [r5, #184]                                <== 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;                     
    3150:	e59e2000 	ldr	r2, [lr]                                      <== NOT EXECUTED
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
    3154:	e3130c02 	tst	r3, #512	; 0x200                              <== 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;                     
    3158:	e58c2000 	str	r2, [ip]                                      <== NOT EXECUTED
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
    315c:	0a000019 	beq	31c8 <rtems_termios_ioctl+0x180>              <== NOT EXECUTED
    3160:	e5953030 	ldr	r3, [r5, #48]                                 <== NOT EXECUTED
    3164:	e3130b01 	tst	r3, #1024	; 0x400                             <== NOT EXECUTED
    3168:	1a000016 	bne	31c8 <rtems_termios_ioctl+0x180>              <== NOT EXECUTED
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
    316c:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    3170:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
    3174:	e58530b8 	str	r3, [r5, #184]                                <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
    3178:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    317c:	e3130020 	tst	r3, #32	; 0x20                                <== NOT EXECUTED
    3180:	0a000010 	beq	31c8 <rtems_termios_ioctl+0x180>              <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
    3184:	e10f4000 	mrs	r4, CPSR                                      <== NOT EXECUTED
    3188:	e38430c0 	orr	r3, r4, #192	; 0xc0                           <== NOT EXECUTED
    318c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
    3190:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
    3194:	e5952094 	ldr	r2, [r5, #148]                                <== 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;                                    
    3198:	e3c33020 	bic	r3, r3, #32	; 0x20                            <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
    319c:	e3520000 	cmp	r2, #0	; 0x0                                  <== 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;                                    
    31a0:	e58530b8 	str	r3, [r5, #184]                                <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
    31a4:	0a000006 	beq	31c4 <rtems_termios_ioctl+0x17c>              <== NOT EXECUTED
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
    31a8:	e5953084 	ldr	r3, [r5, #132]                                <== NOT EXECUTED
    31ac:	e595107c 	ldr	r1, [r5, #124]                                <== NOT EXECUTED
    31b0:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
    31b4:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
    31b8:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    31bc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    31c0:	e595f0a4 	ldr	pc, [r5, #164]                                <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    31c4:	e129f004 	msr	CPSR_fc, r4                                   <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
    31c8:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    31cc:	e3130b01 	tst	r3, #1024	; 0x400                             <== NOT EXECUTED
    31d0:	0a000008 	beq	31f8 <rtems_termios_ioctl+0x1b0>              <== NOT EXECUTED
    31d4:	e5953030 	ldr	r3, [r5, #48]                                 <== NOT EXECUTED
    31d8:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
    31dc:	1a000005 	bne	31f8 <rtems_termios_ioctl+0x1b0>              <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
    31e0:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    31e4:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
    31e8:	e58530b8 	str	r3, [r5, #184]                                <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
    31ec:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    31f0:	e3c33002 	bic	r3, r3, #2	; 0x2                              <== NOT EXECUTED
    31f4:	e58530b8 	str	r3, [r5, #184]                                <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
    31f8:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    31fc:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
    3200:	0a000010 	beq	3248 <rtems_termios_ioctl+0x200>              <== NOT EXECUTED
    3204:	e5953038 	ldr	r3, [r5, #56]                                 <== NOT EXECUTED
    3208:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    320c:	ba00000d 	blt	3248 <rtems_termios_ioctl+0x200>              <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
    3210:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    3214:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
    3218:	e58530b8 	str	r3, [r5, #184]                                <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
    321c:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    3220:	e3130004 	tst	r3, #4	; 0x4                                  <== NOT EXECUTED
    3224:	0a000004 	beq	323c <rtems_termios_ioctl+0x1f4>              <== NOT EXECUTED
    3228:	e59530b0 	ldr	r3, [r5, #176]                                <== NOT EXECUTED
    322c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
    3230:	15950010 	ldrne	r0, [r5, #16]                               <== NOT EXECUTED
    3234:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    3238:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
    323c:	e59530b8 	ldr	r3, [r5, #184]                                <== NOT EXECUTED
    3240:	e3c33004 	bic	r3, r3, #4	; 0x4                              <== NOT EXECUTED
    3244:	e58530b8 	str	r3, [r5, #184]                                <== 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) {                               
    3248:	e5953038 	ldr	r3, [r5, #56]                                 <== NOT EXECUTED
    324c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    tty->flow_ctrl |= FL_MDRTS;                                       
    3250:	b59530b8 	ldrlt	r3, [r5, #184]                              <== NOT EXECUTED
    3254:	b3833c01 	orrlt	r3, r3, #256	; 0x100                        <== NOT EXECUTED
    3258:	b58530b8 	strlt	r3, [r5, #184]                              <== NOT EXECUTED
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
    325c:	e5953030 	ldr	r3, [r5, #48]                                 <== NOT EXECUTED
    3260:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
    tty->flow_ctrl |= FL_MDXOF;                                       
    3264:	159530b8 	ldrne	r3, [r5, #184]                              <== NOT EXECUTED
    3268:	13833b01 	orrne	r3, r3, #1024	; 0x400                       <== NOT EXECUTED
    326c:	158530b8 	strne	r3, [r5, #184]                              <== NOT EXECUTED
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
    3270:	e5953030 	ldr	r3, [r5, #48]                                 <== NOT EXECUTED
    3274:	e3130b01 	tst	r3, #1024	; 0x400                             <== NOT EXECUTED
    tty->flow_ctrl |= FL_MDXON;                                       
    3278:	159530b8 	ldrne	r3, [r5, #184]                              <== NOT EXECUTED
    327c:	13833c02 	orrne	r3, r3, #512	; 0x200                        <== NOT EXECUTED
    3280:	158530b8 	strne	r3, [r5, #184]                              <== NOT EXECUTED
		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) {                                
    3284:	e595303c 	ldr	r3, [r5, #60]                                 <== NOT EXECUTED
    3288:	e2137002 	ands	r7, r3, #2	; 0x2                             <== NOT EXECUTED
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
    328c:	13a03000 	movne	r3, #0	; 0x0                                <== NOT EXECUTED
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
    3290:	15853074 	strne	r3, [r5, #116]                              <== NOT EXECUTED
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
    3294:	1585306c 	strne	r3, [r5, #108]                              <== NOT EXECUTED
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
    3298:	15853070 	strne	r3, [r5, #112]                              <== NOT EXECUTED
    329c:	1a000018 	bne	3304 <rtems_termios_ioctl+0x2bc>              <== NOT EXECUTED
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			rtems_interval ticksPerSecond;                                     
			rtems_clock_get (RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticksPerSecond);
    32a0:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    32a4:	e3a00003 	mov	r0, #3	; 0x3                                  <== NOT EXECUTED
    32a8:	eb000206 	bl	3ac8 <rtems_clock_get>                         <== NOT EXECUTED
			tty->vtimeTicks = tty->termios.c_cc[VTIME] * ticksPerSecond / 10;  
    32ac:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    32b0:	e5d54046 	ldrb	r4, [r5, #70]                                <== NOT EXECUTED
    32b4:	e3a0100a 	mov	r1, #10	; 0xa                                 <== NOT EXECUTED
    32b8:	e0000493 	mul	r0, r3, r4                                    <== NOT EXECUTED
    32bc:	eb003b80 	bl	120c4 <__aeabi_uidiv>                          <== NOT EXECUTED
			if (tty->termios.c_cc[VTIME]) {                                    
    32c0:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			rtems_interval ticksPerSecond;                                     
			rtems_clock_get (RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticksPerSecond);
			tty->vtimeTicks = tty->termios.c_cc[VTIME] * ticksPerSecond / 10;  
    32c4:	e5850054 	str	r0, [r5, #84]                                 <== NOT EXECUTED
    32c8:	e5d53047 	ldrb	r3, [r5, #71]                                <== NOT EXECUTED
			if (tty->termios.c_cc[VTIME]) {                                    
    32cc:	0a000006 	beq	32ec <rtems_termios_ioctl+0x2a4>              <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
    32d0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    32d4:	01a03000 	moveq	r3, r0                                      <== NOT EXECUTED
    32d8:	13a03000 	movne	r3, #0	; 0x0                                <== NOT EXECUTED
		else {                                                              
			rtems_interval ticksPerSecond;                                     
			rtems_clock_get (RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticksPerSecond);
			tty->vtimeTicks = tty->termios.c_cc[VTIME] * ticksPerSecond / 10;  
			if (tty->termios.c_cc[VTIME]) {                                    
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
    32dc:	e585706c 	str	r7, [r5, #108]                                <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
    32e0:	e5853074 	str	r3, [r5, #116]                                <== NOT EXECUTED
			rtems_interval ticksPerSecond;                                     
			rtems_clock_get (RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticksPerSecond);
			tty->vtimeTicks = tty->termios.c_cc[VTIME] * ticksPerSecond / 10;  
			if (tty->termios.c_cc[VTIME]) {                                    
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
    32e4:	e5850070 	str	r0, [r5, #112]                                <== NOT EXECUTED
    32e8:	ea000005 	b	3304 <rtems_termios_ioctl+0x2bc>                <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
    32ec:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
    32f0:	03a03001 	moveq	r3, #1	; 0x1                                <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
    32f4:	15854074 	strne	r4, [r5, #116]                              <== NOT EXECUTED
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
    32f8:	1585406c 	strne	r4, [r5, #108]                              <== NOT EXECUTED
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
    32fc:	15854070 	strne	r4, [r5, #112]                              <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
    3300:	0585306c 	streq	r3, [r5, #108]                              <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
    3304:	e59530a8 	ldr	r3, [r5, #168]                                <== NOT EXECUTED
    3308:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    330c:	0a000035 	beq	33e8 <rtems_termios_ioctl+0x3a0>              <== NOT EXECUTED
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
    3310:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
    3314:	e2851030 	add	r1, r5, #48	; 0x30                            <== NOT EXECUTED
    3318:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    331c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    3320:	ea000030 	b	33e8 <rtems_termios_ioctl+0x3a0>                <== NOT EXECUTED
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
    3324:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    3328:	ebfffe42 	bl	2c38 <drainOutput>                             <== NOT EXECUTED
    332c:	ea00002d 	b	33e8 <rtems_termios_ioctl+0x3a0>                <== NOT EXECUTED
		break;                                                              
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
    3330:	e894000c 	ldm	r4, {r2, r3}                                  <== NOT EXECUTED
    3334:	e58530d8 	str	r3, [r5, #216]                                <== NOT EXECUTED
    3338:	e58520d4 	str	r2, [r5, #212]                                <== NOT EXECUTED
    333c:	ea000029 	b	33e8 <rtems_termios_ioctl+0x3a0>                <== NOT EXECUTED
		break;                                                              
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
    3340:	e894000c 	ldm	r4, {r2, r3}                                  <== NOT EXECUTED
    3344:	e58530e0 	str	r3, [r5, #224]                                <== NOT EXECUTED
    3348:	e58520dc 	str	r2, [r5, #220]                                <== NOT EXECUTED
    334c:	ea000025 	b	33e8 <rtems_termios_ioctl+0x3a0>                <== NOT EXECUTED
#if 1 /* FIXME */                                                     
	case TIOCSETD:                                                       
		/*                                                                  
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
    3350:	e59520cc 	ldr	r2, [r5, #204]                                <== NOT EXECUTED
    3354:	e59f30ac 	ldr	r3, [pc, #172]	; 3408 <rtems_termios_ioctl+0x3c0><== NOT EXECUTED
    3358:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
    335c:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
    3360:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    3364:	0a000003 	beq	3378 <rtems_termios_ioctl+0x330>              <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
    3368:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    336c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    3370:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    3374:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
    3378:	e5963008 	ldr	r3, [r6, #8]                                  <== NOT EXECUTED
    337c:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
    3380:	e59f3080 	ldr	r3, [pc, #128]	; 3408 <rtems_termios_ioctl+0x3c0><== NOT EXECUTED
    3384:	e7931282 	ldr	r1, [r3, r2, lsl #5]                          <== NOT EXECUTED
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
		tty->t_sc = NULL; /* ensure that no more valid data */              
    3388:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
    338c:	e3510000 	cmp	r1, #0	; 0x0                                  <== NOT EXECUTED
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
		tty->t_sc = NULL; /* ensure that no more valid data */              
    3390:	e58530d0 	str	r3, [r5, #208]                                <== NOT EXECUTED
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
    3394:	e58520cc 	str	r2, [r5, #204]                                <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
    3398:	0a000012 	beq	33e8 <rtems_termios_ioctl+0x3a0>              <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
    339c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    33a0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    33a4:	e12fff11 	bx	r1                                             <== NOT EXECUTED
    33a8:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
    33ac:	ea00000d 	b	33e8 <rtems_termios_ioctl+0x3a0>                <== NOT EXECUTED
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
    33b0:	e5962008 	ldr	r2, [r6, #8]                                  <== NOT EXECUTED
    33b4:	e59530cc 	ldr	r3, [r5, #204]                                <== NOT EXECUTED
    33b8:	ea000009 	b	33e4 <rtems_termios_ioctl+0x39c>                <== NOT EXECUTED
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
    33bc:	e5952060 	ldr	r2, [r5, #96]                                 <== NOT EXECUTED
    33c0:	e595305c 	ldr	r3, [r5, #92]                                 <== NOT EXECUTED
		if ( rawnc < 0 )                                                    
    33c4:	e0521003 	subs	r1, r2, r3                                   <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
    33c8:	45953064 	ldrmi	r3, [r5, #100]                              <== NOT EXECUTED
    33cc:	40811003 	addmi	r1, r1, r3                                  <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
    33d0:	e2852020 	add	r2, r5, #32	; 0x20                            <== NOT EXECUTED
    33d4:	e892000c 	ldm	r2, {r2, r3}                                  <== NOT EXECUTED
    33d8:	e0423003 	sub	r3, r2, r3                                    <== NOT EXECUTED
    33dc:	e5962008 	ldr	r2, [r6, #8]                                  <== NOT EXECUTED
    33e0:	e0833001 	add	r3, r3, r1                                    <== NOT EXECUTED
    33e4:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
    33e8:	e5950018 	ldr	r0, [r5, #24]                                 <== NOT EXECUTED
    33ec:	eb000419 	bl	4458 <rtems_semaphore_release>                 <== NOT EXECUTED
	args->ioctl_return = sc;                                             
    33f0:	e586800c 	str	r8, [r6, #12]                                 <== NOT EXECUTED
	return sc;                                                           
}                                                                     
    33f4:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
    33f8:	e28dd004 	add	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    33fc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

00003590 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
    3590:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    3594:	e24dd00c 	sub	sp, sp, #12	; 0xc                             
    3598:	e58d2008 	str	r2, [sp, #8]                                  
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    359c:	e59f23f4 	ldr	r2, [pc, #1012]	; 3998 <rtems_termios_open+0x408>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
    35a0:	e1a0b001 	mov	fp, r1                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    35a4:	e3a01000 	mov	r1, #0	; 0x0                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
    35a8:	e1a09000 	mov	r9, r0                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    35ac:	e5920000 	ldr	r0, [r2]                                      
    35b0:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
    35b4:	e1a07003 	mov	r7, r3                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    35b8:	eb000360 	bl	4340 <rtems_semaphore_obtain>                  
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
    35bc:	e250a000 	subs	sl, r0, #0	; 0x0                             
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
    35c0:	059f33d4 	ldreq	r3, [pc, #980]	; 399c <rtems_termios_open+0x40c>
    35c4:	05935000 	ldreq	r5, [r3]                                    
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
    35c8:	0a000007 	beq	35ec <rtems_termios_open+0x5c>                
    35cc:	ea0000e6 	b	396c <rtems_termios_open+0x3dc>                 <== NOT EXECUTED
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
		if ((tty->major == major) && (tty->minor == minor))                 
    35d0:	e595300c 	ldr	r3, [r5, #12]                                 
    35d4:	e1530009 	cmp	r3, r9                                        
    35d8:	1a000002 	bne	35e8 <rtems_termios_open+0x58>                
    35dc:	e5953010 	ldr	r3, [r5, #16]                                 
    35e0:	e153000b 	cmp	r3, fp                                        
    35e4:	0a0000be 	beq	38e4 <rtems_termios_open+0x354>               
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
    35e8:	e5955000 	ldr	r5, [r5]                                      <== NOT EXECUTED
    35ec:	e3550000 	cmp	r5, #0	; 0x0                                  
    35f0:	1afffff6 	bne	35d0 <rtems_termios_open+0x40>                
    35f4:	ea0000df 	b	3978 <rtems_termios_open+0x3e8>                 
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
    35f8:	e59f33a0 	ldr	r3, [pc, #928]	; 39a0 <rtems_termios_open+0x410>
    35fc:	e5933000 	ldr	r3, [r3]                                      
    3600:	e5853064 	str	r3, [r5, #100]                                
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
    3604:	e5950064 	ldr	r0, [r5, #100]                                
    3608:	eb0015ae 	bl	8cc8 <malloc>                                  
		if (tty->rawInBuf.theBuf == NULL) {                                 
    360c:	e3500000 	cmp	r0, #0	; 0x0                                  
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
    3610:	e5850058 	str	r0, [r5, #88]                                 
		if (tty->rawInBuf.theBuf == NULL) {                                 
    3614:	1a000006 	bne	3634 <rtems_termios_open+0xa4>                
		        free(tty);                                                  
    3618:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    361c:	eb00145c 	bl	8794 <free>                                    <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
    3620:	e59f3370 	ldr	r3, [pc, #880]	; 3998 <rtems_termios_open+0x408><== NOT EXECUTED
    3624:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    3628:	eb00038a 	bl	4458 <rtems_semaphore_release>                 <== NOT EXECUTED
    362c:	e3a0a01a 	mov	sl, #26	; 0x1a                                <== NOT EXECUTED
    3630:	ea0000cd 	b	396c <rtems_termios_open+0x3dc>                 <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
    3634:	e59f3368 	ldr	r3, [pc, #872]	; 39a4 <rtems_termios_open+0x414>
    3638:	e5933000 	ldr	r3, [r3]                                      
    363c:	e5853088 	str	r3, [r5, #136]                                
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
    3640:	e5950088 	ldr	r0, [r5, #136]                                
    3644:	eb00159f 	bl	8cc8 <malloc>                                  
		if (tty->rawOutBuf.theBuf == NULL) {                                
    3648:	e3500000 	cmp	r0, #0	; 0x0                                  
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
    364c:	e585007c 	str	r0, [r5, #124]                                
		if (tty->rawOutBuf.theBuf == NULL) {                                
    3650:	0a000007 	beq	3674 <rtems_termios_open+0xe4>                
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
    3654:	e59f334c 	ldr	r3, [pc, #844]	; 39a8 <rtems_termios_open+0x418>
    3658:	e5930000 	ldr	r0, [r3]                                      
    365c:	eb001599 	bl	8cc8 <malloc>                                  
		if (tty->cbuf == NULL) {                                            
    3660:	e3500000 	cmp	r0, #0	; 0x0                                  
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
    3664:	e585001c 	str	r0, [r5, #28]                                 
		if (tty->cbuf == NULL) {                                            
    3668:	1a000004 	bne	3680 <rtems_termios_open+0xf0>                
		        free((void *)(tty->rawOutBuf.theBuf));                      
    366c:	e595007c 	ldr	r0, [r5, #124]                                <== NOT EXECUTED
    3670:	eb001447 	bl	8794 <free>                                    <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
    3674:	e5950058 	ldr	r0, [r5, #88]                                 <== NOT EXECUTED
    3678:	eb001445 	bl	8794 <free>                                    <== NOT EXECUTED
    367c:	eaffffe5 	b	3618 <rtems_termios_open+0x88>                  <== NOT EXECUTED
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
    3680:	e59f3314 	ldr	r3, [pc, #788]	; 399c <rtems_termios_open+0x40c>
    3684:	e5932000 	ldr	r2, [r3]                                      
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
    3688:	e3a03000 	mov	r3, #0	; 0x0                                  
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
    368c:	e3520000 	cmp	r2, #0	; 0x0                                  
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
    3690:	e885000c 	stm	r5, {r2, r3}                                  
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
    3694:	15825004 	strne	r5, [r2, #4]                                
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
    3698:	e59f230c 	ldr	r2, [pc, #780]	; 39ac <rtems_termios_open+0x41c>
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
    369c:	e58530d4 	str	r3, [r5, #212]                                
		tty->tty_snd.sw_arg = NULL;                                         
    36a0:	e58530d8 	str	r3, [r5, #216]                                
		tty->tty_rcv.sw_pfn = NULL;                                         
    36a4:	e58530dc 	str	r3, [r5, #220]                                
		tty->tty_rcv.sw_arg = NULL;                                         
    36a8:	e58530e0 	str	r3, [r5, #224]                                
		tty->tty_rcvwakeup  = 0;                                            
    36ac:	e58530e4 	str	r3, [r5, #228]                                
		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)                                  
    36b0:	e5923000 	ldr	r3, [r2]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    36b4:	e59f82f4 	ldr	r8, [pc, #756]	; 39b0 <rtems_termios_open+0x420>
		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)                                  
    36b8:	e3530000 	cmp	r3, #0	; 0x0                                  
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
    36bc:	e59f32d8 	ldr	r3, [pc, #728]	; 399c <rtems_termios_open+0x40c>
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    36c0:	e59f02ec 	ldr	r0, [pc, #748]	; 39b4 <rtems_termios_open+0x424>
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
    36c4:	e5834000 	str	r4, [r3]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    36c8:	e5d83000 	ldrb	r3, [r8]                                     
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
    36cc:	05824000 	streq	r4, [r2]                                    
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    36d0:	e1830000 	orr	r0, r3, r0                                    
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
    36d4:	e584b010 	str	fp, [r4, #16]                                 
		tty->major = major;                                                 
    36d8:	e584900c 	str	r9, [r4, #12]                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    36dc:	e284c014 	add	ip, r4, #20	; 0x14                            
    36e0:	e3a02054 	mov	r2, #84	; 0x54                                
    36e4:	e3a01001 	mov	r1, #1	; 0x1                                  
    36e8:	e3a03000 	mov	r3, #0	; 0x0                                  
    36ec:	e58dc000 	str	ip, [sp]                                      
    36f0:	eb000279 	bl	40dc <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)                                         
    36f4:	e2502000 	subs	r2, r0, #0	; 0x0                             
    36f8:	1a000097 	bne	395c <rtems_termios_open+0x3cc>               
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
    36fc:	e5d83000 	ldrb	r3, [r8]                                     
    3700:	e59f02b0 	ldr	r0, [pc, #688]	; 39b8 <rtems_termios_open+0x428>
    3704:	e284c018 	add	ip, r4, #24	; 0x18                            
    3708:	e1830000 	orr	r0, r3, r0                                    
    370c:	e3a01001 	mov	r1, #1	; 0x1                                  
    3710:	e1a03002 	mov	r3, r2                                        
    3714:	e3a02054 	mov	r2, #84	; 0x54                                
    3718:	e58dc000 	str	ip, [sp]                                      
    371c:	eb00026e 	bl	40dc <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)                                         
    3720:	e2501000 	subs	r1, r0, #0	; 0x0                             
    3724:	1a00008c 	bne	395c <rtems_termios_open+0x3cc>               
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
    3728:	e5d83000 	ldrb	r3, [r8]                                     
    372c:	e59f0288 	ldr	r0, [pc, #648]	; 39bc <rtems_termios_open+0x42c>
    3730:	e284c08c 	add	ip, r4, #140	; 0x8c                           
    3734:	e1830000 	orr	r0, r3, r0                                    
    3738:	e3a02020 	mov	r2, #32	; 0x20                                
    373c:	e1a03001 	mov	r3, r1                                        
    3740:	e58dc000 	str	ip, [sp]                                      
    3744:	eb000264 	bl	40dc <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)                                         
    3748:	e2506000 	subs	r6, r0, #0	; 0x0                             
    374c:	1a000082 	bne	395c <rtems_termios_open+0x3cc>               
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
    3750:	e1a0c007 	mov	ip, r7                                        
    3754:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    3758:	e284e098 	add	lr, r4, #152	; 0x98                           
    375c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    3760:	e89c000f 	ldm	ip, {r0, r1, r2, r3}                          
    3764:	e88e000f 	stm	lr, {r0, r1, r2, r3}                          
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    3768:	e59430b4 	ldr	r3, [r4, #180]                                
    376c:	e3530002 	cmp	r3, #2	; 0x2                                  
			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;                                     
    3770:	e5846094 	str	r6, [r4, #148]                                
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    3774:	1a000016 	bne	37d4 <rtems_termios_open+0x244>               
			sc = rtems_task_create (                                           
    3778:	e5d83000 	ldrb	r3, [r8]                                     <== NOT EXECUTED
    377c:	e59f023c 	ldr	r0, [pc, #572]	; 39c0 <rtems_termios_open+0x430><== NOT EXECUTED
    3780:	e284c0c8 	add	ip, r4, #200	; 0xc8                           <== NOT EXECUTED
    3784:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    3788:	e3a0100a 	mov	r1, #10	; 0xa                                 <== NOT EXECUTED
    378c:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
    3790:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
    3794:	e88d1040 	stm	sp, {r6, ip}                                  <== NOT EXECUTED
    3798:	eb000356 	bl	44f8 <rtems_task_create>                       <== NOT EXECUTED
				   TERMIOS_TXTASK_STACKSIZE,                                      
				   RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                        
				   RTEMS_NO_ASR,                                                  
				   RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                         
				   &tty->txTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
    379c:	e250e000 	subs	lr, r0, #0	; 0x0                             <== NOT EXECUTED
    37a0:	1a00006d 	bne	395c <rtems_termios_open+0x3cc>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
    37a4:	e5d83000 	ldrb	r3, [r8]                                     <== NOT EXECUTED
    37a8:	e59f0214 	ldr	r0, [pc, #532]	; 39c4 <rtems_termios_open+0x434><== NOT EXECUTED
    37ac:	e284c0c4 	add	ip, r4, #196	; 0xc4                           <== NOT EXECUTED
    37b0:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    37b4:	e3a01009 	mov	r1, #9	; 0x9                                  <== NOT EXECUTED
    37b8:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
    37bc:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
    37c0:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
    37c4:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
    37c8:	eb00034a 	bl	44f8 <rtems_task_create>                       <== NOT EXECUTED
				   TERMIOS_RXTASK_STACKSIZE,                                      
				   RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                        
				   RTEMS_NO_ASR,                                                  
				   RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                         
				   &tty->rxTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
    37cc:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    37d0:	1a000061 	bne	395c <rtems_termios_open+0x3cc>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
    37d4:	e59430a0 	ldr	r3, [r4, #160]                                
    37d8:	e3530000 	cmp	r3, #0	; 0x0                                  
    37dc:	0a000002 	beq	37ec <rtems_termios_open+0x25c>               
    37e0:	e59430b4 	ldr	r3, [r4, #180]                                
    37e4:	e3530002 	cmp	r3, #2	; 0x2                                  
    37e8:	1a00000b 	bne	381c <rtems_termios_open+0x28c>               
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
			sc = rtems_semaphore_create (                                      
    37ec:	e59f31bc 	ldr	r3, [pc, #444]	; 39b0 <rtems_termios_open+0x420><== NOT EXECUTED
    37f0:	e59f01d0 	ldr	r0, [pc, #464]	; 39c8 <rtems_termios_open+0x438><== NOT EXECUTED
    37f4:	e5d33000 	ldrb	r3, [r3]                                     <== NOT EXECUTED
    37f8:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    37fc:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    3800:	e284c068 	add	ip, r4, #104	; 0x68                           <== NOT EXECUTED
    3804:	e3a02024 	mov	r2, #36	; 0x24                                <== NOT EXECUTED
    3808:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
    380c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
    3810:	eb000231 	bl	40dc <rtems_semaphore_create>                  <== NOT EXECUTED
				rtems_build_name ('T', 'R', 'r', c),                              
				0,                                                                
				RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,                   
				RTEMS_NO_PRIORITY,                                                
				&tty->rawInBuf.Semaphore);                                        
			if (sc != RTEMS_SUCCESSFUL)                                        
    3814:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    3818:	1a00004f 	bne	395c <rtems_termios_open+0x3cc>               <== NOT EXECUTED
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
		tty->termios.c_cc[VERASE] = '\177';                                 
		tty->termios.c_cc[VKILL] = '\025';                                  
		tty->termios.c_cc[VEOF] = '\004';                                   
		tty->termios.c_cc[VEOL] = '\000';                                   
    381c:	e3a02000 	mov	r2, #0	; 0x0                                  
		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;                                                 
    3820:	e58420b8 	str	r2, [r4, #184]                                
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
    3824:	e5940064 	ldr	r0, [r4, #100]                                
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
    3828:	e5943064 	ldr	r3, [r4, #100]                                
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
    382c:	e3a0c003 	mov	ip, #3	; 0x3                                  
		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;                          
    3830:	e001039c 	mul	r1, ip, r3                                    
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
    3834:	e3a0301c 	mov	r3, #28	; 0x1c                                
    3838:	e5c43042 	strb	r3, [r4, #66]                                
		tty->termios.c_cc[VERASE] = '\177';                                 
    383c:	e2833063 	add	r3, r3, #99	; 0x63                            
    3840:	e5c43043 	strb	r3, [r4, #67]                                
		tty->termios.c_cc[VKILL] = '\025';                                  
    3844:	e3a03015 	mov	r3, #21	; 0x15                                
    3848:	e5c43044 	strb	r3, [r4, #68]                                
		tty->termios.c_cc[VEOF] = '\004';                                   
    384c:	e3a03004 	mov	r3, #4	; 0x4                                  
    3850:	e5c43045 	strb	r3, [r4, #69]                                
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
    3854:	e283300d 	add	r3, r3, #13	; 0xd                             
    3858:	e5c43049 	strb	r3, [r4, #73]                                
		tty->termios.c_cc[VSTOP] = '\023';                                  
    385c:	e2833002 	add	r3, r3, #2	; 0x2                              
    3860:	e5c4304a 	strb	r3, [r4, #74]                                
		tty->termios.c_cc[VSUSP] = '\032';                                  
    3864:	e2833007 	add	r3, r3, #7	; 0x7                              
    3868:	e5c4304b 	strb	r3, [r4, #75]                                
		tty->termios.c_cc[VREPRINT] = '\022';                               
    386c:	e3a03012 	mov	r3, #18	; 0x12                                
    3870:	e5c4304d 	strb	r3, [r4, #77]                                
		tty->termios.c_cc[VDISCARD] = '\017';                               
    3874:	e3a0300f 	mov	r3, #15	; 0xf                                 
    3878:	e5c4304e 	strb	r3, [r4, #78]                                
		tty->termios.c_cc[VWERASE] = '\027';                                
    387c:	e2833008 	add	r3, r3, #8	; 0x8                              
    3880:	e5c4304f 	strb	r3, [r4, #79]                                
		tty->termios.c_cc[VLNEXT] = '\026';                                 
    3884:	e3a03016 	mov	r3, #22	; 0x16                                
    3888:	e5c43050 	strb	r3, [r4, #80]                                
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
    388c:	e5c4c041 	strb	ip, [r4, #65]                                
		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';                                   
    3890:	e5c4204c 	strb	r2, [r4, #76]                                
		tty->termios.c_cc[VEOL2] = '\000';                                  
    3894:	e5c42051 	strb	r2, [r4, #81]                                
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    3898:	e59fc110 	ldr	ip, [pc, #272]	; 39b0 <rtems_termios_open+0x420>
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
    389c:	e59f3128 	ldr	r3, [pc, #296]	; 39cc <rtems_termios_open+0x43c>
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    38a0:	e5dc2000 	ldrb	r2, [ip]                                     
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
    38a4:	e5843030 	str	r3, [r4, #48]                                 
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
    38a8:	e59f3120 	ldr	r3, [pc, #288]	; 39d0 <rtems_termios_open+0x440>
    38ac:	e5843034 	str	r3, [r4, #52]                                 
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
    38b0:	e59f311c 	ldr	r3, [pc, #284]	; 39d4 <rtems_termios_open+0x444>
    38b4:	e5843038 	str	r3, [r4, #56]                                 
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
    38b8:	e59f3118 	ldr	r3, [pc, #280]	; 39d8 <rtems_termios_open+0x448>
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    38bc:	e352007a 	cmp	r2, #122	; 0x7a                               
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
    38c0:	e584303c 	str	r3, [r4, #60]                                 
		/* 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;                          
    38c4:	e1a000a0 	lsr	r0, r0, #1                                    
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
    38c8:	e1a01121 	lsr	r1, r1, #2                                    
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    38cc:	e2822001 	add	r2, r2, #1	; 0x1                              
			c = 'a';                                                           
    38d0:	03a03061 	moveq	r3, #97	; 0x61                              
		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;                          
    38d4:	e58410c0 	str	r1, [r4, #192]                                
		/* 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;                          
    38d8:	e58400bc 	str	r0, [r4, #188]                                
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    38dc:	e5cc2000 	strb	r2, [ip]                                     
			c = 'a';                                                           
    38e0:	05cc3000 	strbeq	r3, [ip]                                   
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
    38e4:	e59d1008 	ldr	r1, [sp, #8]                                  
	if (!tty->refcount++) {                                              
    38e8:	e5953008 	ldr	r3, [r5, #8]                                  
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
    38ec:	e5912000 	ldr	r2, [r1]                                      
	if (!tty->refcount++) {                                              
    38f0:	e3530000 	cmp	r3, #0	; 0x0                                  
    38f4:	e2833001 	add	r3, r3, #1	; 0x1                              
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
    38f8:	e5825028 	str	r5, [r2, #40]                                 
	if (!tty->refcount++) {                                              
    38fc:	e5853008 	str	r3, [r5, #8]                                  
    3900:	1a000016 	bne	3960 <rtems_termios_open+0x3d0>               
	  if (tty->device.firstOpen)                                         
    3904:	e5953098 	ldr	r3, [r5, #152]                                
    3908:	e3530000 	cmp	r3, #0	; 0x0                                  
		(*tty->device.firstOpen)(major, minor, arg);                        
    390c:	11a00009 	movne	r0, r9                                      
    3910:	11a0100b 	movne	r1, fp                                      
    3914:	159d2008 	ldrne	r2, [sp, #8]                                
    3918:	11a0e00f 	movne	lr, pc                                      
    391c:	112fff13 	bxne	r3                                           
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
    3920:	e59530b4 	ldr	r3, [r5, #180]                                
    3924:	e3530002 	cmp	r3, #2	; 0x2                                  
    3928:	1a00000c 	bne	3960 <rtems_termios_open+0x3d0>               
	    sc = rtems_task_start(tty->rxTaskId,                             
    392c:	e59500c4 	ldr	r0, [r5, #196]                                <== NOT EXECUTED
    3930:	e59f10a4 	ldr	r1, [pc, #164]	; 39dc <rtems_termios_open+0x44c><== NOT EXECUTED
    3934:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    3938:	eb00039c 	bl	47b0 <rtems_task_start>                        <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
    393c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    3940:	1a000005 	bne	395c <rtems_termios_open+0x3cc>               <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
    3944:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    3948:	e59500c8 	ldr	r0, [r5, #200]                                <== NOT EXECUTED
    394c:	e59f108c 	ldr	r1, [pc, #140]	; 39e0 <rtems_termios_open+0x450><== NOT EXECUTED
    3950:	eb000396 	bl	47b0 <rtems_task_start>                        <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
    3954:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    3958:	0a000000 	beq	3960 <rtems_termios_open+0x3d0>               <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
    395c:	eb000431 	bl	4a28 <rtems_fatal_error_occurred>              <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
    3960:	e59f3030 	ldr	r3, [pc, #48]	; 3998 <rtems_termios_open+0x408>
    3964:	e5930000 	ldr	r0, [r3]                                      
    3968:	eb0002ba 	bl	4458 <rtems_semaphore_release>                 
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
    396c:	e1a0000a 	mov	r0, sl                                        
    3970:	e28dd00c 	add	sp, sp, #12	; 0xc                             
    3974:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
    3978:	e3a00001 	mov	r0, #1	; 0x1                                  
    397c:	e3a010e8 	mov	r1, #232	; 0xe8                               
    3980:	eb001346 	bl	86a0 <calloc>                                  
		if (tty == NULL) {                                                  
    3984:	e3500000 	cmp	r0, #0	; 0x0                                  
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
    3988:	e1a05000 	mov	r5, r0                                        
    398c:	e1a04000 	mov	r4, r0                                        
		if (tty == NULL) {                                                  
    3990:	1affff18 	bne	35f8 <rtems_termios_open+0x68>                
    3994:	eaffff21 	b	3620 <rtems_termios_open+0x90>                  <== NOT EXECUTED
                                                                      

000024d8 <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) {
    24d8:	e59230b4 	ldr	r3, [r2, #180]                                
    24dc:	e3530000 	cmp	r3, #0	; 0x0                                  
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
    24e0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    24e4:	e1a04002 	mov	r4, r2                                        
    24e8:	e1a0a000 	mov	sl, r0                                        
    24ec:	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) {            
    24f0:	1a000005 	bne	250c <rtems_termios_puts+0x34>                
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
    24f4:	e1a01000 	mov	r1, r0                                        
    24f8:	e1a02007 	mov	r2, r7                                        
    24fc:	e5940010 	ldr	r0, [r4, #16]                                 
    2500:	e1a0e00f 	mov	lr, pc                                        
    2504:	e594f0a4 	ldr	pc, [r4, #164]                                
    2508:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
    250c:	e5926080 	ldr	r6, [r2, #128]                                <== NOT EXECUTED
    2510:	e3a08000 	mov	r8, #0	; 0x0                                  <== NOT EXECUTED
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
			tty->rawOutBufState = rob_wait;                                    
    2514:	e3a0b002 	mov	fp, #2	; 0x2                                  <== NOT EXECUTED
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
    2518:	e3a09001 	mov	r9, #1	; 0x1                                  <== NOT EXECUTED
    251c:	ea00002e 	b	25dc <rtems_termios_puts+0x104>                 <== NOT EXECUTED
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
    2520:	e5941088 	ldr	r1, [r4, #136]                                <== NOT EXECUTED
    2524:	e2860001 	add	r0, r6, #1	; 0x1                              <== NOT EXECUTED
    2528:	eb003f29 	bl	121d4 <__umodsi3>                              <== NOT EXECUTED
    252c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
    2530:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
    2534:	e38530c0 	orr	r3, r5, #192	; 0xc0                           <== NOT EXECUTED
    2538:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    253c:	ea00000a 	b	256c <rtems_termios_puts+0x94>                  <== NOT EXECUTED
		while (newHead == tty->rawOutBuf.Tail) {                            
			tty->rawOutBufState = rob_wait;                                    
    2540:	e584b094 	str	fp, [r4, #148]                                <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
    2544:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
    2548:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    254c:	e594008c 	ldr	r0, [r4, #140]                                <== NOT EXECUTED
    2550:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    2554:	eb000779 	bl	4340 <rtems_semaphore_obtain>                  <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
    2558:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
    255c:	1b000931 	blne	4a28 <rtems_fatal_error_occurred>            <== NOT EXECUTED
			rtems_interrupt_disable (level);                                   
    2560:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
    2564:	e38530c0 	orr	r3, r5, #192	; 0xc0                           <== NOT EXECUTED
    2568:	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) {                            
    256c:	e5943084 	ldr	r3, [r4, #132]                                <== NOT EXECUTED
    2570:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
    2574:	0afffff1 	beq	2540 <rtems_termios_puts+0x68>                <== NOT EXECUTED
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
    2578:	e5941080 	ldr	r1, [r4, #128]                                <== NOT EXECUTED
    257c:	e7da2008 	ldrb	r2, [sl, r8]                                 <== NOT EXECUTED
    2580:	e594307c 	ldr	r3, [r4, #124]                                <== NOT EXECUTED
    2584:	e7c32001 	strb	r2, [r3, r1]                                 <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
    2588:	e5943094 	ldr	r3, [r4, #148]                                <== NOT EXECUTED
    258c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
    2590:	e5846080 	str	r6, [r4, #128]                                <== NOT EXECUTED
		if (tty->rawOutBufState == rob_idle) {                              
    2594:	1a00000d 	bne	25d0 <rtems_termios_puts+0xf8>                <== NOT EXECUTED
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
    2598:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    259c:	e3130010 	tst	r3, #16	; 0x10                                <== NOT EXECUTED
		    (*tty->device.write)(tty->minor,                                
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
    25a0:	159430b8 	ldrne	r3, [r4, #184]                              <== NOT EXECUTED
    25a4:	13833020 	orrne	r3, r3, #32	; 0x20                          <== NOT EXECUTED
    25a8:	158430b8 	strne	r3, [r4, #184]                              <== NOT EXECUTED
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
    25ac:	1a000006 	bne	25cc <rtems_termios_puts+0xf4>                <== NOT EXECUTED
		    (*tty->device.write)(tty->minor,                                
    25b0:	e5943084 	ldr	r3, [r4, #132]                                <== NOT EXECUTED
    25b4:	e594107c 	ldr	r1, [r4, #124]                                <== NOT EXECUTED
    25b8:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    25bc:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
    25c0:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    25c4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    25c8:	e594f0a4 	ldr	pc, [r4, #164]                                <== NOT EXECUTED
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
    25cc:	e5849094 	str	r9, [r4, #148]                                <== NOT EXECUTED
		}                                                                   
		rtems_interrupt_enable (level);                                     
    25d0:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
		len--;                                                              
    25d4:	e2477001 	sub	r7, r7, #1	; 0x1                              <== NOT EXECUTED
    25d8:	e2888001 	add	r8, r8, #1	; 0x1                              <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
    25dc:	e3570000 	cmp	r7, #0	; 0x0                                  <== NOT EXECUTED
    25e0:	1affffce 	bne	2520 <rtems_termios_puts+0x48>                <== NOT EXECUTED
    25e4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      

00002ca4 <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
    2ca4:	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;                    
    2ca8:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
    2cac:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
    2cb0:	e5934028 	ldr	r4, [r3, #40]                                 <== 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);
    2cb4:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
    2cb8:	e5973008 	ldr	r3, [r7, #8]                                  <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
    2cbc:	e24dd00c 	sub	sp, sp, #12	; 0xc                             <== 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);
    2cc0:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
    2cc4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
    2cc8:	e597800c 	ldr	r8, [r7, #12]                                 <== NOT EXECUTED
	char      *buffer = args->buffer;                                    
    2ccc:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    2cd0:	eb00059a 	bl	4340 <rtems_semaphore_obtain>                  <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
    2cd4:	e250a000 	subs	sl, r0, #0	; 0x0                             <== NOT EXECUTED
    2cd8:	1a0000d4 	bne	3030 <rtems_termios_read+0x38c>               <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
    2cdc:	e59420cc 	ldr	r2, [r4, #204]                                <== NOT EXECUTED
    2ce0:	e59f3354 	ldr	r3, [pc, #852]	; 303c <rtems_termios_read+0x398><== NOT EXECUTED
    2ce4:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
    2ce8:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
    2cec:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2cf0:	0a000005 	beq	2d0c <rtems_termios_read+0x68>                <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
    2cf4:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
    2cf8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    2cfc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2d00:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    2d04:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
    2d08:	ea0000c4 	b	3020 <rtems_termios_read+0x37c>                 <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
    2d0c:	e5942024 	ldr	r2, [r4, #36]                                 <== NOT EXECUTED
    2d10:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    2d14:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2d18:	1a0000ad 	bne	2fd4 <rtems_termios_read+0x330>               <== NOT EXECUTED
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
    2d1c:	e59430a0 	ldr	r3, [r4, #160]                                <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
    2d20:	e5942028 	ldr	r2, [r4, #40]                                 <== NOT EXECUTED
		if (tty->device.pollRead != NULL                                    
    2d24:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
    2d28:	e584202c 	str	r2, [r4, #44]                                 <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
    2d2c:	e584a020 	str	sl, [r4, #32]                                 <== NOT EXECUTED
    2d30:	e584a024 	str	sl, [r4, #36]                                 <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
    2d34:	0a00004a 	beq	2e64 <rtems_termios_read+0x1c0>               <== NOT EXECUTED
    2d38:	e59430b4 	ldr	r3, [r4, #180]                                <== NOT EXECUTED
    2d3c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2d40:	1a000047 	bne	2e64 <rtems_termios_read+0x1c0>               <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
    2d44:	e594303c 	ldr	r3, [r4, #60]                                 <== NOT EXECUTED
    2d48:	e3130002 	tst	r3, #2	; 0x2                                  <== NOT EXECUTED
    2d4c:	0a00000d 	beq	2d88 <rtems_termios_read+0xe4>                <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
    2d50:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2d54:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2d58:	e594f0a0 	ldr	pc, [r4, #160]                                <== NOT EXECUTED
			if (n < 0) {                                                       
    2d5c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
    2d60:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2d64:	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) {                                                       
    2d68:	aa000002 	bge	2d78 <rtems_termios_read+0xd4>                <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
    2d6c:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
    2d70:	eb0006a8 	bl	4818 <rtems_task_wake_after>                   <== NOT EXECUTED
    2d74:	eafffff5 	b	2d50 <rtems_termios_read+0xac>                  <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
    2d78:	ebffff66 	bl	2b18 <siproc>                                  <== NOT EXECUTED
    2d7c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    2d80:	0afffff2 	beq	2d50 <rtems_termios_read+0xac>                <== NOT EXECUTED
    2d84:	ea000092 	b	2fd4 <rtems_termios_read+0x330>                 <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		if (!tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])           
    2d88:	e5d43047 	ldrb	r3, [r4, #71]                                <== NOT EXECUTED
    2d8c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2d90:	1a000004 	bne	2da8 <rtems_termios_read+0x104>               <== NOT EXECUTED
    2d94:	e5d43046 	ldrb	r3, [r4, #70]                                <== NOT EXECUTED
    2d98:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
			rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then);         
    2d9c:	13a00002 	movne	r0, #2	; 0x2                                <== NOT EXECUTED
    2da0:	128d1008 	addne	r1, sp, #8	; 0x8                            <== NOT EXECUTED
    2da4:	1b000347 	blne	3ac8 <rtems_clock_get>                       <== NOT EXECUTED
			else {                                                             
				siproc (n, tty);                                                  
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
					rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then);       
    2da8:	e28d6008 	add	r6, sp, #8	; 0x8                              <== NOT EXECUTED
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
						break;                                                          
					rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &now);        
    2dac:	e28d5004 	add	r5, sp, #4	; 0x4                              <== NOT EXECUTED
	else {                                                               
		rtems_interval then, now;                                           
		if (!tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])           
			rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then);         
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
    2db0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2db4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2db8:	e594f0a0 	ldr	pc, [r4, #160]                                <== NOT EXECUTED
			if (n < 0) {                                                       
    2dbc:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    2dc0:	aa000017 	bge	2e24 <rtems_termios_read+0x180>               <== NOT EXECUTED
				if (tty->termios.c_cc[VMIN]) {                                    
    2dc4:	e5d43047 	ldrb	r3, [r4, #71]                                <== NOT EXECUTED
    2dc8:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2dcc:	e5d43046 	ldrb	r3, [r4, #70]                                <== NOT EXECUTED
    2dd0:	0a000005 	beq	2dec <rtems_termios_read+0x148>               <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
    2dd4:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2dd8:	0a00000e 	beq	2e18 <rtems_termios_read+0x174>               <== NOT EXECUTED
    2ddc:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    2de0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2de4:	0a00000b 	beq	2e18 <rtems_termios_read+0x174>               <== NOT EXECUTED
    2de8:	ea000001 	b	2df4 <rtems_termios_read+0x150>                 <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
    2dec:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2df0:	0a000077 	beq	2fd4 <rtems_termios_read+0x330>               <== NOT EXECUTED
						break;                                                          
					rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &now);        
    2df4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    2df8:	e3a00002 	mov	r0, #2	; 0x2                                  <== NOT EXECUTED
    2dfc:	eb000331 	bl	3ac8 <rtems_clock_get>                         <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
    2e00:	e59d2008 	ldr	r2, [sp, #8]                                  <== NOT EXECUTED
    2e04:	e59d3004 	ldr	r3, [sp, #4]                                  <== NOT EXECUTED
    2e08:	e5941054 	ldr	r1, [r4, #84]                                 <== NOT EXECUTED
    2e0c:	e0623003 	rsb	r3, r2, r3                                    <== NOT EXECUTED
    2e10:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
    2e14:	8a00006e 	bhi	2fd4 <rtems_termios_read+0x330>               <== NOT EXECUTED
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
    2e18:	e3a00001 	mov	r0, #1	; 0x1                                  <== NOT EXECUTED
    2e1c:	eb00067d 	bl	4818 <rtems_task_wake_after>                   <== NOT EXECUTED
    2e20:	eaffffe2 	b	2db0 <rtems_termios_read+0x10c>                 <== NOT EXECUTED
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
    2e24:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
    2e28:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2e2c:	ebffff39 	bl	2b18 <siproc>                                  <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
    2e30:	e5d42047 	ldrb	r2, [r4, #71]                                <== NOT EXECUTED
    2e34:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    2e38:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
    2e3c:	aa000064 	bge	2fd4 <rtems_termios_read+0x330>               <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
    2e40:	e3520000 	cmp	r2, #0	; 0x0                                  <== NOT EXECUTED
    2e44:	0affffd9 	beq	2db0 <rtems_termios_read+0x10c>               <== NOT EXECUTED
    2e48:	e5d43046 	ldrb	r3, [r4, #70]                                <== NOT EXECUTED
    2e4c:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2e50:	0affffd6 	beq	2db0 <rtems_termios_read+0x10c>               <== NOT EXECUTED
					rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then);       
    2e54:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    2e58:	e3a00002 	mov	r0, #2	; 0x2                                  <== NOT EXECUTED
    2e5c:	eb000319 	bl	3ac8 <rtems_clock_get>                         <== NOT EXECUTED
    2e60:	eaffffd2 	b	2db0 <rtems_termios_read+0x10c>                 <== 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;         
    2e64:	e5945074 	ldr	r5, [r4, #116]                                <== NOT EXECUTED
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
    2e68:	e2849049 	add	r9, r4, #73	; 0x49                            <== NOT EXECUTED
    2e6c:	e3a06001 	mov	r6, #1	; 0x1                                  <== 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))                  
    2e70:	e59fb1c8 	ldr	fp, [pc, #456]	; 3040 <rtems_termios_read+0x39c><== NOT EXECUTED
    2e74:	ea000054 	b	2fcc <rtems_termios_read+0x328>                 <== NOT EXECUTED
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
    2e78:	e594005c 	ldr	r0, [r4, #92]                                 <== NOT EXECUTED
    2e7c:	e5941064 	ldr	r1, [r4, #100]                                <== NOT EXECUTED
    2e80:	e2800001 	add	r0, r0, #1	; 0x1                              <== NOT EXECUTED
    2e84:	eb003cd2 	bl	121d4 <__umodsi3>                              <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
    2e88:	e5943058 	ldr	r3, [r4, #88]                                 <== NOT EXECUTED
    2e8c:	e7d35000 	ldrb	r5, [r3, r0]                                 <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
    2e90:	e584005c 	str	r0, [r4, #92]                                 <== NOT EXECUTED
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
    2e94:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
			tty->rawInBuf.Head = newHead;                                      
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
    2e98:	e5943060 	ldr	r3, [r4, #96]                                 <== NOT EXECUTED
    2e9c:	e5940064 	ldr	r0, [r4, #100]                                <== NOT EXECUTED
    2ea0:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
    2ea4:	e5941064 	ldr	r1, [r4, #100]                                <== NOT EXECUTED
    2ea8:	e0620000 	rsb	r0, r2, r0                                    <== NOT EXECUTED
    2eac:	eb003cc8 	bl	121d4 <__umodsi3>                              <== NOT EXECUTED
    2eb0:	e59430bc 	ldr	r3, [r4, #188]                                <== NOT EXECUTED
    2eb4:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    2eb8:	2a00001e 	bcs	2f38 <rtems_termios_read+0x294>               <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
    2ebc:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    2ec0:	e3c33001 	bic	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    2ec4:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
    2ec8:	e59f3170 	ldr	r3, [pc, #368]	; 3040 <rtems_termios_read+0x39c><== NOT EXECUTED
    2ecc:	e59420b8 	ldr	r2, [r4, #184]                                <== NOT EXECUTED
    2ed0:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
    2ed4:	e153000b 	cmp	r3, fp                                        <== NOT EXECUTED
    2ed8:	1a00000b 	bne	2f0c <rtems_termios_read+0x268>               <== NOT EXECUTED
    2edc:	e5943094 	ldr	r3, [r4, #148]                                <== NOT EXECUTED
    2ee0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    2ee4:	0a000002 	beq	2ef4 <rtems_termios_read+0x250>               <== NOT EXECUTED
    2ee8:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    2eec:	e3130020 	tst	r3, #32	; 0x20                                <== NOT EXECUTED
    2ef0:	0a000005 	beq	2f0c <rtems_termios_read+0x268>               <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
    2ef4:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2ef8:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
    2efc:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    2f00:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2f04:	e594f0a4 	ldr	pc, [r4, #164]                                <== NOT EXECUTED
    2f08:	ea00000a 	b	2f38 <rtems_termios_read+0x294>                 <== NOT EXECUTED
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
    2f0c:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    2f10:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
    2f14:	0a000007 	beq	2f38 <rtems_termios_read+0x294>               <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
    2f18:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
    2f1c:	e59420b0 	ldr	r2, [r4, #176]                                <== NOT EXECUTED
			    (*tty->device.write)(tty->minor,                               
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
    2f20:	e3c33004 	bic	r3, r3, #4	; 0x4                              <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
    2f24:	e3520000 	cmp	r2, #0	; 0x0                                  <== NOT EXECUTED
			    (*tty->device.write)(tty->minor,                               
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
    2f28:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
			      tty->device.startRemoteTx(tty->minor);                       
    2f2c:	15940010 	ldrne	r0, [r4, #16]                               <== NOT EXECUTED
    2f30:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    2f34:	112fff12 	bxne	r2                                           <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
    2f38:	e594303c 	ldr	r3, [r4, #60]                                 <== NOT EXECUTED
    2f3c:	e3130002 	tst	r3, #2	; 0x2                                  <== NOT EXECUTED
    2f40:	0a000005 	beq	2f5c <rtems_termios_read+0x2b8>               <== NOT EXECUTED
				if  (siproc (c, tty))                                             
    2f44:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    2f48:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2f4c:	ebfffef1 	bl	2b18 <siproc>                                  <== NOT EXECUTED
    2f50:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    2f54:	1a000007 	bne	2f78 <rtems_termios_read+0x2d4>               <== NOT EXECUTED
    2f58:	ea000007 	b	2f7c <rtems_termios_read+0x2d8>                 <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
    2f5c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    2f60:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2f64:	ebfffeeb 	bl	2b18 <siproc>                                  <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
    2f68:	e5d42047 	ldrb	r2, [r4, #71]                                <== NOT EXECUTED
    2f6c:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    2f70:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
    2f74:	ba000000 	blt	2f7c <rtems_termios_read+0x2d8>               <== NOT EXECUTED
    2f78:	e3a06000 	mov	r6, #0	; 0x0                                  <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			timeout = tty->rawInBufSemaphoreTimeout;                           
    2f7c:	e5941070 	ldr	r1, [r4, #112]                                <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
    2f80:	e594205c 	ldr	r2, [r4, #92]                                 <== NOT EXECUTED
    2f84:	e5943060 	ldr	r3, [r4, #96]                                 <== NOT EXECUTED
    2f88:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2f8c:	0a000005 	beq	2fa8 <rtems_termios_read+0x304>               <== NOT EXECUTED
    2f90:	e59f20ac 	ldr	r2, [pc, #172]	; 3044 <rtems_termios_read+0x3a0><== NOT EXECUTED
    2f94:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
    2f98:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
    2f9c:	e2433001 	sub	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    2fa0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2fa4:	baffffb3 	blt	2e78 <rtems_termios_read+0x1d4>               <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
    2fa8:	e3560000 	cmp	r6, #0	; 0x0                                  <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
    2fac:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
    2fb0:	0a000007 	beq	2fd4 <rtems_termios_read+0x330>               <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
    2fb4:	e2840068 	add	r0, r4, #104	; 0x68                           <== NOT EXECUTED
    2fb8:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    2fbc:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    2fc0:	eb0004de 	bl	4340 <rtems_semaphore_obtain>                  <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
    2fc4:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    2fc8:	1a000001 	bne	2fd4 <rtems_termios_read+0x330>               <== NOT EXECUTED
{                                                                     
	rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;         
	rtems_status_code sc;                                                
	int               wait = (int)1;                                     
                                                                      
	while ( wait ) {                                                     
    2fcc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    2fd0:	eaffffea 	b	2f80 <rtems_termios_read+0x2dc>                 <== NOT EXECUTED
    2fd4:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    2fd8:	ea000006 	b	2ff8 <rtems_termios_read+0x354>                 <== NOT EXECUTED
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
    2fdc:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
    2fe0:	e7d33002 	ldrb	r3, [r3, r2]                                 <== NOT EXECUTED
    2fe4:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
    2fe8:	e7c23001 	strb	r3, [r2, r1]                                 <== NOT EXECUTED
    2fec:	e5840024 	str	r0, [r4, #36]                                 <== NOT EXECUTED
		count--;                                                            
    2ff0:	e2488001 	sub	r8, r8, #1	; 0x1                              <== NOT EXECUTED
    2ff4:	e2811001 	add	r1, r1, #1	; 0x1                              <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
    2ff8:	e3580000 	cmp	r8, #0	; 0x0                                  <== NOT EXECUTED
    2ffc:	0a000004 	beq	3014 <rtems_termios_read+0x370>               <== NOT EXECUTED
    3000:	e5942024 	ldr	r2, [r4, #36]                                 <== NOT EXECUTED
    3004:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    3008:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
    300c:	e2820001 	add	r0, r2, #1	; 0x1                              <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
    3010:	bafffff1 	blt	2fdc <rtems_termios_read+0x338>               <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
    3014:	e597300c 	ldr	r3, [r7, #12]                                 <== NOT EXECUTED
    3018:	e0683003 	rsb	r3, r8, r3                                    <== NOT EXECUTED
    301c:	e5873014 	str	r3, [r7, #20]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
    3020:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    3024:	e58430e4 	str	r3, [r4, #228]                                <== NOT EXECUTED
	rtems_semaphore_release (tty->isem);                                 
    3028:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
    302c:	eb000509 	bl	4458 <rtems_semaphore_release>                 <== NOT EXECUTED
	return sc;                                                           
}                                                                     
    3030:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
    3034:	e28dd00c 	add	sp, sp, #12	; 0xc                             <== NOT EXECUTED
    3038:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      

00001fb0 <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))
    1fb0:	e59030b8 	ldr	r3, [r0, #184]                                <== NOT EXECUTED
    1fb4:	e59f21d8 	ldr	r2, [pc, #472]	; 2194 <rtems_termios_refill_transmitter+0x1e4><== NOT EXECUTED
    1fb8:	e0032002 	and	r2, r3, r2                                    <== NOT EXECUTED
    1fbc:	e59f31d4 	ldr	r3, [pc, #468]	; 2198 <rtems_termios_refill_transmitter+0x1e8><== NOT EXECUTED
    1fc0:	e1520003 	cmp	r2, r3                                        <== 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)      
{                                                                     
    1fc4:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
    1fc8:	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))          
    1fcc:	1a00000f 	bne	2010 <rtems_termios_refill_transmitter+0x60>  <== NOT EXECUTED
	    == (FL_MDXOF | FL_IREQXOF)) {                                    
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
    1fd0:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
    1fd4:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    1fd8:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
    1fdc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1fe0:	e594f0a4 	ldr	pc, [r4, #164]                                <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
    1fe4:	e10f1000 	mrs	r1, CPSR                                      <== NOT EXECUTED
    1fe8:	e38130c0 	orr	r3, r1, #192	; 0xc0                           <== NOT EXECUTED
    1fec:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  tty->t_dqlen--;                                                    
    1ff0:	e5942090 	ldr	r2, [r4, #144]                                <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
    1ff4:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
    1ff8:	e2422001 	sub	r2, r2, #1	; 0x1                              <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
    1ffc:	e3833002 	orr	r3, r3, #2	; 0x2                              <== NOT EXECUTED
    2000:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
    2004:	e5842090 	str	r2, [r4, #144]                                <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
    2008:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    200c:	ea000012 	b	205c <rtems_termios_refill_transmitter+0xac>    <== NOT EXECUTED
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
    2010:	e59030b8 	ldr	r3, [r0, #184]                                <== NOT EXECUTED
    2014:	e2033003 	and	r3, r3, #3	; 0x3                              <== NOT EXECUTED
    2018:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
    201c:	1a000010 	bne	2064 <rtems_termios_refill_transmitter+0xb4>  <== 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,                                   
    2020:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
    2024:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    2028:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
    202c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2030:	e594f0a4 	ldr	pc, [r4, #164]                                <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
    2034:	e10f1000 	mrs	r1, CPSR                                      <== NOT EXECUTED
    2038:	e38130c0 	orr	r3, r1, #192	; 0xc0                           <== NOT EXECUTED
    203c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  tty->t_dqlen--;                                                    
    2040:	e5942090 	ldr	r2, [r4, #144]                                <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
    2044:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
    2048:	e2422001 	sub	r2, r2, #1	; 0x1                              <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
    204c:	e3c33002 	bic	r3, r3, #2	; 0x2                              <== NOT EXECUTED
    2050:	e58430b8 	str	r3, [r4, #184]                                <== NOT EXECUTED
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
    2054:	e5842090 	str	r2, [r4, #144]                                <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
	  rtems_interrupt_enable(level);                                     
    2058:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
    205c:	e3a05001 	mov	r5, #1	; 0x1                                  <== NOT EXECUTED
    2060:	ea000049 	b	218c <rtems_termios_refill_transmitter+0x1dc>   <== NOT EXECUTED
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
    2064:	e5902080 	ldr	r2, [r0, #128]                                <== NOT EXECUTED
    2068:	e5903084 	ldr	r3, [r0, #132]                                <== NOT EXECUTED
    206c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2070:	1a000006 	bne	2090 <rtems_termios_refill_transmitter+0xe0>  <== NOT EXECUTED
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
    2074:	e5903094 	ldr	r3, [r0, #148]                                <== NOT EXECUTED
    2078:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
    207c:	1a000001 	bne	2088 <rtems_termios_refill_transmitter+0xd8>  <== NOT EXECUTED
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
    2080:	e590008c 	ldr	r0, [r0, #140]                                <== NOT EXECUTED
    2084:	eb0008f3 	bl	4458 <rtems_semaphore_release>                 <== NOT EXECUTED
    2088:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
    208c:	ea00003e 	b	218c <rtems_termios_refill_transmitter+0x1dc>   <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
    2090:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
    2094:	e38230c0 	orr	r3, r2, #192	; 0xc0                           <== NOT EXECUTED
    2098:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
    209c:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
    20a0:	e590c090 	ldr	ip, [r0, #144]                                <== NOT EXECUTED
	  tty->t_dqlen = 0;                                                  
    20a4:	e5803090 	str	r3, [r0, #144]                                <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
    20a8:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
    20ac:	e5900084 	ldr	r0, [r0, #132]                                <== NOT EXECUTED
    20b0:	e5941088 	ldr	r1, [r4, #136]                                <== NOT EXECUTED
    20b4:	e08c0000 	add	r0, ip, r0                                    <== NOT EXECUTED
    20b8:	eb004045 	bl	121d4 <__umodsi3>                              <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
    20bc:	e5943094 	ldr	r3, [r4, #148]                                <== NOT EXECUTED
    20c0:	e3530002 	cmp	r3, #2	; 0x2                                  <== 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;       
    20c4:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
    20c8:	e5840084 	str	r0, [r4, #132]                                <== NOT EXECUTED
	  if (tty->rawOutBufState == rob_wait) {                             
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
    20cc:	0594008c 	ldreq	r0, [r4, #140]                              <== NOT EXECUTED
    20d0:	0b0008e0 	bleq	4458 <rtems_semaphore_release>               <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
    20d4:	e5943080 	ldr	r3, [r4, #128]                                <== NOT EXECUTED
    20d8:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
    20dc:	1a00000a 	bne	210c <rtems_termios_refill_transmitter+0x15c> <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
    20e0:	e59420d4 	ldr	r2, [r4, #212]                                <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
    20e4:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
    20e8:	e3520000 	cmp	r2, #0	; 0x0                                  <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
    20ec:	e5845094 	str	r5, [r4, #148]                                <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
    20f0:	01a05002 	moveq	r5, r2                                      <== NOT EXECUTED
    20f4:	0a000023 	beq	2188 <rtems_termios_refill_transmitter+0x1d8> <== NOT EXECUTED
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
    20f8:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
    20fc:	e59410d8 	ldr	r1, [r4, #216]                                <== NOT EXECUTED
    2100:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2104:	e12fff12 	bx	r2                                             <== NOT EXECUTED
    2108:	ea00001e 	b	2188 <rtems_termios_refill_transmitter+0x1d8>   <== NOT EXECUTED
	    }                                                                
	  }                                                                  
	  /* check, whether output should stop due to received XOFF */       
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
    210c:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
    2110:	e2033e21 	and	r3, r3, #528	; 0x210                          <== NOT EXECUTED
    2114:	e3530e21 	cmp	r3, #528	; 0x210                              <== NOT EXECUTED
    2118:	1a00000a 	bne	2148 <rtems_termios_refill_transmitter+0x198> <== NOT EXECUTED
		   ==                (FL_MDXON | FL_ORCVXOF)) {                     
		  /* Buffer not empty, but output stops due to XOFF */              
		  /* set flag, that output has been stopped */                      
		  rtems_interrupt_disable(level);                                   
    211c:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
    2120:	e38320c0 	orr	r2, r3, #192	; 0xc0                           <== NOT EXECUTED
    2124:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		  tty->flow_ctrl |= FL_OSTOP;                                       
    2128:	e59420b8 	ldr	r2, [r4, #184]                                <== NOT EXECUTED
    212c:	e3822020 	orr	r2, r2, #32	; 0x20                            <== NOT EXECUTED
    2130:	e58420b8 	str	r2, [r4, #184]                                <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
    2134:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
    2138:	e5842094 	str	r2, [r4, #148]                                <== NOT EXECUTED
		  rtems_interrupt_enable(level);                                    
    213c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    2140:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
    2144:	ea00000f 	b	2188 <rtems_termios_refill_transmitter+0x1d8>   <== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
    2148:	e5943080 	ldr	r3, [r4, #128]                                <== NOT EXECUTED
    214c:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
		    nToSend = tty->rawOutBuf.Size - newTail;                        
    2150:	85943088 	ldrhi	r3, [r4, #136]                              <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
    2154:	95943080 	ldrls	r3, [r4, #128]                              <== NOT EXECUTED
    2158:	e0665003 	rsb	r5, r6, r3                                    <== 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)) {                    
    215c:	e59430b8 	ldr	r3, [r4, #184]                                <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
    2160:	e594107c 	ldr	r1, [r4, #124]                                <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
	    /* when flow control XON or XOF, don't send blocks of data     */
	    /* to allow fast reaction on incoming flow ctrl and low latency*/
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
    2164:	e3130c06 	tst	r3, #1536	; 0x600                             <== NOT EXECUTED
    2168:	13a05001 	movne	r5, #1	; 0x1                                <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
    216c:	e3a03001 	mov	r3, #1	; 0x1                                  <== NOT EXECUTED
    2170:	e5843094 	str	r3, [r4, #148]                                <== NOT EXECUTED
	    (*tty->device.write)(tty->minor,                                 
    2174:	e0811006 	add	r1, r1, r6                                    <== NOT EXECUTED
    2178:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    217c:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    2180:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2184:	e594f0a4 	ldr	pc, [r4, #164]                                <== NOT EXECUTED
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
    2188:	e5846084 	str	r6, [r4, #132]                                <== NOT EXECUTED
	}                                                                    
	return nToSend;                                                      
}                                                                     
    218c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    2190:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

00003a54 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
    3a54:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
    3a58:	e24dd008 	sub	sp, sp, #8	; 0x8                              <== NOT EXECUTED
    3a5c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
    3a60:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
    3a64:	e28d6007 	add	r6, sp, #7	; 0x7                              <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
    3a68:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
    3a6c:	e3a01002 	mov	r1, #2	; 0x2                                  <== NOT EXECUTED
    3a70:	e3a02000 	mov	r2, #0	; 0x0                                  <== NOT EXECUTED
    3a74:	e3a00003 	mov	r0, #3	; 0x3                                  <== NOT EXECUTED
    3a78:	eb0000a7 	bl	3d1c <rtems_event_receive>                     <== NOT EXECUTED
				     TERMIOS_RX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {                
    3a7c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    3a80:	e3130001 	tst	r3, #1	; 0x1                                  <== NOT EXECUTED
    3a84:	0a000003 	beq	3a98 <rtems_termios_rxdaemon+0x44>            <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
    3a88:	e58450c4 	str	r5, [r4, #196]                                <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
    3a8c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    3a90:	eb0002e8 	bl	4638 <rtems_task_delete>                       <== NOT EXECUTED
    3a94:	eafffff3 	b	3a68 <rtems_termios_rxdaemon+0x14>              <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
    3a98:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    3a9c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    3aa0:	e594f0a0 	ldr	pc, [r4, #160]                                <== NOT EXECUTED
    3aa4:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
    3aa8:	e3730001 	cmn	r3, #1	; 0x1                                  <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
    3aac:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    3ab0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3ab4:	e3a02001 	mov	r2, #1	; 0x1                                  <== NOT EXECUTED
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
    3ab8:	0affffea 	beq	3a68 <rtems_termios_rxdaemon+0x14>            <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
    3abc:	e5cd3007 	strb	r3, [sp, #7]                                 <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
    3ac0:	ebfff9d1 	bl	220c <rtems_termios_enqueue_raw_characters>    <== NOT EXECUTED
    3ac4:	eaffffe7 	b	3a68 <rtems_termios_rxdaemon+0x14>              <== NOT EXECUTED
                                                                      

00001fa4 <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);
    1fa4:	e59000c4 	ldr	r0, [r0, #196]                                <== NOT EXECUTED
    1fa8:	e3a01002 	mov	r1, #2	; 0x2                                  <== NOT EXECUTED
    1fac:	ea0007b9 	b	3e98 <rtems_event_send>                         <== NOT EXECUTED
                                                                      

000039e4 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
    39e4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
    39e8:	e59f7060 	ldr	r7, [pc, #96]	; 3a50 <rtems_termios_txdaemon+0x6c><== NOT EXECUTED
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
    39ec:	e24dd004 	sub	sp, sp, #4	; 0x4                              <== NOT EXECUTED
    39f0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
    39f4:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
    39f8:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
    39fc:	e3a01002 	mov	r1, #2	; 0x2                                  <== NOT EXECUTED
    3a00:	e3a02000 	mov	r2, #0	; 0x0                                  <== NOT EXECUTED
    3a04:	e3a00003 	mov	r0, #3	; 0x3                                  <== NOT EXECUTED
    3a08:	eb0000c3 	bl	3d1c <rtems_event_receive>                     <== NOT EXECUTED
				     TERMIOS_TX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {                
    3a0c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    3a10:	e3130001 	tst	r3, #1	; 0x1                                  <== NOT EXECUTED
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
    3a14:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
				     TERMIOS_TX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {                
    3a18:	0a000003 	beq	3a2c <rtems_termios_txdaemon+0x48>            <== NOT EXECUTED
			tty->txTaskId = 0;                                                 
    3a1c:	e58450c8 	str	r5, [r4, #200]                                <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
    3a20:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    3a24:	eb000303 	bl	4638 <rtems_task_delete>                       <== NOT EXECUTED
    3a28:	eafffff2 	b	39f8 <rtems_termios_txdaemon+0x14>              <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
    3a2c:	e59430cc 	ldr	r3, [r4, #204]                                <== NOT EXECUTED
    3a30:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
    3a34:	e5933014 	ldr	r3, [r3, #20]                                 <== NOT EXECUTED
    3a38:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
    3a3c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    3a40:	112fff13 	bxne	r3                                           <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
    3a44:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3a48:	ebfff958 	bl	1fb0 <rtems_termios_refill_transmitter>        <== NOT EXECUTED
    3a4c:	eaffffe9 	b	39f8 <rtems_termios_txdaemon+0x14>              <== NOT EXECUTED
                                                                      

00002b78 <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;
    2b78:	e5903000 	ldr	r3, [r0]                                      
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
    2b7c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
    2b80:	e5937028 	ldr	r7, [r3, #40]                                 
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    2b84:	e3a01000 	mov	r1, #0	; 0x0                                  
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
    2b88:	e1a04000 	mov	r4, r0                                        
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    2b8c:	e1a02001 	mov	r2, r1                                        
    2b90:	e5970018 	ldr	r0, [r7, #24]                                 
    2b94:	eb0005e9 	bl	4340 <rtems_semaphore_obtain>                  
	if (sc != RTEMS_SUCCESSFUL)                                          
    2b98:	e2508000 	subs	r8, r0, #0	; 0x0                             
    2b9c:	1a000022 	bne	2c2c <rtems_termios_write+0xb4>               
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
    2ba0:	e59720cc 	ldr	r2, [r7, #204]                                
    2ba4:	e59f3088 	ldr	r3, [pc, #136]	; 2c34 <rtems_termios_write+0xbc>
    2ba8:	e0833282 	add	r3, r3, r2, lsl #5                            
    2bac:	e593300c 	ldr	r3, [r3, #12]                                 
    2bb0:	e3530000 	cmp	r3, #0	; 0x0                                  
    2bb4:	0a000005 	beq	2bd0 <rtems_termios_write+0x58>               
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
    2bb8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2bbc:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    2bc0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2bc4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    2bc8:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
    2bcc:	ea000014 	b	2c24 <rtems_termios_write+0xac>                 <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
    2bd0:	e5973034 	ldr	r3, [r7, #52]                                 
    2bd4:	e3130001 	tst	r3, #1	; 0x1                                  
		uint32_t   count = args->count;                                     
    2bd8:	1594600c 	ldrne	r6, [r4, #12]                               
		char      *buffer = args->buffer;                                   
    2bdc:	1594a008 	ldrne	sl, [r4, #8]                                
    2be0:	11a05008 	movne	r5, r8                                      
	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) {                                  
    2be4:	1a000003 	bne	2bf8 <rtems_termios_write+0x80>               
    2be8:	ea000007 	b	2c0c <rtems_termios_write+0x94>                 <== NOT EXECUTED
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
			oproc (*buffer++, tty);                                            
    2bec:	e7da0005 	ldrb	r0, [sl, r5]                                 
    2bf0:	ebfffe7c 	bl	25e8 <oproc>                                   
    2bf4:	e2855001 	add	r5, r5, #1	; 0x1                              
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
    2bf8:	e3560000 	cmp	r6, #0	; 0x0                                  
			oproc (*buffer++, tty);                                            
    2bfc:	e1a01007 	mov	r1, r7                                        
    2c00:	e2466001 	sub	r6, r6, #1	; 0x1                              
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
    2c04:	1afffff8 	bne	2bec <rtems_termios_write+0x74>               
    2c08:	ea000003 	b	2c1c <rtems_termios_write+0xa4>                 
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
    2c0c:	e2840008 	add	r0, r4, #8	; 0x8                              <== NOT EXECUTED
    2c10:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    2c14:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
    2c18:	ebfffe2e 	bl	24d8 <rtems_termios_puts>                      <== NOT EXECUTED
		args->bytes_moved = args->count;                                    
    2c1c:	e594300c 	ldr	r3, [r4, #12]                                 
    2c20:	e5843014 	str	r3, [r4, #20]                                 
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
    2c24:	e5970018 	ldr	r0, [r7, #24]                                 
    2c28:	eb00060a 	bl	4458 <rtems_semaphore_release>                 
	return sc;                                                           
}                                                                     
    2c2c:	e1a00008 	mov	r0, r8                                        
    2c30:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

0000545c <rtems_timer_fire_after>: Objects_Id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
    545c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
    5460:	e251a000 	subs	sl, r1, #0	; 0x0                             
  Objects_Id                         id,                              
  rtems_interval                     ticks,                           
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
    5464:	e1a07000 	mov	r7, r0                                        
    5468:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    546c:	e1a06002 	mov	r6, r2                                        
    5470:	e1a08003 	mov	r8, r3                                        
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
    5474:	03a0000a 	moveq	r0, #10	; 0xa                               
    5478:	0a000022 	beq	5508 <rtems_timer_fire_after+0xac>            
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  if ( !routine )                                                     
    547c:	e3520000 	cmp	r2, #0	; 0x0                                  
    5480:	03a00009 	moveq	r0, #9	; 0x9                                
    5484:	0a00001f 	beq	5508 <rtems_timer_fire_after+0xac>            
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    5488:	e59f0080 	ldr	r0, [pc, #128]	; 5510 <rtems_timer_fire_after+0xb4>
    548c:	e1a01007 	mov	r1, r7                                        
    5490:	e1a0200d 	mov	r2, sp                                        
    5494:	eb0004a9 	bl	6740 <_Objects_Get>                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
    5498:	e59d3000 	ldr	r3, [sp]                                      
    549c:	e3530000 	cmp	r3, #0	; 0x0                                  
    54a0:	e1a04000 	mov	r4, r0                                        
    54a4:	13a00004 	movne	r0, #4	; 0x4                                
    54a8:	1a000016 	bne	5508 <rtems_timer_fire_after+0xac>            
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
    54ac:	e2845010 	add	r5, r4, #16	; 0x10                            
    54b0:	e1a00005 	mov	r0, r5                                        
    54b4:	eb000b63 	bl	8248 <_Watchdog_Remove>                        
                                                                      
      _ISR_Disable( level );                                          
    54b8:	e10f2000 	mrs	r2, CPSR                                      
    54bc:	e38230c0 	orr	r3, r2, #192	; 0xc0                           
    54c0:	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 ) {         
    54c4:	e5943018 	ldr	r3, [r4, #24]                                 
    54c8:	e3530000 	cmp	r3, #0	; 0x0                                  
    54cc:	0a000001 	beq	54d8 <rtems_timer_fire_after+0x7c>            
          _ISR_Enable( level );                                       
    54d0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
    54d4:	ea000009 	b	5500 <rtems_timer_fire_after+0xa4>              <== NOT EXECUTED
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    54d8:	e5843018 	str	r3, [r4, #24]                                 
  the_watchdog->routine   = routine;                                  
    54dc:	e584602c 	str	r6, [r4, #44]                                 
  the_watchdog->id        = id;                                       
    54e0:	e5847030 	str	r7, [r4, #48]                                 
  the_watchdog->user_data = user_data;                                
    54e4:	e5848034 	str	r8, [r4, #52]                                 
        /*                                                            
         *  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;                        
    54e8:	e5843038 	str	r3, [r4, #56]                                 
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _ISR_Enable( level );                                           
    54ec:	e129f002 	msr	CPSR_fc, r2                                   
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    54f0:	e59f001c 	ldr	r0, [pc, #28]	; 5514 <rtems_timer_fire_after+0xb8>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
    54f4:	e584a01c 	str	sl, [r4, #28]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    54f8:	e1a01005 	mov	r1, r5                                        
    54fc:	eb000af5 	bl	80d8 <_Watchdog_Insert>                        
                                                                      
                                                                      
      _Watchdog_Insert_ticks( &the_timer->Ticker, ticks );            
      _Thread_Enable_dispatch();                                      
    5500:	eb000692 	bl	6f50 <_Thread_Enable_dispatch>                 
    5504:	e3a00000 	mov	r0, #0	; 0x0                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
    5508:	e28dd004 	add	sp, sp, #4	; 0x4                              
    550c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

00010c3c <rtems_timer_reset>: */ rtems_status_code rtems_timer_reset( Objects_Id id ) {
   10c3c:	e92d4030 	push	{r4, r5, lr}                                 
   10c40:	e24dd004 	sub	sp, sp, #4	; 0x4                              
   10c44:	e1a01000 	mov	r1, r0                                        
   10c48:	e1a0200d 	mov	r2, sp                                        
   10c4c:	e59f00a4 	ldr	r0, [pc, #164]	; 10cf8 <rtems_timer_reset+0xbc>
   10c50:	eb0009fe 	bl	13450 <_Objects_Get>                           
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   10c54:	e59d3000 	ldr	r3, [sp]                                      
   10c58:	e3530000 	cmp	r3, #0	; 0x0                                  
   10c5c:	e1a04000 	mov	r4, r0                                        
   10c60:	13a00004 	movne	r0, #4	; 0x4                                
   10c64:	1a000021 	bne	10cf0 <rtems_timer_reset+0xb4>                
                                                                      
    case OBJECTS_LOCAL:                                               
      switch ( the_timer->the_class ) {                               
   10c68:	e5943038 	ldr	r3, [r4, #56]                                 
   10c6c:	e3530004 	cmp	r3, #4	; 0x4                                  
   10c70:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
   10c74:	ea00001b 	b	10ce8 <rtems_timer_reset+0xac>                  <== NOT EXECUTED
   10c78:	00010c8c 	.word	0x00010c8c                                  <== NOT EXECUTED
   10c7c:	00010ca8 	.word	0x00010ca8                                  <== NOT EXECUTED
   10c80:	00010cdc 	.word	0x00010cdc                                  <== NOT EXECUTED
   10c84:	00010cdc 	.word	0x00010cdc                                  <== NOT EXECUTED
   10c88:	00010cdc 	.word	0x00010cdc                                  <== NOT EXECUTED
        case TIMER_INTERVAL:                                          
          _Watchdog_Remove( &the_timer->Ticker );                     
   10c8c:	e2844010 	add	r4, r4, #16	; 0x10                            
   10c90:	e1a00004 	mov	r0, r4                                        
   10c94:	eb0011dd 	bl	15410 <_Watchdog_Remove>                       
          _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
   10c98:	e1a01004 	mov	r1, r4                                        
   10c9c:	e59f0058 	ldr	r0, [pc, #88]	; 10cfc <rtems_timer_reset+0xc0>
   10ca0:	eb00117e 	bl	152a0 <_Watchdog_Insert>                       
   10ca4:	ea00000f 	b	10ce8 <rtems_timer_reset+0xac>                  
          break;                                                      
        case TIMER_INTERVAL_ON_TASK:                                  
          if ( !_Timer_Server_schedule_operation ) {                  
   10ca8:	e59f5050 	ldr	r5, [pc, #80]	; 10d00 <rtems_timer_reset+0xc4>
   10cac:	e5953000 	ldr	r3, [r5]                                      
   10cb0:	e3530000 	cmp	r3, #0	; 0x0                                  
   10cb4:	1a000002 	bne	10cc4 <rtems_timer_reset+0x88>                
            _Thread_Enable_dispatch();                                
   10cb8:	eb000c0a 	bl	13ce8 <_Thread_Enable_dispatch>                <== NOT EXECUTED
   10cbc:	e3a0000e 	mov	r0, #14	; 0xe                                 <== NOT EXECUTED
   10cc0:	ea00000a 	b	10cf0 <rtems_timer_reset+0xb4>                  <== NOT EXECUTED
            return RTEMS_INCORRECT_STATE;                             
          }                                                           
          _Watchdog_Remove( &the_timer->Ticker );                     
   10cc4:	e2840010 	add	r0, r4, #16	; 0x10                            
   10cc8:	eb0011d0 	bl	15410 <_Watchdog_Remove>                       
          (*_Timer_Server_schedule_operation)( the_timer );           
   10ccc:	e1a00004 	mov	r0, r4                                        
   10cd0:	e1a0e00f 	mov	lr, pc                                        
   10cd4:	e595f000 	ldr	pc, [r5]                                      
   10cd8:	ea000002 	b	10ce8 <rtems_timer_reset+0xac>                  
          break;                                                      
        case TIMER_TIME_OF_DAY:                                       
        case TIMER_TIME_OF_DAY_ON_TASK:                               
        case TIMER_DORMANT:                                           
          _Thread_Enable_dispatch();                                  
   10cdc:	eb000c01 	bl	13ce8 <_Thread_Enable_dispatch>                
   10ce0:	e3a0000b 	mov	r0, #11	; 0xb                                 
   10ce4:	ea000001 	b	10cf0 <rtems_timer_reset+0xb4>                  
          return RTEMS_NOT_DEFINED;                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
   10ce8:	eb000bfe 	bl	13ce8 <_Thread_Enable_dispatch>                
   10cec:	e3a00000 	mov	r0, #0	; 0x0                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   10cf0:	e28dd004 	add	sp, sp, #4	; 0x4                              
   10cf4:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00010d04 <rtems_timer_server_fire_after>: Objects_Id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
   10d04:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
                                                                      
  if ( !_Timer_Server )                                               
   10d08:	e59fc0c4 	ldr	ip, [pc, #196]	; 10dd4 <rtems_timer_server_fire_after+0xd0>
   10d0c:	e59cc000 	ldr	ip, [ip]                                      
   10d10:	e35c0000 	cmp	ip, #0	; 0x0                                  
  Objects_Id                         id,                              
  rtems_interval                     ticks,                           
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
   10d14:	e1a06000 	mov	r6, r0                                        
   10d18:	e24dd004 	sub	sp, sp, #4	; 0x4                              
   10d1c:	e1a07001 	mov	r7, r1                                        
   10d20:	e1a05002 	mov	r5, r2                                        
   10d24:	e1a08003 	mov	r8, r3                                        
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
                                                                      
  if ( !_Timer_Server )                                               
   10d28:	03a0000e 	moveq	r0, #14	; 0xe                               
   10d2c:	0a000026 	beq	10dcc <rtems_timer_server_fire_after+0xc8>    
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
   10d30:	e3520000 	cmp	r2, #0	; 0x0                                  
   10d34:	03a00009 	moveq	r0, #9	; 0x9                                
   10d38:	0a000023 	beq	10dcc <rtems_timer_server_fire_after+0xc8>    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
   10d3c:	e3510000 	cmp	r1, #0	; 0x0                                  
   10d40:	03a0000a 	moveq	r0, #10	; 0xa                               
   10d44:	0a000020 	beq	10dcc <rtems_timer_server_fire_after+0xc8>    
   10d48:	e59f0088 	ldr	r0, [pc, #136]	; 10dd8 <rtems_timer_server_fire_after+0xd4>
   10d4c:	e1a01006 	mov	r1, r6                                        
   10d50:	e1a0200d 	mov	r2, sp                                        
   10d54:	eb0009bd 	bl	13450 <_Objects_Get>                           
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   10d58:	e59d3000 	ldr	r3, [sp]                                      
   10d5c:	e3530000 	cmp	r3, #0	; 0x0                                  
   10d60:	e1a04000 	mov	r4, r0                                        
   10d64:	13a00004 	movne	r0, #4	; 0x4                                
   10d68:	1a000017 	bne	10dcc <rtems_timer_server_fire_after+0xc8>    
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
   10d6c:	e2840010 	add	r0, r4, #16	; 0x10                            
   10d70:	eb0011a6 	bl	15410 <_Watchdog_Remove>                       
                                                                      
      _ISR_Disable( level );                                          
   10d74:	e10f1000 	mrs	r1, CPSR                                      
   10d78:	e38130c0 	orr	r3, r1, #192	; 0xc0                           
   10d7c:	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 ) {         
   10d80:	e5942018 	ldr	r2, [r4, #24]                                 
   10d84:	e3520000 	cmp	r2, #0	; 0x0                                  
   10d88:	0a000001 	beq	10d94 <rtems_timer_server_fire_after+0x90>    
          _ISR_Enable( level );                                       
   10d8c:	e129f001 	msr	CPSR_fc, r1                                   <== NOT EXECUTED
   10d90:	ea00000b 	b	10dc4 <rtems_timer_server_fire_after+0xc0>      <== NOT EXECUTED
        /*                                                            
         *  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;                
   10d94:	e3a03001 	mov	r3, #1	; 0x1                                  
   10d98:	e5843038 	str	r3, [r4, #56]                                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   10d9c:	e5842018 	str	r2, [r4, #24]                                 
  the_watchdog->routine   = routine;                                  
   10da0:	e584502c 	str	r5, [r4, #44]                                 
  the_watchdog->id        = id;                                       
   10da4:	e5846030 	str	r6, [r4, #48]                                 
  the_watchdog->user_data = user_data;                                
   10da8:	e5848034 	str	r8, [r4, #52]                                 
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
        the_timer->Ticker.initial = ticks;                            
   10dac:	e584701c 	str	r7, [r4, #28]                                 
      _ISR_Enable( level );                                           
   10db0:	e129f001 	msr	CPSR_fc, r1                                   
      /*                                                              
       * _Timer_Server_schedule_operation != NULL because we checked that
       * _Timer_Server was != NULL above.  Both are set at the same time.
       */                                                             
                                                                      
      (*_Timer_Server_schedule_operation)( the_timer );               
   10db4:	e59f3020 	ldr	r3, [pc, #32]	; 10ddc <rtems_timer_server_fire_after+0xd8>
   10db8:	e1a00004 	mov	r0, r4                                        
   10dbc:	e1a0e00f 	mov	lr, pc                                        
   10dc0:	e593f000 	ldr	pc, [r3]                                      
                                                                      
      _Thread_Enable_dispatch();                                      
   10dc4:	eb000bc7 	bl	13ce8 <_Thread_Enable_dispatch>                
   10dc8:	e3a00000 	mov	r0, #0	; 0x0                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   10dcc:	e28dd004 	add	sp, sp, #4	; 0x4                              
   10dd0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

000022c4 <rtems_verror>: static int rtems_verror( uint32_t error_flag, const char *printf_format, va_list arglist ) {
    22c4:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
    22c8:	e2109202 	ands	r9, r0, #536870912	; 0x20000000              <== NOT EXECUTED
static int rtems_verror(                                              
    uint32_t     error_flag,                                          
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
    22cc:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
    22d0:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
    22d4:	e1a0a002 	mov	sl, r2                                        <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
    22d8:	0a00000d 	beq	2314 <rtems_verror+0x50>                      <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
    22dc:	e59f2168 	ldr	r2, [pc, #360]	; 244c <rtems_verror+0x188>    <== NOT EXECUTED
    22e0:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
    22e4:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    22e8:	e2833001 	add	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    22ec:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
    22f0:	0a000003 	beq	2304 <rtems_verror+0x40>                      <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    22f4:	e59f2154 	ldr	r2, [pc, #340]	; 2450 <rtems_verror+0x18c>    <== NOT EXECUTED
    22f8:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
    22fc:	e2833001 	add	r3, r3, #1	; 0x1                              <== NOT EXECUTED
    2300:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
    2304:	e59f3140 	ldr	r3, [pc, #320]	; 244c <rtems_verror+0x188>    <== NOT EXECUTED
    2308:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    230c:	e3530002 	cmp	r3, #2	; 0x2                                  <== NOT EXECUTED
    2310:	ca00004b 	bgt	2444 <rtems_verror+0x180>                     <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
    2314:	e59f3138 	ldr	r3, [pc, #312]	; 2454 <rtems_verror+0x190>    <== NOT EXECUTED
    2318:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    231c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
    2320:	eb002bc3 	bl	d234 <fflush>                                  <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
    2324:	e2180101 	ands	r0, r8, #1073741824	; 0x40000000             <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    2328:	e3c84207 	bic	r4, r8, #1879048192	; 0x70000000              <== NOT EXECUTED
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
    232c:	01a07000 	moveq	r7, r0                                      <== NOT EXECUTED
    2330:	0a000001 	beq	233c <rtems_verror+0x78>                      <== NOT EXECUTED
        local_errno = errno;                                          
    2334:	eb002afe 	bl	cf34 <__errno>                                 <== NOT EXECUTED
    2338:	e5907000 	ldr	r7, [r0]                                      <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
    233c:	e59f6110 	ldr	r6, [pc, #272]	; 2454 <rtems_verror+0x190>    <== NOT EXECUTED
    2340:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
    2344:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    2348:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    234c:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
    2350:	eb004038 	bl	12438 <vfprintf>                               <== NOT EXECUTED
                                                                      
    if (status)                                                       
    2354:	e3540000 	cmp	r4, #0	; 0x0                                  <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
    2358:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
    235c:	0a000009 	beq	2388 <rtems_verror+0xc4>                      <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
    2360:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
const char *                                                          
rtems_status_text(                                                    
    rtems_status_code status                                          
)                                                                     
{                                                                     
    return rtems_assoc_name_by_local(rtems_status_assoc, status);     
    2364:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2368:	e59f00e8 	ldr	r0, [pc, #232]	; 2458 <rtems_verror+0x194>    <== NOT EXECUTED
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
                                                                      
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
    236c:	e593400c 	ldr	r4, [r3, #12]                                 <== NOT EXECUTED
const char *                                                          
rtems_status_text(                                                    
    rtems_status_code status                                          
)                                                                     
{                                                                     
    return rtems_assoc_name_by_local(rtems_status_assoc, status);     
    2370:	eb001fdb 	bl	a2e4 <rtems_assoc_name_by_local>               <== NOT EXECUTED
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
                                                                      
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
    2374:	e59f10e0 	ldr	r1, [pc, #224]	; 245c <rtems_verror+0x198>    <== NOT EXECUTED
const char *                                                          
rtems_status_text(                                                    
    rtems_status_code status                                          
)                                                                     
{                                                                     
    return rtems_assoc_name_by_local(rtems_status_assoc, status);     
    2378:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
                                                                      
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
    237c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    2380:	eb002c84 	bl	d598 <fprintf>                                 <== NOT EXECUTED
    2384:	e0855000 	add	r5, r5, r0                                    <== NOT EXECUTED
                                                                      
    if (local_errno)                                                  
    2388:	e3570000 	cmp	r7, #0	; 0x0                                  <== NOT EXECUTED
    238c:	0a000015 	beq	23e8 <rtems_verror+0x124>                     <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
    2390:	da00000d 	ble	23cc <rtems_verror+0x108>                     <== NOT EXECUTED
    2394:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    2398:	eb00307d 	bl	e594 <strerror>                                <== NOT EXECUTED
    239c:	e5d03000 	ldrb	r3, [r0]                                     <== NOT EXECUTED
    23a0:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    23a4:	0a000008 	beq	23cc <rtems_verror+0x108>                     <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    23a8:	e59f30a4 	ldr	r3, [pc, #164]	; 2454 <rtems_verror+0x190>    <== NOT EXECUTED
    23ac:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    23b0:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    23b4:	e593400c 	ldr	r4, [r3, #12]                                 <== NOT EXECUTED
    23b8:	eb003075 	bl	e594 <strerror>                                <== NOT EXECUTED
    23bc:	e59f109c 	ldr	r1, [pc, #156]	; 2460 <rtems_verror+0x19c>    <== NOT EXECUTED
    23c0:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
    23c4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    23c8:	ea000004 	b	23e0 <rtems_verror+0x11c>                       <== NOT EXECUTED
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    23cc:	e59f3080 	ldr	r3, [pc, #128]	; 2454 <rtems_verror+0x190>    <== NOT EXECUTED
    23d0:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    23d4:	e59f1088 	ldr	r1, [pc, #136]	; 2464 <rtems_verror+0x1a0>    <== NOT EXECUTED
    23d8:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    23dc:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
    23e0:	eb002c6c 	bl	d598 <fprintf>                                 <== NOT EXECUTED
    23e4:	e0855000 	add	r5, r5, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
    23e8:	e59f4064 	ldr	r4, [pc, #100]	; 2454 <rtems_verror+0x190>    <== NOT EXECUTED
    23ec:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    23f0:	e59f1070 	ldr	r1, [pc, #112]	; 2468 <rtems_verror+0x1a4>    <== NOT EXECUTED
    23f4:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    23f8:	eb002c66 	bl	d598 <fprintf>                                 <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
    23fc:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
    2400:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
    2404:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    2408:	eb002b89 	bl	d234 <fflush>                                  <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
    240c:	e3180203 	tst	r8, #805306368	; 0x30000000                   <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
    2410:	00860005 	addeq	r0, r6, r5                                  <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
    2414:	08bd87f0 	popeq	{r4, r5, r6, r7, r8, r9, sl, pc}            <== NOT EXECUTED
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
    2418:	e3590000 	cmp	r9, #0	; 0x0                                  <== NOT EXECUTED
    241c:	0a000004 	beq	2434 <rtems_verror+0x170>                     <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
    2420:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
    2424:	e59f1040 	ldr	r1, [pc, #64]	; 246c <rtems_verror+0x1a8>     <== NOT EXECUTED
    2428:	eb00001a 	bl	2498 <rtems_error>                             <== NOT EXECUTED
            _exit(local_errno);                                       
    242c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    2430:	eb00016b 	bl	29e4 <_exit>                                   <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
    2434:	e59f1034 	ldr	r1, [pc, #52]	; 2470 <rtems_verror+0x1ac>     <== NOT EXECUTED
    2438:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
    243c:	eb000015 	bl	2498 <rtems_error>                             <== NOT EXECUTED
            abort();                                                  
    2440:	eb002ab2 	bl	cf10 <abort>                                   <== NOT EXECUTED
    2444:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
    2448:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      

0000513c <rtems_workspace_allocate>: */ bool rtems_workspace_allocate( uintptr_t bytes, void **pointer ) {
    513c:	e92d4010 	push	{r4, lr}                                     
  void *ptr;                                                          
                                                                      
  /*                                                                  
   * check the arguments                                              
   */                                                                 
  if ( !pointer )                                                     
    5140:	e2514000 	subs	r4, r1, #0	; 0x0                             
    5144:	0a000008 	beq	516c <rtems_workspace_allocate+0x30>          
    return false;                                                     
                                                                      
  if ( !bytes )                                                       
    5148:	e3500000 	cmp	r0, #0	; 0x0                                  
    514c:	0a000006 	beq	516c <rtems_workspace_allocate+0x30>          
    return false;                                                     
                                                                      
  /*                                                                  
   * Allocate the memory                                              
   */                                                                 
  ptr =  _Protected_heap_Allocate( &_Workspace_Area, (intptr_t) bytes );
    5150:	e1a01000 	mov	r1, r0                                        
    5154:	e59f0018 	ldr	r0, [pc, #24]	; 5174 <rtems_workspace_allocate+0x38>
    5158:	eb00051c 	bl	65d0 <_Protected_heap_Allocate>                
  if (!ptr)                                                           
    515c:	e3500000 	cmp	r0, #0	; 0x0                                  
    return false;                                                     
                                                                      
  *pointer = ptr;                                                     
    5160:	15840000 	strne	r0, [r4]                                    
    5164:	13a00001 	movne	r0, #1	; 0x1                                
                                                                      
  /*                                                                  
   * Allocate the memory                                              
   */                                                                 
  ptr =  _Protected_heap_Allocate( &_Workspace_Area, (intptr_t) bytes );
  if (!ptr)                                                           
    5168:	18bd8010 	popne	{r4, pc}                                    
    return false;                                                     
                                                                      
  *pointer = ptr;                                                     
  return true;                                                        
    516c:	e3a00000 	mov	r0, #0	; 0x0                                  <== NOT EXECUTED
}                                                                     
    5170:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

0000512c <rtems_workspace_free>: * _Workspace_Allocate */ bool rtems_workspace_free( void *pointer ) {
    512c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
   return _Protected_heap_Free( &_Workspace_Area, pointer );          
    5130:	e59f0000 	ldr	r0, [pc, #0]	; 5138 <rtems_workspace_free+0xc><== NOT EXECUTED
    5134:	ea000534 	b	660c <_Protected_heap_Free>                     <== NOT EXECUTED
                                                                      

00003f90 <scandir>: scandir( const char *dirname, struct dirent ***namelist, int (*select)(struct dirent *), int (*dcomp)(const struct dirent **, const struct dirent **)) {
    3f90:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    3f94:	e24dd050 	sub	sp, sp, #80	; 0x50                            
    3f98:	e58d1000 	str	r1, [sp]                                      
    3f9c:	e1a09002 	mov	r9, r2                                        
    3fa0:	e1a0b003 	mov	fp, r3                                        
	struct stat stb;                                                     
	long arraysz;                                                        
	DIR *dirp = NULL;                                                    
        int i;                                                        
                                                                      
	if ((dirp = opendir(dirname)) == NULL)                               
    3fa4:	ebfffdff 	bl	37a8 <opendir>                                 
    3fa8:	e250a000 	subs	sl, r0, #0	; 0x0                             
    3fac:	0a00005b 	beq	4120 <scandir+0x190>                          
		return(-1);                                                         
	if (fstat(dirp->dd_fd, &stb) < 0)                                    
    3fb0:	e28d4004 	add	r4, sp, #4	; 0x4                              
    3fb4:	e59a0000 	ldr	r0, [sl]                                      
    3fb8:	e1a01004 	mov	r1, r4                                        
    3fbc:	eb001a59 	bl	a928 <fstat>                                   
    3fc0:	e3500000 	cmp	r0, #0	; 0x0                                  
    3fc4:	ba000046 	blt	40e4 <scandir+0x154>                          
                                                                      
	/*                                                                   
	 * estimate the array size by taking the size of the directory file  
	 * and dividing it by a multiple of the minimum size entry.          
	 */                                                                  
	arraysz = (stb.st_size / 24);                                        
    3fc8:	e59d0024 	ldr	r0, [sp, #36]                                 
    3fcc:	e3a01018 	mov	r1, #24	; 0x18                                
    3fd0:	eb0037c1 	bl	11edc <__aeabi_idiv>                           
    3fd4:	e1a08000 	mov	r8, r0                                        
	names = (struct dirent **)malloc(arraysz * sizeof(struct dirent *)); 
    3fd8:	e1a00100 	lsl	r0, r0, #2                                    
    3fdc:	ebfffc04 	bl	2ff4 <malloc>                                  
	if (names == NULL)                                                   
    3fe0:	e2505000 	subs	r5, r0, #0	; 0x0                             
    3fe4:	13a06000 	movne	r6, #0	; 0x0                                
    3fe8:	1a00002c 	bne	40a0 <scandir+0x110>                          
    3fec:	ea00003d 	b	40e8 <scandir+0x158>                            
		goto  cleanup_and_bail;                                             
                                                                      
	while ((d = readdir(dirp)) != NULL) {                                
		if (select != NULL && !(*select)(d))                                
    3ff0:	e3590000 	cmp	r9, #0	; 0x0                                  
    3ff4:	0a000003 	beq	4008 <scandir+0x78>                           
    3ff8:	e1a0e00f 	mov	lr, pc                                        
    3ffc:	e12fff19 	bx	r9                                             
    4000:	e3500000 	cmp	r0, #0	; 0x0                                  
    4004:	0a000025 	beq	40a0 <scandir+0x110>                          
			continue;	/* just selected names */                                
		/*                                                                  
		 * Make a minimum size copy of the data                             
		 */                                                                 
		p = (struct dirent *)malloc(DIRSIZ(d));                             
    4008:	e1d400ba 	ldrh	r0, [r4, #10]                                
    400c:	e2800004 	add	r0, r0, #4	; 0x4                              
    4010:	e3c00003 	bic	r0, r0, #3	; 0x3                              
    4014:	e280000c 	add	r0, r0, #12	; 0xc                             
    4018:	ebfffbf5 	bl	2ff4 <malloc>                                  
		if (p == NULL)                                                      
    401c:	e2507000 	subs	r7, r0, #0	; 0x0                             
		      goto  cleanup_and_bail;                                       
		p->d_ino = d->d_ino;                                                
		p->d_reclen = d->d_reclen;                                          
		p->d_namlen = d->d_namlen;                                          
		strncpy(p->d_name, d->d_name, p->d_namlen + 1);                     
    4020:	e284100c 	add	r1, r4, #12	; 0xc                             
    4024:	e287000c 	add	r0, r7, #12	; 0xc                             
			continue;	/* just selected names */                                
		/*                                                                  
		 * Make a minimum size copy of the data                             
		 */                                                                 
		p = (struct dirent *)malloc(DIRSIZ(d));                             
		if (p == NULL)                                                      
    4028:	0a00002f 	beq	40ec <scandir+0x15c>                          
		      goto  cleanup_and_bail;                                       
		p->d_ino = d->d_ino;                                                
		p->d_reclen = d->d_reclen;                                          
		p->d_namlen = d->d_namlen;                                          
    402c:	e1d4c0ba 	ldrh	ip, [r4, #10]                                
		 * Make a minimum size copy of the data                             
		 */                                                                 
		p = (struct dirent *)malloc(DIRSIZ(d));                             
		if (p == NULL)                                                      
		      goto  cleanup_and_bail;                                       
		p->d_ino = d->d_ino;                                                
    4030:	e5943000 	ldr	r3, [r4]                                      
		p->d_reclen = d->d_reclen;                                          
    4034:	e1d440b8 	ldrh	r4, [r4, #8]                                 
		 * Make a minimum size copy of the data                             
		 */                                                                 
		p = (struct dirent *)malloc(DIRSIZ(d));                             
		if (p == NULL)                                                      
		      goto  cleanup_and_bail;                                       
		p->d_ino = d->d_ino;                                                
    4038:	e5873000 	str	r3, [r7]                                      
		p->d_reclen = d->d_reclen;                                          
		p->d_namlen = d->d_namlen;                                          
		strncpy(p->d_name, d->d_name, p->d_namlen + 1);                     
    403c:	e28c2001 	add	r2, ip, #1	; 0x1                              
		/*                                                                  
		 * Check to make sure the array has space left and                  
		 * realloc the maximum size.                                        
		 */                                                                 
		if (++nitems >= arraysz) {                                          
    4040:	e2866001 	add	r6, r6, #1	; 0x1                              
		 */                                                                 
		p = (struct dirent *)malloc(DIRSIZ(d));                             
		if (p == NULL)                                                      
		      goto  cleanup_and_bail;                                       
		p->d_ino = d->d_ino;                                                
		p->d_reclen = d->d_reclen;                                          
    4044:	e1c740b8 	strh	r4, [r7, #8]                                 
		p->d_namlen = d->d_namlen;                                          
    4048:	e1c7c0ba 	strh	ip, [r7, #10]                                
		strncpy(p->d_name, d->d_name, p->d_namlen + 1);                     
    404c:	eb002fcf 	bl	ff90 <strncpy>                                 
		/*                                                                  
		 * Check to make sure the array has space left and                  
		 * realloc the maximum size.                                        
		 */                                                                 
		if (++nitems >= arraysz) {                                          
    4050:	e1560008 	cmp	r6, r8                                        
    4054:	3a00000d 	bcc	4090 <scandir+0x100>                          
			if (fstat(dirp->dd_fd, &stb) < 0)                                  
    4058:	e28d1004 	add	r1, sp, #4	; 0x4                              <== NOT EXECUTED
    405c:	e59a0000 	ldr	r0, [sl]                                      <== NOT EXECUTED
    4060:	eb001a30 	bl	a928 <fstat>                                   <== NOT EXECUTED
    4064:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
				goto  cleanup_and_bail;	/* just might have grown */               
			arraysz = stb.st_size / 12;                                        
    4068:	e3a0100c 	mov	r1, #12	; 0xc                                 <== NOT EXECUTED
		/*                                                                  
		 * Check to make sure the array has space left and                  
		 * realloc the maximum size.                                        
		 */                                                                 
		if (++nitems >= arraysz) {                                          
			if (fstat(dirp->dd_fd, &stb) < 0)                                  
    406c:	ba00001e 	blt	40ec <scandir+0x15c>                          <== NOT EXECUTED
				goto  cleanup_and_bail;	/* just might have grown */               
			arraysz = stb.st_size / 12;                                        
    4070:	e59d0024 	ldr	r0, [sp, #36]                                 <== NOT EXECUTED
    4074:	eb003798 	bl	11edc <__aeabi_idiv>                           <== NOT EXECUTED
    4078:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
			names = (struct dirent **)realloc((char *)names,                   
    407c:	e1a01108 	lsl	r1, r8, #2                                    <== NOT EXECUTED
    4080:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    4084:	eb001ac1 	bl	ab90 <realloc>                                 <== NOT EXECUTED
				arraysz * sizeof(struct dirent *));                               
			if (names == NULL)                                                 
    4088:	e2505000 	subs	r5, r0, #0	; 0x0                             <== NOT EXECUTED
    408c:	0a000016 	beq	40ec <scandir+0x15c>                          <== NOT EXECUTED
		      goto  cleanup_and_bail;                                       
		}                                                                   
		names[nitems-1] = p;                                                
    4090:	e2663001 	rsb	r3, r6, #1	; 0x1                              
    4094:	e3e02003 	mvn	r2, #3	; 0x3                                  
    4098:	e0030392 	mul	r3, r2, r3                                    
    409c:	e7857003 	str	r7, [r5, r3]                                  
	arraysz = (stb.st_size / 24);                                        
	names = (struct dirent **)malloc(arraysz * sizeof(struct dirent *)); 
	if (names == NULL)                                                   
		goto  cleanup_and_bail;                                             
                                                                      
	while ((d = readdir(dirp)) != NULL) {                                
    40a0:	e1a0000a 	mov	r0, sl                                        
    40a4:	ebffff36 	bl	3d84 <readdir>                                 
    40a8:	e2504000 	subs	r4, r0, #0	; 0x0                             
    40ac:	1affffcf 	bne	3ff0 <scandir+0x60>                           
			if (names == NULL)                                                 
		      goto  cleanup_and_bail;                                       
		}                                                                   
		names[nitems-1] = p;                                                
	}                                                                    
	closedir(dirp);                                                      
    40b0:	e1a0000a 	mov	r0, sl                                        
    40b4:	ebfff901 	bl	24c0 <closedir>                                
	if (nitems && dcomp != NULL){                                        
    40b8:	e3560000 	cmp	r6, #0	; 0x0                                  
    40bc:	135b0000 	cmpne	fp, #0	; 0x0                                
		qsort(names, nitems, sizeof(struct dirent *),                       
    40c0:	11a0300b 	movne	r3, fp                                      
    40c4:	11a00005 	movne	r0, r5                                      
    40c8:	11a01006 	movne	r1, r6                                      
    40cc:	13a02004 	movne	r2, #4	; 0x4                                
    40d0:	1b002c6d 	blne	f28c <qsort>                                 
		(int (*)(const void *, const void *)) dcomp);                       
        }                                                             
	*namelist = names;                                                   
    40d4:	e59d3000 	ldr	r3, [sp]                                      
	return(nitems);                                                      
    40d8:	e1a00006 	mov	r0, r6                                        
	closedir(dirp);                                                      
	if (nitems && dcomp != NULL){                                        
		qsort(names, nitems, sizeof(struct dirent *),                       
		(int (*)(const void *, const void *)) dcomp);                       
        }                                                             
	*namelist = names;                                                   
    40dc:	e5835000 	str	r5, [r3]                                      
    40e0:	ea00000f 	b	4124 <scandir+0x194>                            
	return(nitems);                                                      
    40e4:	e3a05000 	mov	r5, #0	; 0x0                                  <== NOT EXECUTED
    40e8:	e1a06005 	mov	r6, r5                                        
                                                                      
cleanup_and_bail:                                                     
                                                                      
	if ( dirp )                                                          
		closedir( dirp );                                                   
    40ec:	e1a0000a 	mov	r0, sl                                        
    40f0:	ebfff8f2 	bl	24c0 <closedir>                                
                                                                      
	if ( names ) {                                                       
    40f4:	e3550000 	cmp	r5, #0	; 0x0                                  
    40f8:	13a04000 	movne	r4, #0	; 0x0                                
    40fc:	0a000007 	beq	4120 <scandir+0x190>                          
    4100:	ea000002 	b	4110 <scandir+0x180>                            <== NOT EXECUTED
		for (i=0; i < nitems; i++ )                                         
			free( names[i] );                                                  
    4104:	e7950104 	ldr	r0, [r5, r4, lsl #2]                          <== NOT EXECUTED
    4108:	ebfffa19 	bl	2974 <free>                                    <== NOT EXECUTED
                                                                      
	if ( dirp )                                                          
		closedir( dirp );                                                   
                                                                      
	if ( names ) {                                                       
		for (i=0; i < nitems; i++ )                                         
    410c:	e2844001 	add	r4, r4, #1	; 0x1                              <== NOT EXECUTED
    4110:	e1540006 	cmp	r4, r6                                        <== NOT EXECUTED
    4114:	3afffffa 	bcc	4104 <scandir+0x174>                          <== NOT EXECUTED
			free( names[i] );                                                  
		free( names );                                                      
    4118:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    411c:	ebfffa14 	bl	2974 <free>                                    <== NOT EXECUTED
    4120:	e3e00000 	mvn	r0, #0	; 0x0                                  
	}                                                                    
                                                                      
	return(-1);                                                          
}                                                                     
    4124:	e28dd050 	add	sp, sp, #80	; 0x50                            
    4128:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

000068ac <sem_destroy>: */ int sem_destroy( sem_t *sem ) {
    68ac:	e92d4010 	push	{r4, lr}                                     
    68b0:	e24dd004 	sub	sp, sp, #4	; 0x4                              
    68b4:	e5901000 	ldr	r1, [r0]                                      
    68b8:	e1a0200d 	mov	r2, sp                                        
    68bc:	e59f0048 	ldr	r0, [pc, #72]	; 690c <sem_destroy+0x60>       
    68c0:	eb000858 	bl	8a28 <_Objects_Get>                            
  register POSIX_Semaphore_Control *the_semaphore;                    
  Objects_Locations                 location;                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
    68c4:	e59d3000 	ldr	r3, [sp]                                      
    68c8:	e3530000 	cmp	r3, #0	; 0x0                                  
    68cc:	1a000008 	bne	68f4 <sem_destroy+0x48>                       
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Undefined operation on a named semaphore.                   
       */                                                             
                                                                      
      if ( the_semaphore->named == TRUE ) {                           
    68d0:	e5d04014 	ldrb	r4, [r0, #20]                                
    68d4:	e3540000 	cmp	r4, #0	; 0x0                                  
    68d8:	0a000001 	beq	68e4 <sem_destroy+0x38>                       
        _Thread_Enable_dispatch();                                    
    68dc:	eb000a55 	bl	9238 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    68e0:	ea000003 	b	68f4 <sem_destroy+0x48>                         <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EINVAL );               
      }                                                               
                                                                      
      _POSIX_Semaphore_Delete( the_semaphore );                       
    68e4:	eb001885 	bl	cb00 <_POSIX_Semaphore_Delete>                 
      _Thread_Enable_dispatch();                                      
    68e8:	eb000a52 	bl	9238 <_Thread_Enable_dispatch>                 
    68ec:	e1a00004 	mov	r0, r4                                        
    68f0:	ea000003 	b	6904 <sem_destroy+0x58>                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
    68f4:	eb002085 	bl	eb10 <__errno>                                 
    68f8:	e3a03016 	mov	r3, #22	; 0x16                                
    68fc:	e5803000 	str	r3, [r0]                                      
    6900:	e3e00000 	mvn	r0, #0	; 0x0                                  
}                                                                     
    6904:	e28dd004 	add	sp, sp, #4	; 0x4                              
    6908:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00006968 <sem_init>: int sem_init( sem_t *sem, int pshared, unsigned int value ) {
    6968:	e92d4010 	push	{r4, lr}                                     
  int                        status;                                  
  POSIX_Semaphore_Control   *the_semaphore;                           
                                                                      
  if ( !sem )                                                         
    696c:	e2504000 	subs	r4, r0, #0	; 0x0                             
int sem_init(                                                         
  sem_t         *sem,                                                 
  int            pshared,                                             
  unsigned int   value                                                
)                                                                     
{                                                                     
    6970:	e24dd004 	sub	sp, sp, #4	; 0x4                              
  int                        status;                                  
  POSIX_Semaphore_Control   *the_semaphore;                           
                                                                      
  if ( !sem )                                                         
    6974:	1a000004 	bne	698c <sem_init+0x24>                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    6978:	eb002064 	bl	eb10 <__errno>                                 <== NOT EXECUTED
    697c:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
    6980:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    6984:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    6988:	ea000006 	b	69a8 <sem_init+0x40>                            <== NOT EXECUTED
                                                                      
  status = _POSIX_Semaphore_Create_support(                           
    698c:	e1a0300d 	mov	r3, sp                                        
    6990:	e3a00000 	mov	r0, #0	; 0x0                                  
    6994:	eb00181b 	bl	ca08 <_POSIX_Semaphore_Create_support>         
    pshared,                                                          
    value,                                                            
    &the_semaphore                                                    
  );                                                                  
                                                                      
  if ( status != -1 )                                                 
    6998:	e3700001 	cmn	r0, #1	; 0x1                                  
    *sem = the_semaphore->Object.id;                                  
    699c:	159d3000 	ldrne	r3, [sp]                                    
    69a0:	15933008 	ldrne	r3, [r3, #8]                                
    69a4:	15843000 	strne	r3, [r4]                                    
                                                                      
  return status;                                                      
}                                                                     
    69a8:	e28dd004 	add	sp, sp, #4	; 0x4                              
    69ac:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

00006540 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
    6540:	e92d4010 	push	{r4, lr}                                     
    6544:	e1a04001 	mov	r4, r1                                        
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
    6548:	e3a01000 	mov	r1, #0	; 0x0                                  
    654c:	e1a02001 	mov	r2, r1                                        
    6550:	ebffff8d 	bl	638c <sigtimedwait>                            
                                                                      
  if ( status != -1 ) {                                               
    6554:	e3700001 	cmn	r0, #1	; 0x1                                  
    6558:	0a000004 	beq	6570 <sigwait+0x30>                           
    if ( sig )                                                        
    655c:	e3540000 	cmp	r4, #0	; 0x0                                  
      *sig = status;                                                  
    6560:	15840000 	strne	r0, [r4]                                    
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
    6564:	01a00004 	moveq	r0, r4                                      
      *sig = status;                                                  
    6568:	13a00000 	movne	r0, #0	; 0x0                                
    656c:	e8bd8010 	pop	{r4, pc}                                      
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
    6570:	eb001ee6 	bl	e110 <__errno>                                 <== NOT EXECUTED
    6574:	e5900000 	ldr	r0, [r0]                                      <== NOT EXECUTED
}                                                                     
    6578:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

00002b18 <siproc>: int i; /* * Obtain output semaphore if character will be echoed */ if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    2b18:	e591303c 	ldr	r3, [r1, #60]                                 <== NOT EXECUTED
    2b1c:	e59f2050 	ldr	r2, [pc, #80]	; 2b74 <siproc+0x5c>            <== NOT EXECUTED
    2b20:	e0032002 	and	r2, r3, r2                                    <== NOT EXECUTED
    2b24:	e3520000 	cmp	r2, #0	; 0x0                                  <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
    2b28:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    2b2c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
    2b30:	e20040ff 	and	r4, r0, #255	; 0xff                           <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    2b34:	0a00000b 	beq	2b68 <siproc+0x50>                            <== NOT EXECUTED
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
    2b38:	e3a01000 	mov	r1, #0	; 0x0                                  <== NOT EXECUTED
    2b3c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    2b40:	e5950018 	ldr	r0, [r5, #24]                                 <== NOT EXECUTED
    2b44:	eb0005fd 	bl	4340 <rtems_semaphore_obtain>                  <== NOT EXECUTED
		i = iproc (c, tty);                                                 
    2b48:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    2b4c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    2b50:	ebffff8b 	bl	2984 <iproc>                                   <== NOT EXECUTED
    2b54:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
    2b58:	e5950018 	ldr	r0, [r5, #24]                                 <== NOT EXECUTED
    2b5c:	eb00063d 	bl	4458 <rtems_semaphore_release>                 <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
    2b60:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    2b64:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
		i = iproc (c, tty);                                                 
		rtems_semaphore_release (tty->osem);                                
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
    2b68:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
    2b6c:	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);                                                 
    2b70:	eaffff83 	b	2984 <iproc>                                    <== NOT EXECUTED
                                                                      

000037b8 <stat>: int _STAT_NAME( const char *path, struct stat *buf ) {
    37b8:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    37bc:	e2514000 	subs	r4, r1, #0	; 0x0                             
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
    37c0:	e24dd010 	sub	sp, sp, #16	; 0x10                            
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    37c4:	1a000002 	bne	37d4 <stat+0x1c>                              
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    37c8:	eb0027e9 	bl	d774 <__errno>                                 
    37cc:	e3a0300e 	mov	r3, #14	; 0xe                                 
    37d0:	ea000014 	b	3828 <stat+0x70>                                
                                                                      
  status = rtems_filesystem_evaluate_path( path, 0, &loc, _STAT_FOLLOW_LINKS );
    37d4:	e3a01000 	mov	r1, #0	; 0x0                                  
    37d8:	e1a0200d 	mov	r2, sp                                        
    37dc:	e3a03001 	mov	r3, #1	; 0x1                                  
    37e0:	ebfffa2a 	bl	2090 <rtems_filesystem_evaluate_path>          
  if ( status != 0 )                                                  
    37e4:	e3500000 	cmp	r0, #0	; 0x0                                  
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, 0, &loc, _STAT_FOLLOW_LINKS );
    37e8:	e1a0500d 	mov	r5, sp                                        
  if ( status != 0 )                                                  
    37ec:	1a00000e 	bne	382c <stat+0x74>                              
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
    37f0:	e59d3004 	ldr	r3, [sp, #4]                                  
    37f4:	e5933018 	ldr	r3, [r3, #24]                                 
    37f8:	e3530000 	cmp	r3, #0	; 0x0                                  
    37fc:	1a00000c 	bne	3834 <stat+0x7c>                              
    rtems_filesystem_freenode( &loc );                                
    3800:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
    3804:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    3808:	0a000004 	beq	3820 <stat+0x68>                              <== NOT EXECUTED
    380c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    3810:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    3814:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    3818:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    381c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    3820:	eb0027d3 	bl	d774 <__errno>                                 <== NOT EXECUTED
    3824:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    3828:	e5803000 	str	r3, [r0]                                      
    382c:	e3e04000 	mvn	r4, #0	; 0x0                                  
    3830:	ea000011 	b	387c <stat+0xc4>                                
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
    3834:	e1a01000 	mov	r1, r0                                        
    3838:	e3a0204c 	mov	r2, #76	; 0x4c                                
    383c:	e1a00004 	mov	r0, r4                                        
    3840:	eb002bfa 	bl	e830 <memset>                                  
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
    3844:	e1a01004 	mov	r1, r4                                        
    3848:	e59d3004 	ldr	r3, [sp, #4]                                  
    384c:	e1a0000d 	mov	r0, sp                                        
    3850:	e1a0e00f 	mov	lr, pc                                        
    3854:	e593f018 	ldr	pc, [r3, #24]                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    3858:	e59d3008 	ldr	r3, [sp, #8]                                  
    385c:	e3530000 	cmp	r3, #0	; 0x0                                  
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
    3860:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    3864:	0a000004 	beq	387c <stat+0xc4>                              
    3868:	e593301c 	ldr	r3, [r3, #28]                                 
    386c:	e3530000 	cmp	r3, #0	; 0x0                                  
    3870:	11a0000d 	movne	r0, sp                                      
    3874:	11a0e00f 	movne	lr, pc                                      
    3878:	112fff13 	bxne	r3                                           
                                                                      
  return status;                                                      
}                                                                     
    387c:	e1a00004 	mov	r0, r4                                        
    3880:	e28dd010 	add	sp, sp, #16	; 0x10                            
    3884:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00003a20 <symlink>: int symlink( const char *actualpath, const char *sympath ) {
    3a20:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
    3a24:	e5d13000 	ldrb	r3, [r1]                                     
    3a28:	e353005c 	cmp	r3, #92	; 0x5c                                
    3a2c:	1353002f 	cmpne	r3, #47	; 0x2f                              
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
    3a30:	e24dd014 	sub	sp, sp, #20	; 0x14                            
    3a34:	e1a04001 	mov	r4, r1                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
    3a38:	13a0e000 	movne	lr, #0	; 0x0                                
    3a3c:	03a0e001 	moveq	lr, #1	; 0x1                                
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
    3a40:	e1a06000 	mov	r6, r0                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
    3a44:	0a000001 	beq	3a50 <symlink+0x30>                           
    3a48:	e3530000 	cmp	r3, #0	; 0x0                                  
    3a4c:	1a000006 	bne	3a6c <symlink+0x4c>                           
    3a50:	e59f30cc 	ldr	r3, [pc, #204]	; 3b24 <symlink+0x104>         
    3a54:	e5933000 	ldr	r3, [r3]                                      
    3a58:	e2833014 	add	r3, r3, #20	; 0x14                            
    3a5c:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    3a60:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
    3a64:	e3a03001 	mov	r3, #1	; 0x1                                  
    3a68:	ea000005 	b	3a84 <symlink+0x64>                             
    3a6c:	e59f30b0 	ldr	r3, [pc, #176]	; 3b24 <symlink+0x104>         
    3a70:	e5933000 	ldr	r3, [r3]                                      
    3a74:	e2833004 	add	r3, r3, #4	; 0x4                              
    3a78:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    3a7c:	e88d000f 	stm	sp, {r0, r1, r2, r3}                          
    3a80:	e1a0300e 	mov	r3, lr                                        
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
    3a84:	e0840003 	add	r0, r4, r3                                    
    3a88:	e1a0100d 	mov	r1, sp                                        
    3a8c:	e28d2010 	add	r2, sp, #16	; 0x10                            
    3a90:	e59d3008 	ldr	r3, [sp, #8]                                  
    3a94:	e1a0e00f 	mov	lr, pc                                        
    3a98:	e593f004 	ldr	pc, [r3, #4]                                  
  if ( result != 0 )                                                  
    3a9c:	e3500000 	cmp	r0, #0	; 0x0                                  
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
    3aa0:	e1a0500d 	mov	r5, sp                                        
  if ( result != 0 )                                                  
    3aa4:	1a00000b 	bne	3ad8 <symlink+0xb8>                           
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
    3aa8:	e59d3008 	ldr	r3, [sp, #8]                                  
    3aac:	e593c038 	ldr	ip, [r3, #56]                                 
    3ab0:	e35c0000 	cmp	ip, #0	; 0x0                                  
    3ab4:	1a000009 	bne	3ae0 <symlink+0xc0>                           
    rtems_filesystem_freenode( &loc );                                
    3ab8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    3abc:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    3ac0:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    3ac4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    3ac8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    3acc:	eb0026f9 	bl	d6b8 <__errno>                                 <== NOT EXECUTED
    3ad0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    3ad4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    3ad8:	e3e04000 	mvn	r4, #0	; 0x0                                  
    3adc:	ea00000d 	b	3b18 <symlink+0xf8>                             
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
    3ae0:	e1a01006 	mov	r1, r6                                        
    3ae4:	e1a0000d 	mov	r0, sp                                        
    3ae8:	e59d2010 	ldr	r2, [sp, #16]                                 
    3aec:	e1a0e00f 	mov	lr, pc                                        
    3af0:	e12fff1c 	bx	ip                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    3af4:	e59d3008 	ldr	r3, [sp, #8]                                  
    3af8:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
    3afc:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    3b00:	0a000004 	beq	3b18 <symlink+0xf8>                           
    3b04:	e593301c 	ldr	r3, [r3, #28]                                 
    3b08:	e3530000 	cmp	r3, #0	; 0x0                                  
    3b0c:	11a0000d 	movne	r0, sp                                      
    3b10:	11a0e00f 	movne	lr, pc                                      
    3b14:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    3b18:	e1a00004 	mov	r0, r4                                        
    3b1c:	e28dd014 	add	sp, sp, #20	; 0x14                            
    3b20:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00004230 <telldir>: DIR *dirp ) { rtems_libio_t *iop; if ( !dirp )
    4230:	e3500000 	cmp	r0, #0	; 0x0                                  
#include <rtems/seterr.h>                                             
                                                                      
long telldir(                                                         
  DIR *dirp                                                           
)                                                                     
{                                                                     
    4234:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_t  *iop;                                                
                                                                      
  if ( !dirp )                                                        
    4238:	1a000004 	bne	4250 <telldir+0x20>                           
    rtems_set_errno_and_return_minus_one( EBADF );                    
    423c:	eb002796 	bl	e09c <__errno>                                 <== NOT EXECUTED
    4240:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
    4244:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    4248:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
    424c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   *  Get the file control block structure associated with the        
   *  file descriptor                                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dirp->dd_fd );                               
    4250:	e59f3040 	ldr	r3, [pc, #64]	; 4298 <telldir+0x68>           
    4254:	e5901000 	ldr	r1, [r0]                                      
    4258:	e5933000 	ldr	r3, [r3]                                      
    425c:	e1510003 	cmp	r1, r3                                        
    4260:	2a000005 	bcs	427c <telldir+0x4c>                           
    4264:	e59f3030 	ldr	r3, [pc, #48]	; 429c <telldir+0x6c>           
    4268:	e5932000 	ldr	r2, [r3]                                      
    426c:	e3a03034 	mov	r3, #52	; 0x34                                
    4270:	e0202193 	mla	r0, r3, r1, r2                                
                                                                      
  if (iop == NULL)                                                    
    4274:	e3500000 	cmp	r0, #0	; 0x0                                  
    4278:	1a000004 	bne	4290 <telldir+0x60>                           
     assert(0);                                                       
    427c:	e59f001c 	ldr	r0, [pc, #28]	; 42a0 <telldir+0x70>           <== NOT EXECUTED
    4280:	e3a0102c 	mov	r1, #44	; 0x2c                                <== NOT EXECUTED
    4284:	e59f2018 	ldr	r2, [pc, #24]	; 42a4 <telldir+0x74>           <== NOT EXECUTED
    4288:	e59f3018 	ldr	r3, [pc, #24]	; 42a8 <telldir+0x78>           <== NOT EXECUTED
    428c:	ebfff828 	bl	2334 <__assert_func>                           <== NOT EXECUTED
                                                                      
  return (long)( iop->offset );                                       
    4290:	e5900008 	ldr	r0, [r0, #8]                                  
}                                                                     
    4294:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

00005548 <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
    5548:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
    554c:	e2525000 	subs	r5, r2, #0	; 0x0                             
  timer_t                  timerid,                                   
  int                      flags,                                     
  const struct itimerspec *value,                                     
  struct itimerspec       *ovalue                                     
)                                                                     
{                                                                     
    5550:	e24dd018 	sub	sp, sp, #24	; 0x18                            
    5554:	e1a07000 	mov	r7, r0                                        
    5558:	e1a0c001 	mov	ip, r1                                        
    555c:	e1a06003 	mov	r6, r3                                        
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
    5560:	0a000054 	beq	56b8 <timer_settime+0x170>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /* First, it verifies if the structure "value" is correct */        
  if ( ( value->it_value.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) ||   
    5564:	e59f2164 	ldr	r2, [pc, #356]	; 56d0 <timer_settime+0x188>   
    5568:	e595300c 	ldr	r3, [r5, #12]                                 
    556c:	e1530002 	cmp	r3, r2                                        
    5570:	8a000050 	bhi	56b8 <timer_settime+0x170>                    
    5574:	e5953004 	ldr	r3, [r5, #4]                                  
    5578:	e1530002 	cmp	r3, r2                                        
    557c:	8a00004d 	bhi	56b8 <timer_settime+0x170>                    
    5580:	e3530000 	cmp	r3, #0	; 0x0                                  
    5584:	ba00004b 	blt	56b8 <timer_settime+0x170>                    
       ( value->it_interval.tv_nsec < 0 )) {                          
    /* The number of nanoseconds is not correct */                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
    5588:	e3510004 	cmp	r1, #4	; 0x4                                  
    558c:	13510000 	cmpne	r1, #0	; 0x0                                
    5590:	1a000048 	bne	56b8 <timer_settime+0x170>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
    5594:	e895000f 	ldm	r5, {r0, r1, r2, r3}                          
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    5598:	e35c0004 	cmp	ip, #4	; 0x4                                  
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
    559c:	e28dc004 	add	ip, sp, #4	; 0x4                              
    55a0:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    55a4:	1a000009 	bne	55d0 <timer_settime+0x88>                     
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &_TOD_Now, &normalize.it_value ) )   
    55a8:	e28c4008 	add	r4, ip, #8	; 0x8                              
    55ac:	e59f0120 	ldr	r0, [pc, #288]	; 56d4 <timer_settime+0x18c>   
    55b0:	e1a01004 	mov	r1, r4                                        
    55b4:	eb000d9b 	bl	8c28 <_Timespec_Greater_than>                  
    55b8:	e3500000 	cmp	r0, #0	; 0x0                                  
    55bc:	1a00003d 	bne	56b8 <timer_settime+0x170>                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &_TOD_Now, &normalize.it_value, &normalize.it_value );
    55c0:	e1a01004 	mov	r1, r4                                        
    55c4:	e59f0108 	ldr	r0, [pc, #264]	; 56d4 <timer_settime+0x18c>   
    55c8:	e1a02004 	mov	r2, r4                                        
    55cc:	eb000da2 	bl	8c5c <_Timespec_Subtract>                      
    55d0:	e1a01007 	mov	r1, r7                                        
    55d4:	e59f00fc 	ldr	r0, [pc, #252]	; 56d8 <timer_settime+0x190>   
    55d8:	e28d2014 	add	r2, sp, #20	; 0x14                            
    55dc:	eb0007f2 	bl	75ac <_Objects_Get>                            
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
    55e0:	e59d3014 	ldr	r3, [sp, #20]                                 
    55e4:	e3530000 	cmp	r3, #0	; 0x0                                  
    55e8:	e1a04000 	mov	r4, r0                                        
    55ec:	1a000031 	bne	56b8 <timer_settime+0x170>                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
    55f0:	e59d300c 	ldr	r3, [sp, #12]                                 
    55f4:	e3530000 	cmp	r3, #0	; 0x0                                  
    55f8:	1a00000f 	bne	563c <timer_settime+0xf4>                     
    55fc:	e59d3010 	ldr	r3, [sp, #16]                                 
    5600:	e3530000 	cmp	r3, #0	; 0x0                                  
    5604:	1a00000c 	bne	563c <timer_settime+0xf4>                     
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
    5608:	e2800010 	add	r0, r0, #16	; 0x10                            
    560c:	eb000ec7 	bl	9130 <_Watchdog_Remove>                        
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
    5610:	e3560000 	cmp	r6, #0	; 0x0                                  
           *ovalue = ptimer->timer_data;                              
    5614:	12843054 	addne	r3, r4, #84	; 0x54                          
    5618:	1893000f 	ldmne	r3, {r0, r1, r2, r3}                        
    561c:	1886000f 	stmne	r6, {r0, r1, r2, r3}                        
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
    5620:	e28d3004 	add	r3, sp, #4	; 0x4                              
    5624:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    5628:	e284c054 	add	ip, r4, #84	; 0x54                            
    562c:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
    5630:	e3a03004 	mov	r3, #4	; 0x4                                  
    5634:	e5c4303c 	strb	r3, [r4, #60]                                
    5638:	ea00001b 	b	56ac <timer_settime+0x164>                      
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
    563c:	e1a00005 	mov	r0, r5                                        
    5640:	eb000d96 	bl	8ca0 <_Timespec_To_ticks>                      
    5644:	e5840064 	str	r0, [r4, #100]                                
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
    5648:	e28d000c 	add	r0, sp, #12	; 0xc                             
    564c:	eb000d93 	bl	8ca0 <_Timespec_To_ticks>                      
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
    5650:	e58d4000 	str	r4, [sp]                                      
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
    5654:	e1a01000 	mov	r1, r0                                        
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
    5658:	e5942008 	ldr	r2, [r4, #8]                                  
    565c:	e2840010 	add	r0, r4, #16	; 0x10                            
    5660:	e59f3074 	ldr	r3, [pc, #116]	; 56dc <timer_settime+0x194>   
    5664:	eb0017e3 	bl	b5f8 <_POSIX_Timer_Insert_helper>              
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
    5668:	e2505000 	subs	r5, r0, #0	; 0x0                             
    566c:	1a000002 	bne	567c <timer_settime+0x134>                    
         _Thread_Enable_dispatch();                                   
    5670:	eb0009d1 	bl	7dbc <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    5674:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    5678:	ea000012 	b	56c8 <timer_settime+0x180>                      <== NOT EXECUTED
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
    567c:	e3560000 	cmp	r6, #0	; 0x0                                  
         *ovalue = ptimer->timer_data;                                
    5680:	12843054 	addne	r3, r4, #84	; 0x54                          
    5684:	1893000f 	ldmne	r3, {r0, r1, r2, r3}                        
    5688:	1886000f 	stmne	r6, {r0, r1, r2, r3}                        
       ptimer->timer_data = normalize;                                
    568c:	e28d3004 	add	r3, sp, #4	; 0x4                              
    5690:	e893000f 	ldm	r3, {r0, r1, r2, r3}                          
    5694:	e284c054 	add	ip, r4, #84	; 0x54                            
    5698:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
    569c:	e3a03003 	mov	r3, #3	; 0x3                                  
    56a0:	e5c4303c 	strb	r3, [r4, #60]                                
       _TOD_Get( &ptimer->time );                                     
    56a4:	e284006c 	add	r0, r4, #108	; 0x6c                           
    56a8:	eb0005a9 	bl	6d54 <_TOD_Get>                                
       _Thread_Enable_dispatch();                                     
    56ac:	eb0009c2 	bl	7dbc <_Thread_Enable_dispatch>                 
    56b0:	e3a00000 	mov	r0, #0	; 0x0                                  
    56b4:	ea000003 	b	56c8 <timer_settime+0x180>                      
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
    56b8:	eb001ef4 	bl	d290 <__errno>                                 
    56bc:	e3a03016 	mov	r3, #22	; 0x16                                
    56c0:	e5803000 	str	r3, [r0]                                      
    56c4:	e3e00000 	mvn	r0, #0	; 0x0                                  
}                                                                     
    56c8:	e28dd018 	add	sp, sp, #24	; 0x18                            
    56cc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      

00003fec <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
    3fec:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
    3ff0:	e59f40dc 	ldr	r4, [pc, #220]	; 40d4 <ualarm+0xe8>           
    3ff4:	e594201c 	ldr	r2, [r4, #28]                                 
    3ff8:	e3520000 	cmp	r2, #0	; 0x0                                  
                                                                      
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
    3ffc:	e24dd008 	sub	sp, sp, #8	; 0x8                              
    4000:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
    4004:	1a000006 	bne	4024 <ualarm+0x38>                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
    4008:	e59f30c8 	ldr	r3, [pc, #200]	; 40d8 <ualarm+0xec>           
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
    400c:	e5842024 	str	r2, [r4, #36]                                 
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
    4010:	e584301c 	str	r3, [r4, #28]                                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
    4014:	e5842008 	str	r2, [r4, #8]                                  
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
    4018:	e5842020 	str	r2, [r4, #32]                                 
  the_watchdog->user_data = user_data;                                
    401c:	e1a05002 	mov	r5, r2                                        
    4020:	ea000013 	b	4074 <ualarm+0x88>                              
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    switch ( _Watchdog_Remove( the_timer ) ) {                        
    4024:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    4028:	eb000ed7 	bl	7b8c <_Watchdog_Remove>                        <== NOT EXECUTED
    402c:	e2400002 	sub	r0, r0, #2	; 0x2                              <== NOT EXECUTED
    4030:	e3500001 	cmp	r0, #1	; 0x1                                  <== NOT EXECUTED
    4034:	83a05000 	movhi	r5, #0	; 0x0                                <== NOT EXECUTED
    4038:	8a00000d 	bhi	4074 <ualarm+0x88>                            <== NOT EXECUTED
         *  boot.  Since alarm() is dealing in seconds, we must account for
         *  this.                                                     
         */                                                           
                                                                      
        ticks = the_timer->initial;                                   
        ticks -= (the_timer->stop_time - the_timer->start_time);      
    403c:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    4040:	e2840014 	add	r0, r4, #20	; 0x14                            <== NOT EXECUTED
    4044:	e8900005 	ldm	r0, {r0, r2}                                  <== NOT EXECUTED
    4048:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
        /* remaining is now in ticks */                               
                                                                      
        _Timespec_From_ticks( ticks, &tp );                           
    404c:	e0620000 	rsb	r0, r2, r0                                    <== NOT EXECUTED
    4050:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    4054:	eb000d6d 	bl	7610 <_Timespec_From_ticks>                    <== NOT EXECUTED
        remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;         
    4058:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
    405c:	e59f3078 	ldr	r3, [pc, #120]	; 40dc <ualarm+0xf0>           <== NOT EXECUTED
        remaining += tp.tv_nsec / 1000;                               
    4060:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
    4064:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             <== NOT EXECUTED
        ticks = the_timer->initial;                                   
        ticks -= (the_timer->stop_time - the_timer->start_time);      
        /* remaining is now in ticks */                               
                                                                      
        _Timespec_From_ticks( ticks, &tp );                           
        remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;         
    4068:	e0040392 	mul	r4, r2, r3                                    <== NOT EXECUTED
        remaining += tp.tv_nsec / 1000;                               
    406c:	eb00304e 	bl	101ac <__aeabi_idiv>                           <== NOT EXECUTED
    4070:	e0805004 	add	r5, r0, r4                                    <== NOT EXECUTED
  /*                                                                  
   *  If useconds is non-zero, then the caller wants to schedule      
   *  the alarm repeatedly at that interval.  If the interval is      
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    4074:	e3560000 	cmp	r6, #0	; 0x0                                  
    4078:	0a000012 	beq	40c8 <ualarm+0xdc>                            
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    407c:	e59f1058 	ldr	r1, [pc, #88]	; 40dc <ualarm+0xf0>            
    4080:	e1a00006 	mov	r0, r6                                        
    4084:	eb003004 	bl	1009c <__aeabi_uidiv>                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    4088:	e59f104c 	ldr	r1, [pc, #76]	; 40dc <ualarm+0xf0>            
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    408c:	e58d0000 	str	r0, [sp]                                      
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    4090:	e1a00006 	mov	r0, r6                                        
    4094:	eb003094 	bl	102ec <__umodsi3>                              
    4098:	e3a03ffa 	mov	r3, #1000	; 0x3e8                             
    409c:	e0030390 	mul	r3, r0, r3                                    
    ticks = _Timespec_To_ticks( &tp );                                
    40a0:	e1a0000d 	mov	r0, sp                                        
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    40a4:	e58d3004 	str	r3, [sp, #4]                                  
    ticks = _Timespec_To_ticks( &tp );                                
    40a8:	eb000d7b 	bl	769c <_Timespec_To_ticks>                      
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
    40ac:	e1a0000d 	mov	r0, sp                                        
    40b0:	eb000d79 	bl	769c <_Timespec_To_ticks>                      
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
    40b4:	e59f1018 	ldr	r1, [pc, #24]	; 40d4 <ualarm+0xe8>            
    40b8:	e581000c 	str	r0, [r1, #12]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
    40bc:	e59f001c 	ldr	r0, [pc, #28]	; 40e0 <ualarm+0xf4>            
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    ticks = _Timespec_To_ticks( &tp );                                
    40c0:	e1a0400d 	mov	r4, sp                                        
    40c4:	eb000e54 	bl	7a1c <_Watchdog_Insert>                        
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
    40c8:	e1a00005 	mov	r0, r5                                        
    40cc:	e28dd008 	add	sp, sp, #8	; 0x8                              
    40d0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

00006750 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
    6750:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   * Get the node to be unlinked.                                     
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( path, 0, &loc, false );    
    6754:	e3a01000 	mov	r1, #0	; 0x0                                  
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
    6758:	e24dd010 	sub	sp, sp, #16	; 0x10                            
                                                                      
  /*                                                                  
   * Get the node to be unlinked.                                     
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( path, 0, &loc, false );    
    675c:	e1a0200d 	mov	r2, sp                                        
    6760:	e1a03001 	mov	r3, r1                                        
    6764:	ebfff317 	bl	33c8 <rtems_filesystem_evaluate_path>          
  if ( result != 0 )                                                  
    6768:	e3500000 	cmp	r0, #0	; 0x0                                  
    676c:	1a000041 	bne	6878 <unlink+0x128>                           
     return -1;                                                       
                                                                      
  result = rtems_filesystem_evaluate_parent(RTEMS_LIBIO_PERMS_WRITE, &loc );
    6770:	e2800002 	add	r0, r0, #2	; 0x2                              
    6774:	e1a0100d 	mov	r1, sp                                        
    6778:	ebfff2eb 	bl	332c <rtems_filesystem_evaluate_parent>        
  if (result != 0 && errno != ENOTSUP) {                              
    677c:	e3500000 	cmp	r0, #0	; 0x0                                  
    6780:	0a00000d 	beq	67bc <unlink+0x6c>                            
    6784:	eb0020c0 	bl	ea8c <__errno>                                 <== NOT EXECUTED
    6788:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
    678c:	e3530086 	cmp	r3, #134	; 0x86                               <== NOT EXECUTED
    6790:	0a000009 	beq	67bc <unlink+0x6c>                            <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    6794:	e59d3008 	ldr	r3, [sp, #8]                                  <== NOT EXECUTED
    6798:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    679c:	0a000035 	beq	6878 <unlink+0x128>                           <== NOT EXECUTED
    67a0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    67a4:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    67a8:	0a000032 	beq	6878 <unlink+0x128>                           <== NOT EXECUTED
    67ac:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    67b0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    67b4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    67b8:	ea00002e 	b	6878 <unlink+0x128>                             <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    67bc:	e59d3008 	ldr	r3, [sp, #8]                                  
    67c0:	e5932010 	ldr	r2, [r3, #16]                                 
    67c4:	e3520000 	cmp	r2, #0	; 0x0                                  
    67c8:	0a000013 	beq	681c <unlink+0xcc>                            
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    67cc:	e1a0000d 	mov	r0, sp                                        
    67d0:	e1a0e00f 	mov	lr, pc                                        
    67d4:	e12fff12 	bx	r2                                             
    67d8:	e3500001 	cmp	r0, #1	; 0x1                                  
    67dc:	e1a0500d 	mov	r5, sp                                        
    67e0:	e59d3008 	ldr	r3, [sp, #8]                                  
    67e4:	1a000009 	bne	6810 <unlink+0xc0>                            
    rtems_filesystem_freenode( &loc );                                
    67e8:	e3530000 	cmp	r3, #0	; 0x0                                  
    67ec:	0a000004 	beq	6804 <unlink+0xb4>                            
    67f0:	e593301c 	ldr	r3, [r3, #28]                                 
    67f4:	e3530000 	cmp	r3, #0	; 0x0                                  
    67f8:	11a0000d 	movne	r0, sp                                      
    67fc:	11a0e00f 	movne	lr, pc                                      
    6800:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EISDIR );                   
    6804:	eb0020a0 	bl	ea8c <__errno>                                 
    6808:	e3a03015 	mov	r3, #21	; 0x15                                
    680c:	ea000009 	b	6838 <unlink+0xe8>                              
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
    6810:	e593200c 	ldr	r2, [r3, #12]                                 
    6814:	e3520000 	cmp	r2, #0	; 0x0                                  
    6818:	1a000008 	bne	6840 <unlink+0xf0>                            
    rtems_filesystem_freenode( &loc );                                
    681c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    6820:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    6824:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    6828:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    682c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    6830:	eb002095 	bl	ea8c <__errno>                                 <== NOT EXECUTED
    6834:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    6838:	e5803000 	str	r3, [r0]                                      
    683c:	ea00000d 	b	6878 <unlink+0x128>                             
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &loc );                              
    6840:	e1a0000d 	mov	r0, sp                                        
    6844:	e1a0e00f 	mov	lr, pc                                        
    6848:	e12fff12 	bx	r2                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    684c:	e59d3008 	ldr	r3, [sp, #8]                                  
    6850:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !loc.ops->unlink_h ) {                                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &loc );                              
    6854:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    6858:	0a000007 	beq	687c <unlink+0x12c>                           
    685c:	e593301c 	ldr	r3, [r3, #28]                                 
    6860:	e3530000 	cmp	r3, #0	; 0x0                                  
    6864:	0a000004 	beq	687c <unlink+0x12c>                           
    6868:	e1a0000d 	mov	r0, sp                                        
    686c:	e1a0e00f 	mov	lr, pc                                        
    6870:	e12fff13 	bx	r3                                             
    6874:	ea000000 	b	687c <unlink+0x12c>                             
    6878:	e3e04000 	mvn	r4, #0	; 0x0                                  
                                                                      
  return result;                                                      
}                                                                     
    687c:	e1a00004 	mov	r0, r4                                        
    6880:	e28dd010 	add	sp, sp, #16	; 0x10                            
    6884:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00005710 <unmount>: */ int unmount( const char *path ) {
    5710:	e92d4030 	push	{r4, r5, lr}                                 
    5714:	e24dd010 	sub	sp, sp, #16	; 0x10                            
   *    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, 0x0, &loc, true ) )      
    5718:	e3a01000 	mov	r1, #0	; 0x0                                  
    571c:	e1a0200d 	mov	r2, sp                                        
    5720:	e3a03001 	mov	r3, #1	; 0x1                                  
    5724:	ebfff2de 	bl	22a4 <rtems_filesystem_evaluate_path>          
    5728:	e3500000 	cmp	r0, #0	; 0x0                                  
    572c:	e1a0500d 	mov	r5, sp                                        
    5730:	1a000057 	bne	5894 <unmount+0x184>                          
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
    5734:	e59d400c 	ldr	r4, [sp, #12]                                 
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( !rtems_filesystem_nodes_equal( fs_root_loc, &loc) ){           
    5738:	e59d3000 	ldr	r3, [sp]                                      
    573c:	e5942018 	ldr	r2, [r4, #24]                                 
    5740:	e1520003 	cmp	r2, r3                                        
    5744:	e59d3008 	ldr	r3, [sp, #8]                                  
    5748:	0a000009 	beq	5774 <unmount+0x64>                           
    rtems_filesystem_freenode( &loc );                                
    574c:	e3530000 	cmp	r3, #0	; 0x0                                  
    5750:	0a000004 	beq	5768 <unmount+0x58>                           
    5754:	e593301c 	ldr	r3, [r3, #28]                                 
    5758:	e3530000 	cmp	r3, #0	; 0x0                                  
    575c:	11a0000d 	movne	r0, sp                                      
    5760:	11a0e00f 	movne	lr, pc                                      
    5764:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EACCES );                   
    5768:	eb001fd2 	bl	d6b8 <__errno>                                 
    576c:	e3a0300d 	mov	r3, #13	; 0xd                                 
    5770:	ea000023 	b	5804 <unmount+0xf4>                             
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    5774:	e3530000 	cmp	r3, #0	; 0x0                                  
    5778:	0a000004 	beq	5790 <unmount+0x80>                           
    577c:	e593301c 	ldr	r3, [r3, #28]                                 
    5780:	e3530000 	cmp	r3, #0	; 0x0                                  
    5784:	11a0000d 	movne	r0, sp                                      
    5788:	11a0e00f 	movne	lr, pc                                      
    578c:	112fff13 	bxne	r3                                           
                                                                      
  /*                                                                  
   * Verify Unmount is supported by both filesystems.                 
   */                                                                 
                                                                      
  if ( !fs_mount_loc->ops->unmount_h )                                
    5790:	e5943010 	ldr	r3, [r4, #16]                                 
    5794:	e5933028 	ldr	r3, [r3, #40]                                 
    5798:	e3530000 	cmp	r3, #0	; 0x0                                  
    579c:	0a000003 	beq	57b0 <unmount+0xa0>                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( !fs_root_loc->ops->fsunmount_me_h )                            
    57a0:	e5943020 	ldr	r3, [r4, #32]                                 
    57a4:	e593302c 	ldr	r3, [r3, #44]                                 
    57a8:	e3530000 	cmp	r3, #0	; 0x0                                  
    57ac:	1a000002 	bne	57bc <unmount+0xac>                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    57b0:	eb001fc0 	bl	d6b8 <__errno>                                 <== NOT EXECUTED
    57b4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    57b8:	ea000011 	b	5804 <unmount+0xf4>                             <== NOT EXECUTED
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
    57bc:	e59f30f0 	ldr	r3, [pc, #240]	; 58b4 <unmount+0x1a4>         
    57c0:	e5933000 	ldr	r3, [r3]                                      
    57c4:	e5933010 	ldr	r3, [r3, #16]                                 
    57c8:	e1530004 	cmp	r3, r4                                        
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
    57cc:	159f00e4 	ldrne	r0, [pc, #228]	; 58b8 <unmount+0x1a8>       
    57d0:	14901004 	ldrne	r1, [r0], #4                                
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
    57d4:	1a000005 	bne	57f0 <unmount+0xe0>                           
    57d8:	ea000007 	b	57fc <unmount+0xec>                             
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
    57dc:	e5912014 	ldr	r2, [r1, #20]                                 
    57e0:	e5943024 	ldr	r3, [r4, #36]                                 
    57e4:	e1520003 	cmp	r2, r3                                        
    57e8:	0a000003 	beq	57fc <unmount+0xec>                           
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
    57ec:	e5911000 	ldr	r1, [r1]                                      
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
    57f0:	e1510000 	cmp	r1, r0                                        
    57f4:	1afffff8 	bne	57dc <unmount+0xcc>                           
    57f8:	ea000028 	b	58a0 <unmount+0x190>                            
   *  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 );                    
    57fc:	eb001fad 	bl	d6b8 <__errno>                                 
    5800:	e3a03010 	mov	r3, #16	; 0x10                                
    5804:	e5803000 	str	r3, [r0]                                      
    5808:	ea000021 	b	5894 <unmount+0x184>                            
   * 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 )             
    580c:	e5943010 	ldr	r3, [r4, #16]                                 
    5810:	e1a00004 	mov	r0, r4                                        
    5814:	e1a0e00f 	mov	lr, pc                                        
    5818:	e593f028 	ldr	pc, [r3, #40]                                 
    581c:	e2505000 	subs	r5, r0, #0	; 0x0                             
    5820:	1a00001b 	bne	5894 <unmount+0x184>                          
   *  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){          
    5824:	e5943020 	ldr	r3, [r4, #32]                                 
    5828:	e1a00004 	mov	r0, r4                                        
    582c:	e1a0e00f 	mov	lr, pc                                        
    5830:	e593f02c 	ldr	pc, [r3, #44]                                 
    5834:	e3500000 	cmp	r0, #0	; 0x0                                  
    5838:	0a000007 	beq	585c <unmount+0x14c>                          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
    583c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    5840:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    5844:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    5848:	e593f020 	ldr	pc, [r3, #32]                                 <== NOT EXECUTED
    584c:	e3500000 	cmp	r0, #0	; 0x0                                  <== NOT EXECUTED
    5850:	0a00000f 	beq	5894 <unmount+0x184>                          <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
    5854:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    5858:	eb0003c7 	bl	677c <rtems_fatal_error_occurred>              <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
    585c:	e1a00004 	mov	r0, r4                                        
    5860:	eb0004bd 	bl	6b5c <_Chain_Extract>                          
  /*                                                                  
   *  Free the memory node that was allocated in mount                
   *  Free the memory associated with the extracted mount table entry.
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
    5864:	e5943010 	ldr	r3, [r4, #16]                                 
    5868:	e3530000 	cmp	r3, #0	; 0x0                                  
    586c:	0a000004 	beq	5884 <unmount+0x174>                          
    5870:	e593301c 	ldr	r3, [r3, #28]                                 
    5874:	e3530000 	cmp	r3, #0	; 0x0                                  
    5878:	12840008 	addne	r0, r4, #8	; 0x8                            
    587c:	11a0e00f 	movne	lr, pc                                      
    5880:	112fff13 	bxne	r3                                           
  free( mt_entry );                                                   
    5884:	e1a00004 	mov	r0, r4                                        
    5888:	ebfff2d6 	bl	23e8 <free>                                    
    588c:	e3a00000 	mov	r0, #0	; 0x0                                  
    5890:	ea000000 	b	5898 <unmount+0x188>                            
                                                                      
  return 0;                                                           
    5894:	e3e00000 	mvn	r0, #0	; 0x0                                  
}                                                                     
    5898:	e28dd010 	add	sp, sp, #16	; 0x10                            
    589c:	e8bd8030 	pop	{r4, r5, pc}                                  
   *  Run the file descriptor table to determine if there are any file
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
    58a0:	e1a00004 	mov	r0, r4                                        
    58a4:	ebfff372 	bl	2674 <rtems_libio_is_open_files_in_fs>         
    58a8:	e3500001 	cmp	r0, #1	; 0x1                                  
    58ac:	1affffd6 	bne	580c <unmount+0xfc>                           
    58b0:	eaffffd1 	b	57fc <unmount+0xec>                             
                                                                      

000054c8 <utime>: int utime( const char *path, const struct utimbuf *times ) {
    54c8:	e92d4030 	push	{r4, r5, lr}                                 
    54cc:	e24dd010 	sub	sp, sp, #16	; 0x10                            
    54d0:	e1a04001 	mov	r4, r1                                        
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, true ) )
    54d4:	e1a0200d 	mov	r2, sp                                        
    54d8:	e3a01000 	mov	r1, #0	; 0x0                                  
    54dc:	e3a03001 	mov	r3, #1	; 0x1                                  
    54e0:	ebfff2ea 	bl	2090 <rtems_filesystem_evaluate_path>          
    54e4:	e3500000 	cmp	r0, #0	; 0x0                                  
    54e8:	e1a0500d 	mov	r5, sp                                        
    54ec:	1a00000b 	bne	5520 <utime+0x58>                             
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
    54f0:	e59d3008 	ldr	r3, [sp, #8]                                  
    54f4:	e593c030 	ldr	ip, [r3, #48]                                 
    54f8:	e35c0000 	cmp	ip, #0	; 0x0                                  
    54fc:	1a000009 	bne	5528 <utime+0x60>                             
    rtems_filesystem_freenode( &temp_loc );                           
    5500:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    5504:	e3530000 	cmp	r3, #0	; 0x0                                  <== NOT EXECUTED
    5508:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
    550c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    5510:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    5514:	eb002096 	bl	d774 <__errno>                                 <== NOT EXECUTED
    5518:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    551c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    5520:	e3e04000 	mvn	r4, #0	; 0x0                                  
    5524:	ea00000c 	b	555c <utime+0x94>                               
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
    5528:	e8940006 	ldm	r4, {r1, r2}                                  
    552c:	e1a0000d 	mov	r0, sp                                        
    5530:	e1a0e00f 	mov	lr, pc                                        
    5534:	e12fff1c 	bx	ip                                             
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
    5538:	e59d3008 	ldr	r3, [sp, #8]                                  
    553c:	e3530000 	cmp	r3, #0	; 0x0                                  
  if ( !temp_loc.ops->utime_h ){                                      
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
    5540:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
    5544:	0a000004 	beq	555c <utime+0x94>                             
    5548:	e593301c 	ldr	r3, [r3, #28]                                 
    554c:	e3530000 	cmp	r3, #0	; 0x0                                  
    5550:	11a0000d 	movne	r0, sp                                      
    5554:	11a0e00f 	movne	lr, pc                                      
    5558:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    555c:	e1a00004 	mov	r0, r4                                        
    5560:	e28dd010 	add	sp, sp, #16	; 0x10                            
    5564:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

00001c38 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
    1c38:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    1c3c:	e1a08000 	mov	r8, r0                                        
    1c40:	e24dd018 	sub	sp, sp, #24	; 0x18                            
    1c44:	e1a09001 	mov	r9, r1                                        
                                                                      
      if (base)                                                       
        printNum(lflag ? va_arg(ap, long int) : (long int)va_arg(ap, int),
                 base, sign, width, lead);                            
    } else {                                                          
      BSP_output_char(*fmt);                                          
    1c48:	e59fb2bc 	ldr	fp, [pc, #700]	; 1f0c <vprintk+0x2d4>         
    1c4c:	ea0000a9 	b	1ef8 <vprintk+0x2c0>                            
    base  = 0;                                                        
    sign = 0;                                                         
    width = 0;                                                        
    minus = 0;                                                        
    lead = ' ';                                                       
    if (*fmt == '%') {                                                
    1c50:	e3500025 	cmp	r0, #37	; 0x25                                
    1c54:	1a0000a4 	bne	1eec <vprintk+0x2b4>                          
      fmt++;                                                          
      if (*fmt == '0' ) {                                             
    1c58:	e5f83001 	ldrb	r3, [r8, #1]!                                
    1c5c:	e3530030 	cmp	r3, #48	; 0x30                                
    1c60:	13a02020 	movne	r2, #32	; 0x20                              
    1c64:	158d2000 	strne	r2, [sp]                                    
        lead = '0';                                                   
        fmt++;                                                        
    1c68:	058d3000 	streq	r3, [sp]                                    
    1c6c:	02888001 	addeq	r8, r8, #1	; 0x1                            
      }                                                               
      if (*fmt == '-' ) {                                             
    1c70:	e5d83000 	ldrb	r3, [r8]                                     
    1c74:	e353002d 	cmp	r3, #45	; 0x2d                                
    1c78:	13a06000 	movne	r6, #0	; 0x0                                
        minus = 1;                                                    
        fmt++;                                                        
    1c7c:	02888001 	addeq	r8, r8, #1	; 0x1                            
    1c80:	03a06001 	moveq	r6, #1	; 0x1                                
    1c84:	e3a0a000 	mov	sl, #0	; 0x0                                  
    1c88:	ea000002 	b	1c98 <vprintk+0x60>                             
      }                                                               
      while (*fmt >= '0' && *fmt <= '9' ) {                           
        width *= 10;                                                  
        width += (*fmt - '0');                                        
    1c8c:	e3a0300a 	mov	r3, #10	; 0xa                                 
    1c90:	e02a2a93 	mla	sl, r3, sl, r2                                
        fmt++;                                                        
    1c94:	e2888001 	add	r8, r8, #1	; 0x1                              
      }                                                               
      if (*fmt == '-' ) {                                             
        minus = 1;                                                    
        fmt++;                                                        
      }                                                               
      while (*fmt >= '0' && *fmt <= '9' ) {                           
    1c98:	e5d80000 	ldrb	r0, [r8]                                     
    1c9c:	e2402030 	sub	r2, r0, #48	; 0x30                            
    1ca0:	e20230ff 	and	r3, r2, #255	; 0xff                           
    1ca4:	e3530009 	cmp	r3, #9	; 0x9                                  
    1ca8:	9afffff7 	bls	1c8c <vprintk+0x54>                           
        width *= 10;                                                  
        width += (*fmt - '0');                                        
        fmt++;                                                        
      }                                                               
                                                                      
      if ((c = *fmt) == 'l') {                                        
    1cac:	e350006c 	cmp	r0, #108	; 0x6c                               
        lflag = 1;                                                    
        c = *++fmt;                                                   
    1cb0:	05f80001 	ldrbeq	r0, [r8, #1]!                              
      }                                                               
      switch (c) {                                                    
    1cb4:	e3500064 	cmp	r0, #100	; 0x64                               
    1cb8:	0a00001e 	beq	1d38 <vprintk+0x100>                          
    1cbc:	8a00000e 	bhi	1cfc <vprintk+0xc4>                           
    1cc0:	e350004f 	cmp	r0, #79	; 0x4f                                
    1cc4:	0a00004f 	beq	1e08 <vprintk+0x1d0>                          
    1cc8:	8a000004 	bhi	1ce0 <vprintk+0xa8>                           
    1ccc:	e3500044 	cmp	r0, #68	; 0x44                                
    1cd0:	0a000018 	beq	1d38 <vprintk+0x100>                          
    1cd4:	e3500049 	cmp	r0, #73	; 0x49                                
    1cd8:	1a000083 	bne	1eec <vprintk+0x2b4>                          
    1cdc:	ea000015 	b	1d38 <vprintk+0x100>                            <== NOT EXECUTED
    1ce0:	e3500058 	cmp	r0, #88	; 0x58                                <== NOT EXECUTED
    1ce4:	0a00004a 	beq	1e14 <vprintk+0x1dc>                          <== NOT EXECUTED
    1ce8:	e3500063 	cmp	r0, #99	; 0x63                                <== NOT EXECUTED
    1cec:	0a00003f 	beq	1df0 <vprintk+0x1b8>                          <== NOT EXECUTED
    1cf0:	e3500055 	cmp	r0, #85	; 0x55                                <== NOT EXECUTED
    1cf4:	1a00007c 	bne	1eec <vprintk+0x2b4>                          <== NOT EXECUTED
    1cf8:	ea000010 	b	1d40 <vprintk+0x108>                            <== NOT EXECUTED
    1cfc:	e3500070 	cmp	r0, #112	; 0x70                               
    1d00:	0a000043 	beq	1e14 <vprintk+0x1dc>                          
    1d04:	8a000004 	bhi	1d1c <vprintk+0xe4>                           
    1d08:	e3500069 	cmp	r0, #105	; 0x69                               <== NOT EXECUTED
    1d0c:	0a000009 	beq	1d38 <vprintk+0x100>                          <== NOT EXECUTED
    1d10:	e350006f 	cmp	r0, #111	; 0x6f                               <== NOT EXECUTED
    1d14:	1a000074 	bne	1eec <vprintk+0x2b4>                          <== NOT EXECUTED
    1d18:	ea00003a 	b	1e08 <vprintk+0x1d0>                            <== NOT EXECUTED
    1d1c:	e3500075 	cmp	r0, #117	; 0x75                               
    1d20:	0a000006 	beq	1d40 <vprintk+0x108>                          
    1d24:	e3500078 	cmp	r0, #120	; 0x78                               
    1d28:	0a000039 	beq	1e14 <vprintk+0x1dc>                          
    1d2c:	e3500073 	cmp	r0, #115	; 0x73                               
    1d30:	1a00006d 	bne	1eec <vprintk+0x2b4>                          
    1d34:	ea000004 	b	1d4c <vprintk+0x114>                            
    1d38:	e3a03001 	mov	r3, #1	; 0x1                                  
    1d3c:	ea000000 	b	1d44 <vprintk+0x10c>                            
    1d40:	e3a03000 	mov	r3, #0	; 0x0                                  
    1d44:	e3a0700a 	mov	r7, #10	; 0xa                                 
    1d48:	ea000033 	b	1e1c <vprintk+0x1e4>                            
        case 'p':           base = 16; sign = 0; break;               
        case 's':                                                     
          { int i, len;                                               
            char *s;                                                  
                                                                      
            str = va_arg(ap, char *);                                 
    1d4c:	e5997000 	ldr	r7, [r9]                                      
    1d50:	e3a05000 	mov	r5, #0	; 0x0                                  
    1d54:	e2899004 	add	r9, r9, #4	; 0x4                              
    1d58:	ea000000 	b	1d60 <vprintk+0x128>                            
                                                                      
            /* calculate length of string */                          
            for ( len=0, s=str ; *s ; len++, s++ )                    
    1d5c:	e2855001 	add	r5, r5, #1	; 0x1                              
    1d60:	e7d73005 	ldrb	r3, [r7, r5]                                 
    1d64:	e3530000 	cmp	r3, #0	; 0x0                                  
    1d68:	1afffffb 	bne	1d5c <vprintk+0x124>                          
              ;                                                       
                                                                      
            /* leading spaces */                                      
            if ( !minus )                                             
    1d6c:	e3560000 	cmp	r6, #0	; 0x0                                  
    1d70:	01a04005 	moveq	r4, r5                                      
    1d74:	0a000002 	beq	1d84 <vprintk+0x14c>                          
    1d78:	ea000005 	b	1d94 <vprintk+0x15c>                            
              for ( i=len ; i<width ; i++ )                           
                BSP_output_char(' ');                                 
    1d7c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1d80:	e59bf000 	ldr	pc, [fp]                                      <== NOT EXECUTED
            for ( len=0, s=str ; *s ; len++, s++ )                    
              ;                                                       
                                                                      
            /* leading spaces */                                      
            if ( !minus )                                             
              for ( i=len ; i<width ; i++ )                           
    1d84:	e154000a 	cmp	r4, sl                                        
                BSP_output_char(' ');                                 
    1d88:	e3a00020 	mov	r0, #32	; 0x20                                
            for ( len=0, s=str ; *s ; len++, s++ )                    
              ;                                                       
                                                                      
            /* leading spaces */                                      
            if ( !minus )                                             
              for ( i=len ; i<width ; i++ )                           
    1d8c:	e2844001 	add	r4, r4, #1	; 0x1                              
    1d90:	bafffff9 	blt	1d7c <vprintk+0x144>                          
                BSP_output_char(' ');                                 
                                                                      
	    /* no width option */                                            
	    if (width == 0) {                                                
    1d94:	e35a0000 	cmp	sl, #0	; 0x0                                  
    1d98:	01a0a005 	moveq	sl, r5                                      
		    width = len;                                                    
	    }                                                                
                                                                      
            /* output the string */                                   
            for ( i=0 ; i<width && *str ; str++ )                     
    1d9c:	e35a0000 	cmp	sl, #0	; 0x0                                  
    1da0:	c3a04000 	movgt	r4, #0	; 0x0                                
    1da4:	da000006 	ble	1dc4 <vprintk+0x18c>                          
    1da8:	ea000001 	b	1db4 <vprintk+0x17c>                            
              BSP_output_char(*str);                                  
    1dac:	e1a0e00f 	mov	lr, pc                                        
    1db0:	e59bf000 	ldr	pc, [fp]                                      
	    if (width == 0) {                                                
		    width = len;                                                    
	    }                                                                
                                                                      
            /* output the string */                                   
            for ( i=0 ; i<width && *str ; str++ )                     
    1db4:	e7d73004 	ldrb	r3, [r7, r4]                                 
    1db8:	e2530000 	subs	r0, r3, #0	; 0x0                             
    1dbc:	e2844001 	add	r4, r4, #1	; 0x1                              
    1dc0:	1afffff9 	bne	1dac <vprintk+0x174>                          
              BSP_output_char(*str);                                  
                                                                      
            /* trailing spaces */                                     
            if ( minus )                                              
    1dc4:	e3560000 	cmp	r6, #0	; 0x0                                  
    1dc8:	11a04005 	movne	r4, r5                                      
    1dcc:	1a000002 	bne	1ddc <vprintk+0x1a4>                          
    1dd0:	ea000047 	b	1ef4 <vprintk+0x2bc>                            
              for ( i=len ; i<width ; i++ )                           
                BSP_output_char(' ');                                 
    1dd4:	e1a0e00f 	mov	lr, pc                                        
    1dd8:	e59bf000 	ldr	pc, [fp]                                      
            for ( i=0 ; i<width && *str ; str++ )                     
              BSP_output_char(*str);                                  
                                                                      
            /* trailing spaces */                                     
            if ( minus )                                              
              for ( i=len ; i<width ; i++ )                           
    1ddc:	e154000a 	cmp	r4, sl                                        
                BSP_output_char(' ');                                 
    1de0:	e3a00020 	mov	r0, #32	; 0x20                                
            for ( i=0 ; i<width && *str ; str++ )                     
              BSP_output_char(*str);                                  
                                                                      
            /* trailing spaces */                                     
            if ( minus )                                              
              for ( i=len ; i<width ; i++ )                           
    1de4:	e2844001 	add	r4, r4, #1	; 0x1                              
    1de8:	bafffff9 	blt	1dd4 <vprintk+0x19c>                          
    1dec:	ea000040 	b	1ef4 <vprintk+0x2bc>                            
                BSP_output_char(' ');                                 
          }                                                           
          break;                                                      
        case 'c':                                                     
          BSP_output_char(va_arg(ap, int));                           
    1df0:	e5d90000 	ldrb	r0, [r9]                                     <== NOT EXECUTED
    1df4:	e2894004 	add	r4, r9, #4	; 0x4                              <== NOT EXECUTED
    1df8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1dfc:	e59bf000 	ldr	pc, [fp]                                      <== NOT EXECUTED
    1e00:	e1a09004 	mov	r9, r4                                        <== NOT EXECUTED
    1e04:	ea00003a 	b	1ef4 <vprintk+0x2bc>                            <== NOT EXECUTED
          break;                                                      
        default:                                                      
          BSP_output_char(c);                                         
    1e08:	e3a03000 	mov	r3, #0	; 0x0                                  <== NOT EXECUTED
    1e0c:	e3a07008 	mov	r7, #8	; 0x8                                  <== NOT EXECUTED
    1e10:	ea000001 	b	1e1c <vprintk+0x1e4>                            <== NOT EXECUTED
    1e14:	e3a03000 	mov	r3, #0	; 0x0                                  
    1e18:	e3a07010 	mov	r7, #16	; 0x10                                
          break;                                                      
      } /* switch*/                                                   
                                                                      
      if (base)                                                       
        printNum(lflag ? va_arg(ap, long int) : (long int)va_arg(ap, int),
    1e1c:	e5994000 	ldr	r4, [r9]                                      
    1e20:	e2892004 	add	r2, r9, #4	; 0x4                              
{                                                                     
  long unsigned int n;                                                
  int               count;                                            
  char              toPrint[20];                                      
                                                                      
  if ( (sign == 1) && ((long)num <  0) ) {                            
    1e24:	e0133fa4 	ands	r3, r3, r4, lsr #31                          
          BSP_output_char(c);                                         
          break;                                                      
      } /* switch*/                                                   
                                                                      
      if (base)                                                       
        printNum(lflag ? va_arg(ap, long int) : (long int)va_arg(ap, int),
    1e28:	e1a09002 	mov	r9, r2                                        
{                                                                     
  long unsigned int n;                                                
  int               count;                                            
  char              toPrint[20];                                      
                                                                      
  if ( (sign == 1) && ((long)num <  0) ) {                            
    1e2c:	0a000005 	beq	1e48 <vprintk+0x210>                          
    BSP_output_char('-');                                             
    1e30:	e3a0002d 	mov	r0, #45	; 0x2d                                <== NOT EXECUTED
    1e34:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1e38:	e59bf000 	ldr	pc, [fp]                                      <== NOT EXECUTED
    num = -num;                                                       
    if (maxwidth) maxwidth--;                                         
    1e3c:	e35a0000 	cmp	sl, #0	; 0x0                                  <== NOT EXECUTED
  int               count;                                            
  char              toPrint[20];                                      
                                                                      
  if ( (sign == 1) && ((long)num <  0) ) {                            
    BSP_output_char('-');                                             
    num = -num;                                                       
    1e40:	e2644000 	rsb	r4, r4, #0	; 0x0                              <== NOT EXECUTED
    if (maxwidth) maxwidth--;                                         
    1e44:	124aa001 	subne	sl, sl, #1	; 0x1                            <== NOT EXECUTED
    1e48:	e3a05000 	mov	r5, #0	; 0x0                                  
    1e4c:	ea000005 	b	1e68 <vprintk+0x230>                            
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = num / base) > 0) {                                      
    toPrint[count++] = (num - (n*base));                              
    1e50:	e0030097 	mul	r3, r7, r0                                    
    1e54:	e28d2004 	add	r2, sp, #4	; 0x4                              
    1e58:	e0633004 	rsb	r3, r3, r4                                    
    1e5c:	e7c23005 	strb	r3, [r2, r5]                                 
    1e60:	e1a04000 	mov	r4, r0                                        
    1e64:	e1a05006 	mov	r5, r6                                        
    num = -num;                                                       
    if (maxwidth) maxwidth--;                                         
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = num / base) > 0) {                                      
    1e68:	e1a00004 	mov	r0, r4                                        
    1e6c:	e1a01007 	mov	r1, r7                                        
    1e70:	eb004093 	bl	120c4 <__aeabi_uidiv>                          
    1e74:	e3500000 	cmp	r0, #0	; 0x0                                  
    1e78:	e2856001 	add	r6, r5, #1	; 0x1                              
    1e7c:	1afffff3 	bne	1e50 <vprintk+0x218>                          
    toPrint[count++] = (num - (n*base));                              
    num = n;                                                          
  }                                                                   
  toPrint[count++] = num;                                             
    1e80:	e28d2018 	add	r2, sp, #24	; 0x18                            
    1e84:	e0823005 	add	r3, r2, r5                                    
    1e88:	e5434014 	strb	r4, [r3, #-20]                               
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
    1e8c:	e59d3000 	ldr	r3, [sp]                                      
    toPrint[count++] = (num - (n*base));                              
    num = n;                                                          
  }                                                                   
  toPrint[count++] = num;                                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    1e90:	e1a0400a 	mov	r4, sl                                        
    BSP_output_char(lead);                                            
    1e94:	e20350ff 	and	r5, r3, #255	; 0xff                           
    1e98:	ea000001 	b	1ea4 <vprintk+0x26c>                            
    1e9c:	e1a0e00f 	mov	lr, pc                                        
    1ea0:	e59bf000 	ldr	pc, [fp]                                      
    toPrint[count++] = (num - (n*base));                              
    num = n;                                                          
  }                                                                   
  toPrint[count++] = num;                                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    1ea4:	e1540006 	cmp	r4, r6                                        
    BSP_output_char(lead);                                            
    1ea8:	e1a00005 	mov	r0, r5                                        
    toPrint[count++] = (num - (n*base));                              
    num = n;                                                          
  }                                                                   
  toPrint[count++] = num;                                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    1eac:	e2444001 	sub	r4, r4, #1	; 0x1                              
    1eb0:	8afffff9 	bhi	1e9c <vprintk+0x264>                          
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
    1eb4:	e28d2018 	add	r2, sp, #24	; 0x18                            
    toPrint[count++] = (num - (n*base));                              
    num = n;                                                          
  }                                                                   
  toPrint[count++] = num;                                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    1eb8:	e3a04000 	mov	r4, #0	; 0x0                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
    1ebc:	e0825006 	add	r5, r2, r6                                    
    1ec0:	ea000004 	b	1ed8 <vprintk+0x2a0>                            
    1ec4:	e5533015 	ldrb	r3, [r3, #-21]                               
    1ec8:	e59f2040 	ldr	r2, [pc, #64]	; 1f10 <vprintk+0x2d8>          
    1ecc:	e7d20003 	ldrb	r0, [r2, r3]                                 
    1ed0:	e1a0e00f 	mov	lr, pc                                        
    1ed4:	e59bf000 	ldr	pc, [fp]                                      
  toPrint[count++] = num;                                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    1ed8:	e1540006 	cmp	r4, r6                                        
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
    1edc:	e0643005 	rsb	r3, r4, r5                                    
  toPrint[count++] = num;                                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    1ee0:	e2844001 	add	r4, r4, #1	; 0x1                              
    1ee4:	3afffff6 	bcc	1ec4 <vprintk+0x28c>                          
    1ee8:	ea000001 	b	1ef4 <vprintk+0x2bc>                            
                                                                      
      if (base)                                                       
        printNum(lflag ? va_arg(ap, long int) : (long int)va_arg(ap, int),
                 base, sign, width, lead);                            
    } else {                                                          
      BSP_output_char(*fmt);                                          
    1eec:	e1a0e00f 	mov	lr, pc                                        
    1ef0:	e59bf000 	ldr	pc, [fp]                                      
)                                                                     
{                                                                     
  char     c, *str;                                                   
  int      lflag, base, sign, width, lead, minus;                     
                                                                      
  for (; *fmt != '\0'; fmt++) {                                       
    1ef4:	e2888001 	add	r8, r8, #1	; 0x1                              
    1ef8:	e5d80000 	ldrb	r0, [r8]                                     
    1efc:	e3500000 	cmp	r0, #0	; 0x0                                  
    1f00:	1affff52 	bne	1c50 <vprintk+0x18>                           
                 base, sign, width, lead);                            
    } else {                                                          
      BSP_output_char(*fmt);                                          
    }                                                                 
  }                                                                   
}                                                                     
    1f04:	e28dd018 	add	sp, sp, #24	; 0x18                            
    1f08:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

00013d08 <write>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
   13d08:	e59f30ac 	ldr	r3, [pc, #172]	; 13dbc <write+0xb4>           
   13d0c:	e5933000 	ldr	r3, [r3]                                      
   13d10:	e1500003 	cmp	r0, r3                                        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
   13d14:	e92d4070 	push	{r4, r5, r6, lr}                             
   13d18:	e1a0c000 	mov	ip, r0                                        
   13d1c:	e1a06001 	mov	r6, r1                                        
   13d20:	e1a05002 	mov	r5, r2                                        
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   13d24:	2a000010 	bcs	13d6c <write+0x64>                            
  iop = rtems_libio_iop( fd );                                        
   13d28:	e59f3090 	ldr	r3, [pc, #144]	; 13dc0 <write+0xb8>           
   13d2c:	e5930000 	ldr	r0, [r3]                                      
   13d30:	e3a03034 	mov	r3, #52	; 0x34                                
   13d34:	e0240c93 	mla	r4, r3, ip, r0                                
  rtems_libio_check_is_open( iop );                                   
   13d38:	e594300c 	ldr	r3, [r4, #12]                                 
   13d3c:	e3130c01 	tst	r3, #256	; 0x100                              
   13d40:	0a000009 	beq	13d6c <write+0x64>                            
  rtems_libio_check_buffer( buffer );                                 
   13d44:	e3510000 	cmp	r1, #0	; 0x0                                  
   13d48:	1a000002 	bne	13d58 <write+0x50>                            
   13d4c:	ebffddb1 	bl	b418 <__errno>                                 <== NOT EXECUTED
   13d50:	e3a03016 	mov	r3, #22	; 0x16                                <== NOT EXECUTED
   13d54:	ea00000d 	b	13d90 <write+0x88>                              <== NOT EXECUTED
  rtems_libio_check_count( count );                                   
   13d58:	e3520000 	cmp	r2, #0	; 0x0                                  
   13d5c:	01a00002 	moveq	r0, r2                                      
   13d60:	08bd8070 	popeq	{r4, r5, r6, pc}                            
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
   13d64:	e3130004 	tst	r3, #4	; 0x4                                  
   13d68:	1a000002 	bne	13d78 <write+0x70>                            
   13d6c:	ebffdda9 	bl	b418 <__errno>                                 <== NOT EXECUTED
   13d70:	e3a03009 	mov	r3, #9	; 0x9                                  <== NOT EXECUTED
   13d74:	ea000005 	b	13d90 <write+0x88>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
   13d78:	e5943030 	ldr	r3, [r4, #48]                                 
   13d7c:	e593300c 	ldr	r3, [r3, #12]                                 
   13d80:	e3530000 	cmp	r3, #0	; 0x0                                  
   13d84:	1a000004 	bne	13d9c <write+0x94>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   13d88:	ebffdda2 	bl	b418 <__errno>                                 <== NOT EXECUTED
   13d8c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   13d90:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   13d94:	e3e00000 	mvn	r0, #0	; 0x0                                  <== NOT EXECUTED
   13d98:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
   13d9c:	e1a00004 	mov	r0, r4                                        
   13da0:	e1a0e00f 	mov	lr, pc                                        
   13da4:	e12fff13 	bx	r3                                             
                                                                      
  if ( rc > 0 )                                                       
   13da8:	e3500000 	cmp	r0, #0	; 0x0                                  
    iop->offset += rc;                                                
   13dac:	c5943008 	ldrgt	r3, [r4, #8]                                
   13db0:	c0833000 	addgt	r3, r3, r0                                  
   13db4:	c5843008 	strgt	r3, [r4, #8]                                
                                                                      
  return rc;                                                          
}                                                                     
   13db8:	e8bd8070 	pop	{r4, r5, r6, pc}